/[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.3 by sysadm, Sat Apr 12 14:05:40 2025 UTC Revision 1.7 by sysadm, Mon Apr 14 11:23:46 2025 UTC
# Line 33  SPAN.title_deleted Line 33  SPAN.title_deleted
33  }  }
34  TD.content_normal  TD.content_normal
35  {  {
36          font-size: 14px;          font-size: 16px;
37  }  }
38  TD.content_deleted  TD.content_deleted
39  {  {
40          font-size: 14px;          font-size: 16px;
41          text-decoration: line-through;          text-decoration: line-through;
42  }  }
43  </style>  </style>
# 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 270  window.addEventListener("load", () => { Line 269  window.addEventListener("load", () => {
269  });  });
270    
271  </script>  </script>
272    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3013347141025996" crossorigin="anonymous">
273    </script>
274  </head>  </head>
275  <body>  <body>
276          <a name="top"></a>          <a name="top"></a>
277          <center>          <center>
278                  <span id="err_msg_prompt" name="err_msg" style="color: red;"></span>                  <span id="err_msg_prompt" name="err_msg" style="color: red;"></span>
279                  <table cols="2" border="0" cellpadding="0" cellspacing="0" width="770">                  <table cols="2" border="0" cellpadding="0" cellspacing="0" width="1050">
280                          <tr>                          <tr>
281                                  <td width="50%">                                  <td width="50%">
282                                          <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>                                          <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>
# Line 325  window.addEventListener("load", () => { Line 326  window.addEventListener("load", () => {
326  ?>  ?>
327                                  </td>                                  </td>
328                          </tr>                          </tr>
329                          <tr bgcolor="#d0d3F0" height="20">                          <tr bgcolor="#d0d3F0" height="25">
330                                  <td colspan="2" align="center" class="title">                                  <td colspan="2" align="center" class="title">
331                                          [<? echo $result_set["data"]["id"]; ?>]&nbsp;主题:&nbsp;<? echo htmlspecialchars($result_set["data"]["title"], ENT_HTML401, 'UTF-8'); ?>                                          [<? echo $result_set["data"]["id"]; ?>]&nbsp;主题:&nbsp;<? echo htmlspecialchars($result_set["data"]["title"], ENT_HTML401, 'UTF-8'); ?>
332                                  </td>                                  </td>
# Line 340  window.addEventListener("load", () => { Line 341  window.addEventListener("load", () => {
341                  {                  {
342  ?>  ?>
343                  <a name="<? echo $article["aid"]; ?>"></a>                  <a name="<? echo $article["aid"]; ?>"></a>
344                  <table bgcolor="<? echo $color[$color_index]; ?>" border="0" cellpadding="0" cellspacing="0" width="770">                  <table bgcolor="<? echo $color[$color_index]; ?>" border="0" cellpadding="0" cellspacing="0" width="1050">
345                          <tr height="1" bgcolor="#202020">                          <tr height="1" bgcolor="#202020">
346                                  <td colspan="3">                                  <td colspan="3">
347                                  </td>                                  </td>
# Line 349  window.addEventListener("load", () => { Line 350  window.addEventListener("load", () => {
350  <?  <?
351                  }                  }
352  ?>  ?>
353                  <table bgcolor="<? echo $color[$color_index]; ?>" border="0" cellpadding="0" cellspacing="10" width="770">                  <table bgcolor="<? echo $color[$color_index]; ?>" border="0" cellpadding="0" cellspacing="10" width="1050">
354                          <tr>                          <tr>
355                                  <td width="20%">                                  <td width="20%">
356                                  </td>                                  </td>
# Line 410  window.addEventListener("load", () => { Line 411  window.addEventListener("load", () => {
411                                          <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>
412  <?  <?
413                          }                          }
                         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>  
 <?  
                         }  
414                          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"]))
415                          {                          {
416  ?>  ?>
# Line 499  window.addEventListener("load", () => { Line 492  window.addEventListener("load", () => {
492                                          <img src="<? echo $article["photo_path"]; ?>" border="0">                                          <img src="<? echo $article["photo_path"]; ?>" border="0">
493                                  </td>                                  </td>
494                                  <td id="content_<? echo $article["aid"]; ?>" class="<? echo ($article["visible"] ? "content_normal" : "content_deleted"); ?>">                                  <td id="content_<? echo $article["aid"]; ?>" class="<? echo ($article["visible"] ? "content_normal" : "content_deleted"); ?>">
495                                          <? echo LML(htmlspecialchars((isset($article["content"]) ? $article["content"] : ""), ENT_HTML401, 'UTF-8'), true); ?>                                          <? echo LML(htmlspecialchars((isset($article["content"]) ? $article["content"] : ""), ENT_HTML401, 'UTF-8'), true, true, 80); ?>
496                                  </td>                                  </td>
497                                  <td>                                  <td>
498                                  </td>                                  </td>
# Line 561  window.addEventListener("load", () => { Line 554  window.addEventListener("load", () => {
554  <?  <?
555          }          }
556  ?>  ?>
557                  <table cols="3" border="0" cellpadding="5" cellspacing="0" width="770">                  <table cols="3" border="0" cellpadding="5" cellspacing="0" width="1050">
558                          <tr bgcolor="#d0d3F0" height="10">                          <tr bgcolor="#d0d3F0" height="10">
559                                  <td colspan="3">                                  <td colspan="3">
560                                  </td>                                  </td>
# Line 584  window.addEventListener("load", () => { Line 577  window.addEventListener("load", () => {
577          if ($result_set["data"]["page"] > 1)          if ($result_set["data"]["page"] > 1)
578          {          {
579  ?>  ?>
580                                          <a class="s8" title="首页" href="" onclick="return ch_page(1);"><font face=webdings>9</font></a>                                          <a class="s8" title="首页" href="" onclick="return ch_page(1);">|◀</a>
581                                          <a class="s8" title="上一页" href="" onclick="return ch_page(<? echo ($result_set["data"]["page"] - 1); ?>);"><font face=webdings>7</font></a>                                          <a class="s8" title="上一页" href="" onclick="return ch_page(<? echo ($result_set["data"]["page"] - 1); ?>);">◀</a>
582  <?  <?
583          }          }
584          else          else
585          {          {
586  ?>  ?>
587                                          <font face=webdings>9 7</font>                                          |◀ ◀
588  <?  <?
589          }          }
590  ?>  ?>
# Line 600  window.addEventListener("load", () => { Line 593  window.addEventListener("load", () => {
593          if ($result_set["data"]["page"] < $result_set["data"]["page_total"])          if ($result_set["data"]["page"] < $result_set["data"]["page_total"])
594          {          {
595  ?>  ?>
596                                          <a class="s8" title="下一页" href="" onclick="return ch_page(<? echo ($result_set["data"]["page"] + 1); ?>);"><font face=webdings>8</font></a>                                          <a class="s8" title="下一页" href="" onclick="return ch_page(<? echo ($result_set["data"]["page"] + 1); ?>);">▶</a>
597                                          <a class="s8" title="尾页" href="" onclick="return ch_page(<? echo ($result_set["data"]["page_total"]); ?>);"><font face=webdings>:</font></a>                                          <a class="s8" title="尾页" href="" onclick="return ch_page(<? echo ($result_set["data"]["page_total"]); ?>);">▶|</a>
598  <?  <?
599          }          }
600          else          else
601          {          {
602  ?>  ?>
603                                          <font face=webdings>8 :</font>                                          ▶ ▶|
604  <?  <?
605          }          }
606  ?>  ?>
# Line 637  window.addEventListener("load", () => { Line 630  window.addEventListener("load", () => {
630                  </table>                  </table>
631          </center>          </center>
632  <?  <?
         $display_ad = true;  
633          include "./foot.inc.php";          include "./foot.inc.php";
634  ?>  ?>
635  </body>  </body>


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

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