@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
/
_online
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/admin/_online/online_list1.php
<? if(!$item) $item = 15; if(!$pageintm) $pageitem = 10; if(!$page) $page = 1; $start = ($page - 1) * $item; if($keyword) $addwhere = " && $column like '%$keyword%' "; $row = $mysql->row("adw_online1", "count(num)", "where num<>0 $addwhere"); $total = $row[0]; $totalpage = ceil($total / $item); $pnum = $total - (($page-1) * $item); $res = $mysql->res("adw_online1", "*", "where num<>0 $addwhere order by num desc limit $start, $item", 0); echo" <script type='text/javascript' language='javascript'> <!-- function Check_Del(num){ if(confirm('»èÁ¦ ÇÏ½Ã¸é ¸ðµç Á¤º¸°¡ »ç¶óÁý´Ï´Ù. »èÁ¦ ÇÒ±î¿ä?')){ location.href=('./_online/proc.php?motion=delete&page=$page&num='+num); } } //--> </script> <h2>¿Â¶óÀνÅû ¸®½ºÆ®</h2> <table id='l-table'> <thead> <tr> <th width='6%'>¹øÈ£</th> <th width='13%'>¼º ¸í</th> <th width='20%'>ȸ»ç¸í</th> <th width='15%'>ÀüȹøÈ£</th> <th width='*'>À̸ÞÀÏ</th> <th width='12%'>ÀÛ¼ºÀÏ</th> <th width='7%'>»èÁ¦</th> </tr> </thead> <tbody>"; while($row = $mysql->farray($res)){ echo" <tr> <td>".$pnum--."</td> <td><a href='?amode=online_read1&num=$row[num]&page=$page'>$row[name]</a></td> <td><a href='?amode=online_read1&num=$row[num]&page=$page'>$row[company]</a></td> <td>$row[tel]</td> <td>$row[email]</td> <td>".substr($row[wdate], 0, 10)."</td> <td><a href=\"javascript:Check_Del('$row[num]');\"><FONT COLOR=RED>»èÁ¦</FONT></a></td> </tr>"; } if($total == 0){ echo " <tr> <td colspan='7'><b>µî·Ï(°Ë»ö)µÈ ½Åû³»¿ªÀÌ ¾ø½À´Ï´Ù.</b></td> </tr>"; } echo " </tbody> </table> <p id='page-link'>"; $fquery = "amode=$amode&column=$column&keyword=$keyword"; $lib->psk_pagelink_layer($totalpage, $pageitem, $page, "/admin/img/left_arr.gif", "/admin/img/right_arr.gif", $fquery); echo" </p> <div id='list-search'> <form name='form' method='post' action='?'> <input type='hidden' name='amode' value='$amode' /> <select name='column' style='font-size:9pt'> <option value='name'>¼º¸í</option> <option value='company'>ȸ»ç¸í</option> <option value='tel'>ÀüȹøÈ£</option> </select> <input type='text' name='keyword' size='30' /> <input type='submit' value=' °Ë »ö ' /> </form> </div>"; ?>