|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/www/board/ |
Upload File : |
<?include "$DOCUMENT_ROOT/conf/conf_dir.php";?>
<?
$dbTable = "board_comment";
$result = Get_dbres("SELECT * FROM $dbTable WHERE module_name='".$mtable."' and module_no='".$idx."' order by order_by desc");
$total = mysql_affected_rows();
echo "<table cellpadding='0' cellspacing='0' border='0' width='100%' style='margin:10px 0 0 0'>";
for($i=0; $i<$total; $i++) {
$rows = mysql_fetch_array($result);
$coDate = substr($rows[reg_date],0,10);
echo "<tr><td style='border-bottom:1px dotted #444;width:80px; padding:10px;'>".$rows[user_name]."<br><span style='font-size:8px'>".$coDate."</span> ";
if($sessionIDX == $rows[user_no]){
echo"<a onclick=\"commentdel(".$rows[idx].");showCustomer('".$idx."','".$mtable."')\" style='cursor:hand'><img src='/images/comment_x.gif' alt='デリ―ト' />";
}
echo "</td><td style='border-bottom:1px dotted #444;'>".stripslashes($rows[content])."</a></td></tr>";
}
echo"</table>";
mysql_close();
?>