@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
/
_phone
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/admin/_phone/phone_plist.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("online1", "count(id)", "where num<>0 $addwhere"); $total = $row[0]; $totalpage = ceil($total / $item); $pnum = $total - (($page-1) * $item); $res = $mysql->res("online1", "*", "where num<>0 $addwhere order by num desc limit $start, $item", 0); echo" <Script 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' summary=''> <caption class='blind'>페이지 리스트</caption> <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_fetch_array($res)){ echo" <tr> <td>".$pnum--."</td> <td><a href='?amode=online_read1&num=$row[num]&page=$page$search'>$row[name]</a></td> <td><a href='?amode=online_read1&num=$row[num]&page=$page$search'>$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> "; ?>