home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
221.214.14.186
/
221.214.14.186.tar
/
221.214.14.186
/
wh
/
dx
/
web-zao.asp
< prev
next >
Wrap
Text File
|
2011-08-12
|
9KB
|
232 lines
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%><head>
<meta http-equiv="Content-Language" content="zh-cn">
<style type="text/css">
BODY {scrollbar-face-color: #ffffff; scrollbar-shadow-color: #333333;
scrollbar-highlight-color: #ffffff; scrollbar-3dlight-color: #333333;
scrollbar-darkshadow-color: #ffffff; scrollbar-track-color:#ffffff;
scrollbar-arrow-color: #333333;CURSOR: url('images/c.cur')}
A {COLOR: #000000; TEXT-DECORATION: none }
A:visited {COLOR: #000000; TEXT-DECORATION: none}
A:active {COLOR: #ffffff; TEXT-DECORATION: none}
A:hover {
COLOR: #666666;
background-color:#FFFFFF;
text-decoration: underline;CURSOR: url('images/c2.cur')
}
td {FONT-SIZE: 10pt; FONT-FAMILY: Arial; color:#000000;letter-spacing : 1pt ;line-height :14pt}
textarea{border:1px #333333 dotted;FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Arial}
input{color:#000000; border:0px solid #000000; height:18px; font-size:8pt; color:#000000; font-family:Arial;background-repeat:repeat-x; repeat-x }
select{border:0px; height:14px;FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: "Arial"}
.jnfont {FONT-SIZE: 10.5pt; FILTER: dropshadow(color=#cccccc,offx=1,offy=1); FONT-FAMILY: "Arial"}
.jnfont1 {FONT-SIZE: 9pt; FILTER: dropshadow(color=#cccccc,offx=1,offy=1)}
.STYLE2 {
color: #FF0000;
font-size: 14px;
background-color: #CCCCFF;
}
#head {
background-color: #FFFFFF;
margin-left: 20px;
}
.STYLE1 {
background-color: #FFFFFF;
color: #FF0000;
font-size: 14px;
}
</style>
<%
dim sj,txt1,txt2,txt3,txt4,txt5,txt6,txt7,txt8
'sj=time()'╚í╩▒╝Σ
'Response.Write("<font color=Green>╩▒╝Σ</font>"&sj&"<br>")
'sj=Hour(sj)
'Response.Write("<font color=Green>╩▒╝Σ╨í╩▒</font>"&sj&"<br>")
'if sj=6 then
FilePath = "stdx/DXWE06.txt"
'Else
'FilePath = "stdx/DXWE17.txt"
'End if
FilePath = Server.MapPath(FilePath)
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objTS = objFSO.OpenTextFile(FilePath, 1)
'if sj=6 then
'Text11 = objTS.ReadAll
txt1 = objTS.ReadLine
'Response.Write("<font color=Green>╡┌╥╗╨╨</font>"&txt1&"<br>")
txt2 = objTS.ReadLine
'Response.Write("<font color=Green>╡┌╢■╨╨</font>"&txt2&"<br>")
txt3 = objTS.ReadLine
'Response.Write("<font color=Green>╡┌╚²╨╨</font>"&txt3&"<br>")
txt4 = objTS.ReadLine
'Response.Write("<font color=Green>╡┌╦─╨╨</font>"&txt4&"<br>")
txt5 = objTS.ReadLine
'Response.Write("<font color=Green>╡┌╬σ╨╨</font>"&txt5&"<br>")
'Else
'txt1 = objTS.ReadLine
'Response.Write("<font color=Green>╡┌╥╗╨╨</font>"&txt1&"<br>")
'txt2 = objTS.ReadLine
'Response.Write("<font color=Green>╡┌╢■╨╨</font>"&txt2&"<br>")
'txt3 = objTS.ReadLine
'Response.Write("<font color=Green>╡┌╚²╨╨</font>"&txt3&"<br>")
'txt4 = objTS.ReadLine
'Response.Write("<font color=Green>╡┌╦─╨╨</font>"&txt4&"<br>")
'txt5 = objTS.ReadLine
'Response.Write("<font color=Green>╡┌╬σ╨╨</font>"&txt5&"<br>")
'txt6 = objTS.ReadLine
'Response.Write("<font color=Green>╡┌┴∙╨╨</font>"&txt6&"<br>")
'txt7 = objTS.ReadLine
'Response.Write("<font color=Green>╡┌╞▀╨╨</font>"&txt7&"<br>")
'End if
'objTS.SkipLine
'objTS.SkipLine
'shij = objTS.ReadLine
Set objTS=nothing
Set objFSO=nothing
'set conn=nothing
%>
<script language="javascript">
function isdenghao(s)
{
var patrn=/=/;
if (!patrn.exec(s)) return false
return true
}
function getStrActualLen(sChars)
{
return sChars.replace(/[^\x00-\xff]/g,"xx").length;
}
</script>
<SCRIPT LANGUAGE=javascript>
<!--
function check()
{
var cd = new Date();
var ct = cd.getHours();
if(form1.date.value=="")
{
alert("╟δ╩Σ╚δ╠φ╝╙╩▒╝Σúí\n");
form1.date.focus();
return false;
}
if(form1.content.value=="")
{
alert("╟δ╩Σ╚δ╨┼╧ó─┌╚▌úí\n");
form1.content.focus();
return false;
}
if(getStrActualLen(form1.content.value)>139)
{
alert("╢╠╨┼─┌╚▌┤≤╙┌139╕÷╫╓╖√ú¼╟δ╨▐╕─úí\n");
form1.content.focus();
return false;
}
if(isdenghao(form1.content.value))
{
alert("╠∞╞°╘ñ▒¿╓╨▓╗─▄║¼╙╨=║┼");
return false;
}
form1.submit();
return false;}
//-->
</SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>╘τ╔╧╢╠╨┼╖ó▓╝</title></head>
<div id="head">
<form action="postzao.asp" method="post" name="form1" onSubmit="javascript:return check();">
<table border="0" width="630" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="35%" ><span class="STYLE2">╘τ╔╧╠∞╞°╘ñ▒¿╠φ╝╙╥│├µ: ╚╒╞┌</td>
<td width="60%" bgcolor="#ffffff"><p>
<input type=hidden name="sb" value=0631 />
<input type="text" name="date" size="10" value="<%=date()%>" style="border-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1" readonly />
<span class="STYLE2">╠∞╞°╘ñ▒¿─┌╚▌╫ε│ñ╬¬140╕÷╫╓╜┌</span></p></td>
</tr>
<tr>
<td height="3" colspan="2"><span class="STYLE1">╡┌╥╗╨╨─┌╚▌:
<input type=text name="charnum1" size=3 maxlength=3 value=0 />
╫╓╜┌</td>
</tr>
<tr>
<td bgcolor="#ffffff" colspan="2"><p align="center">
<textarea cols="120" name="content1" onKeyUp="charnum1.value=getStrActualLen(this.value);" rows="2" wrap="VIRTUAL" title="┐╔╥╘╩╣╙├Ctrl+Enter╓▒╜╙╠ß╜╗" onKeyDown=ctlent() style="border-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1"><%=txt1%></textarea>
</p></td>
</tr>
<tr>
<td colspan="2"><span class="STYLE1">╡┌╢■╨╨─┌╚▌:
<input type=text name="charnum2" size=3 maxlength=3 value=0 />
╫╓╜┌</td>
</tr>
<tr>
<td bgcolor="#ffffff" colspan="2"><p align="center">
<textarea class="FormClass" cols="120" name="content2" onkeyup="charnum2.value=getStrActualLen(this.value);" rows="2" wrap="VIRTUAL" title="┐╔╥╘╩╣╙├Ctrl+Enter╓▒╜╙╠ß╜╗" onkeydown=ctlent() style="border-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1"><%=txt2%></textarea>
</p></td>
</tr>
<tr>
<td colspan="2"><span class="STYLE1">╡┌╚²╨╨─┌╚▌:
<input type=text name="charnum3" size=3 maxlength=3 value=0 />
╫╓╜┌</td>
</tr>
<tr>
<td bgcolor="#ffffff" colspan="2"><p align="center">
<textarea class="FormClass" cols="120" name="content3" onkeyup="charnum3.value=getStrActualLen(this.value);" rows="2" wrap="VIRTUAL" title="┐╔╥╘╩╣╙├Ctrl+Enter╓▒╜╙╠ß╜╗" onkeydown=ctlent() style="border-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1"><%=txt3%></textarea>
</p></td>
</tr>
<tr>
<td colspan="2"><span class="STYLE1">╡┌╦─╨╨─┌╚▌:
<input type=text name="charnum4" size=3 maxlength=3 value=0 />
╫╓╜┌</td>
</tr>
<tr>
<td bgcolor="#ffffff" colspan="2"><p align="center">
<textarea class="FormClass" cols="120" name="content4" onkeyup="charnum4.value=getStrActualLen(this.value);" rows="2" wrap="VIRTUAL" title="┐╔╥╘╩╣╙├Ctrl+Enter╓▒╜╙╠ß╜╗" onkeydown=ctlent() style="border-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1"><%=txt4%></textarea>
</p></td>
</tr>
<tr>
<td colspan="2"><span class="STYLE1">╡┌╬σ╨╨─┌╚▌:
<input type=text name="charnum5" size=3 maxlength=3 value=0 />
╫╓╜┌</td>
</tr>
<tr>
<td bgcolor="#ffffff" colspan="2"><p align="center">
<textarea name="content5" cols="120" rows="2" wrap="VIRTUAL" class="FormClass" id="content5" style="border-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1" title="┐╔╥╘╩╣╙├Ctrl+Enter╓▒╜╙╠ß╜╗" onkeydown=ctlent() onkeyup="charnum5.value=getStrActualLen(this.value);"><%=txt5%></textarea>
</p></td>
</tr>
<tr>
<td bgcolor="#ffffff" colspan="2"><p align="center">
<input type=Submit value="╠φ╝╙" name=Submit />
</p></td>
</tr>
</table>
</form>
</div>