@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
/
files
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/board/skin/new02a/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> #bbs-wrap #bbs_read {width:100%; border-collapse:separate; border-bottom:2px solid #DBDADA;} #bbs-wrap #bbs_read p{margin-top:1px; margin-bottom:2px;} #bbs_read th {font-size:11px; color:$bgcolor_tt1; border-top:1px solid #DBDADA; border-bottom:2px solid $_board[board_color]; padding:8px 0px 6px 5px; text-align:left;} #bbs_read td {border-top:1px solid #DBDADA;} #bbs_read td.BoardContent {border-top:2px solid #DBDADA; word-break:break-all; table-layout:fixed; padding:5px; height:200px; vertical-align:top;} #bbs_read dl {padding-top:5px; padding-bottom:5px; border:0px solid #F00} #bbs_read dt, #bbs_read dd {display:inline; padding:0px 13px 0px 15px;} #bbs_read dt {border:0px solid #F00; font-weight:bold; font-size:11px; color:$_board[board_color]; background:url('$_path[web]/skin/$_board[board_skin]/img/board/title_bg.gif'); background-repeat:no-repeat; background-position:100% 50%;} #bbs_read dd {padding-right:25px;} #bbs-read-btn {padding-top:5px; border-top:1px solid #CCCCCC; width:auto} #bbs-read-btn #left-btn {display:inline-block; height:auto; width:50%; border:0px none} #bbs-read-btn #right-btn {display:inline-block; height:auto; width:49%; border:0px none; text-align:right} </style> <table id='bbs_read' summary='$_board[name] $row[subject] »ó¼¼³»¿ë'> <caption>$_board[name] ±ÛÀбâ</caption> <tr> <th>$row[subject] $new_gul</th> </tr>"; // ÀÛ¼ºÀÚ º¸À̱â || ÀÛ¼ºÀÏ º¸À̱â || Á¶È¸¼ö º¸À̱â if($_board[ttle_name] == "Y" || $_board[ttle_date] == "Y" || $_board[ttle_hit] == "Y"){ echo" <tr> <td> <dl>"; // ÀÛ¼ºÀÚ º¸À̱â if($_board[ttle_name] == "Y"){ $_wth = ($_board[ttle_date] == "N") ? "*" : "180"; echo" <dt>$_btxt[name]</dt> <dd>$row[name]</dd>"; } // ÀÛ¼ºÀÏ º¸À̱â if($_board[ttle_date] == "Y"){ echo" <dt>$_btxt[wdate]</dt> <dd>".substr($row[wdate], 0, 16)."</dd>"; } // Á¶È¸¼ö º¸À̱â if($_board[ttle_hit] == "Y"){ $_wth = ($_board[ttle_name] == "N" && $_board[ttle_date] == "N") ? "*" : "55"; echo" <dt>$_btxt[hit]</dt> <dd>$row[hit]</dd>"; } echo" </dl> </td> </tr>"; } if($_board[email_write] == "Y" || $_board[home_write] == "Y"){ echo" <tr> <td> <dl>"; if($_board[email_write] == "Y"){ $etdwidth = ($_board[home_write] == "Y") ? "180" : "*"; echo" <dt>$_btxt[email]</dt> <dd>$row[email] </dd>"; } if($_board[home_write] == "Y"){ echo" <dt>$_btxt[homepage]</dt> <dd><a href='http://$row[home]' target='_blank'>$row[home]</a></dd>"; } echo" </dl> </td> </tr>"; } echo" <tr> <td class='BoardContent'>"; $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 alt=''><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>"; #### IP VIEW START #### if($_board[ip_read] == "Y"){ echo" <tr> <td> <dl> <dt>$_btxt[ip]</dt> <dd>$row[ip]</dd> </dl> </td> </tr>"; } #### IP VIEW END #### // ÷ºÎÆÄÀÏ if($_board[fileup_num] && $row[filename]){ echo" <tr> <td> <dl> <dt>$_btxt[file]</dt> <dd>"; $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 && trim($do_file[$jj])) 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' title='$_file ´Ù¿î·Îµå'>$_file</a>"; } echo" </dd> </dl> </td> </tr>"; } echo" </table>"; // ´ñ±Û ºÎºÐ if($_board[commant_use] == "Y") include_once "$_path[board]/skin/$_board[board_skin]/files/commant.php"; if($_board[preview_use] == "Y") include_once "$_path[board]/skin/$_board[board_skin]/files/preview_list.php"; #### BUTTON START #### echo" <div id='bbs-read-btn'> <span id='left-btn'>"; $_BBS->btn_print("reply", "i_reply.gif"); $_BBS->btn_print("modify", "i_modify.gif"); $_BBS->btn_print("delete", "i_del.gif"); $_BBS->btn_print("move", "i_move.gif"); echo" </span> <span id='right-btn'>"; $_BBS->btn_print("list", "i_list.gif"); $_BBS->btn_print("write", "i_write.gif"); echo" </span> </div>"; #### BUTTON END #### // echo microtime(); ?>