⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 article.asp

📁 雨后文章系统V10.04 演示http://dajia.cashome.com/mycode 管理用户密码:admin
💻 ASP
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>铁吧——Tie8_管理界面</title>
<% 
dim conn,rs,strsql,title,content,author,tuijian,classid
title=request.form("title")
content=request.form("content")
author=request.form("author")
tuijian=request.form("tuijian")
classid=request.form("class")
set conn=Server.CreateObject("ADODB.Connection")
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & server.mappath("db\db.mdb")
set rs=server.CreateObject("ADODB.Recordset")
strsql="insert into article(title,content,author,tuijian,classid,visitnum) values('"&title&"','"&content&"','"&author&"','"&tuijian&"','"&classid&"',0)"
%>
<link href="css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {font-size: 14px}
.style9 {font-family: "隶书"; font-size: 12px;}
body,td,th {
	font-size: 12px;
	color: #CCCCCC;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
	color: #CC3300;
}
body {
	background-color: #003399;
}
-->
</style>
</head>

<body>
<table width="779" height="80" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#003399">
  <tr>
    <td width="152"><img src="img/logo.gif" width="150" height="80"></td>
   <td width="620" valign="bottom" align="right"><table width="100%" border="0" align="left" cellpadding="0" cellspacing="0"  bgcolor="#003399">
     <tr>
      <td><A onclick="this.style.behavior='url(#default#homepage)';this.setHomePage(location.href)" href='javascript:'>设为首页</A>
        <A href='javascript:external.AddFavorite(location.href,document.title)'>收藏本站</A> 
	   <A href='mailto:dajiaweb@126.com'>联系站长</A>
	   <td valign="bottom" align="right" width="160"><META http-equiv='Content-Type' content='text/html;charset=gb2312'>
<DIV id='a'></DIV>
<SCRIPT>
function changtime(){
alldate=new Date();
str1=alldate.getFullYear()+"年"+(alldate.getMonth()+1)+"月"
str1+=alldate.getDate()+"日 "+alldate.getHours()+":"
str1+=alldate.getMinutes()+":"+alldate.getSeconds()
if(document.readyState=="complete")a.innerText=str1
}
setInterval('changtime()',1000)
</SCRIPT></td></td>
     </tr>
	</table>
   </td>
  </tr>
</table>
<hr align="center" width="779" size="1" color="##0066CC">
<div align="center">
  <table width="779" height="20" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#003399">
    <tr>
      <td><div align="left" class="style2">
       <p><div align="left"><a href="index.asp">首页</a>&nbsp;| &nbsp;
		<a href="sort.asp?classid=1">李铁新闻</a> &nbsp;|&nbsp;
		<a href="sort.asp?classid=2">李铁图集</a>&nbsp;|&nbsp;
		<a href="sort.asp?classid=3">辽宁30号</a>&nbsp;|&nbsp;
		<a href="sort.asp?classid=4">埃弗顿12号</a>&nbsp;|&nbsp;
		<a href="sort.asp?classid=5">China8号</a>&nbsp;|&nbsp;
		<a href="guestbook.asp">本站留言</a> &nbsp;|&nbsp;
		<a href="aboutme.asp">站长简历</a>&nbsp;|&nbsp;
		<a href="/admin/index.asp">&nbsp;管理登陆</a>&nbsp;|&nbsp;
		
		</div></p>
		
      </div></td>
    </tr>
  </table>
</div>
<br>
<table width="779" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="##0066CC">
  <tr>
    <td width="180"align="left" valign="top" scope="row"> 
      <table width="100%" height="100%" border="0">
        <tr><td align="center" valign="top" scope="row"><!--#include file="login.asp"--></tr>
		<tr><td align="center" valign="top" scope="row"><!--#include file="hot.asp"--></tr>
		<tr><td align="center" valign="top" scope="row"><!--#include file="tuijian.asp"--></td></tr>
	  </table>
		
    </td>
	
    <td width="490" align="center" valign="top">
	<table width="100%" align="center" cellpadding="0" cellspacing="0">
      <tr height="30"><td></td></tr><tr bgcolor="#003399" valign="top">
        <td valign="top" align="center">
	    <%
        rs.open strsql,conn
        %>
       发表成功!
		</td>
		</tr>
		</table>
		</td></tr>
    </table></td>
	<td width="120"align="left" valign="top" scope="row"> 
      <table width="100%" height="100%" border="0">
        <tr><td align="center" valign="top" scope="row"><table><tr>
          <td align="center" valign="top" scope="row">管理登陆</td>
        </tr>
		<tr><td align="center" valign="top" scope="row"><form action="/admin/login.asp" method="post">
		<p>用户名:<input type="text" name="name" size="10">
		<p>密&nbsp;&nbsp;码:<input type="password" name="password" size="10">
		<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" value="登陆" style="background-color:#ffffff">&nbsp;<input type="reset" value="登陆"style="background-color:#ffffff ">
		</form></td></tr></table></tr>
		<tr><td align="center" valign="top" scope="row"><table height="200">
		<tr>
          <td align="center" valign="top" scope="row">热门文章</td>
        </tr></table></tr>
		<tr><td align="center" valign="top" scope="row"><table height="200">
       <tr>
          <td align="center" valign="top" scope="row">热门图片</td>
		  <td>
		  </td>
        </tr></table></td></tr>
	  </table>
		
    </td>
  </tr>
</table>
  <p align="center">Copyright (C) 2004 Tie8.Studio All Rights Reserved </p>
    <p align="center">版权所有 铁吧</p>
</body>
</html>

⌨️ 快捷键说明

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