/[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.20 - (show annotations)
Sun Apr 27 03:59:22 2025 UTC (10 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.19: +3 -3 lines
Refine

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 </td>
49 <td width="220" align="right">
50 <a href="" class="guide" onclick="return false">{$current_time}</a>
51 </td>
52 <td width="20">&nbsp;</td>
53 </tr>
54 </table>
55 HTML;
56 ?>

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