@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
/
board
/
skin
/
new02a_eng
/
files
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/board/skin/new02a_eng/files/list.php
<? //ÆäÀÌ¡ º¯¼öµé $search = "&db=$db&amode=$amode&column=$column&keyword=$keyword&sort=$sort"; echo" <Script Language='javaScript' Src='$skinurl/script/list.js'></Script> <table id='bbs_list' align='center' border='0' $bgcolor_0 cellpadding='0' cellspacing='0' width='100%'> <form name=formbsk method=post action='$PHP_SELF'> <input type='hidden' name='db' value='$db'> <input type='hidden' name='page' value='$page'> <input type='hidden' name='column' value='$part'> <input type='hidden' name='keyword' value='$keyword'> <input type='hidden' name='id' value='$id'> <input type='hidden' name='type' value='bsk'> <input type='hidden' name='sort' value='$sort'> <input type='hidden' name='del_ids'> <tr height='1'> <td colspan='13' $bgcolor_l1></td> </tr> <tr align='center'> <th width='45' nowrap>No.</th> <th width='100%' class='list_title'>Subject</td>"; // <td nowrap width='45' class='list_title'>÷ºÎ</th>"; if($_board[ttle_name] == "Y"){ echo" <th nowrap width='100' class='list_title'>Name</th>"; } if($_board[ttle_date] == "Y"){ echo" <th nowrap width='80' class='list_title'>Date</th>"; } if($_board[ttle_hit] == "Y"){ echo" <th nowrap width='55' class='list_title'>Hit</th>"; } if($_adm_key["admin"] || $_adm_key["board"] || $_adm_key["master"]){ echo" <th nowrap width='40' class='list_title'><a href='javascript:deleteAll()' style='letter-spacing:-2; color:$_board[board_color]'>Check</a></th>"; } echo" </tr>"; #### TITLE END #### /**** °øÁö±Û Ãâ·Â ****/ $res = $mysql->res("$_board[table]", "*", "where db='$db' && mstp='0' && notice='Y' order by grp desc, stp asc"); while($row = mysql_fetch_array($res)){ echo " <tr height='28' align='center'>"; $_BBS->list_fetch($row); echo" </tr> <tr height='1' bgcolor='#DCE2E2'> <td colspan='10'></td> </tr>"; } if($column && $keyword) $addwhere = " && $column like '%$keyword%' "; $row = $mysql->row("$_board[table]", "count(id)", "where db='$db' && mstp=0 && notice!='Y' $addwhere "); $total = $row[0]; $item = $_board[pagesize]; $pageitem = $_board[pagelimit]; if(!$page) $page = $_board[page]; $start = ($page - 1) * $item; $totalpage = ceil($total / $item); $pnum = $total - (($page-1) * $item); $res = $mysql->res("$_board[table]", "*", "where db='$db' && mstp=0 && notice!='Y' $addwhere order by grp desc, stp asc limit $start, $item"); while($row = mysql_fetch_array($res)){ echo " <tr height='28' align='center' $bgcolor_list>"; $_BBS->list_fetch($row); echo" </tr> <tr height='1' bgcolor='#DCE2E2'> <td colspan='10'></td> </tr>"; } if(!$total){ echo " <tr height='30'> <td colspan=13 align='center'>There is not a writing which is registered</td> </tr> <tr height='1'> <td $bgcolor_l2 colspan='13'></td> </tr>"; } echo " <!-- ¸®½ºÆ® Ãâ·Â --> <tr> <td height='1' $bgcolor_l2 colspan='13'></td> </tr> </form> </table>"; #### PAGE & VIEW START #### echo" <table border='0' width='100%' cellpadding='0' cellspacing='0'> <tr height='40'> <td align='center'>"; $query = $search; $lib->psk_pagelink($totalpage, $_board[pagelimit], $page, "/admin/img/left_arr.gif", "/admin/img/right_arr.gif", $query); echo " </td> </tr> </table>"; #### PAGE & VIEW END #### #### SEARCH START #### echo" <table border='0' width='100%' cellpadding='0' cellspacing='0'> <tr height='5'> <td colspan='2'></td> </tr> <tr> <td width='40%'>"; $_BBS->btn_print("write", "i_write.gif"); $_BBS->btn_print("list_del", "i_del.gif"); $_BBS->btn_print("list_modify", "i_modify.gif"); /**** °Ë»ö ****/ if($_board[search_use] == "Y" ){ echo " <form name='SearchForm' method='post' onSubmit='return CheckSearch()' action='?'> <input type='hidden' name='db' value='$db'> <input type='hidden' name='sort' value='$sort'> <input type='hidden' name='amode' value='$amode'> <td width='60%' colspan='2' align='right'> <table cellpadding='0' border='0' cellspacing='0'> <tr height='20'> <td width='65' valign='bottom'> <select name='column' style='font-size:8pt;'> <option value='subject' "; if($column == "subject") echo"selected"; echo">Subject</option> <option value='name' "; if($column == "name") echo"selected"; echo">Name</option> <option value='content' "; if($column == "content") echo"selected"; echo">Contents</option> </select></td> <td width='161'><input type='text' size='25' name='keyword' value='$keyword' style='border:1px solid #AAAAAA; height:18'></td> <td width='70' align='center'><input type='image' src='$skinurl/img/$btn/i_search.gif' style='border:0px;'></td> </tr> </table> </td> </form>"; } /**** °Ë»ö ****/ echo" </tr> </table>"; #### SEARCH END #### ?>