<%@ LANGUAGE=VBScript codepage ="936" %>
<!--#include file="check.asp"-->
<%Response.Expires=0
name=trim(request("name"))
url=trim(request("url"))
if name="" then name="全部内容"
if url="" then url="gvsm.asp"
%>
<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;
var seek=document.form.seek.value;
var repl=document.form.repl.value;
if(name==""){alert("提示：请输入名称！");return false;}
if(seek==""){alert("提示：请输入将要查找的内容！");return false;}
//if(repl==""){alert("提示：请输入将要替换的内容！");return false;}
if(seek==repl){alert("提示：查找与替换内容相同不能继续！");return false;}
}</script>
<div align="center"><font size="+1"><%=name%>URL替换修改</font></div>
<form name="form" method="post" action="jhgl.asp?act=gvreplurl&url=<%=url%>" onSubmit="return check(this);">
  <table width="90%" border=1 align="center" cellpadding=1 cellspacing=0  bordercolor="#000000" bordercolordark="#FFFFFF">
    <tr> 
      <td colspan="2" align="center" bgcolor="#d7ebff"><%=name%>下载URL修改</td>
    </tr>
    <tr> 
      <td align="center" bgcolor="#d7ebff">替换对象</td>
      <td><input name="name" type="text" id="name" value="<%=name%>" size="30"></td>
    </tr>
    <tr>
      <td align="center" bgcolor="#d7ebff">查找内容</td>
      <td><input name="seek" type="text" id="seek" size="70" maxlength="200"></td>
    </tr>
    <tr> 
      <td width="18%" align="center" bgcolor="#d7ebff">替换内容</td>
      <td><input name="repl" type="text" id="repl" size="70" maxlength="200"> 
      </td>
    </tr>
    <tr> 
      <td colspan="2" align="center" bgcolor="#d7ebff"><input type="SUBMIT" name="Submit" value="确定"> 
        <input type="RESET" name="Reset" value="清除"></td>
    </tr>
  </table>
</form>
</body>
</html>
