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

📄 adrot_add.asp

📁 asp+access开发的网上购物程序
💻 ASP
字号:
<%@ codepage ="936" %><%if instr(session("flag"),"34")=0 thenresponse.redirect "../login.asp"response.endend if%><!--#include file="../../conn/dbconn2.asp" --><script language="javascript" src="ShowProcessBar.js"></script><html><head><title>添加文件</title><link rel="stylesheet" type="text/css" href="../style.css"><body bgcolor="#FFFFFF" marginheight=0 marginwidth=0 leftmargin=0><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head><BODY><Script Language="javaScript">function validate(){if (document.myform.type1.value==""){alert("模板名称不能为空");document.myform.type1.focus();return false ;}if (document.myform.content.value==""){alert("说明不能为空");document.myform.content.focus();return false ;}if (document.myform.typename.value==""){alert("所在文件夹不能为空");document.myform.typename.focus();return false ;}if (document.myform.src.value==""){alert("模板缩图不能为空");document.myform.src.focus();return false ;}}</Script><form method="POST" action="adrot_save.asp" enctype="multipart/form-data" name=myform onSubmit='return validate()'><div align="center"><BR><TABLE width="151" border="0" cellpadding="0" cellspacing="0" height="21"><TR> <TD width="131" class="f12" height="21" align="center"><font color="#Ff6600"><b>添加网站模板</b></font></TD><TD width="20" height="21"> </TD></TR></TABLE><table border="0" cellpadding="2" cellspacing="3" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1"><tr><td width="100%"> </td></tr></table><div align="center"><center><TABLE border=0 cellspacing=3 cellpadding=2 width="460" height="175" style="border-collapse: collapse" bordercolor="#111111"><TR> <TD height=32 width=73>&nbsp; <div align="left">模板名称</div></TD><TD height=32 width="371"> <INPUT name="type1" size=30 style="border-style: solid; border-width: 1"></TD></TR><TR> <TD height=82 width=73> <div align="left">模板说明</div></TD><TD height=82 width="371"> <TEXTAREA cols=40 name="content" rows=6 class="txt" style="border-style:solid; border-width:1; overflow:auto"></TEXTAREA></TD></TR><tr> <TD height=19 width=73>所在文件夹:</TD><td height="19" width="371"> <input type="text" name="typename" size=18 style="border-style: solid; border-width: 1"><font color="#ff6600"> (文件夹必须是英文)</font></td></tr><tr> <TD height=11 width=73>模板缩图</TD><td height="11" width="371"> <input type="file" name="src" size="20" value="浏览" style="border-style: solid; border-width: 1">&nbsp;&nbsp;&nbsp;</td></tr><tr><td height="40" align="center" colspan="2" width="444"> <input type="submit" value="上 传" name="B2" class="smallInput" >&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" value="返 回" class="smallInput" onclick=javascript:history.go(-1)></td></tr></table></center></div></div></form></body></html>

⌨️ 快捷键说明

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