【php开源代码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学会员整理了php开源代码-Post_Contents.php的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
<? $Url_Head = "http://".$_SERVER['HTTP_HOST']."/"; ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>?~{I=?F<<4sQ'~}>>~{K^IaMxB7~}</title>
<? echo "<link rel='stylesheet' href='".$Url_Head."include/fonts.css' type='text/css' />" ?>
</head>
<body>
<?
include_once("../include/mysql_link.php");
$Contents_query =
mysql_query("Select * From Post Where Post_No = '".$_GET['Contents']."'");
echo "<table width='430' border='0' cellpadding='0' cellspacing='0'>";
while ($Con_row = my
sql_fetch_object ($Contents_query))
{
echo "<br>";
echo "<tr>
<td width='8'></td>
<td class='Canon_Title_font' align='center'><font class='Post_News_font'>~{9+8fHUFZ#:~}</font>~{!>~}".$Con_row->Post_Date."~{!?~}</td>
<td class='Canon_Title_font' align='center'><font class='Post_News_font'>~{9+8fHKT1#:~}</font>~{!>~}".$Con_row->Post_LimitName."~{!?~}</td>
<td class='Canon_Title_font' align='center'><font class='Post_News_font'>~{9+8f@`PM#:~}</font>".substr($Con_row->Post_Contents,0,12)."</td>
<td width='8'></td>
</tr>
</table>";
echo "<table width='432' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td width='8' background='".$Url_Head."gif/Preview_Top_1.gif'> </td>
<td colspan='3' background='".$Url_Head."gif/Preview_Line_WTop.gif'></td>
<td width='8' background='".$Url_Head."gif/Preview_Top_2.gif'> </td>
</tr>";
$Con = ereg_replace("\n"," </td>
<td width='8' background='".$Url_Head."gif/Preview_Line_H.gif'></td>
</tr>
<tr>
<td width='8' background='".$Url_Head."gif/Preview_Line_H.gif'></td>
<td colspan='3' class='Post_table_font'>",substr($Con_row->Post_Contents,12));
for ($i=0 ; $i < count($Con_row) ; $i++)
{
echo "<tr>";
echo "<td width='8' background='".$Url_Head."gif/Preview_Line_H.gif'></td>";
echo "<td colspan='3' class='Post_table_font'>".$Con."</td>";
echo "<td width='8' background='".$Url_Head."gif/Preview_Line_H.gif'></td>";
echo "</tr>";
}
}
echo "<tr>
<td width='8' background='".$Url_Head."gif/Preview_Line_H.gif'> </td>
<td colspan='3' align='center'><a href='javascript:window.close();'><font class='Canon_Title_font'>~{9X1UJS40~}</font></a></td>
<td width='8' background='".$Url_Head."gif/Preview_Line_H.gif'> </td>
</tr>
<tr>
<td width='8' background='".$Url_Head."gif/Preview_Down_1.gif'> </td>
<td colspan='3' background='".$Url_Head."gif/Preview_Line_WDown.gif'></td>
<td width='8' background='".$Url_Head."gif/Preview_Down_2.gif'> </td>
</tr>";
echo "</table>";
?>
</body>
</html>