0){ $query="update logs set $hf_fl=$hf_fl+1 where date='$date_fl' and host='$host_fl'"; #print $query; $logs_update=mysql_query($query); query_chk($logs_update,"logs_update error"); } else{ $query="insert into logs (host,date,$hf_fl) values ('$host_fl','$date_fl','1')"; #print $query; $logs_insert=mysql_query($query); query_chk($logs_insert,"logs_insert error"); } } #ÈçÀû ³²±â±â ³¡ #°¢ ÆäÀÌÁö º¯¼ö¿¡ ³Ö±â $top_p[0]=$dg["base_dir"]."top_".$dg["top"].".html"; $top_p[1]=$dg["base_dir"]."news_top_".$dg["top"].".html"; $menu_p[0]=$dg["base_dir"]."menu_".$dg["menu"].".html"; $menu_p[1]=$dg["base_dir"]."news_menu_".$dg["menu"].".html"; #°¢ ÆäÀÌÁö º¯¼ö¿¡ ³Ö±â ³¡ #------- modea¿¡ µû¸¥ Top_page ¿Í Menu_Page ÆÇ´ÜÇϱâ if(!$tpc){$tpc=0;} if(!$mpc){$mpc=0;} #if(!$modea){$modea="main";} if($modea=="news"){ setcookie("tpc",1,0); setcookie("mpc",1,0); $top_inc=$top_p[1]; $menu_inc=$menu_p[1]; } elseif($modea=="main" or $modea=="list" or $modea=="view"){ setcookie("tpc",0,0); setcookie("mpc",0,0); $top_inc=$top_p[0]; $menu_inc=$menu_p[0]; } else{ $top_inc=$top_p[$tpc]; $menu_inc=$menu_p[$mpc]; } switch($modea){ #--------- ¼îÇθô°ü·Ã ¸ðµå °ª ½ÃÀÛ -------- case("login"): $back_url=getenv("HTTP_REFERER"); $back_query=getenv("QUERY_STRING"); if($back_url){ $fail_url=$back_url."&login=fail"; } else{ $fail_url="./index.html?login=fail"; } $id=trim($id); $query="select pwd,name from members where id='$id'"; $pwd_db=mysql_query($query); query_chk($pwd_db,"pwd_db error"); if(mysql_num_rows($pwd_db)==0){ header("location:$fail_url"); exit; } else{ $pwd_chk=mysql_fetch_array($pwd_db); } if($pwd==$pwd_chk[pwd]){ setcookie("member",$id,0,"/","$mir[domain]"); setcookie("member_name",$pwd_chk[name],0,"/","$mir[domain]"); $query="update members set login='1' where id='$id'"; $login=mysql_query($query); query_chk($login,"login error"); header("location:$back_url"); exit; } else{ header("location:$fail_url"); exit; } exit; break; case("logout"): $query="update members set login='0' where id='$member'"; $logout=mysql_query($query); query_chk($logout,"logout error"); setcookie("member","",time(),"/","$mir[domain]"); setcookie("member_name","",time(),"/","$mir[domain]"); header("location:./index.html"); exit; break; case("login_fail"): $back_url=getenv("HTTP_REFERER"); $back_query=getenv("QUERY_STRING"); if($back_query){ $fail_url=$back_url."&login=fail"; } else{ $fail_url=$back_url."?login=fail"; } $msg="·Î±×Àο¡ ½ÇÆóÇÏ¿´½À´Ï´Ù."; header("location:$fail_url"); exit; break; case("main"): #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."main_".$dg["main"].".html"; break; case("list"): #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."list_".$dg["list"].".html"; break; case("list_tm"): #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."list_tm_".$dg["list_tm"].".html"; break; case("view"): #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."view_".$dg["view"].".html"; break; case("cart"): #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; if($mir[sale_type]==1){ if(login($member)==0){ $msg="º» ¼îÇθôÀº ȸ¿ø ·Î±×ÀÎÈÄ Á¦Ç°À» ±¸¸ÅÇϽǼö ÀÖ½À´Ï´Ù. ºÒÆíÀ» µå·Á Á˼ÛÇÕ´Ï´Ù."; $login="fail"; } else{ $body_inc=$dg["base_dir"]."cart_".$dg["cart"].".html"; } } else{ $body_inc=$dg["base_dir"]."cart_".$dg["cart"].".html"; } ############# īƮ ¸ðµå ½ÃÀÛ if(login($member)==0){ $cartno=getenv(REMOTE_ADDR); $cartno=trim(ereg_replace("\.","",$cartno)); } else{ $cartno=$member; } if(!$cart_mode and !$id_no){ $cart_mode="view"; } switch($cart_mode){ ##--¼îÇÎīƮ ±âº»¸ðµå (ÀÐ°í ¾²°í ³Ö°í) ½ÃÀÛ default: $query="select * from products where id_no='$id_no'"; $pd_db=mysql_query($query); query_chk($pd_db,"pd_db select error"); $pd=mysql_fetch_array($pd_db); if(count($opt)>0){ while(list($key,$option_id)=each($opt)){ $query="select list_name,add_cost from option_list where id_no='$option_id'"; $option_db=mysql_query($query); query_chk($option_db,"option_db error"); $option=mysql_fetch_array($option_db); if(!$option_tot){ $option_tot=$option[list_name]; } else{ $option_tot=$option_tot.",".$option[list_name]; } #$cost=$cost+($option[add_cost]+($option[add_cost]*($mir[card_per]/100))); $cost=$cost+$option[add_cost]; } } $query="select * from cart where cartno='$cartno' and sn='$pd[sn]' and options='$option_tot'"; $cart_pd_db=mysql_query($query); query_chk($cart_pd_db,"cart_pd_db error"); $cart_pd=mysql_fetch_array($cart_pd_db); $cart_pd_num=mysql_num_rows($cart_pd_db); if($cart_pd_num>0){ $unit_tot=$cart_pd[unit]+$unit; $cost=$cost+$cart_pd[cost]; $query="update cart set unit='$unit_tot' where id='$cart_pd[id]'"; $cart_update=mysql_query($query); query_chk($cart_update,"cart_update error"); } else{ $query="insert into cart (cartno,name,unit,cost,sn,reserve,options,note) values ('$cartno','$pd[name]','$unit','$cost','$pd[sn]','$pd[reserve]','$option_tot','$pd[pd_type]')"; $cart_insert=mysql_query($query); query_chk($cart_insert,"cart_insert error"); } break; ##--¼îÇÎīƮ ±âº»¸ðµå (ÀÐ°í ¾²°í ³Ö°í) ³¡ ##--¿Â¶óÀÎ °ßÀû¼­ (ÀÐ°í ¾²°í ³Ö°í) ½ÃÀÛ case("c_form"): $query="update c_form_base set use_num=use_num+1 where id='$c_form_id'"; $use_num_add_db=mysql_query($query); query_chk($use_num_add_db,"use_num_add_db error"); while(list($key,$id_no)=each($prod)){ #--³Ñ¾î¿Â°ª ó¸® list($key,$unit)=each($unit_form); if($id_no!="empty"){ $query="select * from products where id_no='$id_no'"; $pd_db=mysql_query($query); query_chk($pd_db,"pd_db select error"); $pd=mysql_fetch_array($pd_db); $cost=$pd[cost]; if(count($opt)>0){ while(list($key,$option_id)=each($opt)){ $query="select list_name,add_cost from option_list where id_no='$option_id'"; $option_db=mysql_query($query); query_chk($option_db,"option_db error"); $option=mysql_fetch_array($option_db); if(!$option_tot){ $option_tot=$option[list_name]; } else{ $option_tot=$option_tot.",".$option[list_name]; } #$cost=$cost+($option[add_cost]+($option[add_cost]*($mir[card_per]/100))); $cost=$cost+$option[add_cost]; } } $query="select * from cart where cartno='$cartno' and sn='$pd[sn]' and options='$option_tot'"; $cart_pd_db=mysql_query($query); query_chk($cart_pd_db,"cart_pd_db error"); $cart_pd=mysql_fetch_array($cart_pd_db); $cart_pd_num=mysql_num_rows($cart_pd_db); if($cart_pd_num>0){ $unit_tot=$cart_pd[unit]+$unit; $cost=$cost+$cart_pd[cost]; $query="update cart set unit='$unit_tot' where id='$cart_pd[id]'"; $cart_update=mysql_query($query); query_chk($cart_update,"cart_update error"); } else{ $query="insert into cart (cartno,name,unit,cost,sn,reserve,options,note) values ('$cartno','$pd[name]','$unit','$cost','$pd[sn]','$pd[reserve]','$option_tot','$pd[pd_type]')"; $cart_insert=mysql_query($query); query_chk($cart_insert,"cart_insert error"); } } } break; ##--¿Â¶óÀÎ °ßÀû¼­ (ÀÐ°í ¾²°í ³Ö°í) ³¡ ##--¼îÇÎīƮ ´Ù½Ã°è»ê ½ÃÀÛ case("re_calc"): if(count($unit)>0){ while(list($key,$pd_unit)=each($unit)){ list($key,$pd_id)=each($cart_id); $query="update cart set unit='$pd_unit' where id='$pd_id'"; $cart_update=mysql_query($query); query_chk($cart_update,"cart update error"); } } break; ##--¼îÇÎīƮ ´Ù½Ã°è»ê ³¡ ##--¼îÇÎīƮ ¼±ÅûèÁ¦ ½ÃÀÛ case("sel_del"): if(count($cart_del)>0){ while(list($key,$cart_id)=each($cart_del)){ $query="delete from cart where id='$cart_id'"; $cart_delete=mysql_query($query); query_chk($cart_delete,"cart delete error"); } } break; ##--¼îÇÎīƮ ¼±ÅûèÁ¦ ³¡ ##--¼îÇÎīƮ ºñ¿ì±â ½ÃÀÛ case("cart_del"): $query="delete from cart where cartno='$cartno'"; $cart_delete=mysql_query($query); query_chk($cart_delete,"cart delete error"); break; ##--¼îÇÎīƮ ºñ¿ì±â ³¡ ##--¼îÇΰè¼Ó ½ÃÀÛ case("shopping"): header("location:./index.html"); break; ##--¼îÇΰè¼Ó ³¡ ##--ÁÖ¹®Çϱ⠽ÃÀÛ case("order"): header("location:./index.html?modea=order&cartno=$cartno"); break; ##--ÁÖ¹®Çϱ⠳¡ ##--īƮº¸±â ½ÃÀÛ case("view"): break; ##--īƮº¸±â ³¡ } ############################īƮ ¸ðµå ³¡ break; case("order"): #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."order_".$dg["order1"].".html"; break; case("pay"): #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."pay_".$dg["pay"].".html"; break; case("pay_completed"): if($modeb!="reload" and $ord_data and $order_no and $bank){ $query="select * from cart_order where order_no='$order_no'"; $cart_db=mysql_query($query); query_chk($cart_db,"cart_db error"); $query="select * from ord where order_no='$order_no'"; $order_db=mysql_query($query); query_chk($order_db,"order_db error"); $order=mysql_fetch_array($order_db); if(mysql_num_rows($cart_db)>0){ $reserve_tot=0; while($cart=mysql_fetch_array($cart_db)){ $reserve_tot=$reserve_tot+($cart[reserve]*$cart[unit]); #Á¦°í·® ¼öÁ¤ ¹× ÆÇ¸Å¼ö $query="select sales,stock,stock_app from products where sn='$cart[sn]'"; $pd_db=mysql_query($query); query_chk($pd_db,"pd_db error"); $pd=mysql_fetch_array($pd_db); if($pd[stock_app]=="yes"){ $stock=$pd[stock]-$cart[unit]; if($stock<1){ $stock=0; $query="update products set stock='$stock',state='2' where sn='$cart[sn]'"; } else{ $query="update products set stock='$stock' where sn='$cart[sn]'"; } $pd_update=mysql_query($query); query_chk($pd_update,"pd_update error"); } $cart_pd_no=$cart_pd_no+1; } } #ȸ¿ø±¸¸ÅÀϰæ¿ì ¸¶Àϸ®Áö ¾÷µ¥ÀÌÆ® ½ÃÀÛ if(login($member)==1){ $query="select reserve from members where id='$member'"; $mb_db=mysql_query($query); query_chk($mb_db,"mb_db error"); $mb=mysql_fetch_array($mb_db); $reserve_tot=$reserve_tot+$mb[reserve]; $query="update members set reserve='$reserve_tot' where id='$member'"; $mb_update=mysql_query($query); query_chk($mb_update,"mb_update error"); } #ȸ¿ø±¸¸ÅÀϰæ¿ì ¸¶Àϸ®Áö ¾÷µ¥ÀÌÆ® ³¡ if($approve){ $pay_name=$approve; } else{ $pay_name=$order[name]; } $query="update ord set pay_name='$pay_name', bank='$bank', pay_for='$pay_for', pay_date='$admDate', state='$state' where order_no='$order_no'"; $order_update=mysql_query($query); query_chk($order_update,"order_update Error"); header("location:./index.html?modea=pay_completed&modeb=reload&order_no=$order_no"); exit; } else{ #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."pay_completed_".$dg["pay_completed"].".html"; } break; case("member_view"): #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; if(login($member)==0){ $msg="·Î±×ÀÎÀ» ÇϽÅÈÄ ÀÌ¿ëÇϽǼö ÀÖ½À´Ï´Ù."; $body_inc=$dg["base_dir"]."login_fail_".$dg["login_fail"].".html"; } else{ $body_inc=$dg["base_dir"]."member_view_".$dg["member_view"].".html"; } break; case("member_edit"): #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; if(login($member)==0){ $body_inc=$dg["base_dir"]."login_fail_".$dg["login_fail"].".html"; } else{ $body_inc=$dg["base_dir"]."member_edit_".$dg["member_edit"].".html"; } break; case("member_reg"): #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."member_reg_".$dg["member_reg"].".html"; break; case("member_out"): $query="delete from members where id='$member'"; $mb_out=mysql_query($query); query_chk($mb_out,"mb_out error"); $query="update ord set order_id='mb_old' where order_id='$member'"; $ord_update=mysql_query($query); query_chk($ord_update,"ord_update error"); setcookie("member","",time()); setcookie("member_name","",time()); header("location:./index.html"); exit; break; case("member_reg_completed"): #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."member_reg_completed_".$dg["member_reg_completed"].".html"; break; case("member_edit_completed"): $id_no=$idno1."-".$idno2; $query="update members set pwd='$pwd',name='$name',id_no='$id_no',email='$email',tel='$tel',address1='$address1',address2='$address2',zcode1='$zcode1',zcode2='$zcode2',cphone='$cphone' where id='$id'"; $member_update=mysql_query($query); query_chk($member_update,"member_update error"); #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."member_view_".$dg["member_view"].".html"; break; case("order_chk"): #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."order_chk_".$dg["order_chk"].".html"; break; case("id_pwd_send"): #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."id_pwd_send_".$dg["id_pwd_send"].".html"; break; case("order_view"): $msg=""; #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; if($type=="order_no"){ $order_no=trim($order_no); $query="select * from ord where order_no='$order_no'"; } else{ $name=trim($name); $email=trim($email); $query="select * from ord where name='$name' and email='$email' order by id DESC limit 0,1"; } $order_db=mysql_query($query); query_chk($order_db,"order_db error"); $order=mysql_fetch_array($order_db); $query="select * from cart_order where order_no='$order[order_no]'"; $cart_db=mysql_query($query); query_chk($cart_db,"cart_db error"); if(mysql_num_rows($order_db)>0){ $body_inc=$dg["base_dir"]."order_view_".$dg["order_view"].".html"; if($modeb=="order_mail"){ include $body_inc; exit; } } else{ $msg="- ÇØ´çÇÏ´Â ÁÖ¹®³»¿ªÀÌ ¾ø½À´Ï´Ù.
- ´Ù½Ã Çѹø È®ÀÎÇϽðí Á¶È¸ÇØ ÁÖ½Ã¸é °¨»çÇϰڽÀ´Ï´Ù."; $body_inc=$dg["base_dir"]."order_chk_".$dg["order_chk"].".html"; } break; case("pd_comp"): include $dg["base_dir"]."pd_comp_".$dg["pd_comp"].".html"; exit; break; case("c_form_print"): include $dg["base_dir"]."c_form_print_0.html"; exit; break; case("pay_online"): include $dg["base_dir"]."pay_online_0.html"; exit; break; case("member_remind"): #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."member_remind_".$dg["member_remind"].".html"; break; case("gonggu"): #$top_inc=$dg["base_dir"]."top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."gonggu_list_".$dg["gonggu_list"].".html"; break; #--------- ¼îÇθô°ü·Ã ¸ðµå °ª ³¡ -------- #------- ¿Â¶óÀÎ °ßÀû ½ÃÀÛ case("online_form"): #$top_inc=$dg["base_dir"]."news_top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."news_menu_".$dg["menu"].".html"; $query="select * from c_form_base where state='1' order by id DESC"; $c_form_db=mysql_query($query); query_chk($c_form_db,"c_form_db error"); if(mysql_num_rows($c_form_db)==1){ $c_form=mysql_fetch_array($c_form_db); $id=$c_form[id]; $body_inc=$dg["base_dir"]."c_form_".$dg["c_form"].".html"; } else{ $body_inc=$dg["base_dir"]."c_form_list_".$dg["c_form_list"].".html"; } break; case("online_form_view"): #$top_inc=$dg["base_dir"]."news_top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."news_menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."c_form_".$dg["c_form"].".html"; break; #------- ¿Â¶óÀÎ °ßÀû ²ø #--------- ´º½º°ü·Ã ¸ðµå °ª ½ÃÀÛ -------- case("news"): #$top_inc=$dg["base_dir"]."news_top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."news_menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."news_main_".$dg["news_main"].".html"; break; case("news_list"): #$top_inc=$dg["base_dir"]."news_top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."news_menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."news_list_".$dg["news_list"].".html"; break; case("news_view"): #$top_inc=$dg["base_dir"]."news_top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."news_menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."news_view_".$dg["news_view"].".html"; break; case("news_send"): #$top_inc=$dg["base_dir"]."news_top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."news_menu_".$dg["menu"].".html"; $body_inc=$dg["base_dir"]."news_main_".$dg["main"].".html"; break; case("board"): #$top_inc=$dg["base_dir"]."news_top_".$dg["top"].".html"; #$menu_inc=$dg["base_dir"]."news_menu_".$dg["menu"].".html"; if($board){ $board_id=trim(ereg_replace("zboard","",$board)); $query="select w_mode from board_admin where board_id='$board_id'"; $bd_mode_db=mysql_query($query); query_chk($bd_mode_db,"bd_mode_db error"); $bd_mode=mysql_fetch_array($bd_mode_db); if($bd_mode[w_mode]=="2"){ if(login($member)==1){ $query="select * from members where id='$member'"; $mb_db=mysql_query($query); query_chk($mb_db,"mb_db error"); $mb=mysql_fetch_array($mb_db); $query="select * from ord where order_id='$member' order by id DESC"; $ord_db=mysql_query($query); query_chk($ord_db,"ord_db error"); $body_inc=$dg["base_dir"]."zboard_".$dg["zboard"]."/zboard.html"; } else{ $msg="·Î±×ÀÎ ÈÄ ÀÌ¿ëÇϼ¼¿ä."; $body_inc=$dg["base_dir"]."login_fail_".$dg["login_fail"].".html"; } } else{ $body_inc=$dg["base_dir"]."zboard_".$dg["zboard"]."/zboard.html"; } } else{ $body_inc=$dg["base_dir"]."zboard_".$dg["zboard"]."/zboard.html"; } if(login($member)==1){ $query="select * from members where id='$member'"; $mb_db=mysql_query($query); query_chk($mb_db,"mb_db error"); $mb=mysql_fetch_array($mb_db); #ÁÖ¼ÒÀÔ·Â ºÎºÐ ±¸¹øÀ» À§ÇÑ °Í if(!$mb[address2]){$mb[address2]=$mb[address];} $zb_name=$mb[name]; $zb_email=$mb[email]; } break; #--------- ´º½º°ü·Ã ¸ðµå °ª ³¡ -------- #--------- ±âŸ ÆäÀÌÁö ¸ðµå °ª ½ÃÀÛ -------- case("company"): $body_inc=$dg["base_dir"]."company_".$dg["company"].".html"; break; case("guide"): $body_inc=$dg["base_dir"]."guide_".$dg["guide"].".html"; break; case("banner"): $query="update banner set click_num=click_num+1 where id='$id'"; $bn_update=mysql_query($query); query_chk($bn_update,"bn_update error"); header("location:$url"); exit; break; case("res"): $body_inc=$dg["base_dir"]."res_".$dg["res"].".html"; include $body_inc; exit; break; case("add_ser_win"): $body_inc=$dg["base_dir"]."add_ser.html"; include $body_inc; exit; break; case("add_ser_win1"): $body_inc=$dg["base_dir"]."add_ser1.html"; include $body_inc; exit; break; #--------- ±âŸ ÆäÀÌÁö ¸ðµå °ª ³¡ -------- } if($login=="fail"){ $body_inc=$dg["base_dir"]."login_fail_".$dg["login_fail"].".html"; if(!$msg){ $msg="·Î±×Àο¡ ½ÇÆóÇÏ¿´½À´Ï´Ù."; } } $tail_inc=$dg["base_dir"]."tail_".$dg["login_fail"].".html"; mall_info_read(); #-------±âº»º¯¼ö ¼³Á¤ $mc_selected_enc=urlencode($mc_selected); $sc_selected_enc=urlencode($sc_selected); $gr_selected_enc=urlencode($gr_selected); /* $qry=getenv("QUERY_STRING"); $qry1=getenv("argv"); print $qry." ".$qry1."
"; print"

post_VALRS
"; while(list($key,$value)=each($HTTP_POST_VARS)){ print "$key-$value
"; } print"

GET_VALRS
"; while(list($key,$value)=each($HTTP_GET_VARS)){ print "$key-$value
"; } */ ?> :::: ¾È³çÇϼ¼¿ä <?php print $mir[mall_name]; ?>¿¡ ¿À½Å°É ȯ¿µÇÕ´Ï´Ù :::: popupWin = window.open('$open_url','$win_name','titlebar=0,status=no,menubar=0,toolbar=0,scrollbars=0,width=$event[win_x],height=$event[win_y],resizable=0,titlebar=0');"; } } #------- À̺¥Æ®Ã¢ ¶ç¿ì±â ³¡ /* print $HTTP_REFERER ; print "
".$HTTP_SERVER_VARS["HTTP_REFERER"]; print""; */ ?>