@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
/
_member
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/admin/_member/member_list.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_member", "count(num)", "where num<>0 $addwhere"); $total = $row[0]; $totalpage = ceil($total / $item); $pnum = $total - (($page-1) * $item); $res = $mysql->res("adw_member", "*", "where num<>0 $addwhere order by num desc limit $start, $item"); echo" <script type='text/javascript'> <!-- function Check_Del(userid){ if(confirm('»èÁ¦ ÇÏ½Ã¸é ¸ðµç Á¤º¸°¡ »ç¶óÁý´Ï´Ù. »èÁ¦ ÇÒ±î¿ä?')){ location.href=('./_member/proc.php?motion=delete&page=$page&userid='+userid); } } function makexls(){ s_form.action = './_member/proc.php?motion=excel'; s_form.submit(); } //--> </script> <h2>ȸ¿ø¸®½ºÆ®</h2> <table id='l-table' summary='µî·Ïȸ¿ø¾Æ ¾ÆÀ̵ð, ¼º¸í, À̸ÞÀÏ, ÀüȹøÈ£, ȸ¿øµî±Þ, °¡ÀÔÀÏÀ» È®ÀÎ ÇÒ ¼ö ÀÖ½À´Ï´Ù.'> <caption class='blind'>ȸ¿ø¸®½ºÆ®</caption> <thead> <tr> <th width='6%' scope='col'>¹øÈ£</th> <th width='13%' scope='col'>¾ÆÀ̵ð</th> <th width='13%' scope='col'>¼º¸í</th> <th width='*' scope='col'>À̸ÞÀÏ</th> <th width='13%' scope='col'>ÀüȹøÈ£</th> <th width='10%' scope='col'>ȸ¿øµî±Þ</th> <th width='13%' scope='col'>°¡ÀÔÀÏ</th> <th width='7%' scope='col'>»èÁ¦</th> </tr> </thead> <tbody>"; while($row = mysql_fetch_array($res)){ echo" <tr> <td>".$pnum--."</td> <td><a href='?amode=member_read&userid=$row[userid]&page=$page$search'>$row[userid]</a></td> <td><a href='?amode=member_read&userid=$row[userid]&page=$page$search'>$row[name]</a></td> <td>$row[email]</td> <td>$row[tel]</td> <td>".$_level[$row[level]]."</td> <td>".substr($row[wdate], 0, 10)."</td> <td><a href=\"javascript:Check_Del('$row[userid]');\"><FONT COLOR=RED>»èÁ¦</FONT></a></td> </tr>"; } if($total == 0){ echo " <tr> <td colspan='8'><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='s_form' method='post' action='?'> <input type='hidden' name='amode' value='$amode' /> <select name='column' style='font-size:9pt' title='°Ë»öÇ׸ñ'> <option value='userid'>ȸ¿ø¾ÆÀ̵ð</option> <option value='name'>¼º¸í</option> <option value='email'>À̸ÞÀÏ</option> <option value='tel'>ÀüȹøÈ£</option> </select> <input type='text' name='keyword' value='$keyword' size='30' style='font-size:9pt' title='°Ë»ö¾îÀÔ·Â' /> <input type='submit' value=' °Ë »ö ' /> <!-- <input class='etc-btn' type='button' value='¿¢¼¿º¯È¯' onclick='makexls()' />--> </form> </div>"; ?>