Skip to content

Instantly share code, notes, and snippets.

@jackpoter
Created March 2, 2014 12:12
Show Gist options
  • Save jackpoter/9305679 to your computer and use it in GitHub Desktop.
Save jackpoter/9305679 to your computer and use it in GitHub Desktop.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>文件下载</title>
<link href="main.css" rel="stylesheet" type="text/css">
<script language="javascript">
function Form1_Validator(theForm)
{
if (theForm.code.value==''){
alert("请输入提取码!");
theForm.code.focus();
return (false);
}
if (theForm.vcode.value==''){
alert("请输入验证码!");
theForm.vcode.focus();
return (false);
}
return (true);
}
</script>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.input_no {
width:1px;
border-left: medium none;
border-right: medium none;
border-top: medium none;
border-bottom: medium none;
}
-->
</style></head>
<body>
<br>
<table width="100%" class="table_list" border="0" cellpadding="2">
<tr>
<td width="250" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="1">
<form action="down.php" method="post" target="_self" name="form_down" onSubmit="return Form1_Validator(this)">
<tr>
<td width="90"><div align="center">提 取 码<input name="forenter" type="text" size="1" class="input_no"></div></td>
<td><input name="code" type="password" style="width:120">
</td>
</tr>
<tr>
<td width="90"><div align="center">验 证 码</div></td>
<td>
<input name="vcode" value="" type="text" style="width:30;font-size:15px"><span title="点击填写" onClick="javascript:document.form_down.vcode.value=75 " style="font-size:17px">75 </span><span style="color:#AAA;font-size:12px" onclick="javascript:alert('为有效避免讯雷等软件自动重复下载导致的资源浪费和系统变慢。 ');" title="为有效避免讯雷等软件自动重复下载导致的资源浪费和系统变慢">为啥加验证码</span>
</td>
</tr>
<tr>
<td align="center">&nbsp;</td>
<td><input type="submit" name="Submit" value=" 提取 ">
<input type="button" name="Reset" onClick="javascript:location.href='down.php';" value="取消">
<iframe name="fordown" width="0" height="0" frameborder="0"></iframe>
</td>
</tr>
</form>
</table></td>
<td valign="top"><table width='95%' align='center' border='0' cellpadding='1'> <tr><td>·<a href="downex.php?url=201402251717283344207.BA_&name=UFDATA.BA_">UFDATA.BA_</a>&nbsp;&nbsp;<font color='#666666'>16.4 MB</font></td></tr><tr><td><font size='2' color='#888888'>过期时间:2014-03-04 17:17:28</font></td></tr></table></td>
</tr>
<tr>
<td height="10"></td>
<td></td>
</tr>
</table>
<script language="javascript">
form_down.code.focus();
</script>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>文件下载</title>
<link href="main.css" rel="stylesheet" type="text/css">
<script language="javascript">
function Form1_Validator(theForm)
{
if (theForm.code.value==''){
alert("请输入提取码!");
theForm.code.focus();
return (false);
}
if (theForm.vcode.value==''){
alert("请输入验证码!");
theForm.vcode.focus();
return (false);
}
return (true);
}
</script>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.input_no {
width:1px;
border-left: medium none;
border-right: medium none;
border-top: medium none;
border-bottom: medium none;
}
-->
</style></head>
<body>
<br>
<table width="100%" class="table_list" border="0" cellpadding="2">
<tr>
<td width="250" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="1">
<form action="down.php" method="post" target="_self" name="form_down" onSubmit="return Form1_Validator(this)">
<tr>
<td width="90"><div align="center">提 取 码<input name="forenter" type="text" size="1" class="input_no"></div></td>
<td><input name="code" type="password" style="width:120">
</td>
</tr>
<tr>
<td width="90"><div align="center">验 证 码</div></td>
<td>
<input name="vcode" value="" type="text" style="width:30;font-size:15px"><span title="点击填写" onClick="javascript:document.form_down.vcode.value=73 " style="font-size:17px">73 </span><span style="color:#AAA;font-size:12px" onclick="javascript:alert('为有效避免讯雷等软件自动重复下载导致的资源浪费和系统变慢。 ');" title="为有效避免讯雷等软件自动重复下载导致的资源浪费和系统变慢">为啥加验证码</span>
</td>
</tr>
<tr>
<td align="center">&nbsp;</td>
<td><input type="submit" name="Submit" value=" 提取 ">
<input type="button" name="Reset" onClick="javascript:location.href='down.php';" value="取消">
<iframe name="fordown" width="0" height="0" frameborder="0"></iframe>
</td>
</tr>
</form>
</table></td>
<td valign="top"><table width='95%' align='center' border='0' cellpadding='1'> <tr><td>·<a href="downex.php?url=201402231509522281555.doc&name=%D5%C5%B7%EF%D2%BB%BD%F0%C8%DA.doc">张凤一金融.doc</a>&nbsp;&nbsp;<font color='#666666'>117.5 KB</font></td></tr><tr><td><font size='2' color='#888888'>过期时间:2014-03-25 15:09:52</font></td></tr></table></td>
</tr>
<tr>
<td height="10"></td>
<td></td>
</tr>
</table>
<script language="javascript">
form_down.code.focus();
</script>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>文件下载</title>
<link href="main.css" rel="stylesheet" type="text/css">
<script language="javascript">
function Form1_Validator(theForm)
{
if (theForm.code.value==''){
alert("请输入提取码!");
theForm.code.focus();
return (false);
}
if (theForm.vcode.value==''){
alert("请输入验证码!");
theForm.vcode.focus();
return (false);
}
return (true);
}
</script>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.input_no {
width:1px;
border-left: medium none;
border-right: medium none;
border-top: medium none;
border-bottom: medium none;
}
-->
</style></head>
<body>
<br>
<table width="100%" class="table_list" border="0" cellpadding="2">
<tr>
<td width="250" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="1">
<form action="down.php" method="post" target="_self" name="form_down" onSubmit="return Form1_Validator(this)">
<tr>
<td width="90"><div align="center">提 取 码<input name="forenter" type="text" size="1" class="input_no"></div></td>
<td><input name="code" type="password" style="width:120">
</td>
</tr>
<tr>
<td width="90"><div align="center">验 证 码</div></td>
<td>
<input name="vcode" value="" type="text" style="width:30;font-size:15px"><span title="点击填写" onClick="javascript:document.form_down.vcode.value=49 " style="font-size:17px">49 </span><span style="color:#AAA;font-size:12px" onclick="javascript:alert('为有效避免讯雷等软件自动重复下载导致的资源浪费和系统变慢。 ');" title="为有效避免讯雷等软件自动重复下载导致的资源浪费和系统变慢">为啥加验证码</span>
</td>
</tr>
<tr>
<td align="center">&nbsp;</td>
<td><input type="submit" name="Submit" value=" 提取 ">
<input type="button" name="Reset" onClick="javascript:location.href='down.php';" value="取消">
<iframe name="fordown" width="0" height="0" frameborder="0"></iframe>
</td>
</tr>
</form>
</table></td>
<td valign="top"><table width='95%' align='center' border='0' cellpadding='1'> <tr><td>·<a href="downex.php?url=201402241339501844848.txt&name=20140224133950.txt">20140224133950.txt</a>&nbsp;&nbsp;<font color='#666666'>0 字节</font></td></tr><tr><td><font size='2' color='#888888'>过期时间:2014-03-03 13:39:50</font></td></tr></table></td>
</tr>
<tr>
<td height="10"></td>
<td></td>
</tr>
</table>
<script language="javascript">
form_down.code.focus();
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment