/[LeafOK_CVS]/fenglin/bbs/list.php
ViewVC logotype

Diff of /fenglin/bbs/list.php

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

Revision 1.7 by sysadm, Sun Apr 27 04:18:22 2025 UTC Revision 1.9 by sysadm, Sat Jun 7 10:15:01 2025 UTC
# Line 269  Line 269 
269                          "last_reply_uid" => $row["last_reply_UID"],                          "last_reply_uid" => $row["last_reply_UID"],
270                          "last_reply_username" => $row["last_reply_username"],                          "last_reply_username" => $row["last_reply_username"],
271                          "last_reply_nickname" => $row["last_reply_nickname"],                          "last_reply_nickname" => $row["last_reply_nickname"],
272                          "visited" => (($_SESSION["BBS_uid"] > 0 && in_array($row["AID"], $visited_aid_list)) ? 1 : 0),                          "visited" => (($_SESSION["BBS_uid"] > 0 && ($row["UID"] == $_SESSION["BBS_uid"] || in_array($row["AID"], $visited_aid_list))) ? 1 : 0),
273                  ));                  ));
274    
275                  if (!isset($author_list[$row["UID"]]))                  if (!isset($author_list[$row["UID"]]))
# Line 343  Line 343 
343                  exit(json_encode($result_set)); // Output data in Json                  exit(json_encode($result_set)); // Output data in Json
344          }          }
345          include $theme_view_file;          include $theme_view_file;
 ?>  


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

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