-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.asp
176 lines (172 loc) · 7.34 KB
/
index.asp
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!--#include file="handler/base.asp"-->
<div class="container">
<div class="row-fluid content part0">
<div id="myCarousel" class="carousel slide span8">
<div class="carousel-inner">
<%
set rs11 = conn.execute("select top 4 * from (select top 10 title ,img_url, create_time from news where img_url is not null union select top 10 title, img_url, create_time from article where img_url is not null ) order by create_time desc ")
if not (rs11.eof and rs11.bof) then
rs11.movefirst
%>
<div class="active item">
<img src="<%=rs11.fields("img_url")%>" alt />
<div class="carousel-caption">
<h4><%=rs11.fields("title")%></h4>
</div>
</div>
<%
rs11.movenext
do while not rs11.eof
%>
<div class="item">
<img src="<%=rs11.fields("img_url")%>" alt />
<div class="carousel-caption">
<h4><%=rs11.fields("title")%></h4>
</div>
</div>
<%
rs11.movenext
loop
rs11.close
set rs11=nothing
else %>
<div class="active item">
<img src="content/img/item01.png" alt />
<div class="carousel-caption">
<h4>图片说明1</h4>
</div>
</div>
<div class="item">
<img src="content/img/item02.png" alt />
<div class="carousel-caption">
<h4>图片说明2</h4>
</div>
</div>
<div class="item">
<img src="content/img/item03.png" alt />
<div class="carousel-caption">
<h4>图片说明3</h4>
</div>
</div>
<div class="item">
<img src="content/img/item04.png" alt />
<div class="carousel-caption">
<h4>图片说明4</h4>
</div>
</div>
<% end if%>
</div>
<!-- Carousel nav -->
<a class="carousel-control left" href="#myCarousel" data-slide="prev">‹</a>
<a class="carousel-control right" href="#myCarousel" data-slide="next">›</a>
</div>
<div class="span3 news">
<div class="more" style="background: url('content/img/news_bg.png') left bottom no-repeat;">
<h4><i class="icon-th-list" style="margin-right:5px;"></i>学院要闻</h4>
<a href="other.asp?type=news"><img src="content/img/more.gif" /></a>
</div>
<ul class="unstyled">
<%
set rs12 = conn.execute("select top 2 id,title ,abstract from news order by create_time desc")
if not (rs12.eof and rs12.bof) then
rs12.movefirst
do while not rs12.eof
%>
<li>
<a href='other.asp?type=news&id=<%=rs12.fields("id")%>'>
<h5><%=cutstr(rs12.fields("title"),30)%></h5>
<p><%=cutstr(rs12.fields("abstract"),50)%></p>
</a>
</li>
<%
rs12.movenext
loop
rs12.close
set rs12=nothing
end if
%>
</ul>
</div>
</div>
<div class="row-fluid part1" style="margin-top:8px;">
<div class="span3">
<div class="content pic_nav row" >
<ul>
<li><a href="http://oa.swfu.edu.cn/thinkeroa/"><img src="content/img/dh_01.png" alt="OA办公系统" /></a><br/>OA系统</li>
<li><a href="other.asp?type=mail"><img src="content/img/dh_02.png" alt="领导信箱" /></a><br/>领导信箱</li>
<li><a href="http://202.203.132.10:8080/postLetterInfoAction.do?method=seachPostByUserNameFramer&userName=&postNumber=133"><img src="content/img/dh_03.png" alt="邮件查询" /></a><br/>邮件查询</li>
<li><a href="http://lib.swfc.edu.cn/"><img src="content/img/dh_04.png" alt="图书资源" /></a><br/>图书资源</li>
<li><a href="other.asp?type=recruit"><img src="content/img/dh_05.png" alt="人事招聘" /></a><br/>人事招聘</li>
<li><a href="other.asp?type=calendar"><img src="content/img/dh_06.png" alt="校历" /></a><br \>校历</li>
</ul>
</div>
<div class="row content" style="width:220px;">
<img src="content/img/zs.png" />
</div>
</div>
<div class="span5">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab11" data-toggle="tab">西林公告</a></li>
<li><a href="#tab12" data-toggle="tab">科研动态</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="tab11">
<ul class="unstyled science">
<%
set rs13 = conn.execute("select top 4 title ,url from notice where type=1 order by create_time desc, id")
if not (rs13.eof and rs13.bof) then
rs13.movefirst
do while not rs13.eof
%>
<li><a href="<%=rs13.fields("url")%>"><%=cutstr(rs13.fields("title"),20)%></a></li>
<%
rs13.movenext
loop
rs13.close
set rs13=nothing
end if
%>
</ul>
</div>
<div class="tab-pane" id="tab12">
<ul class="unstyled science">
<%
set rs13 = conn.execute("select top 4 title ,url from science order by create_time desc, id")
if not (rs13.eof and rs13.bof) then
rs13.movefirst
do while not rs13.eof
%>
<li><a href="<%=rs13.fields("url")%>"><%=cutstr(rs13.fields("title"),20)%></a></li>
<%
rs13.movenext
loop
rs13.close
set rs13=nothing
end if
%>
</ul>
</div>
</div>
</div>
<div class="span4 tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab21" data-toggle="tab">学院通知</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="tab21">
<ul class="unstyled notice">
<!--#include file="handler/query_art.asp"-->
<%
set list_notice = new viewArt
call list_notice.query_notice()
%>
</ul>
<div class="more" >
<a href="other.asp?type=notice"><img src="content/img/more2.gif" /></a>
</div>
</div>
</div>
</div>
</div>
</div>
<!--#include file="handler/footer.asp"-->