-
Notifications
You must be signed in to change notification settings - Fork 0
/
readdiary.asp
158 lines (149 loc) · 4.99 KB
/
readdiary.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
<!--#include file="config/config.asp"-->
<!--#include file="config/function.asp"-->
<!--#include file="config/topweb.asp"-->
<%
dim operate,id,diaryValue(12),dclassValue(5)
operate=safeInstr(request.QueryString("operate"))
id=request.QueryString("id")
if operate="read" and id<>"" then
id=safeRequest(id)
DBopen("record/#step.mdb")
call config()
call readDiary()
call readDclass()
else
response.End()
end if
%>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%=diaryValue(2)%></title>
<meta name="keywords" content="<%=diaryValue(6)%>" />
<meta name="description" content="<%=diaryValue(6)%>"/>
<link href="css/import.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/jscrollpane1.css" />
<script type="text/javascript" src="script/jquery-1.4.2.min.js"></script>
<!-- the mousewheel plugin -->
<script type="text/javascript" src="script/jquery.mousewheel.js"></script>
<!-- the jScrollPane script -->
<script type="text/javascript" src="script/jquery.jscrollpane.min.js"></script>
<script type="text/javascript" src="script/scroll-startstop.events.jquery.js"></script>
<script language="javascript" src="script/page-scroll.js" type="text/javascript"></script>
<style>
#readdiary
{
background-image: url(<%=dclassValue(2)%>);
background-repeat: no-repeat;
}
.localtion-nav
{ color: <%=diaryValue(4)%>;
background-image: url(<%=dclassValue(3)%>);
background-repeat: repeat;
}
.jp-container{
width: 890px;
height: 480px;
overflow: hidden;
margin: 0px;
padding-top: 10px;
position: absolute;
background-image: url(<%=dclassValue(3)%> );
background-repeat: repeat;
top: 37px;
right: 30px;
padding-right: 20px;
padding-left: 10px;
text-align: left;
}
#jp-container h2 {
font-family: <%=diaryValue(3)%>;
color: <%=diaryValue(4)%>;
font-size: <%=diaryValue(5)%>px;
line-height: 32px;
font-weight: bolder;
text-align: center;
}
#jp-container h3 {
font-family: "宋体";
font-size: 12px;
color:<%=diaryValue(4)%>;
line-height: 25px;
font-weight: normal;
text-align: center;
word-spacing: 20px;
}
#page {
background-image:url(<%=dclassValue(3)%> );
background-repeat: repeat;
color: <%=diaryValue(4)%>;
}
.pro {
display: block;
margin: 0px;
padding: 0px;
float: left;
width: 49%;
height: 35px;
text-align: left;
text-indent: 1em;
font-family: "宋体";
font-size: 12px;
line-height: 35px;
}
.pro a {
color: <%=diaryValue(4)%>;
text-decoration: none;
}
.pro a:hover {
text-decoration: underline;
}
.next {
text-align: right;
display: block;
margin: 0px;
padding: 0px;
float: left;
width: 49%;
}
.next a {
color: <%=diaryValue(4)%>;
text-decoration: none;
}
.next a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div id="layout">
<div id="topbody">网站名称:<%=valueArray(1)%> <a href="javascript:viod(0);" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('<%=valueArray(4)%>');return false;">设为首页</a><strong>|</strong><a href="javascript:window.external.Addfavorite('<%=valueArray(4)%>')">加入收藏</a></div>
<!--end topbody-->
<div id="mainbody">
<div id="navd">
<div id="logo"><a href="<%=valueArray(4)%>" target="_self"><img src="<%=valueArray(3)%>" width="200" height="100" style="border:0px"/></a></div>
<div id="link"><a href="index.asp">[首页]</a> <a href="aboutme.asp" target="_self">[那些年的我]</a> <a href="mydiary.asp" target="_self">[那些年的日记]</a> <a href="myphoto.asp" target="_self">[那些年的相片]</a> <a href="myvideo.asp" target="_self">[那些年的影像]</a> <a href="contact.asp" target="_self">[联系我]</a> </div></div>
<!--end navd-->
<div id="readdiary">
<span class="titleimg"><img src="images/readdiary.png" width="120" height="33" /></span><span class="localtion-nav">当前位置:首页->那些年的日记-><%=dclassValue(1)%></span>
<div id="jp-container" class="jp-container">
<h2><%=getSubString(diaryValue(2),30)%></h2>
<h3>作者:<%=getSubString(diaryValue(7),5)%> 来源:<%=getSubString(diaryValue(8),10)%> 时间:<%=FormatTime(diaryValue(11),"yyyy-mm-dd hh:nn")%></h3>
<%=diaryValue(10)%>
</div>
<!--end jp-container-->
<div id="page"><span class="pro">上一篇:<%call proRead()%></span><span class="next">下一篇:<%call nextRead()%></span></div>
</div>
<!--end readdiary-->
</div>
<!--end mainbody-->
<div id="footbody">
<span class="copyright">©</span> <%=valueArray(1)%>|<%=valueArray(7)%><br/> |<a href="description.html" target="_blank">网站声明</a>|<a href="contact.asp" target="_blank">联系我</a>|
</div>
<!--end footbody-->
</div>
<!--end layout-->
</body>
</html>
<%DBclose()%>