📄 newsmodi.asp
字号:
<!--#include file="dbinc/dbpath.asp" -->
<!--#include file="dbinc/char.inc" -->
<html>
<head>
<title>媒体中国(设计联盟)</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="link.css">
</head>
<body>
<!--#include file="bof.asp" -->
<table width="778" height="400" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><p>
<%
set rs=server.createobject("adodb.recordset")
rs.open "Select * from zkpick where pickuser='"&Trim(request.form("username"))&"' and pickpwd='"&Trim(request.form("userpwd"))&"'",conn,1,3
if rs.bof and rs.eof then
%>
</p>
<table width="680" border="0" cellspacing="0" cellpadding="0" bordercolorlight="#FF0000" bordercolordark="#FFFFFF" align="center" class="9p">
<tr>
<td bgcolor="f4f4f4"> <div align="center">
<p> </p>
<p>对不起!您无法登录,请检查您用户名称和用户密码的有效性!</p>
<p>
<input class="b" type="button" name="Button" value="返回" onclick="javascript:history.back()">
</p>
<p> </p>
</div></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<p>
<%
else
rs("news")=htmlencode2(Trim(request.form("news")))
rs("ndate")=date()
rs.update
%>
</p>
<table width="680" border="0" cellspacing="0" cellpadding="0" bordercolorlight="#FF0000" bordercolordark="#FFFFFF" align="center" class="9p">
<tr>
<td bgcolor="f4f4f4"> <div align="center">
<p> </p>
<p>您已成功发布新闻,请返回</p>
<p>
<input type="button" name="Button2" class="b" value="返回首页" onclick="javascript:location.href='index.asp'">
</p>
<p> </p>
</div></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<p>
<%
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</p></td>
</tr>
</table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" background="images/bj-foot.gif">
<tr>
<td><div align="center"><img src="images/copyright.gif" width="283" height="68"></div></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -