/[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.2 by sysadm, Wed Apr 23 10:59:42 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 12  Line 14 
14  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
15  <title>查看用户资料</title>  <title>查看用户资料</title>
16  <link rel="stylesheet" href="<?= get_theme_file('css/default'); ?>" type="text/css">  <link rel="stylesheet" href="<?= get_theme_file('css/default'); ?>" type="text/css">
 <script type="text/javascript" src="../js/img_adjust.js"></script>  
17  <script src="../js/polyfill.min.js"></script>  <script src="../js/polyfill.min.js"></script>
18  <script src="../js/axios.min.js"></script>  <script src="../js/axios.min.js"></script>
19  <script type="text/javascript">  <script type="text/javascript">
# Line 290  window.addEventListener("load", () => { Line 291  window.addEventListener("load", () => {
291                                  </td>                                  </td>
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
295            foreach($result_set["data"]["current_action"] as $current_action)
296            {
297                    switch($current_action)
298                    {
299                            case "MENU":
300                                    $current_action_name = "菜单选择";
301                                    break;
302                            case "LOGIN":
303                                    $current_action_name = "进入大厅";
304                                    break;
305                            case "USER_LIST":
306                                    $current_action_name = "查花名册";
307                                    break;
308                            case "USER_ONLINE":
309                                    $current_action_name = "环顾四周";
310                                    break;
311                            case "VIEW_FILE":
312                                    $current_action_name = "查看文档";
313                                    break;
314                            case "VIEW_ARTICLE":
315                                    $current_action_name = "阅读文章";
316                                    break;
317                            case "POST_ARTICLE":
318                                    $current_action_name = "撰写文章";
319                                    break;
320                            case "EDIT_ARTICLE":
321                                    $current_action_name = "修改文章";
322                                    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 != "")
340                    {
341                            echo " <font color=green>[" . $current_action_name . "]</font>";
342                    }
343            }
344    ?>
345                                  </td>                                  </td>
346                          </tr>                          </tr>
347                          <tr>                          <tr>
# Line 408  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