📄 index.asp
字号:
<!--#include file="../../common.asp" -->
<%
if trim(request("blog_id"))="" then
if not isEmpty(userObj.blog) then
if not isEmpty(userObj.blog.blogId) then
call closeDB()
response.redirect "index.asp?blog_id=" & userObj.blog.blogId
response.end
end if
end if
end if
dim i, count,title_trim, user_name_trim, pageNo,display_content
dim blogItem, blogItems
dim start_date_str, end_date_str, insert_time_str
dim date_str, last_date_str
dim item, topItems
dim comment, topComments
dim blogCat, blogCats
dim linkGroup, linkGroups
dim link, links, linkCount, linkIndex
dim mlHost, hostedBlogs
pageNo = trim(request("pageno"))
if pageNo<>"" then
pageNo = clng(pageNo)
else
pageNo = 1
end if
if pageNo<1 then
pageNo=1
end if
%>
<HTML><HEAD><TITLE><%=blogObj.blogTitle%></TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META name="robots" content="noindex,follow">
<style type="text/css">
body {
margin: 0px 0px 20px 0px;
background-color: #f0ffff;
text-align: left;
font-size:x-small;
line-height: 150%;
}
font {
line-height:150%;
}
a {
text-decoration: none;
}
a:link {
color: #346784;
}
a:visited {
color: #346784;
}
a:active {
color: #346784;
}
a:hover {
color: #999999;
}
h1, h2, h3 {
margin: 0px;
padding: 0px;
font-weight: normal;
}
#container {
margin-right: auto;
margin-left: auto;
text-align: left;
padding: 0px;
width: 770px;
padding-left: 15px ;
padding-right: 15px ;
background-color: #FFFFFF;
}
#banner {
PADDING-RIGHT: 15px; PADDING-LEFT: 15px; PADDING-TOP: 5px; PADDING-BOTTOM: 5px; COLOR: #003366;BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #6699cc 1px dashed; FONT-FAMILY: 'Trebuchet MS', Verdana, sans-serif; TEXT-ALIGN: left
}
#banner a {
color: #005d84;
text-decoration: none;
}
#banner h1 {
font-family: Verdana, Arial;
font-size: small;
font-weight: bold;
PADDING-BOTTOM: 5px;
color:#005d84
}
#banner h2 {
PADDING-LEFT: 30px;
font-size: x-small;
color:#999999
}
#left {
float:left;
width: 180px;
background-color: transparent;
overflow : hidden;
}
#right {
float:right;
text-align:right;
margin-top: 20px;
width: 120px;
background-color: transparent;
overflow: hidden;
}
#center {
margin-left: 180px;
margin-right: 0px;
width:550px;
font-size: x-small;
border: 0px dashed #98ccd0;
}
.sidebar {
}
.tools {
padding: 15px 15px 5px 15px;
font-size:x-small;
text-align:right;
}
.content {
padding: 15px 15px 5px 15px;
background-color: transparent;
border: 1px dashed #98ccd0;
font-family: Verdana, Arial, sans-serif;
font-size: x-small;
width:550px;
overflow : hidden;
}
.content blockquote {
line-height: 150%;
}
.content li {
line-height: 150%;
}
.content h2 {
color: #666666;
font-family: Verdana, Arial, sans-serif;
font-family: Georgia, 'Times New Roman', Verdana;
font-size: x-small;
text-align: left;
font-weight: bold;
margin-bottom: 10px;
}
.content h3 {
color: #005d84;
font-family: Georgia, 'Times New Roman', serif;
font-size: x-small;
text-align: left;
font-weight: bold;
letter-spacing: 1pt;
margin-bottom: 10px;
}
.content div{
color: #444444;
font-family: Verdana, Arial, sans-serif;
font-size: x-small;
font-weight: normal;
line-height: 150%;
text-align: left;
}
.content div.posted {
color: #999999;
font-family: Verdana, Arial, sans-serif;
font-size: x-small;
text-align: right;
margin-bottom: 25px;
line-height: normal;
padding-bottom: 15px;
BORDER-BOTTOM: #98ccd0 1px dotted;
}
#calendar {
line-height: 140%;
color: #000000;
font-family: Arial, sans-serif;
font-size: x-small;
padding: 2px;
text-align: center;
margin-bottom: 30px;
}
#calendar table {
padding: 2px;
border-collapse: collapse;
border: 0px;
width: 100%;
}
#calendar caption {
color: #000000;
font-family: Arial, sans-serif;
font-size: small;
text-align: left;
font-weight: bold;
letter-spacing: .3em;
}
#calendar th {
text-align: center;
font-weight: normal;
}
#calendar td {
text-align: center;
}
.sidebar h2 {
color: #000000;
font-family: Arial, sans-serif;
font-size: x-small;
text-align: left;
font-weight: bold;
letter-spacing: .3em;
}
.sidebar ul {
padding-left: 0px;
margin: 0px;
margin-bottom: 30px;
}
.sidebar li {
color: #000000;
font-family: Arial, sans-serif;
font-size: x-small;
text-align: left;
line-height: 150%;
margin-top: 8px;
list-style-type: none;
}
.sidebar img {
border: 0px solid #FFFFFF;
}
.photo {
text-align: left;
margin-bottom: 20px;
}
.link-note {
font-family: Arial, sans-serif;
font-size: x-small;
line-height: 150%;
text-align: left;
padding: 2px;
margin-bottom: 15px;
}
#powered {
font-family: Arial, sans-serif;
font-size: x-small;
line-height: 150%;
text-align: left;
color: #000000;
margin-top: 50px;
}
#comment-data {
float: left;
width: 180px;
padding-right: 15px;
margin-right: 15px;
text-align: left;
border-right: 1px dotted #BBB;
}
TD{
font-size:x-small;
}
INP UT {
BORDER-RIGHT: #98ccd0 1px dotted; BORDER-TOP: #98ccd0 1px dotted; FONT-SIZE: x-small; BORDER-LEFT: #98ccd0 1px dotted; COLOR: #666666; BORDER-BOTTOM: #98ccd0 1px dotted; FONT-FAMILY: "Verdana"; BACKGROUND-COLOR: transparent
}
SELECT {
BORDER-RIGHT: #98ccd0 1px dotted; BORDER-TOP: #98ccd0 1px dotted; FONT-SIZE: x-small; BORDER-LEFT: #98ccd0 1px dotted; COLOR: #666666; BORDER-BOTTOM: #98ccd0 1px dotted; FONT-FAMILY: "Verdana"; BACKGROUND-COLOR: transparent
}
TEXTAREA {
BORDER-RIGHT: #98ccd0 1px dotted; BORDER-TOP: #98ccd0 1px dotted; FONT-SIZE: x-small; BORDER-LEFT: #98ccd0 1px dotted; COLOR: #666666; BORDER-BOTTOM: #98ccd0 1px dotted; FONT-FAMILY: "Verdana"; BACKGROUND-COLOR: transparent
}
BUTTON {
BORDER-RIGHT: #98ccd0 1px dotted; BORDER-TOP: #98ccd0 1px dotted; FONT-SIZE: x-small; BORDER-LEFT: #98ccd0 1px dotted; COLOR: #666666; BORDER-BOTTOM: #98ccd0 1px solid; FONT-FAMILY: "Verdana"; BACKGROUND-COLOR: transparent
}
</style>
<SCRIPT language="javascript">
function showReply(content_id){
window.open("reply.asp?blog_id=1&cat_id=1&pageno=&content_id="+content_id);
}
function switchDisplay(content_id){
try{
var content_obj = document.getElementById("content_"+content_id);
var keywords_obj = document.getElementById("keywords_"+content_id);
var more_obj = document.getElementById("more_"+content_id);
var less_obj = document.getElementById("less_"+content_id);
if (content_obj.style.display=="block"){
content_obj.style.display="none";
//keywords_obj.style.display="block";
more_obj.style.display="block";
less_obj.style.display="none";
}else{
content_obj.style.display="block";
//keywords_obj.style.display="none";
more_obj.style.display="none";
less_obj.style.display="block";
}
}catch(e){
alert(e.description)
}
}
</SCRIPT>
</HEAD>
<BODY bgProperties=fixed topMargin=2 onload="">
<center>
<DIV id=container>
<DIV id=banner>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -