> ±âº»Á¤º¸"; break; case("mb1_save"): $query="update mall_info set mall_name='$mall_name',company='$company',pre_name='$pre_name',biz_no='$biz_no',tel='$tel',email='$email',fax='$fax',card_per='$card_per',address1='$address1',address2='$address2',zcode1='$zcode1',zcode2='$zcode2',send_how='$send_how',pay_h1='$pay_h1',pay_h2='$pay_h2',pay_h3='$pay_h3',pay_h4='$pay_h4',domain='$domain',sale_type='$sale_type',hs_no='$hs_no',pg_id='$pg_id'"; $mall_info_update=mysql_query($query); query_chk($mall_info_update,"mall_info_update error"); $query="update design set base_dir='$base_dir',base_url='$base_url'"; $design_update=mysql_query($query); query_chk($mall_info_update,"design_update error"); print ""; exit; break; case("mb2"): $include_hf="./mb_2.html"; $location="¼îÇθô±âº»Á¤º¸ > ȸ»ç¼Ò°³"; break; case("mb2_save"): #-------ȸ»ç¼Ò°³ ÆÄÀÏÀü¼Û¿©ºÎ È®ÀÎ ¹× ÀÔ·Â if(file_exists($intro_file)){ $upf=file($intro_file); $fr=0; $upfd=""; $uf_ext=explode(".",$intro_file_name); $extension=$uf_ext[sizeof($uf_ext)-1]; if($extension=="html" || $extension=="htm" || $extension=="txt"){ while($upf[$fr]){ $upfd=$upfd.$upf[$fr]; $fr=$fr+1; } $introduction=$upfd; } else{ echo""; } } #-------ȸ»ç ¾àµµ Á¸Àç¿©ºÎ ¹× º¹»ç if(file_exists($map)){ copy($map,"../images/user_img/map.img"); unlink($map); } if($map_del=="del"){ unlink("../images/user_img/map.img"); } $query="update mall_info set introduction='$introduction', introduction_type='$introduction_type'"; $mall_info_update=mysql_query($query); query_chk($mall_info_update,"mall_info_update error"); print ""; exit; break; case("mb2_edit"): $location="¼îÇθô±âº»Á¤º¸ > ȸ»ç¼Ò°³ > ¼öÁ¤"; $include_hf="./mb_2_edit.html"; break; case("mb3"): $location="¼îÇθô±âº»Á¤º¸ > ȸ¿ø¾à°ü"; $include_hf="./mb_3.html"; break; case("mb3_save"): #-------ȸ¿ø¾à°ü ÆÄÀÏÀü¼Û¿©ºÎ È®ÀÎ ¹× ÀÔ·Â if(file_exists($provision_file)){ $upf=file($provision_file); $fr=0; $upfd=""; $uf_ext=explode(".",$provision_file_name); $extension=$uf_ext[sizeof($uf_ext)-1]; if($extension=="txt"){ while($upf[$fr]){ $upfd=$upfd.$upf[$fr]; $fr=$fr+1; } $provision=$upfd; } else{ echo""; } } $query="update mall_info set provision='$provision'"; $mall_info_update=mysql_query($query); query_chk($mall_info_update,"mall_info_update error"); print ""; exit; break; case("mb3_edit"): $location="¼îÇθô±âº»Á¤º¸ > ȸ¿ø¾à°ü > ¼öÁ¤"; $include_hf="./mb_3_edit.html"; break; case("mb4"): $location="¼îÇθô±âº»Á¤º¸ > Á¤Ã¥¼³Á¤"; $include_hf="./mb_4.html"; break; case("logo"): $location="¼îÇθô±âº»Á¤º¸ > ·Î°í°ü¸®"; $include_hf="./mb_logo.html"; break; } ?> Untitled Document
ÇöÀ§Ä¡ :
±âº»Á¤º¸
·Î°í°ü¸®
ȸ»ç¼Ò°³
ȸ¿ø¾à°ü
Á¤Ã¥¼³Á¤