/[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.2 by sysadm, Sat Sep 23 16:56:54 2006 UTC Revision 1.13 by sysadm, Sat Mar 29 07:06:57 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="http://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 74  Line 77 
77  ?>  ?>
78  <html>  <html>
79  <head>  <head>
80  <meta http-equiv="Content-Type" content="text/html; charset=gb2312">  <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 87  Line 90 
90          if (isset($_GET["as_email"]))          if (isset($_GET["as_email"]))
91          {          {
92  ?>  ?>
93            <font color="#CCCCCC" size="-2">如果您无法阅读本邮件,请访问<a href="<? echo $base_url; ?>/www/journal.php?jid=<? echo $jid; ?>&uid=<? echo $uid; ?>" target="_blank"><? echo $base_url; ?>/www/journal.php?jid=<? echo $jid; ?>&uid=<? echo $uid; ?></a></font><br>&nbsp;</td>            <font color="#CCCCCC" size="-2">濡傛灉鎮ㄦ棤娉曢槄璇绘湰閭欢锛岃璁块棶<a href="<? echo $base_url; ?>/www/journal.php?jid=<? echo $jid; ?>&uid=<? echo $uid; ?>" target="_blank"><? echo $base_url; ?>/www/journal.php?jid=<? echo $jid; ?>&uid=<? echo $uid; ?></a></font><br>&nbsp;</td>
94  <?  <?
95          }          }
96  ?>  ?>
# Line 124  Line 127 
127                              <td width="393">                              <td width="393">
128                                    <table border="0" width="393" cellpadding="0" cellspacing="0">                                    <table border="0" width="393" cellpadding="0" cellspacing="0">
129                                          <tr>                                          <tr>
130                                        <td width="131" colspan="2"><font face="Times New Roman,Times,Serif" size="-1"><strong>本期推荐:</strong></font></td>                                        <td width="131" colspan="2"><font face="Times New Roman,Times,Serif" size="-1"><strong>鏈湡鎺ㄨ崘锛</strong></font></td>
131                                          </tr>                                          </tr>
132                                          <tr>                                          <tr>
133                                            <td width="393" colspan="2"><br></td>                                            <td width="393" colspan="2"><br></td>
# Line 152  Line 155 
155          mysql_free_result($rs);          mysql_free_result($rs);
156  ?>  ?>
157                                             </font><br><br>                                             </font><br><br>
158                                             <font face="Times New Roman,Times,Serif" size="-1" color="#333333"><a href="<? echo $base_url; ?>/bbs/s_favor.php" target="_blank">设定我喜欢的栏目</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="<? echo $base_url; ?>/bbs/search_form.php" target="_blank">查找</a><br><br></font>                                             <font face="Times New Roman,Times,Serif" size="-1" color="#333333"><a href="<? echo $base_url; ?>/bbs/s_favor.php" target="_blank">璁惧畾鎴戝枩娆㈢殑鏍忕洰</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="<? echo $base_url; ?>/bbs/search_form.php" target="_blank">鏌ユ壘</a><br><br></font>
159                                            </td>                                            </td>
160                                  </tr>                                  </tr>
161                                    </table>                                    </table>
# Line 189  Line 192 
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/show_article.php?aid=<? 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"]))); ?><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 228  Line 230 
230                  <tr>                  <tr>
231            <td width="5"><img src="<? echo $base_url; ?>/www/images/spacer.gif" width="1" height="1" border="0"></td>            <td width="5"><img src="<? echo $base_url; ?>/www/images/spacer.gif" width="1" height="1" border="0"></td>
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>
239                <br>                <br>
240                感谢您订阅枫林在线的《精品导读》,您可以从我们提供的<a href="<? echo $base_url; ?>/bbs/preference.php">个人设定</a>功能中订阅/取消订阅本刊物。<br>                鎰熻阿鎮ㄨ闃呮灚鏋楀湪绾跨殑銆婄簿鍝佸璇汇嬶紝鎮ㄥ彲浠ヤ粠鎴戜滑鎻愪緵鐨<a href="<? echo $base_url; ?>/bbs/preference.php">涓汉璁惧畾</a>鍔熻兘涓闃/鍙栨秷璁㈤槄鏈垔鐗┿<br>
241                <br>                <br>
242                如果您对我们的工作有什么意见或建议,请<a href="<? echo $base_url; ?>/www/contact_us.php">与我们联系</a>。</font></p>                濡傛灉鎮ㄥ鎴戜滑鐨勫伐浣滄湁浠涔堟剰瑙佹垨寤鸿锛岃<a href="<? echo $base_url; ?>/www/contact_us.php">涓庢垜浠仈绯</a>銆</font></p>
243              <p><br>              <p><br>
244              </p></td>              </p></td>
245                <td width="5"><img src="<? echo $base_url; ?>/www/images/spacer.gif" width="1" height="1" border="0"></td>                <td width="5"><img src="<? echo $base_url; ?>/www/images/spacer.gif" width="1" height="1" border="0"></td>
# Line 248  Line 250 
250                  <tr>                  <tr>
251                <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">
252              <font face="Times New Roman,Times,Serif" size="-1"> Copyright &copy;              <font face="Times New Roman,Times,Serif" size="-1"> Copyright &copy;
253              2003-2006 <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>
254                  </tr>                  </tr>
255            </table>            </table>
256          </td>          </td>


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

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