@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/commant.php
<? #### MEMO LIST START #### echo" <script> function memoDel(id){ if(confirm('Eliminated memoing? ')){ location.replace('$_path[web]/insert.php?db=$db&page=$page$search&parent=$id&type=memodelete&BACK_URL=$_SERVER[PHP_SELF]&id='+id); } } </script> <table border='0' cellpadding='0' cellspacing='0' width='100%'> <tr height='10'> <td colspan='6'></td> </tr> <tr> <td colspan='7' background='$skinurl/img/2x2dot.gif'></td> </tr>"; $i = 0; $cres = $mysql->res("$_board[table]", "*", "where grp=$row[grp] && loc=$row[loc] && stp=$row[stp] && mstp>0 order by mstp asc"); while($crow = mysql_fetch_array($cres)){ $subject = htmlspecialchars($crow[subject]); $content = nl2br(htmlspecialchars($crow[content])); $name = htmlspecialchars($crow[name]); $wdate = substr($row[wdate], 0, 10); if(($i%2)==0){ $color="White"; }else{ $color="#F7F7F7"; } /** //»õ±ÛÀ϶§ »¡°£»ö Ç¥½Ã if($new_option == "Y"){ if(substr($row[wdate],0,10) == date("Y-m-d")){ $wdate = "<font color=red>".substr($Row[wdate],0,10)."</font>"; $new_gul = "<img src='$skinurl/img/new$new_icon.gif' align='absmiddle'>"; }else{ $wdate = substr($Row[wdate],0,10); } }else{ $wdate = substr($Row[wdate],0,10); } **/ echo" <tr onMouseOver=\"this.style.backgroundColor='#F7F7F7'\" onMouseOut=\"this.style.backgroundColor='$DEFAULT_BG'\"> <td width='80' nowrap> $new_gul $name</td> <td width='10' nowrap align='center'>:</td> <td width='100%' style='padding:5;'>$content</td> <td width='5' nowrap></td> <td width='80' nowrap>$wdate</td> <td width='20' nowrap>"; // °ü¸®ÀÚÀ϶§ if($_adm_key["admin"] || $_adm_key["board"] || $_adm_key["master"]){ echo" <a href='#/' onclick=\"memoDel('$crow[id]')\"><img src='$skinurl/img/reply-close.gif' border=0 alt='memo delete'></a>"; } else { echo" <a href='$PHP_SELF?db=$db&page=$page$search&id=$crow[id]&parent=$id&type=memodelete'><img src='$skinurl/img/reply-close.gif' border=0 alt='memo delete'></a>"; } echo" </td> </tr> <tr> <td colspan='7' background='$skinurl/img/2x2dot.gif'></td> </tr>"; } echo" <tr height='10'> <td colspan='6'></td> </tr> </table> <Script Language='JavaScript' Src='$skinurl/script/memo.js'></Script> <table border='0' cellpadding='1' cellspacing='0' width='100%'> <form name='form' method='post' onSubmit='return CheckMemo()' action='$_path[web]/insert.php'> <input type='hidden' name='db' value='$db'> <input type='hidden' name='page' value='$page'> <input type='hidden' name='column' value='$column'> <input type='hidden' name='keyword' value='$keyword'> <input type='hidden' name='id' value='$id'> <input type='hidden' name='type' value='memoinsert'> <input type='hidden' name='sort' value='$sort'> <input type='hidden' name='BACK_URL' value='$PHP_SELF'> <tr valign='top'> <td> <img src='$skinurl/img/memo_ttle.gif'></td> </tr> <tr> <td> <table cellpadding='0' cellspacing='0' border='0'> <tr> <td><img src='$skinurl/img/w_name.gif'></td> <td><input type='text' name='name' size='15' value='$_mem_key[name]' class='skin3_input'></td> <td width='27'></td> <td><img src='$skinurl/img/w_pass.gif'></td> <td><input type='password' name='pass' value='' size='15' maxlength='15' class='skin3_input'></td> </tr> </table> </td> </tr> <tr> <td> <table width='100%' cellpadding='0' cellspacing='0'> <tr> <td width='5'></td> <td><textarea rows='4' class='skin3_input' name='content' style=\"width:100%; height:90; background-image:url('$skinurl/text_line.gif'); line-height:130%;\"></textarea></td> <td width='70' align='center' valign='bottom'><input type='image' src='$skinurl/img/$btn/i_wok.gif' border='0' style='border:0;' onClick='CheckMemo(); return false;'></td> </tr> </table> </td> </tr> <tr height='10'> <td></td> </tr> </form> </table>"; ?>