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

📄 addmes.asp

📁 小型网上购物网站
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
if session("admin")="" then
conn.close
set conn = nothing
response.Write "<script language='javascript'>alert('请先登录!');history.go(-1);</script>"
response.End
else
if request.cookies("Buy2Buy")("admin")="" then
conn.close
set conn = nothing
response.Write "<script language='javascript'>alert('请先登录!');history.go(-1);</script>"
response.End
end if
end if
%>
<html><head><title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/css.css" rel="stylesheet" type="text/css">
</head>
<body>
<table class="tableBorder" width="96%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
<tr bgcolor="#f2f2f2"> 
<form name="myform" method="post" action="addmes_save.asp" OnSubmit="return checkkk()" >
<td> 
                                <table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#ffffff">
                                  <tr> 
                                    <td colspan="2"><span class="style1">提示:站内短信系统仍在测试中,请尽量不要用站内短信发送机密内容,接收的短信中,若有重要内容,请及时转移保存并删除短信。 </span></td>
                                  </tr>
									  <tr bgcolor="#f2f2f2">
									  <td width="30%" align="right" bgcolor="#f2f2f2"> 
发送对象:

                                    </td>
                                    <td width="70%" bgcolor="#f7f7f7">
									<%
									'查询该用户信息
									mSql="select UserID,UserName from [User] where UserID="&Trim(Request("UserID"))
									set mRs=conn.execute(mSql)
									if not (mRs.eof and mRs.bof) then
										UserID=mRs("UserID")
										UserName=mRs("UserName")
									end if
									%>
									<input name="UserName" type="text" class="input_sr" id="UserName" value="<%=UserName%>" size="30" readonly> 
                                      <input name="UserID" type="hidden" value="<%=UserID%>">
									  <input name="isAll" type="radio" value="NO" checked>
                                      单个对象
									  <!-- 
                                        <input type="radio" name="isAll" value="YES" > 
                                        所有注册用户
									  --></td>
                                  </tr>
                                  <tr bgcolor="#f2f2f2">
                                    <td rowspan="2" align="right" valign="top" bgcolor="#f2f2f2"> 
内 容:                                      

</td>
<td bgcolor="#f7f7f7">
<textarea name="Content" cols="50" rows="15" class="input" id="Content"><%
if Trim(Request("second"))="true" then
	mSql="select * from MesDetail where ID="&Trim(Request("mesID"))
	set mRs=conn.execute(mSql)
	if not (mRs.eof and mRs.bof) then
		response.write "原文:"&mRs("ReplyContent")
		end if
	mRs.close
	set mRs=nothing
	response.write "<br>"
end if
%>
</textarea>
</td>
</tr>
<tr bgcolor="#f2f2f2">
<td height="30" bgcolor="#f7f7f7">
<input name="Submit" type="submit" class="input_bot" value=" 添加保存 ">
<input name="Clear" type=reset class="input_bot" onClick="ClearReset()" value=" 重新填写 ">
</td>
</tr>
</table>
</td>
</form>
</tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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