adrot_add.asp

来自「物流管理系统,可以用于中小企业,建立自己的内部物流管理.」· ASP 代码 · 共 102 行

ASP
102
字号
<%@ codepage ="936" %>
<%
if instr(session("flag_fyadmin"),"34")=0 then
response.redirect "../login.asp"
response.end
end if
%><!--#include file="../../inc/config.asp"-->
<!--#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" 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="text" name="src" size=37 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 + =
减小字号Ctrl + -
显示快捷键?