@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux adweb87 2.6.32-754.el6.x86_64 #1 SMP Tue Jun 19 21:26:04 UTC 2018 x86_64
Current Path :
/
home
/
sanchung
/
public_html
/
admin
/
_popup
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/admin/_popup/pop_list.php
<? echo" <script type='text/javascript'> <!-- function DelChk(num){ if(confirm('¼±ÅÃÇϽŠÆË¾÷âÀ» »èÁ¦ÇϽðڽÀ´Ï±î? ')){ location.replace('./_popup/pop_proc.php?mode=popup_delete&num='+num); } } //--> </script> <h2>ÆË¾÷ ¸®½ºÆ®</h2> <table id='l-table'> <tr> <th width='6%'>NO.</th> <th width='*'>ŸÀÌÆ²</th> <th width='25%'>»ç¿ë±â°£</th> <th width='12%'>»ç¿ëÀ¯¹«</th> <th width='12%'>¿ÀÇÂÇü½Ä</th> <th width='15%'>¼öÁ¤ / »èÁ¦</th> </tr>"; $row = $mysql->row("adw_pop_manager", "count(num)", ""); $total = $row[0]; if(!$item) $item = 10; if(!$pageitem) $pageitem = 10; if(!$page) $page = 1; $start = ($page - 1) * $item; $totalpage = ceil($total / $item); $pnum = $total - (($page-1) * $item); $res = $mysql->res("adw_pop_manager", "*", "order by num desc limit $start, $item"); while($row = mysql_fetch_array($res)){ if($row[state] == "U") $state = "»ç¿ëÁß"; else if($row[state] == "P") $state = "ÀϽÃÁ¤Áö"; $open_type = ($row[open_type] == "layer") ? "·¹À̾î" : "À©µµ¿ì"; echo" <tr> <td>".$pnum--."</td> <td>$row[title]</td> <td>$row[sdate] ~ $row[edate]</td> <td>$state</td> <td>$open_type</td> <td><a href='?amode=popup_modify&num=$row[num]'>¼öÁ¤</a> / <a href='javascript:DelChk($row[num])'>»èÁ¦</a></td> </tr>"; } if(!$total){ echo" <tr> <td colspan='7'>ÇöÀç »ç¿ëÁßÀÎ ÆË¾÷ÀÌ ¾ø½À´Ï´Ù.</td> </tr>"; } echo" </table> <p id='page-link'>"; $fquery = "pollpg=$pollpg&amode=$amode"; $lib->psk_pagelink_layer($totalpage, $pageitem, $page, "./img/left_arr.gif", "./img/right_arr.gif", $fquery); echo" </p>"; ?>