@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.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='30' $bgcolor_tb1> <td class='read_subject'>$row[subject] $new_gul</td> </tr> <tr height='1'> <td $bgcolor_l1></td> </tr> <tr height='30'> <td> <table width='100%' id='bbs_read' height='100%' border='0'> <tr>"; if($_board[ttle_name] == "Y"){ echo" <th width='80'>Name</th> <td width='180' class='view_title2'>$row[name]</td>"; } echo" <th width='80'>Date</th> <td width='*' class='view_title2'>".substr($row[wdate], 0, 16)."</td> <th width='80'>Hit</th> <td width='55' class='view_title2'>$row[hit]</td> </tr> </table> </td> </tr>"; if($_board[email_write] == "Y" || $_board[home_write] == "Y"){ echo" <tr height='30'> <td> <table width='100%' height='100%' id='bbs_read' border='0'> <tr>"; if($_board[email_write] == "Y"){ echo" <th width='80'>Email</th> <td width='180' class='view_title2'>$row[email] </td>"; } if($_board[home_write] == "Y"){ echo" <th width='80'>Homepage</th> <td width='*' class='view_title2'><a href='http://$row[home]' target='_blank'>$row[home]</a> </td>"; } echo" </tr> </table> </td>"; } echo" <tr height='1'> <td $bgcolor_l2></td> </tr> <tr height='250'> <td style='word-break:break-all' valign='top' align='center'> <table border='0' cellpadding='5' cellspacing='0' width='98%' style='table-layout:fixed;'> <tr> <td style='word-break:break-all' width='100%' valign='top'>"; $ad_file = explode(",", $row[filename]); for($i=0; $i<count($ad_file); $i++){ if(eregi("jpg|gif|png|bmp",$ad_file[$i])){ $ImgInfo = getimagesize("$_path[board]/data/$row[db]/$ad_file[$i]"); if($ImgInfo[0] > 650) $width = 650; else $width = $ImgInfo[0]; echo "<img src='$_path[web]/data/$row[db]/$ad_file[$i]' width=$width border=0><br>"; } } if($_board[board_shape]== "media"){ $m_exe = array("wav", "snd", "au", "aif", "aifc", "aiff", "wma", "mp3", "mid", "rmi", "midi", "mpeg", "mpg", "m1v", "mp2", "mpa", "mpe", "asx", "wax", "m3u", "wpl", "wvx", "wmx", "asf", "wm", "wma", "wmv", "wmd", "avi", "wmv"); $tmp_file = explode(",", $row[filename]); while(@list($ke, $val) = each($tmp_file)){ $file_type = explode(".", $val); if(@in_array($file_type[1], $m_exe)) { $mediafile = "$_path[web]/data/$db/$val"; echo" <center> <object id='viewPlayer' standby='Loading Windows Media Player components...' classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' width='320' height='310' > <PARAM NAME='URL' VALUE='$mediafile'> <PARAM NAME='rate' VALUE='1'> <param name='AutoSize' value='true'> <param name='AutoResize' value='1'> <PARAM NAME='balance' VALUE='0'> <PARAM NAME='currentPosition' VALUE='0'> <PARAM NAME='playCount' VALUE='1'> <PARAM NAME='autoStart' VALUE='start'> <PARAM NAME='currentMarker' VALUE='0'> <PARAM NAME='invokeURLs' VALUE='1'> <PARAM NAME='volume' VALUE='100'> <PARAM NAME='mute' VALUE='0'> <PARAM NAME='uiMode' VALUE='full'> <PARAM NAME='stretchToFit' VALUE='0'> <PARAM NAME='enabled' VALUE='1'> <PARAM NAME='enableContextMenu' VALUE='1'> <PARAM NAME='fullScreen' VALUE='0'> <PARAM NAME='SAMIFilename' VALUE=''> <PARAM NAME='captioningID' VALUE=''> <embed id='viewPlayer' src='$mediafile' align=middle transparentatstart=1 showpositioncontrols=1 showcontrols=0 autosize=0 autostart=1 animationatstart=0 showdisplay=0 autoresize=0 showstatusbar=0 showtracker=1 loop=1 loopdelay=infinite width=320 height=310></embed> </object> </center><br>"; } } } 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" </td> </tr> <tr> <td> </td> </tr> </table> </td> </tr> <tr height='1'> <td $bgcolor_l2 colspan='2'></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>Ip</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>File</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" <table border='0' cellpadding='1' cellspacing='0' width='100%'> <tr height='1'> <td colspan='2' $bgcolor_l2></td> </tr> <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(); ?>