/[LeafOK_CVS]/fenglin/bbs/search_user.php
ViewVC logotype

Diff of /fenglin/bbs/search_user.php

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

Revision 1.19 by sysadm, Sat Apr 5 15:19:16 2025 UTC Revision 1.21 by sysadm, Sun Apr 6 08:16:26 2025 UTC
# Line 226  while ($row = mysqli_fetch_array($rs)) Line 226  while ($row = mysqli_fetch_array($rs))
226  ?>  ?>
227                                          </td>                                          </td>
228                                          <td class="username">                                          <td class="username">
229                                                  <a class="s2" href="" onclick="return show_profile(<? echo $row["UID"]; ?>);"><? echo $row["username"]; ?></a>                                                  <a class="s2" href="show_profile.php?uid=<? echo $row["UID"]; ?>" target=_blank><? echo $row["username"]; ?></a>
230                                          </td>                                          </td>
231                                          <td class="dark">                                          <td class="dark">
232                                                  <? echo $row["nickname"]; ?>                                                  <? echo $row["nickname"]; ?>
# Line 235  while ($row = mysqli_fetch_array($rs)) Line 235  while ($row = mysqli_fetch_array($rs))
235                                                  <? echo user_level($row["exp"]); ?>                                                  <? echo user_level($row["exp"]); ?>
236                                          </td>                                          </td>
237                                          <td class="login_dt">                                          <td class="login_dt">
238                                                  <? echo $row["last_login_dt"]; ?>                                                  <? echo (new DateTimeImmutable($row["last_login_dt"]))->setTimezone($_SESSION["BBS_user_tz"])->format("Y-m-d H:i:s"); ?>
239                                          </td>                                          </td>
240                                          <td class="level">                                          <td class="level">
241  <?  <?
242          if ($_SESSION["BBS_priv"]->checkpriv(0, S_MSG))          if ($_SESSION["BBS_priv"]->checkpriv(0, S_MSG))
243          {          {
244  ?>  ?>
245                                                  <a class="s2" href="" onclick="return NW_open('send_msg.php?user_id=<? echo $row["UID"]; ?>', 'send_msg', 500, 300);">发送消息</a>                                                  <a class="s2" href="" onclick="return NW_open('send_msg.php?uid=<? echo $row["UID"]; ?>', 'send_msg', 500, 300);">发送消息</a>
246  <?  <?
247          }          }
248  ?>  ?>


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

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