ÿØÿà 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/admin/good/ |
Upload File : |
<? include "../include/top_proc.html"; include "_common.php"; $data = array(); if ($mode=="hotel"){ // 도시정보 $area_data = TO_get_air_city_array($Bidx,$Cidx); // 호텔정보 목록 $data = toad_hotel_list($Bidx,$Cidx,"N"); ?> <ul class="h_select"> <li> <dl> <dt><?=$data[0]['CityName']?></dt> <? if (count($data)==0) echo "<div class='txt_c pa10'>No Data</div>"; for( $i=0 ; $i < count($data) ; $i++ ){ $arr = $data[$i]; ?> <dd><span style="cursor:pointer;" onclick="input_Info('<?=$arr['hseq']?>','<?=rawurlencode($arr['hotel_nm'])?>','hotel');"><?=$arr['hotel_nm']?></span><img src="<?=$arr['grade']?>"></dd> <? } ?> </dl> </li> </ul> <? }elseif($mode=="area"){ // 여행정보 목록 $data = toad_area_list($Bidx,$Cidx,"Y"); ?> <ul class="h_select"> <li> <dl> <? if (count($data)==0) echo "<div class='txt_c pa10'>No Data</div>"; for( $i=0 ; $i < count($data) ; $i++ ){ $arr = $data[$i]; ?> <?if($arr['place_cd']){?><dt><?=$arr['place_cd_nm']?></dt><?}?> <dd><span style="cursor:pointer;" onclick="input_Info('<?=$arr['seq']?>','<?=rawurlencode($arr['place_nm'])?>','info');"><?=$arr['place_nm']?></span></dd> <? } ?> </dl> </li> </ul> <? } ?> <script type="text/javascript"> // 에디터 내에 호텔/지역정보 HTML 삽입 (20091028 ) function input_Info(Goods_Code, Title, item_type) { //Fnc_HotelView() : 호텔뷰 함수 //Fnc_InfoView() : 지역정보뷰 함수 var item_title; var item_nm; var item_img; var item_addr; var item_brief; if (item_type == "hotel") { var sHTML = "<a href=\"javascript:Fnc_HotelView(\'" + Goods_Code + "\');\"><span class=\"info_view\">" + decodeURIComponent(Title) + "</span></a> "; //sHTML+= decodeURIComponent(Grade) + ""; // 호텔등급표시 보류 (20091028 ) item_title = "숙박명"; } else if (item_type == "info") { var sHTML = "<a href=\"javascript:Fnc_InfoView(\'" + Goods_Code + "\');\"><span class=\"info_view\">" + decodeURIComponent(Title) + "</span></a> "; item_title = "관광정보명"; } var tb_box = ""; var editor = CKEDITOR.instances.ScheduleText; $.post( "ajax.item_info.html",{item_code:Goods_Code, item_type:item_type}, function( data ) { editor.insertHtml(data); }); // 에디터에 데이터를 삽입 //editor.insertHtml(sHTML); } </script>