/[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.7 by sysadm, Wed Oct 22 04:57:43 2025 UTC Revision 1.19 by sysadm, Thu Jan 22 04:25:56 2026 UTC
# Line 5  Line 5 
5                  exit();                  exit();
6          }          }
7    
8            require_once "../lib/common.inc.php";
9            require_once "../lib/lml.inc.php";
10            require_once "../lib/str_process.inc.php";
11          require_once "../lib/astro.inc.php";          require_once "../lib/astro.inc.php";
12  ?>  ?>
13  <html>  <html>
# Line 292  window.addEventListener("load", () => { Line 295  window.addEventListener("load", () => {
295  <?php  <?php
296          foreach($result_set["data"]["current_action"] as $current_action)          foreach($result_set["data"]["current_action"] as $current_action)
297          {          {
298                  switch($current_action)                  $current_action_name = (isset($BBS_user_actions[$current_action]) ? $BBS_user_actions[$current_action] : $current_action);
                 {  
                         case "MENU":  
                                 $current_action_name = "菜单选择";  
                                 break;  
                         case "USER_LIST":  
                                 $current_action_name = "查花名册";  
                                 break;  
                         case "USER_ONLINE":  
                                 $current_action_name = "环顾四周";  
                                 break;  
                         case "VIEW_FILE":  
                                 $current_action_name = "查看文档";  
                                 break;  
                         case "VIEW_ARTICLE":  
                                 $current_action_name = "阅读文章";  
                                 break;  
                         case "POST_ARTICLE":  
                                 $current_action_name = "撰写文章";  
                                 break;  
                         case "EDIT_ARTICLE":  
                                 $current_action_name = "修改文章";  
                                 break;  
                         case "REPLY_ARTICLE":  
                                 $current_action_name = "回复文章";  
                                 break;  
                         case "BBS_NET":  
                                 $current_action_name = "站点穿梭";  
                                 break;  
                         case "CHICKEN":  
                                 $current_action_name = "电子小鸡";  
                                 break;  
                         case "":  
                                 $current_action_name = "Web浏览";  
                                 break;  
                         default:  
                                 $current_action_name = $current_action;  
                 }  
   
299                  if ($current_action_name != "")                  if ($current_action_name != "")
300                  {                  {
301                          echo " <font color=green>[" . $current_action_name . "]</font>";                          echo " <font color=green>[" . $current_action_name . "]</font>";
# Line 455  window.addEventListener("load", () => { Line 420  window.addEventListener("load", () => {
420                                          <table border="0" cellspacing="0" cellpadding="0" width="80%">                                          <table border="0" cellspacing="0" cellpadding="0" width="80%">
421                                                  <tr>                                                  <tr>
422                                                          <td style="color:gray; font-size:14px;">                                                          <td style="color:gray; font-size:14px;">
423                                                                  <?= LML(htmlspecialchars($result_set["data"]["introduction"], ENT_HTML401, 'UTF-8'), true, true, 80); ?>                                                                  <pre><?= split_line(LML($result_set["data"]["introduction"], 80), "", 0, 10); ?></pre>
424                                                          </td>                                                          </td>
425                                                  </tr>                                                  </tr>
426                                          </table>                                          </table>


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

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