head.asp

来自「留言 留言本采用asp+access数据结构」· ASP 代码 · 共 46 行

ASP
46
字号
<!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> 
<%
set rs=server.createobject("adodb.recordset") 
sql="select * from config where id=1"
rs.open sql,conn,1,3
do until rs.eof
%>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=rs("bookname")%></title>
    <meta name="robots" content="all" />
	<meta name="author" content="<%=rs("meta_author")%>" />
	<meta name="Copyright" content="<%=rs("meta_Copyright")%>" />
	<meta name="keywords" content="<%=rs("meta_keywords")%>" />
	<meta name="description" content="<%=rs("meta_description")%>" />
    <link href="skin/<%=rs("skin")%>/css.css" rel="stylesheet" type="text/css" />
<link href="images/editor.css" rel="stylesheet" type="text/css" />
<script src="images/common.js" type="text/javascript"></script>


    
</head>
<body>
<div id="container">
<div id="header">
 <% if system("names")=1 then %>  
    <div id="blogname"><%=rs("bookname")%></div>
    <% end if%>  
     <% if system("titles")=1 then %>  
    <div id="blogtitle"><a href="<%=rs("bookurl")%>"><%=rs("booktitle")%></a> </div>
     <% end if%>  
        <%
rs.movenext 
loop
%>
    <div id="menu"><div class="menuleft"><% call menu%></div><div class="menuright"><% if session("adminname") <> "" Then %>欢迎你,<strong><font color="#FF0000"><%=session("adminname")%></font></strong>
          <%else%>欢迎你,<strong><font color="#FF0000">游客</font></strong><%end if%></div></div>
    <% if system("gonggaos")=1 then %>  
    <div id="gonggao"><% call gonggao%></div>
    <%end if%>
     <div id="ads"><% call ads%></div> 
  <!-- end #header --></div>
  
  </br>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?