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

Diff of /fenglin/www/journal.php

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

Revision 1.9 by sysadm, Mon Mar 3 06:31:41 2025 UTC Revision 1.14 by sysadm, Tue Apr 1 05:23:05 2025 UTC
# Line 1  Line 1 
1  <?  <?
2            require_once "../lib/common.inc.php";
3            require_once "../lib/db_open.inc.php";
4            require_once "../lib/common.inc.php";
5    ?>
6    <?
7          if (isset($_GET["jid"]))          if (isset($_GET["jid"]))
8                  $jid=intval($_GET["jid"]);                  $jid=intval($_GET["jid"]);
9          else          else
# Line 8  Line 13 
13          else          else
14                  $uid=0;                  $uid=0;
15          if (isset($_GET["as_email"]))          if (isset($_GET["as_email"]))
16                  $base_url="https://www.fenglin.info";                  $base_url="https://" . $BBS_host_name;
17          else          else
18                  $base_url="";                  $base_url="";
19                    
         $db_conn=include "./db_open.inc.php";  
   
20          $rs=mysql_query("select * from journal_index where JID=$jid and enable")          $rs=mysql_query("select * from journal_index where JID=$jid and enable")
21                  or die("Query journal_index error!");                  or die("Query journal_index error!");
22          if ($row=mysql_fetch_array($rs))          if ($row=mysql_fetch_array($rs))
# Line 72  Line 75 
75          mysql_free_result($rs);          mysql_free_result($rs);
76          $class_list=substr($class_list,0,strlen($class_list)-1);          $class_list=substr($class_list,0,strlen($class_list)-1);
77  ?>  ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
78  <html>  <html>
79  <head>  <head>
80  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
81  <title>枫林在线 -- 精品导读</title>  <title><? echo $BBS_name; ?> -- 精品导读</title>
82  </head>  </head>
83  <body marginheight="15" marginwidth="15" leftmargin="15" topmargin="15" link="#000066" bgcolor="#FFFFFF" alink="#990000" vlink="#444464">  <body marginheight="15" marginwidth="15" leftmargin="15" topmargin="15" link="#000066" bgcolor="#FFFFFF" alink="#990000" vlink="#444464">
84  <center>  <center>
# Line 187  Line 189 
189          while($row_article=mysql_fetch_array($rs_article))          while($row_article=mysql_fetch_array($rs_article))
190          {          {
191  ?>  ?>
192                          <font size="3"><strong><a href="<? echo $base_url; ?>/www/show_article.php?aid=<? echo $row_article["AID"]; ?>" target="_blank"><? echo $row_article["title"]; ?></a></strong></font><br>                          <font size="3"><strong><a href="<? echo $base_url; ?>/www/view_article.php?id=<? echo $row_article["AID"]; ?>" target="_blank"><? echo $row_article["title"]; ?></a></strong></font><br>
193                          <font color="#666666" size="-1"><? echo $row_article["s_title"]; ?>&nbsp;&nbsp;                          <font color="#666666" size="-1"><? echo $row_article["s_title"]; ?>&nbsp;&nbsp;
194                          By <? echo $row_article["nickname"]; ?></font><br>                          By <? echo $row_article["nickname"]; ?></font><br>
195                          <? echo str_replace(" ","&nbsp;",str_replace("\n","<br>",htmlspecialchars($row_article["abstract"], ENT_COMPAT | ENT_HTML401, 'UTF-8'))); ?><br>                          <? echo str_replace(" ", "&nbsp;", str_replace("\n", "<br>", htmlspecialchars($row_article["abstract"], ENT_HTML401, 'UTF-8'))); ?><br>
196                          <br>                          <br>
197  <?  <?
198          }          }
199          mysql_free_result($rs_article);          mysql_free_result($rs_article);
200  ?>  ?>
201                          </font> </td>                          </font>
202                                              </td>
203                      </tr>                      </tr>
204                      <tr>                      <tr>
205                        <td width="393" align="left"> <font face="times, times new roman, sans serif" size="-1">&#149;                        <td width="393" align="left"><br></td>
206                          <a href="<? echo $base_url; ?>/bbs/class.php?cid=<? echo $row["CID"]; ?>" target="_blank">More Article</a></font><br> <br> </td>                        <td width="100" align="right"><br></td>
                       <td width="100" align="right"> <font face="times, times new roman, sans serif" size="-1"><a href="#top">Back  
                         to Top</a></font><br> <br> </td>  
207                      </tr>                      </tr>
208                    </table>                    </table>
209                                  </td>                                  </td>
# Line 231  Line 232 
232                    <td width="588"> <p>&nbsp;</p>                    <td width="588"> <p>&nbsp;</p>
233              <p><font face="Times New Roman,Times,Serif" size="-1"><strong>枫林在线论坛精华区</strong><br>              <p><font face="Times New Roman,Times,Serif" size="-1"><strong>枫林在线论坛精华区</strong><br>
234                <br>                <br>
235                枫林在线除了向您推荐近期的优秀文章外,还提供以往的精彩文章的<a href="<? echo $base_url; ?>/gen_ex/">在线浏览</a>和<a href="<? echo $base_url; ?>/bbs/bbs_ex_dl.php?sid=100">打包下载</a>服务。</font>                枫林在线除了向您推荐近期的优秀文章外,还提供以往的精彩文章的<a href="<? echo $base_url; ?>/gen_ex/">在线浏览</a>服务。</font>
236              </p>              </p>
237              <hr width="588" size="1">              <hr width="588" size="1">
238                      <p> <font face="Times New Roman,Times,Serif" size="-1"> <strong>关于本邮件</strong><br>                      <p> <font face="Times New Roman,Times,Serif" size="-1"> <strong>关于本邮件</strong><br>


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

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