@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
/
_file
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/admin/_file/file_list.php
<? echo" <script> function DelChk(num){ if(confirm('¼±ÅÃÇϽŠÆäÀÌÁö¸¦ »èÁ¦ÇϽðڽÀ´Ï±î? ')){ location.replace('./_file/proc.php?mode=delete&num='+num); } } </script> <table width='100%' cellpadding='0' cellspacing='1' border='0'> <tr height='30'> <td><b>ÆÄÀÏ ¸®½ºÆ®</b></td> </tr> <tr> <td> <TABLE width='100%' cellpadding='0' cellspacing='0' align='center' border='0' background='./img/board_bg.gif'> <tr height='28' align='center'> <td width='6%'><FONT style='COLOR:#ffffff;font-size:11px'><b>NO.</td> <td width='15%'><FONT style='COLOR:#ffffff;font-size:11px'><b>ÆäÀÌÁöÄÚµå</td> <td width='25%'><FONT style='COLOR:#ffffff;font-size:11px'><b>ÆäÀÌÁö¸í</td> <td width='*'><FONT style='COLOR:#ffffff;font-size:11px'><b>°æ ·Î</td> <td width='15%'><FONT style='COLOR:#ffffff;font-size:11px'><b>¼öÁ¤ / »èÁ¦</td> </tr>"; $row = $mysql->row("adw_file_manager", "count(num)", ""); $total = $row[0]; if(!$item) $item = 15; 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_file_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 = "ÀϽÃÁ¤Áö"; $url = ($row[url]) ? $row[url] : "/_files/pageview.php?code=$row[code]"; echo" <tr height='28' bgcolor='#FFFFFF' align='center'> <td>".$pnum--."</td> <td>$row[code]</td> <td>$row[name]</td> <td><a href='$url' target='_blank'>$url</a></td> <td><a href='?amode=file_modify&num=$row[num]'>¼öÁ¤</a> / <a href='javascript:DelChk($row[num])'>»èÁ¦</a></td> </tr> <tr height='1' bgcolor='#EEEEEE'> <td colspan='7'></td> </tr>"; } if(!$total){ echo" <tr height='30' bgcolor='#FFFFFF' align='center'> <td colspan='7'>ÇöÀç µî·ÏµÈ ÆäÀÌÁö°¡ ¾ø½À´Ï´Ù.</td> </tr> <tr height='1' bgcolor='#EEEEEE'> <td colspan='7'></td> </tr>"; } echo" </td> </tr> </table> </td> </tr> <tr align='center' height='50'> <td colspan='3'>"; $fquery = "pollpg=$pollpg&amode=$amode"; $lib->psk_pagelink($totalpage, $pageitem, $page, "./img/left_arr.gif", "./img/right_arr.gif", $fquery); echo" </td> </tr> </table> "; ?>