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

Diff of /fenglin/www/rss.php

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

Revision 1.12 by sysadm, Tue Mar 18 07:11:18 2025 UTC Revision 1.15 by sysadm, Fri Apr 11 12:47:39 2025 UTC
# Line 1  Line 1 
1  <?  <?
2            require_once "../lib/db_open.inc.php";
3          require_once "../lib/common.inc.php";          require_once "../lib/common.inc.php";
4          require_once "../lib/lml.inc.php";          require_once "../lib/lml.inc.php";
5            require_once "../bbs/session_init.inc.php";
6  ?>  ?>
7  <?  <?
8  header ("Content-Type: text/xml; charset=UTF-8");  header ("Content-Type: text/xml; charset=UTF-8");
# Line 42  else Line 44  else
44  if ($page<1)  if ($page<1)
45          $page=1;          $page=1;
46    
 $db_conn=include "./db_open.inc.php";  
   
47  $rs=mysql_query("select section_config.* from section_config left join section_class".  $rs=mysql_query("select section_config.* from section_config left join section_class".
48          " on section_config.CID=section_class.CID where SID=$sid and".          " on section_config.CID=section_class.CID where SID=$sid and".
49          " section_config.enable and section_class.enable and".          " section_config.enable and section_class.enable and".
# Line 83  if ($page>$page_total) Line 83  if ($page>$page_total)
83  <channel>  <channel>
84          <title><? echo $stitle; ?></title>          <title><? echo $stitle; ?></title>
85          <description><? echo $stitle; ?></description>          <description><? echo $stitle; ?></description>
86          <link><? echo $base_url."/bbs/bbs.php?sid=".$sid; ?></link>          <link><? echo $base_url."/bbs/list.php?sid=".$sid; ?></link>
87          <language>zh-cn</language>          <language>zh-cn</language>
88          <docs></docs>          <docs></docs>
89          <generator>Rss Generator By FengLin</generator>          <generator>Rss Generator By <? echo $BBS_name; ?></generator>
90          <copyright>Copyright (C) 2003-2025 www.FengLin.info, All rights reserved</copyright>          <copyright>Copyright (C)<? echo $BBS_copyright_duration; ?> <? echo $BBS_host_name; ?>, All rights reserved</copyright>
91  <?  <?
92  $rs=mysql_query("SELECT * from bbs ".  $rs=mysql_query("SELECT * from bbs ".
93          "where SID=$sid and visible and ".          "where SID=$sid and visible and ".


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

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