/[LeafOK_CVS]/fenglin/www/head.inc.php
ViewVC logotype

Contents of /fenglin/www/head.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.22 - (show annotations)
Thu Jun 19 08:04:22 2025 UTC (8 months, 4 weeks ago) by sysadm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.21: +1 -0 lines
Update

1 <?php
2 echo <<<HTML
3 <table width="1050" border="0" cellpadding="0" cellspacing="0">
4 <tr height=5>
5 <td></td>
6 </tr>
7 <tr>
8 <td width="20">&nbsp;</td>
9 <td width="150" align="left">
10 <img src="/images/logo/fenglinonline.gif" width="130" height="50">
11 </td>
12 <td width="450" align="center">
13 </td>
14 <td width="100" align="right">
15 HTML;
16
17 if ($_SESSION["BBS_uid"] > 0)
18 {
19 echo <<<HTML
20 当前用户:{$_SESSION["BBS_username"]}<br />
21 [<a href="/bbs/logout.php">退出登录</a>]
22 HTML;
23 }
24 else
25 {
26 echo <<<HTML
27 [<a href="/bbs/">用户登录</a>]<br />
28 [<a href="/bbs/user_reg.php">我要注册</a>]
29 HTML;
30 }
31
32 $current_time = (new DateTimeImmutable("", $_SESSION["BBS_user_tz"]))->format("Y-m-d H:i");
33
34 echo <<<HTML
35 </td>
36 <td width="20">
37 </td>
38 </tr>
39 <tr height=5>
40 <td></td>
41 </tr>
42 </table>
43 <table width="1050" border="0" cellpadding="0" cellspacing="0">
44 <tr class="guide_bar">
45 <td width="20">&nbsp;</td>
46 <td width="500"><a href="home.php" class="guide">首 页</a>
47 | <a href="excerption.php" class="guide">精品荟萃</a>
48 | <a href="about_us.php" class="guide">关于我们</a>
49 </td>
50 <td width="220" align="right">
51 <a href="" class="guide" onclick="return false">{$current_time}</a>
52 </td>
53 <td width="20">&nbsp;</td>
54 </tr>
55 </table>
56 HTML;

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