|
<? |
|
|
include "./log.inc.php"; |
|
|
?> |
|
| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 |
<? |
<? |
| 3 |
require_once "./lml.inc.php"; |
require_once "../lib/lml.inc.php"; |
| 4 |
$db_conn=include "./db_open.inc.php"; |
$db_conn=include "./db_open.inc.php"; |
| 5 |
if (isset($_GET["aid"])) |
if (isset($_GET["aid"])) |
| 6 |
$aid=intval($_GET["aid"]); |
$aid=intval($_GET["aid"]); |
| 24 |
} |
} |
| 25 |
else |
else |
| 26 |
{ |
{ |
| 27 |
echo ("文章不存在!"); |
echo ("鏂囩珷涓嶅瓨鍦紒"); |
| 28 |
exit(); |
exit(); |
| 29 |
} |
} |
| 30 |
mysql_free_result($rs); |
mysql_free_result($rs); |
| 31 |
?> |
?> |
| 32 |
<html> |
<html> |
| 33 |
<head> |
<head> |
| 34 |
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 35 |
<title>枫林在线 - <? echo $row["title"]; ?> </title> |
<title>鏋灄鍦ㄧ嚎 - <? echo $row["title"]; ?> </title> |
| 36 |
<link rel="stylesheet" href="css/default.css" type="text/css"> |
<link rel="stylesheet" href="css/default.css" type="text/css"> |
| 37 |
<style type="text/css"> |
<style type="text/css"> |
| 38 |
|
|
| 55 |
<table width="760" border="0" cellpadding="0" cellspacing="0"> |
<table width="760" border="0" cellpadding="0" cellspacing="0"> |
| 56 |
<tr height=20 bgcolor=#F3F9FC> |
<tr height=20 bgcolor=#F3F9FC> |
| 57 |
<td width="20"> </td> |
<td width="20"> </td> |
| 58 |
<td>枫林在线 >> <? echo $row["title"]; ?> </td> |
<td>鏋灄鍦ㄧ嚎 >> <? echo $row["title"]; ?> </td> |
| 59 |
<td width="200" align="right">本文已被浏览<font color=red><? echo $row["view_count"]; ?></font>次</td> |
<td width="200" align="right">鏈枃宸茶娴忚<font color=red><? echo $row["view_count"]; ?></font>娆</td> |
| 60 |
<td width="20"> </td> |
<td width="20"> </td> |
| 61 |
</tr> |
</tr> |
| 62 |
<tr> |
<tr> |
| 77 |
<td> |
<td> |
| 78 |
<table width="95%" border="0" cellpadding="0" cellspacing="0"> |
<table width="95%" border="0" cellpadding="0" cellspacing="0"> |
| 79 |
<tr height="30"> |
<tr height="30"> |
| 80 |
<td align="center"><font size=4><b><? echo $row["title"]; ?> </b></font><font color=gray>[<? echo ($row["transship"]?"转载":"原创"); ?>]</font></td> |
<td align="center"><font size=4><b><? echo $row["title"]; ?> </b></font><font color=gray>[<? echo ($row["transship"]?"杞浇":"鍘熷垱"); ?>]</font></td> |
| 81 |
</tr> |
</tr> |
| 82 |
<tr height="20"> |
<tr height="20"> |
| 83 |
<td align="center">(<? echo $row["sub_dt"]; ?>) <? echo ($row["transship"]?"转载":"作者"); ?>:<? echo $row["nickname"]; ?></td> |
<td align="center">(<? echo $row["sub_dt"]; ?>) <? echo ($row["transship"]?"杞浇":"浣滆"); ?>锛<? echo $row["nickname"]; ?></td> |
| 84 |
</tr> |
</tr> |
| 85 |
<tr height="10"> |
<tr height="10"> |
| 86 |
<td></td> |
<td></td> |
| 92 |
<td></td> |
<td></td> |
| 93 |
</tr> |
</tr> |
| 94 |
<tr> |
<tr> |
| 95 |
<td class="content"><? echo LML(str_replace("\n","<br>",htmlspecialchars($content)),true,true,70); ?></td> |
<td class="content"><? echo LML(htmlspecialchars($content, ENT_COMPAT | ENT_HTML401, 'UTF-8'),true,true,1024); ?></td> |
| 96 |
</tr> |
</tr> |
| 97 |
<tr> |
<tr> |
| 98 |
<td> |
<td> |
| 109 |
$check=$row_attachment["check"]; |
$check=$row_attachment["check"]; |
| 110 |
$ext=strtolower(substr($filename,(strrpos($filename,".") ? strrpos($filename,".")+1 : 0))); |
$ext=strtolower(substr($filename,(strrpos($filename,".") ? strrpos($filename,".")+1 : 0))); |
| 111 |
?> |
?> |
| 112 |
<img src="images/dl.gif"><a class="s2" href="/bbs/dl_file.php?aid=<? echo $row_attachment["AID"]; ?>" target="_target"><? echo $filename; ?></a> (<? echo $size; ?>字节) |
<img src="images/dl.gif"><a class="s2" href="/bbs/dl_file.php?aid=<? echo $row_attachment["AID"]; ?>" target="_target"><? echo $filename; ?></a> (<? echo $size; ?>瀛楄妭) |
| 113 |
<? if ($check==0){?><font color=red>未验证</font><? } else { ?> |
<? if ($check==0){?><font color=red>鏈獙璇</font><? } else { ?> |
| 114 |
<br> |
<br> |
| 115 |
<? |
<? |
| 116 |
switch ($ext) |
switch ($ext) |
| 149 |
</tr> |
</tr> |
| 150 |
<tr height="20"> |
<tr height="20"> |
| 151 |
<td align="right"> |
<td align="right"> |
| 152 |
已有<font color=red><? echo $row["reply_count"]; ?></font>人发表评论 |
宸叉湁<font color=red><? echo $row["reply_count"]; ?></font>浜哄彂琛ㄨ瘎璁 |
| 153 |
</td> |
</td> |
| 154 |
</tr> |
</tr> |
| 155 |
<tr height="10"> |
<tr height="10"> |
| 158 |
</tr> |
</tr> |
| 159 |
<tr> |
<tr> |
| 160 |
<td align="right"> |
<td align="right"> |
| 161 |
【<a href="/bbs/view_article.php?id=<? echo $aid; ?>" >相关评论</a>】 |
銆<a href="/bbs/view_article.php?id=<? echo $aid; ?>" >鐩稿叧璇勮</a>銆 |
| 162 |
【<a href="javascript:self.close();" >关闭窗口</a>】 |
銆<a href="javascript:self.close();" >鍏抽棴绐楀彛</a>銆 |
| 163 |
</td> |
</td> |
| 164 |
</tr> |
</tr> |
| 165 |
</table> |
</table> |
| 166 |
</td> |
</td> |
| 167 |
<td valign="top"> |
<td valign="top"> |
| 168 |
<!-- Ads of Google --> |
<script type="text/javascript"> |
| 169 |
<script type="text/javascript"><!-- |
google_ad_client = "ca-pub-3013347141025996"; |
| 170 |
google_ad_client = "pub-3013347141025996"; |
google_ad_slot = "1068955943"; |
| 171 |
google_alternate_color = "FFFFFF"; |
google_ad_width = 120; |
| 172 |
google_ad_width = 120; |
google_ad_height = 600; |
| 173 |
google_ad_height = 600; |
</script> |
| 174 |
google_ad_format = "120x600_as"; |
<!-- fenglin_content_right --> |
| 175 |
google_ad_type = "text"; |
<script type="text/javascript" |
| 176 |
//2007-05-07: fenglin_content_right |
src="//pagead2.googlesyndication.com/pagead/show_ads.js"> |
| 177 |
google_ad_channel = "2167149888"; |
</script> |
|
//--> |
|
|
</script> |
|
|
<script type="text/javascript" |
|
|
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> |
|
|
</script> |
|
| 178 |
</td> |
</td> |
| 179 |
</tr> |
</tr> |
| 180 |
<tr height="20"> |
<tr height="20"> |