/[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.7 by sysadm, Fri Jul 28 11:45:21 2023 UTC Revision 1.12 by sysadm, Fri Mar 28 05:50:18 2025 UTC
# Line 1  Line 1 
1  <?  <?
2            require_once "../lib/db_open.inc.php";
3            require_once "../lib/common.inc.php";
4    ?>
5    <?
6          if (isset($_GET["jid"]))          if (isset($_GET["jid"]))
7                  $jid=intval($_GET["jid"]);                  $jid=intval($_GET["jid"]);
8          else          else
# Line 8  Line 12 
12          else          else
13                  $uid=0;                  $uid=0;
14          if (isset($_GET["as_email"]))          if (isset($_GET["as_email"]))
15                  $base_url="http://www.fenglin.info";                  $base_url="https://" . $BBS_host_name;
16          else          else
17                  $base_url="";                  $base_url="";
18                    
         $sql_charset="utf8";  
   
         $db_conn=include "./db_open.inc.php";  
   
19          $rs=mysql_query("select * from journal_index where JID=$jid and enable")          $rs=mysql_query("select * from journal_index where JID=$jid and enable")
20                  or die("Query journal_index error!");                  or die("Query journal_index error!");
21          if ($row=mysql_fetch_array($rs))          if ($row=mysql_fetch_array($rs))
# Line 74  Line 74 
74          mysql_free_result($rs);          mysql_free_result($rs);
75          $class_list=substr($class_list,0,strlen($class_list)-1);          $class_list=substr($class_list,0,strlen($class_list)-1);
76  ?>  ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
77  <html>  <html>
78  <head>  <head>
79  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
# Line 192  Line 191 
191                          <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/show_article.php?aid=<? echo $row_article["AID"]; ?>" target="_blank"><? echo $row_article["title"]; ?></a></strong></font><br>
192                          <font color="#666666" size="-1"><? echo $row_article["s_title"]; ?>&nbsp;&nbsp;                          <font color="#666666" size="-1"><? echo $row_article["s_title"]; ?>&nbsp;&nbsp;
193                          By <? echo $row_article["nickname"]; ?></font><br>                          By <? echo $row_article["nickname"]; ?></font><br>
194                          <? echo str_replace(" ","&nbsp;",str_replace("\n","<br>",htmlspecialchars($row_article["abstract"], ENT_COMPAT | ENT_HTML401, 'GB2312'))); ?><br>                          <? echo str_replace(" ", "&nbsp;", str_replace("\n", "<br>", htmlspecialchars($row_article["abstract"], ENT_HTML401, 'UTF-8'))); ?><br>
195                          <br>                          <br>
196  <?  <?
197          }          }
198          mysql_free_result($rs_article);          mysql_free_result($rs_article);
199  ?>  ?>
200                          </font> </td>                          </font>
201                                              </td>
202                      </tr>                      </tr>
203                      <tr>                      <tr>
204                        <td width="393" align="left"> <font face="times, times new roman, sans serif" size="-1">&#149;                        <td width="393" align="left"><br></td>
205                          <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>  
206                      </tr>                      </tr>
207                    </table>                    </table>
208                                  </td>                                  </td>
# Line 233  Line 231 
231                    <td width="588"> <p>&nbsp;</p>                    <td width="588"> <p>&nbsp;</p>
232              <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>
233                <br>                <br>
234                枫林在线除了向您推荐近期的优秀文章外,还提供以往的精彩文章的<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>
235              </p>              </p>
236              <hr width="588" size="1">              <hr width="588" size="1">
237                      <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>
# Line 251  Line 249 
249                  <tr>                  <tr>
250                <td width="598" colspan="3" bgcolor="#e4e4e4" height="25"> <img src="<? echo $base_url; ?>/www/images/spacer.gif" width="5" height="1" border="0">                <td width="598" colspan="3" bgcolor="#e4e4e4" height="25"> <img src="<? echo $base_url; ?>/www/images/spacer.gif" width="5" height="1" border="0">
251              <font face="Times New Roman,Times,Serif" size="-1"> Copyright &copy;              <font face="Times New Roman,Times,Serif" size="-1"> Copyright &copy;
252              2003-2012 <a href="<? echo $base_url; ?>/" target="_blank">枫林在线</a> | <a href="<? echo $base_url; ?>/www/privacy.php">隐私保护</a> </font> </td>              2003-2025 <a href="<? echo $base_url; ?>/" target="_blank">枫林在线</a> | <a href="<? echo $base_url; ?>/www/privacy.php">隐私保护</a> </font> </td>
253                  </tr>                  </tr>
254            </table>            </table>
255          </td>          </td>


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

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