|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
| 1 |
<? |
<? |
| 2 |
|
require_once "../lib/common.inc.php"; |
| 3 |
|
require_once "../lib/db_open.inc.php"; |
| 4 |
require_once "../lib/lml.inc.php"; |
require_once "../lib/lml.inc.php"; |
| 5 |
$db_conn=include "./db_open.inc.php"; |
require_once "../lib/str_process.inc.php"; |
| 6 |
|
|
| 7 |
if (isset($_GET["aid"])) |
if (isset($_GET["aid"])) |
| 8 |
$aid=intval($_GET["aid"]); |
$aid=intval($_GET["aid"]); |
| 9 |
else |
else |
| 34 |
<html> |
<html> |
| 35 |
<head> |
<head> |
| 36 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 37 |
<title>枫林在线 - <? echo $row["title"]; ?> </title> |
<title><? echo $BBS_name; ?> - <? echo htmlspecialchars($row["title"], ENT_HTML401, 'UTF-8'); ?> </title> |
| 38 |
<link rel="stylesheet" href="css/default.css" type="text/css"> |
<link rel="stylesheet" href="css/default.css" type="text/css"> |
| 39 |
<style type="text/css"> |
<style type="text/css"> |
| 40 |
|
|
| 46 |
|
|
| 47 |
</style> |
</style> |
| 48 |
|
|
| 49 |
<script language="JavaScript" src="/js/bbs_article.js"></script> |
<script language="JavaScript" src="/js/imageszoom.js"></script> |
| 50 |
</head> |
</head> |
| 51 |
|
|
| 52 |
<body> |
<body> |
| 57 |
<table width="760" border="0" cellpadding="0" cellspacing="0"> |
<table width="760" border="0" cellpadding="0" cellspacing="0"> |
| 58 |
<tr height=20 bgcolor=#F3F9FC> |
<tr height=20 bgcolor=#F3F9FC> |
| 59 |
<td width="20"> </td> |
<td width="20"> </td> |
| 60 |
<td>枫林在线 >> <? echo $row["title"]; ?> </td> |
<td><? echo $BBS_name; ?> >> <? echo split_line(htmlspecialchars($row["title"], ENT_HTML401, 'UTF-8'), "", 65, 2); ?></td> |
| 61 |
<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> |
| 62 |
<td width="20"> </td> |
<td width="20"> </td> |
| 63 |
</tr> |
</tr> |
| 76 |
</tr> |
</tr> |
| 77 |
<tr> |
<tr> |
| 78 |
<td></td> |
<td></td> |
| 79 |
<td> |
<td valign="top"> |
| 80 |
<table width="95%" border="0" cellpadding="0" cellspacing="0"> |
<table width="95%" border="0" cellpadding="0" cellspacing="0"> |
| 81 |
<tr height="30"> |
<tr height="30"> |
| 82 |
<td align="center"><font size=4><b><? echo htmlspecialchars($row["title"], ENT_HTML401, 'UTF-8'); ?> </b></font><font color=gray>[<? echo ($row["transship"]?"转载":"原创"); ?>]</font></td> |
<td align="center"><font size=4><b><? echo split_line(htmlspecialchars($row["title"], ENT_HTML401, 'UTF-8'), "", 65, 2); ?></b></font> <font color=gray>[<? echo ($row["transship"]?"转载":"原创"); ?>]</font></td> |
| 83 |
</tr> |
</tr> |
| 84 |
<tr height="20"> |
<tr height="20"> |
| 85 |
<td align="center">(<? echo $row["sub_dt"]; ?>) <? echo ($row["transship"]?"转载":"作者"); ?>:<? echo htmlspecialchars($row["nickname"], ENT_HTML401, 'UTF-8'); ?></td> |
<td align="center">(<? echo $row["sub_dt"]; ?>) <? echo ($row["transship"]?"转载":"作者"); ?>:<? echo htmlspecialchars($row["nickname"], ENT_HTML401, 'UTF-8'); ?></td> |
| 94 |
<td></td> |
<td></td> |
| 95 |
</tr> |
</tr> |
| 96 |
<tr> |
<tr> |
| 97 |
<td class="content"><? echo LML(htmlspecialchars($content, ENT_HTML401, 'UTF-8'),true,true,1024); ?></td> |
<td class="content"><? echo LML(htmlspecialchars($content, ENT_HTML401, 'UTF-8'), true); ?></td> |
| 98 |
</tr> |
</tr> |
| 99 |
<tr> |
<tr> |
| 100 |
<td> |
<td> |
| 101 |
========== * * * * * ========== |
========== * * * * * ========== |
| 102 |
<br> |
<br /> |
| 103 |
<? |
<? |
| 104 |
$rs_attachment=mysql_query("select * from upload_file where ref_AID=". |
$rs_attachment=mysql_query("select * from upload_file where ref_AID=". |
| 105 |
$row["AID"]." and deleted=0 and deny=0 order by AID") |
$row["AID"]." and deleted=0 and deny=0 order by AID") |
| 122 |
case "jpg": |
case "jpg": |
| 123 |
case "jpeg": |
case "jpeg": |
| 124 |
?> |
?> |
| 125 |
<img onmousewheel="return bbs_img_zoom(event,this)" src="/bbs/dl_file.php?aid=<? echo $row_attachment["AID"]; ?>"> |
<img onmousewheel="return bbs_img_zoom(event, this)" src="/bbs/dl_file.php?aid=<? echo $row_attachment["AID"]; ?>"> |
| 126 |
<? |
<? |
| 127 |
break; |
break; |
| 128 |
} |
} |