ÿØÿà JFIF ` ` ÿþ
Server : Apache System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : tkt_travelbus ( 1137) PHP Version : 7.0.0p1 Disable Function : mysql_pconnect Directory : /tkt_travelbus/www/toadmin/hotel_tw/ |
Upload File : |
<? include "../include/top_proc.html";//공통파일 인클루드 include "_common.php"; $class_PlaceTour = new PlaceTour(); //지역 출력 if($SqlType=="area"){ $data_areac = to_area_c("",$areab_cd_s,"","N"," and DelFlagH='N' "); // 도시 ?> <select name="area_cd" id="area_cd" size="7" onChange="ajax_loader('sight_search_ajax.php?SqlType=place_cd&areab_cd_s=<?=$areab_cd_s?>&areac_cd_s='+this.value,'ajax_place_cd');"> <option value="">==지역==</option> <? for($i=0 ; $i < count($data_areac) ; $i++){ $row = $data_areac[$i]; ?> <option value="<?=$row['Cidx']?>"><?=$row['CityName']?></option> <?}?> </select> <?} //분류 if($SqlType=="place_cd"){ ?> <select name="place_cd" id="place_cd" size="7" onChange="ajax_loader('sight_search_ajax.php?SqlType=place&areab_cd_s=<?=$areab_cd_s?>&areac_cd_s=<?=$areac_cd_s?>&place_cd='+this.value,'ajax_place_list');"> <option value="">==분류==</option> <? for($i=0 ; $i < count($data_place) ; $i++){ $row = $data_place[$i]; $sql = "select count(seq) cnt from TB_PLACE where areab_cd='{$areab_cd_s}' and areac_cd='{$areac_cd_s}' and place_cd='{$row['code']}' and disp_yn='Y' "; $rs = db_query($sql); $data = db_fetch_all($rs); ?> <option value="<?=$row['code']?>" <?=($row['code']==$place_cd_s)?"selected":""?>><?=$row['cd_nm']?>(<?=$data[0]['cnt']?>)</option> <?}?> </select> <?} //관광지목록 if($SqlType=="place"){ $data_tourplace = $class_PlaceTour->tourplace_fetch(" and areab_cd='{$areab_cd_s}' and areac_cd='{$areac_cd_s}' and place_cd='{$place_cd}' and disp_yn='Y' "); ?> <select name="place_seq" id="place_seq" size="7" onChange="select_place_seq(this.value);"> <option value="">==관광지==</option> <? for($i=0 ; $i < count($data_tourplace) ; $i++){ $row = $data_tourplace[$i]; ?> <option value="<?=$row['seq']?>"><?=$row['place_nm']?></option> <?}?> </select> <?}?>