-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathheader.php
129 lines (124 loc) · 6.7 KB
/
header.php
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
<?php
if(is_home())
{
bloginfo('name');
}
elseif(is_category())
{
single_cat_title();
echo ' - ';
bloginfo('name');
}
elseif(is_search())
{
echo "搜索结果 - ";
bloginfo('name');
}
elseif(is_404())
{
echo "页面不存在";
}
else{
wp_title('',true);
}
?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="keywords" content="先锋网-共青团东北大学委员会" />
<meta name="description" content="先锋网-共青团东北大学委员会,此处需描述" />
<link href="<?php bloginfo('template_url'); ?>/css/style.css" rel="stylesheet" />
<?php if(is_single()):?>
<link href="<?php bloginfo('template_url'); ?>/css/contentpagestyle2.css" rel="stylesheet"/>
<?php endif;?>
<?php if(is_page()):?>
<link href="<?php bloginfo('template_url'); ?>/css/contentpagestyle1.css" rel="stylesheet"/>
<?php endif;?>
<?php if(is_search()):?>
<link href="<?php bloginfo('template_url'); ?>/css/search.css" rel="stylesheet"/>
<link href="<?php bloginfo('template_url'); ?>/css/listpagestyle.css" rel="stylesheet"/>
<?php endif;?>
<?php if(is_category()):?>
<link href="<?php bloginfo('template_url'); ?>/css/listpagestyle.css" rel="stylesheet"/>
<?php endif;?>
<!-- 效果开始 -->
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/tabqh.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/slideshow.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/slide.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/mag.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/kxbdmarquee.js"></script>
<!-- 效果结束 -->
</head>
<body>
<table width="1280" border="0" align="center" cellpadding="0" cellspacing="0" style="background-color: #a4060e">
<tr style="border: 0">
<td><a href="<?php echo get_option('home'); ?>" target="_self"><img src="<?php bloginfo('template_url'); ?>/images/top-left.jpg" height="185" /></a></td>
<td >
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%">
<param name="movie" value="<?php bloginfo('template_url'); ?>/images/top.swf" />
<param name="quality" value="high" />
<PARAM NAME="SCALE" VALUE="exactfit">
<embed src="<?php bloginfo('template_url'); ?>/images/top.swf" quality="high" type="application/x-shockwave-flash" width="865px" height="185px" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</td>
</tr>
</table>
<!-- 导航条开始 -->
<div id="menu">
<ul id="nav">
<li class="mainlevel" id="mainlevel_01"><a href="<?php echo get_option('home'); ?>" target="_self">先锋首页</a> </li>
<li class="mainlevel" id="mainlevel_02"><a href="<?php echo get_option('home'); ?>/团委简介" target="_blank">东大共青团</a>
<ul id="sub_02">
<li><a href="<?php echo get_option('home'); ?>/团委简介" target="_blank">团委简介</a></li>
<li><a href="<?php echo get_option('home'); ?>/组织架构" target="_blank">组织架构</a></li>
<li><a href="<?php echo get_option('home'); ?>/人员概况" target="_blank">人员概况</a></li>
<li><a href="<?php echo get_option('home'); ?>/职能部门" target="_blank">职能部门</a></li>
</ul>
</li>
<li class="mainlevel" id="mainlevel_03"><a href="<?php echo get_option('home'); ?>/思想教育中心" target="_blank">学生组织</a>
<ul id="sub_03">
<li><a href="<?php echo get_option('home'); ?>/学生会" target="_blank">学生会</a></li>
<li><a href="<?php echo get_option('home'); ?>/研究生会" target="_blank">研究生会</a></li>
<li><a href="<?php echo get_option('home'); ?>/社团联合会" target="_blank">社团联合会</a></li>
<li><a href="<?php echo get_option('home'); ?>/大学生志愿者协会" target="_blank">大学生志愿者协会</a></li>
<li><a href="<?php echo get_option('home'); ?>/思想教育中心" target="_blank">思想教育中心</a></li>
<li><a href="<?php echo get_option('home'); ?>/青年新媒体中心" target="_blank">青年新媒体中心</a></li>
<li><a href="<?php echo get_option('home'); ?>/先锋网络中心" target="_blank">先锋网络中心</a></li>
<li><a href="<?php echo get_option('home'); ?>/社会实践中心" target="_blank">社会实践中心</a></li>
<li><a href="<?php echo get_option('home'); ?>/能力拓展中心" target="_blank">能力拓展中心</a></li>
<li><a href="<?php echo get_option('home'); ?>/文化艺术中心" target="_blank">文化艺术中心</a></li>
</ul>
</li>
<li class="mainlevel" id="mainlevel_04"><a href="http://tzb.neupioneer.com" target="_blank">网上团支部</a></li>
<li class="mainlevel" id="mainlevel_05"><a href="http://neu.ln.qnzs.youth.cn/wsgqt/index" target="_blank">青年之声</a></li>
<li class="mainlevel" id="mainlevel_06"><a href="http://sct.neu.edu.cn/" target="_blank">第二课堂成绩单</a></li>
<li class="mainlevel" id="mainlevel_07"><a href="http://bbs.neupioneer.com" target="_blank">先锋论坛</a></li>
<li class="mainlevel" id="mainlevel_08"><a href="<?php echo get_option('home'); ?>/category/文件下载" target="_blank">文件下载</a></li>
<li class="jquery_out" style="padding-left:14px;padding-right:10px;">
<form method="get" id="searchform" action="<?php echo get_option('home'); ?>">
<table class="search" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<input type="text" class="box" name="s" id="s" placeholder="" >
</td>
<td>
<button class="btn" title="SEARCH" type="submit" >搜索</button>
</td>
</tr>
</table>
</form>
</li>
<div class="clear"></div>
</ul>
</div>
<!-- 导航条结束 -->
<table width="1280" height="12" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="10"></td>
</tr>
</table>