/[LeafOK_CVS]/fenglin/bbs/view_article_body.inc.php
ViewVC logotype

Diff of /fenglin/bbs/view_article_body.inc.php

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

Revision 1.2 by sysadm, Sun Mar 2 02:32:55 2025 UTC Revision 1.3 by sysadm, Thu Mar 6 07:41:52 2025 UTC
# Line 1  Line 1 
1  <?  <?
2          require_once "./lml.inc.php";          require_once "../lib/lml.inc.php";
3          require_once "./user_level.inc.php";          require_once "./user_level.inc.php";
4          require_once "./photo_path.inc.php";          require_once "./photo_path.inc.php";
5          require_once "./ip_mask.inc.php";          require_once "./ip_mask.inc.php";
# Line 10  $color[1]="#FAFBFC"; Line 10  $color[1]="#FAFBFC";
10  $color_index=0;  $color_index=0;
11  $color_count=2;  $color_count=2;
12    
13  $rs=mysql_query("SELECT * from bbs".  $rs=mysql_query("SELECT * from bbs where AID=$id and TID=0 and visible" .
14          " where AID=$id and TID=0 and visible and ".$ex_str.          ($ex ? " AND excerption = 1 " : "") . " limit 1")
         " limit 1")  
15          or die("Query article error!");          or die("Query article error!");
16  $row=mysql_fetch_array($rs) or die("Read article error!");  $row=mysql_fetch_array($rs) or die("Read article error!");
17    
# Line 153  echo ("</script>\n"); Line 152  echo ("</script>\n");
152                          <?                          <?
153  mysql_free_result($rs);  mysql_free_result($rs);
154    
155  $rs=mysql_query("SELECT * from bbs".  $rs=mysql_query("SELECT * from bbs where TID=$id and visible" .
156          " where TID=$id and visible and ".$ex_str.          ($ex ? " AND excerption = 1 " : "") . " order by sub_dt")
         " order by sub_dt")  
157          or die("Read reply error!");          or die("Read reply error!");
158    
159  while($row=mysql_fetch_array($rs))  while($row=mysql_fetch_array($rs))
# Line 234  while($row=mysql_fetch_array($rs)) Line 232  while($row=mysql_fetch_array($rs))
232                                  <tr height="2">                                  <tr height="2">
233                                          <td>                                          <td>
234                                          </td>                                          </td>
235                                          <td style="background-color:#909090; ">                                          <td style="background-color:#909090;">
236                                          </td>                                          </td>
237                                          <td>                                          <td>
238                                          </td>                                          </td>


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

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