/[LeafOK_CVS]/fenglin/www/show_article.php
ViewVC logotype

Diff of /fenglin/www/show_article.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.14 by sysadm, Fri Mar 28 05:50:18 2025 UTC Revision 1.16 by sysadm, Fri Mar 28 14:21:52 2025 UTC
# Line 1  Line 1 
1  <?  <?
2          require_once "../lib/db_open.inc.php";          require_once "../lib/db_open.inc.php";
3          require_once "../lib/lml.inc.php";          require_once "../lib/lml.inc.php";
4            require_once "../lib/str_process.inc.php";
5    
6          if (isset($_GET["aid"]))          if (isset($_GET["aid"]))
7                  $aid=intval($_GET["aid"]);                  $aid=intval($_GET["aid"]);
# Line 32  Line 33 
33  <html>  <html>
34  <head>  <head>
35  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
36  <title>枫林在线 - <? echo $row["title"]; ?> </title>  <title>枫林在线 - <? echo htmlspecialchars($row["title"], ENT_HTML401, 'UTF-8'); ?> </title>
37  <link rel="stylesheet" href="css/default.css" type="text/css">  <link rel="stylesheet" href="css/default.css" type="text/css">
38  <style type="text/css">  <style type="text/css">
39    
# Line 44  TD.content Line 45  TD.content
45    
46  </style>  </style>
47    
48  <script language="JavaScript" src="/js/bbs_article.js"></script>  <script language="JavaScript" src="/js/imageszoom.js"></script>
49  </head>  </head>
50    
51  <body>  <body>
# Line 55  TD.content Line 56  TD.content
56  <table width="760" border="0" cellpadding="0" cellspacing="0">  <table width="760" border="0" cellpadding="0" cellspacing="0">
57          <tr height=20 bgcolor=#F3F9FC>          <tr height=20 bgcolor=#F3F9FC>
58                  <td width="20">&nbsp;</td>                  <td width="20">&nbsp;</td>
59                  <td>枫林在线 &gt;&gt; <? echo $row["title"]; ?> </td>                  <td>枫林在线 &gt;&gt; <? echo split_line(htmlspecialchars($row["title"], ENT_HTML401, 'UTF-8'), "", 65, 2); ?></td>
60                  <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>
61                  <td width="20">&nbsp;</td>                  <td width="20">&nbsp;</td>
62          </tr>          </tr>
# Line 77  TD.content Line 78  TD.content
78                  <td valign="top">                  <td valign="top">
79                          <table width="95%" border="0" cellpadding="0" cellspacing="0">                          <table width="95%" border="0" cellpadding="0" cellspacing="0">
80                                  <tr height="30">                                  <tr height="30">
81                                          <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>
82                                  </tr>                                  </tr>
83                                  <tr height="20">                                  <tr height="20">
84                                          <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>
# Line 92  TD.content Line 93  TD.content
93                                          <td></td>                                          <td></td>
94                                  </tr>                                  </tr>
95                                  <tr>                                  <tr>
96                                          <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>
97                                  </tr>                                  </tr>
98                                  <tr>                                  <tr>
99                                          <td>                                          <td>


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1