묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
이런 형태의 index문은 처음보는데요.. 누가 말씀좀..
2002.10.21 00:12
<?
include("./admin/upcounter.htm");
include("./config.htm");
?>
<!-- LOGO -->
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=109><a onfocus=this.blur() href=./index.htm><img border=0 src=images/logo.gif width=109 height=32></a></td>
<td width=5><img border=0 src=images/none.gif width=5 height=1></td>
<td width=107 valign=bottom><img border=0 src=images/logo_right.gif width=107 height=19></td>
<td valign=bottom align=right>
<?
$date=time();
$today=date("Y/m/d A h:i",$date);
echo"$today";
?></td></tr>
</table>
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=100%><img border=0 src=images/none.gif width=1 height=8></td></tr>
</table>
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=100%><img border=0 src=images/header_line.gif width=758 height=3></td></tr>
</table>
<!-- MENU -->
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=100%><?
// ROLL OVER
garollover($act,'home','mnu_home','mnu_home' ,"index.htm?act=home", '160', '21');
garollover($act,'product','mnu_product','mnu_product_' ,"index.htm?act=product", '98', '21');
garollover($act,'inssue','mnu_issue','mnu_issue_' ,"index.htm?act=inssue", '102', '21');
garollover($act,'proxy','mnu_proxy','mnu_proxy_' ,"index.htm?act=proxy", '101', '21');
garollover($act,'delay','mnu_delay','mnu_delay_' ,"index.htm?act=delay", '103', '21');
garollover($act,'help','mnu_help','mnu_help_' ,"index.htm?act=help", '87', '21');
garollover($act,'support','mnu_support','mnu_support_' ,"index.htm?act=support", '+ '+ '107', '21');
?></td></tr>
</table>
<!-- DIV SUB MENU LINK -->
<? include("./page_div.htm"); ?>
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=100%><img border=0 src=images/header_bottom.gif width=758 height=2></td></tr>
</table>
<!-- FLASH -->
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=100%><?
// 타이틀 이미지
if($act=="product") {echo"<img src=images/product_top.jpg width=758 height=100>";}
elseif($act=="inssue") {echo"<img src=images/inssue_top.jpg width=758 height=100>";}
elseif($act=="proxy") {echo"<img src=images/proxy_top.jpg width=758 height=100>";}
elseif($act=="delay") {echo"<img src=images/delay_top.jpg width=758 height=100>";}
elseif($act=="help" or
$board=="example") {echo"<img src=images/help_top.jpg width=758 height=100>";}
elseif($act=="support" or
$board=="faq" or
$board=="free") {echo"<img src=images/support_top.jpg width=758 height=100>";}
elseif($act=="notice_more") {echo"<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='758' height='100'>
<param name=movie value='images/main_movie2.swf'>
<param name=quality value=high>
<embed src='images/main_movie.swf'+ ' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='758' height='100'>
</embed>
</object>";}
elseif($act=="news_more") {echo"<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='758' height='100'>
<param name=movie value='images/main_movie2.swf'>
<param name=quality value=high>
<embed src='images/main_movie.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='758' height='+ '100'>
</embed>
</object>";}
elseif($act=="company") {echo"<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='758' height='100'>
<param name=movie value='images/main_movie2.swf'>
<param name=quality value=high>
<embed src='images/main_movie.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='758' height='100'>
</embed>
</object>";}
else {echo"<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='+ 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='758' height='100'>
<param name=movie value='images/main_movie2.swf'>
<param name=quality value=high>
<embed src='images/main_movie.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='758' height='100'>
</embed>
</object>";}
?>
</td></tr>
</table>
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=100%><img border=0 src=images/okgray.gif width=100% height=4></td></tr>
</table>
<!-- BODY -->
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=154 background=images/left_bg.gif valign=top>
<!-- LEFT -->
<table border=0 width=100% cellspacing=0 cellpadding=0>
<tr> <td width=100%><img border=0 src=images/left_logo.gif width=154 height=22></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=1 height=4></td></tr>
<tr> <td width=100%>
<!-- LOGIN ROUTINE BUTTON -->
<? include("./page_member.htm"); ?>
<tr> <td width=100%><? if(!$onswitch) echo"<img border=0 src=images/left_tel.gif width=154 height=67>"; ?></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=6 height=1><img border=0 src=images/rect_06.gif></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=1 height=2></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=6 height=1><a onfocus=this.blur() href=./index.htm?act=proxy><img border=0 src=images/rect_03.gif></a></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=6 height=1><a onfocus=this.blur() href=./index.htm?act=delay><img border=0 src=images/rect_04.gif></a></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=1 height=2></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=6 height=1><a onfocus=this.blur() href=http://www.mycredit.co.kr target=_blank><img border=0 src=images/left_link_11.gif width=142 height=40></a></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=6 height=1><a onfocus=this.blur() href=./index.htm?act=cardcal><img border=0 src=images/left_link_10.gif width=142 height=40></a></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=6 height=1><a onfocus=this.blur() href=http://www.ten.co.kr target=_blank><img border=0 src=images/right_link_06.gif></a></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=6 height=1><a onfocus=this.blur() href=./index.htm?act=online><img border=0 src=images/rect_10.gif></a></td></tr>
</table>
</td>
<!-- RIGHT -->
<td valign=top background=images/right_bg.gif>
<!-- SUB PAGE -->
<?
if($act=='product')
{
if($sub=='1') {include("./page_product_year.htm");}
elseif($sub=='2')
{
if($rtn=='1') {include("./page_service_02.htm");}
elseif($rtn=='2') {include("./page_service_03.htm");}
elseif($rtn=='3') {include("./page_service_04.htm");}
elseif($rtn=='4') {include("./page_service_05.htm");}
else {include("./page_service_01.htm");}
}
elseif($sub=='3') {include("./page_product_payment.htm");}
elseif($sub=='4') {include("./page_product_pay.htm");}
elseif($sub=='5') {include("./page_product_scope.htm");}
else {include("./page_product_level.htm");}
}
elseif($act=='inssue')
{
if($sub=='1') {include("./page_inssue_written.htm");}
else
{
if($rtn=='1') {include("./page_inssue_standard_01.htm");}
elseif($rtn=='2') {include("./page_inssue_standard_02.htm");}
elseif($rtn=='3') {include("./page_inssue_standard_03.htm");}
elseif($rtn=='4') {include("./page_inssue_standard_04.htm");}
elseif($rtn=='5') {include("./page_inssue_standard_05.htm");}
elseif($rtn=='6') {include("./page_inssue_standard_06.htm");}
elseif($rtn=='7') {include("./page_inssue_standard_07.htm");}
else {include("./page_inssue_standard.htm");}
}
}
elseif($act=='proxy')
{
if($sub=='1')
{
// if(!$MemberLoginVAR) {massg('회원가입후 신청가능합니다.','',"./index.htm?act=member");exit;}
include("./page_proxy_after.htm");
}
else {include("./page_proxy.htm");}
}
elseif($act=='delay')
{
if($sub=='1')
{
// if(!$MemberLoginVAR) {massg('회원가입후 신청가능합니다.','+ '',"./index.htm?act=member");exit;}
include("./page_delay_send.htm");
}
else {include("./page_delay_after.htm");}
}
elseif($act=='help')
{
if($sub=='1') {include("./page_board_example.htm");}
elseif($sub=='2') {include("./page_help_revolving.htm");}
elseif($sub=='3') {include("./page_help_amount.htm");}
elseif($sub=='4') {include("./page_help_prize.htm");}
else {include("./page_help_way.htm");}
}
elseif($act=='notice_more') {include("./page_notice_more.htm");}
elseif($act=='news_more') {include("./page_news_more.htm");}
elseif($act=='company') {@include("./page_company.htm");}
elseif($act=='protect') {include("./page_protect.htm");}
elseif($act=='member')
{
// 1: form, 2: joine, 0: rule
if($sub=='1') {include("./page_member_form.htm");}
elseif($sub=='2') {include("./page_member_join.htm");}
else {include("./page_member_rule.htm");}
}
elseif($act=='online') {include("./garoweb_mailinq.htm");}
elseif($act=='cardcal') {include("./page_cardcal.htm");}
elseif($act=='coupon') {include("./page_coupon.htm");}
elseif($act=='support')
{
if($sub=='1') {include("./page_board_free.htm");}
else {include("./page_board_faq.htm");}
}
elseif($board=='example') {include("./page_board_example.htm");}
elseif($board=='faq') {include("./page_board_faq.htm");}
elseif($board=='free') {include("./page_board_free.htm");}
elseif($act=='company') {include("./page_company.htm");}
else {include("./page_start.htm");}
?>
<!-- RIGHT END -->
</td></tr></table>
<!-- FOOT TOP -->
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=154 background=images/left_bg.gif><img border=0 src=images/none.gif width=1 height=1></td>
<td align=right background=images/right_bg.gif valign=top><a href=./index.htm?act=company>회사소개</a> | <a href=./index.htm?act=protect>개인정보보호정책</a> | <a href=./index.htm?act=online&join=true>광고및제휴안내</a><img border=0 src=images/none.gif width=12 height=1><a href=#><img border=0 src=images/foot_top.gif width=36 height=17></a><img border=0 src=images/none.gif width=6 height=1></td></tr>
</table>
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=154 background=images/left_bg.gif><img border=0 src=images/none.gif width=1 height=1></td>
<td align=right background=images/right_bg.gif valign=top><img border=0 src=images/none.gif width=1 height=6></td></tr>
</table>
<!-- COPYRIGHT -->
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=100%><? if(!$onswitch) echo"<img border=0 src=images/foot_copyright.gif>";
else echo"<img border=0 src=images/foot_copyright2.gif>"; ?></td></tr>
</table>
<BODY>
<HTML>
젤 궁금한 sub-page 부분에서 act 값을 어떤 형태로 읽어들이는지... 그에 따라 페이지가 옮겨지거덩여
그리고 이게 혹시 get방식인가여?
부덜부덜..
include("./admin/upcounter.htm");
include("./config.htm");
?>
<!-- LOGO -->
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=109><a onfocus=this.blur() href=./index.htm><img border=0 src=images/logo.gif width=109 height=32></a></td>
<td width=5><img border=0 src=images/none.gif width=5 height=1></td>
<td width=107 valign=bottom><img border=0 src=images/logo_right.gif width=107 height=19></td>
<td valign=bottom align=right>
<?
$date=time();
$today=date("Y/m/d A h:i",$date);
echo"$today";
?></td></tr>
</table>
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=100%><img border=0 src=images/none.gif width=1 height=8></td></tr>
</table>
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=100%><img border=0 src=images/header_line.gif width=758 height=3></td></tr>
</table>
<!-- MENU -->
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=100%><?
// ROLL OVER
garollover($act,'home','mnu_home','mnu_home' ,"index.htm?act=home", '160', '21');
garollover($act,'product','mnu_product','mnu_product_' ,"index.htm?act=product", '98', '21');
garollover($act,'inssue','mnu_issue','mnu_issue_' ,"index.htm?act=inssue", '102', '21');
garollover($act,'proxy','mnu_proxy','mnu_proxy_' ,"index.htm?act=proxy", '101', '21');
garollover($act,'delay','mnu_delay','mnu_delay_' ,"index.htm?act=delay", '103', '21');
garollover($act,'help','mnu_help','mnu_help_' ,"index.htm?act=help", '87', '21');
garollover($act,'support','mnu_support','mnu_support_' ,"index.htm?act=support", '+ '+ '107', '21');
?></td></tr>
</table>
<!-- DIV SUB MENU LINK -->
<? include("./page_div.htm"); ?>
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=100%><img border=0 src=images/header_bottom.gif width=758 height=2></td></tr>
</table>
<!-- FLASH -->
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=100%><?
// 타이틀 이미지
if($act=="product") {echo"<img src=images/product_top.jpg width=758 height=100>";}
elseif($act=="inssue") {echo"<img src=images/inssue_top.jpg width=758 height=100>";}
elseif($act=="proxy") {echo"<img src=images/proxy_top.jpg width=758 height=100>";}
elseif($act=="delay") {echo"<img src=images/delay_top.jpg width=758 height=100>";}
elseif($act=="help" or
$board=="example") {echo"<img src=images/help_top.jpg width=758 height=100>";}
elseif($act=="support" or
$board=="faq" or
$board=="free") {echo"<img src=images/support_top.jpg width=758 height=100>";}
elseif($act=="notice_more") {echo"<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='758' height='100'>
<param name=movie value='images/main_movie2.swf'>
<param name=quality value=high>
<embed src='images/main_movie.swf'+ ' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='758' height='100'>
</embed>
</object>";}
elseif($act=="news_more") {echo"<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='758' height='100'>
<param name=movie value='images/main_movie2.swf'>
<param name=quality value=high>
<embed src='images/main_movie.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='758' height='+ '100'>
</embed>
</object>";}
elseif($act=="company") {echo"<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='758' height='100'>
<param name=movie value='images/main_movie2.swf'>
<param name=quality value=high>
<embed src='images/main_movie.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='758' height='100'>
</embed>
</object>";}
else {echo"<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='+ 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='758' height='100'>
<param name=movie value='images/main_movie2.swf'>
<param name=quality value=high>
<embed src='images/main_movie.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='758' height='100'>
</embed>
</object>";}
?>
</td></tr>
</table>
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=100%><img border=0 src=images/okgray.gif width=100% height=4></td></tr>
</table>
<!-- BODY -->
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=154 background=images/left_bg.gif valign=top>
<!-- LEFT -->
<table border=0 width=100% cellspacing=0 cellpadding=0>
<tr> <td width=100%><img border=0 src=images/left_logo.gif width=154 height=22></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=1 height=4></td></tr>
<tr> <td width=100%>
<!-- LOGIN ROUTINE BUTTON -->
<? include("./page_member.htm"); ?>
<tr> <td width=100%><? if(!$onswitch) echo"<img border=0 src=images/left_tel.gif width=154 height=67>"; ?></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=6 height=1><img border=0 src=images/rect_06.gif></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=1 height=2></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=6 height=1><a onfocus=this.blur() href=./index.htm?act=proxy><img border=0 src=images/rect_03.gif></a></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=6 height=1><a onfocus=this.blur() href=./index.htm?act=delay><img border=0 src=images/rect_04.gif></a></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=1 height=2></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=6 height=1><a onfocus=this.blur() href=http://www.mycredit.co.kr target=_blank><img border=0 src=images/left_link_11.gif width=142 height=40></a></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=6 height=1><a onfocus=this.blur() href=./index.htm?act=cardcal><img border=0 src=images/left_link_10.gif width=142 height=40></a></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=6 height=1><a onfocus=this.blur() href=http://www.ten.co.kr target=_blank><img border=0 src=images/right_link_06.gif></a></td></tr>
<tr> <td width=100%><img border=0 src=images/none.gif width=6 height=1><a onfocus=this.blur() href=./index.htm?act=online><img border=0 src=images/rect_10.gif></a></td></tr>
</table>
</td>
<!-- RIGHT -->
<td valign=top background=images/right_bg.gif>
<!-- SUB PAGE -->
<?
if($act=='product')
{
if($sub=='1') {include("./page_product_year.htm");}
elseif($sub=='2')
{
if($rtn=='1') {include("./page_service_02.htm");}
elseif($rtn=='2') {include("./page_service_03.htm");}
elseif($rtn=='3') {include("./page_service_04.htm");}
elseif($rtn=='4') {include("./page_service_05.htm");}
else {include("./page_service_01.htm");}
}
elseif($sub=='3') {include("./page_product_payment.htm");}
elseif($sub=='4') {include("./page_product_pay.htm");}
elseif($sub=='5') {include("./page_product_scope.htm");}
else {include("./page_product_level.htm");}
}
elseif($act=='inssue')
{
if($sub=='1') {include("./page_inssue_written.htm");}
else
{
if($rtn=='1') {include("./page_inssue_standard_01.htm");}
elseif($rtn=='2') {include("./page_inssue_standard_02.htm");}
elseif($rtn=='3') {include("./page_inssue_standard_03.htm");}
elseif($rtn=='4') {include("./page_inssue_standard_04.htm");}
elseif($rtn=='5') {include("./page_inssue_standard_05.htm");}
elseif($rtn=='6') {include("./page_inssue_standard_06.htm");}
elseif($rtn=='7') {include("./page_inssue_standard_07.htm");}
else {include("./page_inssue_standard.htm");}
}
}
elseif($act=='proxy')
{
if($sub=='1')
{
// if(!$MemberLoginVAR) {massg('회원가입후 신청가능합니다.','',"./index.htm?act=member");exit;}
include("./page_proxy_after.htm");
}
else {include("./page_proxy.htm");}
}
elseif($act=='delay')
{
if($sub=='1')
{
// if(!$MemberLoginVAR) {massg('회원가입후 신청가능합니다.','+ '',"./index.htm?act=member");exit;}
include("./page_delay_send.htm");
}
else {include("./page_delay_after.htm");}
}
elseif($act=='help')
{
if($sub=='1') {include("./page_board_example.htm");}
elseif($sub=='2') {include("./page_help_revolving.htm");}
elseif($sub=='3') {include("./page_help_amount.htm");}
elseif($sub=='4') {include("./page_help_prize.htm");}
else {include("./page_help_way.htm");}
}
elseif($act=='notice_more') {include("./page_notice_more.htm");}
elseif($act=='news_more') {include("./page_news_more.htm");}
elseif($act=='company') {@include("./page_company.htm");}
elseif($act=='protect') {include("./page_protect.htm");}
elseif($act=='member')
{
// 1: form, 2: joine, 0: rule
if($sub=='1') {include("./page_member_form.htm");}
elseif($sub=='2') {include("./page_member_join.htm");}
else {include("./page_member_rule.htm");}
}
elseif($act=='online') {include("./garoweb_mailinq.htm");}
elseif($act=='cardcal') {include("./page_cardcal.htm");}
elseif($act=='coupon') {include("./page_coupon.htm");}
elseif($act=='support')
{
if($sub=='1') {include("./page_board_free.htm");}
else {include("./page_board_faq.htm");}
}
elseif($board=='example') {include("./page_board_example.htm");}
elseif($board=='faq') {include("./page_board_faq.htm");}
elseif($board=='free') {include("./page_board_free.htm");}
elseif($act=='company') {include("./page_company.htm");}
else {include("./page_start.htm");}
?>
<!-- RIGHT END -->
</td></tr></table>
<!-- FOOT TOP -->
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=154 background=images/left_bg.gif><img border=0 src=images/none.gif width=1 height=1></td>
<td align=right background=images/right_bg.gif valign=top><a href=./index.htm?act=company>회사소개</a> | <a href=./index.htm?act=protect>개인정보보호정책</a> | <a href=./index.htm?act=online&join=true>광고및제휴안내</a><img border=0 src=images/none.gif width=12 height=1><a href=#><img border=0 src=images/foot_top.gif width=36 height=17></a><img border=0 src=images/none.gif width=6 height=1></td></tr>
</table>
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=154 background=images/left_bg.gif><img border=0 src=images/none.gif width=1 height=1></td>
<td align=right background=images/right_bg.gif valign=top><img border=0 src=images/none.gif width=1 height=6></td></tr>
</table>
<!-- COPYRIGHT -->
<table border=0 width=758 cellspacing=0 cellpadding=0>
<tr> <td width=100%><? if(!$onswitch) echo"<img border=0 src=images/foot_copyright.gif>";
else echo"<img border=0 src=images/foot_copyright2.gif>"; ?></td></tr>
</table>
<BODY>
<HTML>
젤 궁금한 sub-page 부분에서 act 값을 어떤 형태로 읽어들이는지... 그에 따라 페이지가 옮겨지거덩여
그리고 이게 혹시 get방식인가여?
부덜부덜..
댓글 3
-
보거
2002.10.21 00:20
-
최강남자킹
2002.10.21 00:38
네 감사합니당~~~
다음 페이지로 갈때 걍 act값만 넘겨주면 되겐네여..
근데여 act==1,
act==2 이런식으로 주어따는건 미리 그 값이 정해졌다는 얘긴데...
어떤형태로 주는걸까요? 그게 젤 궁금합니다. -
보거
2002.10.21 00:55
흠... '=='라는 구문은 if문에서 씁니다. 뜻은 같다'면' 이죠.
'='와는 틀립니다. 이 '='+ '+ '는 '이 값은 무엇이다'라고 정의하는 것이죠.
위에서 하나 뽑아보겠습니다.
elseif($act=='delay') 이걸로 한번...
만약 act값이 delay라면 {}로 감싼 부분을 실행한다 이소리죠 - _-/
값을 넘길 때는 이렇게 주세요.
다른 페이지에서, http://이소스가있는URL?act=delay뭐 이런식으로.
그리고... GET방식이라는 말은 값을 다른 페이지로 넘길 때 쓰는 방식 중 하나 입니다.
여기서는 그런 말이 쓰일 수 없죠.
이 구문에서는 어떤 방식이라도 act값이 들어오면 됩니다. GET이든지, POST든지... 아무거나.
이 구문을 올리신 뒤 URL 뒤에 ?act=값 이렇게 붙이시는게 제일 좋은 방법 같고요.
다른 페이지에서 POST 방식으로 act 값을 넘길 수도 있겠죠.