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

Diff of /fenglin/www/home.php

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

Revision 1.33 by sysadm, Tue Jun 17 11:23:59 2025 UTC Revision 1.34 by sysadm, Thu Jun 19 00:55:43 2025 UTC
# Line 14  Line 14 
14          $ret = load_section_list($section_hierachy,          $ret = load_section_list($section_hierachy,
15                  function (array $section, array $filter_param) : bool                  function (array $section, array $filter_param) : bool
16                  {                  {
17                          if ($_SESSION["BBS_uid"] > 0)                          return ($section["recommend"] &&
18                          {                                  $_SESSION["BBS_priv"]->checkpriv($section["SID"], S_LIST) &&
19                                  return ($section["recommend"] &&                                  ($_SESSION["BBS_uid"] > 0 ? $filter_param["s_favor"]->is_in($section["SID"]) : true));
                                         $_SESSION["BBS_priv"]->checkpriv($section["SID"], S_LIST) &&  
                                         $filter_param["s_favor"]->is_in($section["SID"]));  
                         }  
   
                         return $section["recommend"];  
20                  },                  },
21                  function (array $section, array $filter_param) : mixed                  function (array $section, array $filter_param) : mixed
22                  {                  {
# Line 93  Line 88 
88                                                          <td class="td3">                                                          <td class="td3">
89                                                                  <table width="100%" border="0" cellspacing="0" cellpadding="0">                                                                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
90                                                                          <tr><td height=10></td></tr>                                                                          <tr><td height=10></td></tr>
91                                                                            <tr><td height=18>·<a href="../bbs/view_article.php?tn=portal&id=472079" target="_blank">调整各版块访问权限的通知</a></td></tr>
92                                                                          <tr><td height=18>·<a href="../bbs/view_article.php?tn=portal&id=472069" target="_blank">Telnet版本新增重要功能</a></td></tr>                                                                          <tr><td height=18>·<a href="../bbs/view_article.php?tn=portal&id=472069" target="_blank">Telnet版本新增重要功能</a></td></tr>
93                                                                          <tr><td height=18>·<a href="../bbs/view_article.php?tn=portal&id=472059" target="_blank"><font color="red">时隔二十载,Telnet版终发布</font></a></td></tr>                                                                          <tr><td height=18>·<a href="../bbs/view_article.php?tn=portal&id=472059" target="_blank"><font color="red">时隔二十载,Telnet版终发布</font></a></td></tr>
94                                                                          <tr><td height=18>·<a href="../bbs/view_article.php?tn=portal&id=472035" target="_blank">本站源码上传GitHub</a></td></tr>                                                                          <tr><td height=18>·<a href="../bbs/view_article.php?tn=portal&id=472035" target="_blank">本站源码上传GitHub</a></td></tr>


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

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