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

📄 adrot_add.asp

📁 全球商务网站系统介绍 GLOBALEC.COM.CN[生成HTML版] 系统概述: 软件名称:全球商务网站系统 当前版本:V1.0 最新版本:V1.1 运行环境:WINNT+(IIS)
💻 ASP
字号:
<%@ codepage ="936" %>
<%
if Request.Cookies("globalec")("globalecmaster")="" or Request.Cookies("globalec")("masterflag")="" then
response.write "<script language='javascript'>"
response.write"this.location.href='../login.asp';</SCRIPT>" 
response.end
end if
if instr(Request.Cookies("globalec")("masterflag"),"24")=0 then
response.redirect "../err.asp"
response.end
end if
%>
<!--#include file="../../conn/conn.asp"-->
<HEAD><TITLE>网站模版管理</TITLE>
<META content=zh-cn http-equiv=Content-Language>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<LINK href="../css/style.css" rel=stylesheet type=text/css>
</HEAD>
<BODY>
<table width="98%" border="0" cellspacing="0" cellpadding="0"  align=center class="tableBorder">
<tr> 
<th width="100%" height=25 class="tableHeaderText">企业自助建站模版管理</th>
</tr>
<tr>
<td class="forumRowHighlight">
<p><B>注意</B>:<BR><font color=red>①删除模版时要注意,如果删除了企业已经选定的模版,企业的自助建站可能会无法运行!</font><BR>
<font color=blue>②添加模版后,要相应的在/company/目录下面建立对应的模版目录,设计好一个模版后通过FTP上传到网站的/company/目录下面即可。</font><br></td>
</tr>
</table>
<br>
<Script Language="javaScript">
function validate()
{
if (document.form.type1.value=="")
{
alert("模板名称不能为空");
document.form.type1.focus();
return false ;
}
if (document.form.content.value=="")
{
alert("说明不能为空");
document.form.content.focus();
return false ;
}
if (document.form.typename.value=="")
{
alert("所在文件夹不能为空");
document.form.typename.focus();
return false ;
}
if (document.form.file.value=="")
{
alert("模板缩图不能为空");
document.form.file.focus();
return false ;
}
document.form.submit()
}
</Script>
<form name="form" method="POST" action="adrot_save.asp" enctype="multipart/form-data" >
<TABLE width="100%" height="175" border=0 align="center" cellpadding=3 cellspacing=1 class="tableBorder" style="border-collapse: collapse">
<TR>
    <TH class=tableHeaderText colSpan=2 height=25>添加模版</strong></TH>
<TR> 
<TD width=167 class="forumRow" align="right"><b>模板名称:</b></TD>
<TD height=32 width="785"class="forumRow"> 
<INPUT name="type1" size=65 style="border-style: solid; border-width: 1">
</TD>
</TR>
<TR> 
<TD height=82 width=167 class="forumRowHighlight" align="right"><b>模板说明:</b></TD>
<TD height=82 width="785" class="forumRowHighlight"> 
<TEXTAREA cols=63 name="content" rows=6 class="txt" style="border-style:solid; border-width:1; overflow:auto"></TEXTAREA>
</TD>
</TR>
<tr> 
<TD height=19 width=167 class="forumRow" align="right"><b>所在目录:</b></TD>
<td height="19" width="785" class="forumRow"> 
<input type="text" name="typename" size=65 style="border-style: solid; border-width: 1">
<font color="#CC3300"> 
(文件夹必须是英文)</font></td>
</tr>
<tr> 
<TD height=11 width=167 class="forumRowHighlight" align="right"><b>模板缩图:</b></TD>
<td height="11" width="785" class="forumRowHighlight"> <input name="file" type="file" id="file" style="border-style: solid; border-width: 1" value="浏览" size="54"></td>
</tr>
<tr>
<td height="30" align="center" colspan="2" class=forumrowHighLight> 
  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="25%">&nbsp;</td>
      <td width="75%">
	  <input type="button" name="Submit" value="确 定 添 加" class="smallInput" onclick="validate()">
&nbsp;&nbsp;&nbsp;&nbsp;
<input type="button" value="返 回 前 页" class="smallInput" onclick=javascript:history.go(-1)></td>
    </tr>
  </table>  </td>
</tr>
</table>
</form>
<!--#include file="../copy.asp" -->
</body></html>

⌨️ 快捷键说明

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