@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/read_resu.php
<? $sql = "update $_board[table] set hit=hit+1 where id='$id'"; @mysql_query($sql); $row = $mysql->row("$_board[table]", "*", "where id='$id'"); #### BODY START #### echo" <style> .read_subject {font-size:11px; font-family:µ¸¿ò, ±¼¸²; font-weight:bold; color:$bgcolor_tt1; background-color:#ffffff; border-bottom:2 solid $bgcolor_tt1; padding:8px 0px 6px 5px;} #bbs_read th {font-size:11px} #bbs_read th {font-family:µ¸¿ò, ±¼¸²; border-bottom:solid 1px #DCE2E2; text-align:center; color:$_board[board_color];} #bbs_read td.view_title2 {border-bottom:solid 1px #DCE2E2; padding-left:15px; background:url('$_path[web]/skin/$_board[board_skin]/img/board/title_bg.gif'); background-repeat:no-repeat;} </style> <table align='center' border='0' cellpadding='0' cellspacing='0' width='100%'> <tr height='1'> <td $bgcolor_l1></td> </tr> <tr height='5'> <td></td> </tr> <tr> <td style='word-break:break-all' valign='top' align='center'>"; $ad_file = explode(",", $row[filename]); $_tdnum = 2; $_trnum = ceil(sizeof($ad_file) / $_tdnum); echo" <table border='0' cellpadding='5' cellspacing='0' width='98%'> <tr> <td width='470'><img src='$_path[web]/data/$row[db]/$ad_file[0]' id='bigimg' width='460'></td> <td valign='top'> <table width='100%' cellpadding='0' cellspacing='0' border='0'>"; for($j=0; $j<$_trnum; $j++){ $anum = $j * 2; $_file1 = ($ad_file[$anum]) ? "<img src='$_path[web]/data/$row[db]/$ad_file[$anum]' width='75' style='cursor:hand' onclick=\"document.getElementById('bigimg').src='$_path[web]/data/$row[db]/$ad_file[$anum]'\">" : ""; $_file2 = ($ad_file[$anum+1]) ? "<img src='$_path[web]/data/$row[db]/".$ad_file[$anum+1]."' width='75' style='cursor:hand' onclick=\"document.getElementById('bigimg').src='$_path[web]/data/$row[db]/".$ad_file[$anum+1]."'\">" : ""; echo" <tr align='center'> <td>$_file1</td> <td>$_file2</td> </tr> <tr> <td colspan='2'> </td> </tr>"; } if($row[html] == "H"){ $content = stripslashes($row[content]); } else if($row[html] == "HT"){ $content = stripslashes($row[content]); $content = nl2br($content); }else{ $subject = htmlspecialchars($row[subject]); $content = str_replace(" ", " ", htmlspecialchars($row[content])); $content = nl2br($content); } // echo $content; echo" </table> </td> </tr> <tr height='10'> <td colspan='2'></td> </tr> <tr> <td colspan='2' style='border:1px solid #CCCCCC; padding:10px'> <table width='100%' cellpadding='0' cellspacing='0'> <tr> <td width='80'><b style='color:$_board[board_color]'>Area</b> :</td> <td>$row[subject]</td> </tr> <tr height='10'> <td colspan='2'></td> </tr> <tr> <td><b style='color:$_board[board_color]'>Date</b> :</td> <td>$row[etc01]</td> </tr> <tr height='10'> <td colspan='2'></td> </tr> <tr> <td><b style='color:$_board[board_color]'>Contents</b> :</td> <td>$content</td> </tr> </table> </td> </tr> </table> </td> </tr> "; #### IP VIEW START #### if($_board[ip_read] == "Y"){ echo" <tr height='30'> <td> <table id='bbs_read' width='100%' height='100%' border='0'> <tr> <th width=80>ÀÛ¼º¾ÆÀÌÇÇ</th> <td align='left' class='view_title2'>$row[ip]</td> </tr> </table> </tr>"; } #### IP VIEW END #### /** // ÷ºÎÆÄÀÏ if($_board[fileup_num] && $row[filename]){ echo" <tr height='30'> <td> <table id='bbs_read' width='100%' height='100%' border='0'> <tr> <th width=80>÷ºÎÆÄÀÏ</th> <td align='left' class='view_title2'>"; $do_file = explode(",", $row[filename]); $do_file_true = explode(",", $row[filename_true]); for($jj=0; $jj<count($do_file); $jj++){ if(!trim($do_file[$jj])) continue; if($jj != 0) echo", "; $_file = ($do_file_true[$jj]) ? $do_file_true[$jj] : $do_file[$jj]; echo"<a href='$_path[web]/deal.php?mode=down&db=$db&id=$row[id]&anum=$jj'>$_file</a>"; } echo" </td> </tr> </table> </td> </tr>"; } **/ echo" </table>"; // ´ñ±Û ºÎºÐ //if($_board[commant_use] == "Y") include_once "$_path[board]/skin/$_board[board_skin]/files/commant.php"; #### BUTTON START #### echo"<br> <table border='0' cellpadding='0' cellspacing='0' width='100%'> <tr height='30'> <td width='50%'>"; $_BBS->btn_print("reply", "i_reply.gif"); $_BBS->btn_print("modify", "i_modify.gif"); $_BBS->btn_print("delete", "i_del.gif"); echo" </td> <td width='50%' align='right'>"; $_BBS->btn_print("list", "i_list.gif"); $_BBS->btn_print("write", "i_write.gif"); echo" </td> </tr> <tr height='25'> <td colspan='2'> </td> </tr> </table>"; #### BUTTON END #### // echo microtime(); ?>