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

📄 add.asp

📁 软件介绍:国内最完善功能最齐全的多级会员程序.主要功能涵盖所有多级会员管理所需,超强大会员自定义编辑功能
💻 ASP
字号:
<!--#include file="conn.asp"-->

<head><title>提交申请</title>
<link href="yes2.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
function isValid(){
if (form.question.value==""){
alert("申请不能为空");
  document.form.question.focus();
  return false;
  }
if (form.keyword.value==""){
alert("电子邮件必填");
  document.form.questioncontent.focus();
  return false;
  }
  if (form.questioncontent.value==""){
alert("内容不能为空");
  document.form.questioncontent.focus();
  return false;
  }

}
</script>
</head>

<body>

<form action="?action=1" method="post" name="form" id="form" onsubmit="return isValid()">
<input type="hidden" name="ip" value=<%=Request.serverVariables("REMOTE_ADDR")%>>
<%if request("action")=1 then
set rs=server.CreateObject("adodb.recordset")
sql="select * from server"
rs.open sql,conn,3,2
rs.addnew
rs("question")=trim(request("question"))
rs("keyword")=trim(request("keyword"))
rs("questioncontent")=trim(request("questioncontent"))
rs("ip")=trim(request("ip"))
rs("datetime")=now()
rs.update
rs.close

Response.Redirect "server.asp"
end if
%>

<table width="500"  border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="150" align="left"></td>
<td width="350" align="right">
<%if  session("username")="" then%>
<a href="login.asp" title="不必尝试"></a>
<%else%>  
<a href="logout.asp">退出管理</a>  
<%end if%>  
&nbsp;&nbsp;<a href="server.asp">返回目录</a>&nbsp;&nbsp;  
</td>

</tr>
</table>
<table width="500"  border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>&nbsp;</td>
<td><div align="right">&nbsp;</td>
</tr>
</table>

<table width="500" height="22"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#d8f0F8">
<tr>
<td width="500" align="center">提交申请</td>
</tr>
</table>
<br>


<table width="460"  border="0" align="center" cellpadding="0" cellspacing="0">

<tr>
<td width="100" align="center" height="30">用户名:</td>
<td><input name="question" type="text" id="question" size="39" maxLength=16></td>
</tr>

<tr>
<td width="100" align="center" height="30">联系qq:</td>
<td><input name="keyword" type="text" id="keyword" size="39" value="QQ:"  maxLength=30></td>
</tr>

<tr>
<td width="100" align="center" height="30">申请内容:</td>
<td><textarea name="questioncontent" id="questioncontent" rows="13" cols="48">
网管您好:
我已经达到了申请支付的标准,现想申请支付。

申请支付用户名:
申请支付金额:
工行帐号:
姓名:

附言: 
</textarea><br>提交申请后请记住自已申请的序号备查,支付后才显示用户名.
</td>         
</tr>

<tr>
<td width="100"  align="right" height="30"></td>
<td align="center">
<input type="submit" name="imageField" value="提交申请" style="background-color: #FFFFFF; color: #00000E; border-style: dotted; border-width: 1">                                
&nbsp;
<input type="reset" name="Submit2" value="清除重写" style="background-color: #FFFFFF; color: #00000E; border-style: dotted; border-width: 1">                          
&nbsp;&nbsp;
</td>
</tr> 
</table>
</form>
</body>
<!--#include file="d.asp"-->




⌨️ 快捷键说明

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