-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathh.html
67 lines (64 loc) · 3.12 KB
/
h.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>{$title}{$conf.title2}</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
<meta name="Keywords" content="{$conf.keywords}">
<meta name="Description" content="{$conf.description}">
<link rel="stylesheet" type="text/css" media="screen" href="{#WWW}View/v2ex/css/style.css" />
<!--[if (gte IE 9)|!(IE)]><!-->
<script src="{#WWW}public/js/jquery.min.js"></script>
<!--<![endif]-->
<!--[if lte IE 8 ]>
<script src="{#WWW}public/js/jquery1.11.3.min.js"></script>
<![endif]-->
<script>
var www = "{#WWW}{#RE}";
var WWW = "{#WWW}";
var exp = "{#EXP}";
</script>
<script src="{#WWW}public/js/app.js"></script>
<link href="{#WWW}public/css/alert.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="{#WWW}View/v2ex/css/icomoon.css" />
<!-- 好友系统资源文件 -->
<link href="{#WWW}public/css/friend.css" rel="stylesheet">
<script src="{#WWW}public/js/friend.js"></script>
</head>
<body>
<div id="Top">
<div class="content">
<div style="padding-top: 6px;">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="110" align="left">
<a href="{#WWW}" name="top" title="{$conf.logo}">
<img src="{#WWW}View/v2ex/images/[email protected]" border="0" align="default" alt="{$conf.title}" width="94" height="30" /></a>
</td>
<td width="auto" align="left">
<div id="Search"><form action="{php HYBBS_URL('search')}"><div style="width: 276px; height: 28px; background-size: 276px 28px; background-image: url('{#WWW}View/v2ex/images/[email protected]'); background-repeat: no-repeat; display: inline-block;"><input type="hidden" name="s" value="search"><input type="text" maxlength="40" name="key" id="q" value=""></div></form></div>
</td>
<td width="570" align="right" style="padding-top: 2px;">
<a href="" class="top">首页</a>
{if view_form('v2ex','diy_h')}
{php $tmp = explode("\r\n",view_form('v2ex','diy_h'))}
{foreach $tmp as $v}
{php $tmp1 = explode(",",$v)}
<a href="{$tmp1[0]}" {if $tmp1[2]==1}target="_blank"{/if}>{$tmp1[1]}</a>
{/foreach}
{/if}
{if !IS_LOGIN}
<a href="{php HYBBS_URL('user','add');}" class="top">注册</a>
<a href="{php HYBBS_URL('user','login');}" class="top">登录</a>
{else}
<a href="<?php HYBBS_URL('my',$user['user']);?>" class="top">{$user.user}</a>
<?php if($user['gid'] == C('ADMIN_GROUP')):?><a href="{php HYBBS_URL('admin')}" class="top">后台管理</a> {/if}
<a href="{php HYBBS_URL('my',$user['user']);}" class="top">设置</a>
<a href="{php HYBBS_URL('user','out');}" class="top">退出</a>
{/if}
</td>
</tr>
</table>
</div>
</div>
</div>