ÿØÿà 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/board/ |
Upload File : |
<? include "../include/top.html"; include "_common.php"; ?> <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('homepage_banner_write.html?pos=<?=$pos?>','배너등록','700','400',true,true,'no')">등록</a></li> </ul> <!-- 폼 --> <form name="frm_banner" id="frm_banner" method="post"> <INPUT TYPE="hidden" NAME="SqlType" value="chgorder"> <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="45"><img src="../image/btn/btn_num.gif" alt="순서" onClick="change_ordernum();" style="cursor:pointer;" /></th> <th width="90">구분</th> <th width="230">제목</th> <th>url</th> <th width="120">등록일</th> <th width="60">-</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="<?=$row['icon']?>" onClick="ajax_obj_loader('homepage_banner_proc.html?SqlType=disp_yn&idx=<?=$row['idx']?>&disp_yn=<?=$row['opp']?>','disp_yn_<?=$row['idx']?>');" alt="사용여부체크" /> </span> </td> <td><input type="text" name="order_num_arr[]" value="<?=$row['order_num']?>" class="t_no" maxlength="2" style="text-align:center;" onKeyDown="ChkNum(this,event);" autocomplete='off'><input type="hidden" name="idx_arr[]" value="<?=$row['idx']?>" /></td> <td><?=$row['pos_nm']?></td> <td class="t_title"><a href="javascript:;" onClick="to_dialog.iframe('homepage_banner_write.html?idx=<?=$row['idx']?>','수정','700','450',true,true,'yes')"><b><?=$row['title']?></b></a></td> <td><a href="<?=$row['link_url']?>" target="_blank" title="<?=$row['link_url']?>" class="link_url"><?=cut_str($row['link_url'],70,"...")?></a></td> <td><?=substr($row['ins_dt'],0,10)?></td> <td><img src="../image/btn/icon_write.gif" style="cursor:pointer;" onClick="to_dialog.iframe('homepage_banner_write.html?idx=<?=$row['idx']?>','수정','700','450',true,true,'yes')"> <img src="../image/btn/icon_del.gif" style="cursor:pointer;" onClick="delete_frm(<?=$row['idx']?>);"></td> </tr> <?}?> </tbody> </table> </form> <!-- /폼 --> </div> </div> </div> </div> <script language="javascript"> function delete_frm(idx) { if(!idx) return; if(!confirm("정말 삭제하시겠습니까?")) return false; parent.ajax_post("ajax_proc","homepage_banner_proc.html?SqlType=delete&idx="+idx); } //순서조정 function change_ordernum() { if(!confirm('순서를 변경하시겠습니까?')) return; ajax_post('ajax_proc','homepage_banner_proc.html','frm_banner'); } </script> <? include "../include/footer.html" ?>