<%@ LANGUAGE=VBScript codepage ="936" %>
<!--#include file="check.asp"-->
<%Response.Expires=0
name=trim(request("name"))
urlsl=trim(request("urlsl"))
url=trim(request("url"))
%>
<html><head><title><%=name%>世纪下载URL添加</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><link href="jh.css" rel="stylesheet" type="text/css"></head>
<SCRIPT language=JavaScript>
function check(){
var name=document.form.name.value;
if(name==""){alert("提示：请输入名称！");return false;}
<%for i=1 to urlsl%>
var url<%=i%>=document.form.url<%=i%>.value;
if(url<%=i%>==""){alert("提示：联接地址<%=i%>不可以为空！");return false;}
<%next%>
}
</script>
<div align="center"><font size="+1"><%=name%>世纪下载URL添加</font></div>
<form name="form" method="post" action="jhgl.asp?act=gvaddurl&url=<%=url%>" onSubmit="return check(this);">
<input name="name" type="hidden" id="name" value="<%=name%>" size="4="4">
<input name="urlsl" type="hidden" id="urlsl" value="<%=urlsl%>" size="4="4">
  <table width="70%" border=1 align="center" cellpadding=1 cellspacing=0  bordercolor="#000000" bordercolordark="#FFFFFF">
    <tr> 
      <td colspan="6" align="center" bgcolor="#d7ebff"><%=name%>世纪下载URL添加</td>
    </tr>
        <%for i=1 to urlsl%>
    <tr> 
      <td align="center" bgcolor="#d7ebff">址址<%=i%></td>
      <td colspan="5"><input name="url<%=i%>" type="text" id="url<%=i%>" size="60"></td>
    </tr>
    <%next%>
    <tr> 
      <td colspan="6" align="center" bgcolor="#d7ebff"><input type="SUBMIT" name="Submit" value="确定"> <input type="RESET" name="Reset" value="清除"></td>
    </tr>

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