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

📄 deliverhelp.asp

📁 asp图书馆管理系统的一个源代码
💻 ASP
字号:
<%
'Dim Num,SubName,SubNum
'Num=trim(request.querystring("Num"))
'SubName=trim(request.querystring("SubName"))
'SubNum=trim(request.querystring("SubNum"))
%>


<html>
<head>
<title>DeliverHelp</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK REL="stylesheet" TYPE="text/css" HREF="globe/style.css">


<script language="vbscript">
function form1_onsubmit()
 dim errormessage,error
 dim Title,Content
 dim error1,error2
 Title=trim(cstr(form1.Title.value))
 Content=trim(cstr(form1.Content.value))

 error=1
 if Title="" then
            			 error1="管理员同志,请不要填空的标题!"
						  error=0
						  end if

 if Content="" then
           		 error2="管理员同志,请不要填空的内容!"
			 error=0
			end if		
if error=0 then
           if error1<>"" then
		                   errormessage=error1&chr(13)&"   "
						   end if
		   if error2<>"" then
		                   errormessage=errormessage&error2&chr(13)&"   "
						   end if	
		  	   					   			   				   		   
						   alert chr(13)&"错误:"&chr(13)&"   "&errormessage
						   form1_onsubmit=false			
						   else
						   form1_onsubmit=true
						   end if				 
end function			
</script>


</head>
<body bgcolor="#ccddff">

<div id='layer1' style='position:absolute;width:550px;top:2pt;left:31px'>
<TABLE bgColor=#ffffff border=1 borderColor=#000000 borderColorDark=#ffffff borderColorLight=#000000 cellSpacing=0>
<TBODY><TR><TD bgColor=#ccddff borderColor=#000000 borderColorDark=#ffffff   borderColorLight=#000000 height=25  width=550>
<P align="center"><font color=#FF0000'>不是图书管理员,最好不要来这里!很危险!请点击</font><A href='Help.asp'>
<-返回-></a></P>
</TD></tr></tbody></table></div><br>

<form name="form1" method="post" action="DoDeliverHelp.asp">


<div id="Layer1" style="position:absolute; left:31px; top:40px; width:536px; height:250px; z-index:1"> 
  <table width="103%" border="1" height="250" bordercolorlight="#000000" bordercolordark="#FFFFFF" cellspacing="0">
 
   
    <tr> 
      <td width="14%" height="34">&nbsp;<font color="#339933"> 标 题</font></td>
      <td height="34" colspan="3"> 
        <input type="text" name="Title" size="63">
      </td>
    </tr>
    <tr> 
      <td width="14%" height="10"> 
        <p> <font color="#339933">  内</font></p>
        <p>&nbsp;</p>
        <p><font color="#339933">  容</font></p>
      </td>
      <td height="10" colspan="3"> 
        <textarea name="Content" rows="11" cols="62"></textarea>
      </td>
    </tr>
  
  </table>
</div>

<div id="Layer2" style="position:absolute; left:153px; top:300px; width:270px; height:37px; z-index:2"> 
     
  <input type="submit" name="Submit" value="提  交">
         
  <input type="reset" name="submit" value="重 写">
</div>


</form>
</body>
</html>

⌨️ 快捷键说明

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