📄 savearticle.asp
字号:
<!--#include file="dbpath/dbpath.asp"-->
<!--#include file="function/char.inc"-->
<%
dim listname
dim typename
dim title
dim content
dim sql
dim rs
dim filename
dim articleid
dim outfile
dim typeid
dim swebname
dim semail
dim suesrname
dim slogo
dim shomepage
swebname=htmlencode(request.form("TxTName"))
semail=htmlencode(request.form("TxtEmail"))
susername=htmlencode(request.form("username"))
slogo=htmlencode(request.form("TxtHomelogo"))
shomepage=htmlencode(request.form("TxTHomepage"))
title=htmlencode(request.form("txttitle"))
content=htmlencode(request.form("txtcontent"))
typeid=request.form("typeid")
set rs=server.createobject("adodb.recordset")
sql="select * from yqlink where (articleid is null)"
rs.open sql,conn,1,3
rs.addnew
rs("name")=susername
rs("email")=semail
rs("webname")=swebname
rs("homepage")=shomepage
rs("homelogo")=slogo
rs("title")=title
rs("content")=content
rs("typeid")=typeid
rs("dateandtime")=date()
rs.update
articleid=rs("articleid")
rs.close
%><head>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<div align="center">
<table border="1" cellspacing="3" width="30%" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" cellpadding="0">
<tr>
<td width="100%" height="20">
<p align="center"><font color="#FFFFFF"><b>常用网址添加成功</b></font>
</td>
</tr>
<tr valign="middle" bgcolor="#AB6C00">
<td width="100%">
<div align="center"><br>
是否继续加入链接?<br>
<br>
<a href="addarticle.asp"> 是</a> <a href="index.asp">否<br>
</a> </div>
</td>
</tr>
</table>
<!--#include file="function/ads.inc"--></div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -