/[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.8 by sysadm, Sat Mar 1 09:08:07 2025 UTC Revision 1.13 by sysadm, Wed Mar 26 07:09:36 2025 UTC
# Line 1  Line 1 
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"]);
# Line 74  TD.content Line 74  TD.content
74          </tr>          </tr>
75          <tr>          <tr>
76                  <td></td>                  <td></td>
77                  <td>                  <td valign="top">
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 htmlspecialchars($row["title"], ENT_HTML401, 'UTF-8'); ?> </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 htmlspecialchars($row["nickname"], ENT_HTML401, 'UTF-8'); ?></td>
84                                  </tr>                                  </tr>
85                                  <tr height="10">                                  <tr height="10">
86                                          <td></td>                                          <td></td>
# Line 92  TD.content Line 92  TD.content
92                                          <td></td>                                          <td></td>
93                                  </tr>                                  </tr>
94                                  <tr>                                  <tr>
95                                          <td class="content"><? echo LML(htmlspecialchars($content, ENT_COMPAT | ENT_HTML401, 'UTF-8'),true,true,1024); ?></td>                                          <td class="content"><? echo LML(htmlspecialchars($content, ENT_HTML401, 'UTF-8'), true, true, 1024); ?></td>
96                                  </tr>                                  </tr>
97                                  <tr>                                  <tr>
98                                          <td>                                          <td>
99                                                  ========== * * * * * ==========                                                  ========== * * * * * ==========
100                                                  <br>                                                  <br />
101  <?  <?
102          $rs_attachment=mysql_query("select * from upload_file where ref_AID=".          $rs_attachment=mysql_query("select * from upload_file where ref_AID=".
103                  $row["AID"]." and deleted=0 and deny=0 order by AID")                  $row["AID"]." and deleted=0 and deny=0 order by AID")
# Line 120  TD.content Line 120  TD.content
120                          case "jpg":                          case "jpg":
121                          case "jpeg":                          case "jpeg":
122  ?>  ?>
123                                                  <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"]; ?>">
 <?  
                                 break;  
                         case "swf":  
 ?>  
                                                 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">  
                                                 <param name=movie value="/bbs/dl_file.php?aid=<? echo $row_attachment["AID"]; ?>">  
                                                 <param name=quality value=high>  
                                                 <embed src="/bbs/dl_file.php?aid=<? echo $row_attachment["AID"]; ?>" quality=high type="application/x-shockwave-flash">  
                                                 </embed>  
                                                 </object>  
124  <?  <?
125                                  break;                                  break;
126                  }                  }


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

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