/[LeafOK_CVS]/fenglin/bbs/themes/default/view_article.view.php
ViewVC logotype

Diff of /fenglin/bbs/themes/default/view_article.view.php

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

Revision 1.1 by sysadm, Sat Apr 12 11:36:58 2025 UTC Revision 1.5 by sysadm, Sun Apr 13 05:25:52 2025 UTC
# Line 20  Line 20 
20  <head>  <head>
21  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
22  <title><? echo htmlspecialchars($result_set["data"]["title"], ENT_HTML401, 'UTF-8'); ?></title>  <title><? echo htmlspecialchars($result_set["data"]["title"], ENT_HTML401, 'UTF-8'); ?></title>
23  <link rel="stylesheet" href="css/default.css" type="text/css">  <link rel="stylesheet" href="<? echo get_theme_file('css/default'); ?>" type="text/css">
24  <style type="text/css">  <style type="text/css">
25  SPAN.title_normal  SPAN.title_normal
26  {  {
# Line 116  function article_op(op_type, id, set, co Line 116  function article_op(op_type, id, set, co
116                  ["excerption", "set_excerption.php"],                  ["excerption", "set_excerption.php"],
117                  ["ontop", "set_ontop.php"],                  ["ontop", "set_ontop.php"],
118                  ["lock", "lock.php"],                  ["lock", "lock.php"],
                 ["recommend", "set_recommend.php"],  
119                  ["transship", "set_transship.php"],                  ["transship", "set_transship.php"],
120          ]);          ]);
121    
# Line 278  window.addEventListener("load", () => { Line 277  window.addEventListener("load", () => {
277                  <table cols="2" border="0" cellpadding="0" cellspacing="0" width="770">                  <table cols="2" border="0" cellpadding="0" cellspacing="0" width="770">
278                          <tr>                          <tr>
279                                  <td width="50%">                                  <td width="50%">
280                                          <a class="s2" href="main.php?sid=<? echo $result_set["data"]["sid"]; ?>"><? echo $BBS_name; ?></a>&gt;&gt;<a class="s2" href="list.php?sid=<? echo $result_set["data"]["sid"]; ?>&ex=<? echo ($result_set["data"]["ex"]); ?>"><? echo $result_set["data"]["section_title"]; ?></a>                                          <a class="s2" href="main.php?sid=<? echo $result_set["data"]["sid"]; ?>"><? echo $BBS_name; ?></a>&gt;&gt;<a class="s2" href="list.php?sid=<? echo $result_set["data"]["sid"]; ?>"><? echo $result_set["data"]["section_title"]; ?></a>&gt;&gt;<a class="s2" href="list.php?sid=<? echo $result_set["data"]["sid"]; ?>&ex=<? echo ($result_set["data"]["ex"]); ?>"><? echo ($result_set["data"]["ex"] ? "文摘区" : "讨论区"); ?></a>
281                                          <a class="s2" href="post.php?reply_id=<? echo $result_set["data"]["id"]; ?>&quote=0" title="直接回复该文章">[快速回复]</a>                                          <a class="s2" href="post.php?reply_id=<? echo $result_set["data"]["id"]; ?>&quote=0" title="直接回复该文章">[快速回复]</a>
282  <?  <?
283          if ($previous_id > 0)          if ($previous_id > 0)
# Line 410  window.addEventListener("load", () => { Line 409  window.addEventListener("load", () => {
409                                          <a class="s4" id="unset_lock_<? echo $article["aid"]; ?>" style="display: <? echo ($article["lock"] ? "inline" : "none"); ?>" href="" onclick="return article_op('lock', <? echo $article["aid"]; ?>, 0);" title="取消禁止回复">取消静默</a>                                          <a class="s4" id="unset_lock_<? echo $article["aid"]; ?>" style="display: <? echo ($article["lock"] ? "inline" : "none"); ?>" href="" onclick="return article_op('lock', <? echo $article["aid"]; ?>, 0);" title="取消禁止回复">取消静默</a>
410  <?  <?
411                          }                          }
                         if ($article["tid"] == 0 && $_SESSION["BBS_priv"]->checkpriv($result_set["data"]["sid"], S_POST | S_MAN_S) &&  
                                 $_SESSION["BBS_priv"]->checklevel(P_ADMIN_M | P_ADMIN_S))  
                         {  
 ?>  
                                         <a class="s4" id="set_recommend_<? echo $article["aid"]; ?>" style="display: <? echo ($article["recommend"] ? "none" : "inline"); ?>" href="" onclick="return article_op('recommend', <? echo $article["aid"]; ?>, 1, true);" title="推荐">推荐</a>  
                                         <a class="s4" id="unset_recommend_<? echo $article["aid"]; ?>" style="display: <? echo ($article["recommend"] ? "inline" : "none"); ?>" href="" onclick="return article_op('recommend', <? echo $article["aid"]; ?>, 0);" title="取消推荐">取消推荐</a>  
 <?  
                         }  
412                          if ($article["tid"] == 0 && $_SESSION["BBS_priv"]->checkpriv($result_set["data"]["sid"], S_POST | S_MAN_S) && (!$article["transship"]) && (!$article["excerption"]))                          if ($article["tid"] == 0 && $_SESSION["BBS_priv"]->checkpriv($result_set["data"]["sid"], S_POST | S_MAN_S) && (!$article["transship"]) && (!$article["excerption"]))
413                          {                          {
414  ?>  ?>
# Line 637  window.addEventListener("load", () => { Line 628  window.addEventListener("load", () => {
628                  </table>                  </table>
629          </center>          </center>
630  <?  <?
         $display_ad = true;  
631          include "./foot.inc.php";          include "./foot.inc.php";
632  ?>  ?>
633    
634    <center>
635    <script type="text/javascript">
636        google_ad_client = "ca-pub-3013347141025996";
637        google_ad_slot = "7389632330";
638        google_ad_width = 728;
639        google_ad_height = 90;
640    </script>
641    <!-- fenglin_bbs_footer -->
642    <script type="text/javascript"
643    src="//pagead2.googlesyndication.com/pagead/show_ads.js">
644    </script>
645    </center>
646    
647  </body>  </body>
648  </html>  </html>


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

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