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

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

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

Revision 1.4 by sysadm, Wed Jun 18 05:11:02 2025 UTC Revision 1.12 by sysadm, Thu Oct 30 15:52:32 2025 UTC
# Line 5  Line 5 
5                  exit();                  exit();
6          }          }
7    
8            require_once "../lib/lml.inc.php";
9            require_once "../lib/str_process.inc.php";
10          require_once "../lib/astro.inc.php";          require_once "../lib/astro.inc.php";
11  ?>  ?>
12  <html>  <html>
# Line 290  window.addEventListener("load", () => { Line 292  window.addEventListener("load", () => {
292                                  <td>                                  <td>
293                                          <?= $result_set["data"]["last_tm"]->format("Y年m月d日 H:i:s"); ?>                                          <?= $result_set["data"]["last_tm"]->format("Y年m月d日 H:i:s"); ?>
294  <?php  <?php
295          switch($result_set["data"]["current_action"])          foreach($result_set["data"]["current_action"] as $current_action)
296          {          {
297                  case "MENU":                  switch($current_action)
298                          $current_action_name = "菜单选择";                  {
299                          break;                          case "MENU":
300                  case "VIEW_FILE":                                  $current_action_name = "菜单选择";
301                          $current_action_name = "查看文档";                                  break;
302                          break;                          case "LOGIN":
303                  case "VIEW_ARTICLE":                                  $current_action_name = "进入大厅";
304                          $current_action_name = "阅读文章";                                  break;
305                          break;                          case "USER_LIST":
306                  case "POST_ARTICLE":                                  $current_action_name = "查花名册";
307                          $current_action_name = "撰写文章";                                  break;
308                          break;                          case "USER_ONLINE":
309                  case "EDIT_ARTICLE":                                  $current_action_name = "环顾四周";
310                          $current_action_name = "修改文章";                                  break;
311                          break;                          case "VIEW_FILE":
312                  case "REPLY_ARTICLE":                                  $current_action_name = "查看文档";
313                          $current_action_name = "回复文章";                                  break;
314                          break;                          case "VIEW_ARTICLE":
315                  case "BBS_NET":                                  $current_action_name = "阅读文章";
316                          $current_action_name = "站点穿梭";                                  break;
317                          break;                          case "POST_ARTICLE":
318                  case "CHICKEN":                                  $current_action_name = "撰写文章";
319                          $current_action_name = "电子小鸡";                                  break;
320                          break;                          case "EDIT_ARTICLE":
321                  default:                                  $current_action_name = "修改文章";
322                          $current_action_name = "Web浏览";                                  break;
323          }                          case "REPLY_ARTICLE":
324                                    $current_action_name = "回复文章";
325                                    break;
326                            case "BBS_NET":
327                                    $current_action_name = "站点穿梭";
328                                    break;
329                            case "CHICKEN":
330                                    $current_action_name = "电子小鸡";
331                                    break;
332                            case "WWW":
333                                    $current_action_name = "Web浏览";
334                                    break;
335                            default:
336                                    $current_action_name = $current_action;
337                    }
338    
339          if ($current_action_name != "")                  if ($current_action_name != "")
340          {                  {
341                  echo " <font color=green>[" . $current_action_name . "]</font>";                          echo " <font color=green>[" . $current_action_name . "]</font>";
342                    }
343          }          }
344  ?>  ?>
345                                  </td>                                  </td>
# Line 443  window.addEventListener("load", () => { Line 460  window.addEventListener("load", () => {
460                                          <table border="0" cellspacing="0" cellpadding="0" width="80%">                                          <table border="0" cellspacing="0" cellpadding="0" width="80%">
461                                                  <tr>                                                  <tr>
462                                                          <td style="color:gray; font-size:14px;">                                                          <td style="color:gray; font-size:14px;">
463                                                                  <?= LML(htmlspecialchars($result_set["data"]["introduction"], ENT_HTML401, 'UTF-8'), true, true, 80); ?>                                                                  <pre><?= split_line(LML(htmlspecialchars($result_set["data"]["introduction"], ENT_HTML401, 'UTF-8'), true, 80 + 1), "", 80, 10); ?></pre>
464                                                          </td>                                                          </td>
465                                                  </tr>                                                  </tr>
466                                          </table>                                          </table>


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

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