Section 9 1index php 01 02 1 html

  • Slides: 15
Download presentation

Section 9 -1】index. php 01 【예제 02 홈페이지 화면의 프레임 틀 1 : <html>

Section 9 -1】index. php 01 【예제 02 홈페이지 화면의 프레임 틀 1 : <html> 2 : <head> 3 : <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ks_c_5601 -1987"> 4 : <title>: : PHP 프로그래밍 입문에 오신 것을 환영합니다~~ : : </title> 5 : </head> 6 : 7 : <frameset framespacing="0" border="0" frameborder="0“ rows="210, *"> 8 : <frame name="top" src="top. php" scrolling="auto" noresize> 9 : <frame name="main" src="main_init. php" scrolling="auto" noresize> 10 : </frameset> 11 : 12 : </html> 9

Section 9 -2】top. php 01 【예제 02 상단 프레임 1 4 5 6 7

Section 9 -2】top. php 01 【예제 02 상단 프레임 1 4 5 6 7 8 9 : <? session_start(); ? > // 세션 변수 초기화 : <html> : <head> : <title>: : PHP 프로그래밍 입문에 오신것을 환영합니다~~ : : </title> : <link rel="stylesheet" href="style. css" type="text/css"> : </head> : <body leftmargin="0" topmargin="0" marginwidth="0“ marginheight="0"> 10 : <table width="776" align="center" cellspacing="0" cellpadding="0" border="0"> 11 : <tr><td> 13 : <table width=776 cellspacing="0" cellpadding="0" border="0"> 15 : <tr> <td colspan="10"> 17 : <img border="0" src="img/sub_title. gif" width="776" height="146"></td></tr> 10

Section 9 -2】top. php 01 【예제 02 31 : <? 32 : if (!$userid)

Section 9 -2】top. php 01 【예제 02 31 : <? 32 : if (!$userid) 33 : { 34 : echo "<TD> 36 : <a href='login/login_form. html' target='main'> 37 : <img SRC='img/menu_02. gif' WIDTH=87 HEIGHT=47 border=0 ALT=''></a></TD> "; 39 : } 40 : else 41 : { 42 : echo " <TD> 44 : <a href='login/logoff. php' target='main'> 45 : <img SRC='img/menu_10. gif' WIDTH=87 HEIGHT=47 border=0 11 ALT=''></a></TD> ";

Section 9 -2】top. php 01 【예제 02 48 : if (!$userid) 49 : {

Section 9 -2】top. php 01 【예제 02 48 : if (!$userid) 49 : { echo " 51 : <TD> 52 : <a href='login/member_form. html' target='main'> 53 : <img SRC='img/menu_03. gif' WIDTH=84 HEIGHT=47 border=0 ALT=''></a></TD> "; 55 : } 56 : else 57 : { echo " 59 : <TD> 60 : <a href='login/modify_memberinfo. php' target='main'> 61 : <img SRC='img/menu_11. gif' WIDTH=84 HEIGHT=47 border=0 ALT=''></a></TD> "; 63 : } 64 : ? > 12

Section 9 -2】top. php 01 【예제 02 방명록 65 : <TD> 66 : <a

Section 9 -2】top. php 01 【예제 02 방명록 65 : <TD> 66 : <a href="guestbook/guestbook. php" target="main"> 자유게시판 목록보기 67 : <img SRC="img/menu_04. gif" WIDTH=86 방명록 버튼 HEIGHT=47 border=0 ALT=""></a></TD> 68 : <TD> 공지사항 69 : 목록보기 <a href="freeboard/list. php" target="main"> 자유게시판 버튼 70 : <img SRC="img/menu_05. gif" WIDTH=86 HEIGHT=47 border=0 ALT=""></a></TD> 질의응답 목록보기 <TD> 71 : 공지사항 버튼 72 : <a href="notice/list. php" target="main"> 73 : <img SRC="img/menu_06. gif" WIDTH=90 HEIGHT=47 border=0 ALT=""></a></TD> 74 : <TD> 자유게시판 버튼 75 : <a href="qna/list. php" target="main"> 13

Section 9 -2】top. php 01 【예제 02 자료실 목록보기 77 : <TD> 78 :

Section 9 -2】top. php 01 【예제 02 자료실 목록보기 77 : <TD> 78 : <a href="down/list. php" target="main"> 79 : <img SRC="img/menu_08. gif" WIDTH=88 자료실 버튼 HEIGHT=47 설문조사 border=0 ALT=""></a></TD> 80 : <TD> 81 : <a href="survey/survey. php" target="main"> 82 : <img SRC="img/menu_09. gif" WIDTH=89 HEIGHT=47 설문조사 버튼 border=0 ALT=""></a></TD> 83 : </TR> 84 : </table> 85 : </td> 86 : </tr> 87 : </table> 88 : <!--메뉴끝--> 89 : </body> 90 : </html> 14

Section 9 -3】main_init. php 01 【예제 02 초기 하단 프레임 1 2 3 4

Section 9 -3】main_init. php 01 【예제 02 초기 하단 프레임 1 2 3 4 5 7 : <html> : <head> : <title> : : PHP 프로그래밍 입문에 오신 것을 환영합니다~~ : : </title> : <link rel="stylesheet" href="style. css" type="text/css"> : </head> : <body leftmargin="0" topmargin="0" marginwidth="0“ marginheight="0"> 8 : <table width="776" align="center" cellspacing="0" cellpadding="0“ border="0"> 9 : <tr height=150><td></tr> 10 : <tr align=center> 11 : <td> 메인화면 입니다. </td></tr> 15 : </table> 16 : </body> 17 : </html> 15