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 >
Text File  |  2011-08-12  |  9KB  |  232 lines

  1. <%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%><head>
  2.  
  3. <meta http-equiv="Content-Language" content="zh-cn">
  4.  
  5.  
  6. <style type="text/css">
  7. BODY {scrollbar-face-color: #ffffff; scrollbar-shadow-color: #333333;
  8. scrollbar-highlight-color: #ffffff; scrollbar-3dlight-color: #333333; 
  9. scrollbar-darkshadow-color: #ffffff; scrollbar-track-color:#ffffff;
  10. scrollbar-arrow-color: #333333;CURSOR: url('images/c.cur')}
  11. A {COLOR: #000000; TEXT-DECORATION: none }
  12. A:visited {COLOR: #000000; TEXT-DECORATION: none}
  13. A:active {COLOR: #ffffff; TEXT-DECORATION: none}
  14. A:hover {
  15.     COLOR: #666666;
  16.     background-color:#FFFFFF;
  17.     text-decoration: underline;CURSOR: url('images/c2.cur')
  18. }
  19. td {FONT-SIZE: 10pt;  FONT-FAMILY: Arial; color:#000000;letter-spacing : 1pt ;line-height :14pt}
  20. textarea{border:1px #333333 dotted;FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Arial}
  21. input{color:#000000; border:0px solid #000000; height:18px; font-size:8pt; color:#000000; font-family:Arial;background-repeat:repeat-x; repeat-x }
  22. select{border:0px; height:14px;FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: "Arial"}
  23. .jnfont {FONT-SIZE: 10.5pt; FILTER: dropshadow(color=#cccccc,offx=1,offy=1); FONT-FAMILY: "Arial"}
  24. .jnfont1 {FONT-SIZE: 9pt; FILTER: dropshadow(color=#cccccc,offx=1,offy=1)}
  25. .STYLE2 {
  26.     color: #FF0000;
  27.     font-size: 14px;
  28.     background-color: #CCCCFF;
  29. }
  30. #head {
  31.     background-color: #FFFFFF;
  32.     margin-left: 20px;
  33. }
  34. .STYLE1 {
  35.     background-color: #FFFFFF;
  36.     color: #FF0000;
  37.     font-size: 14px;
  38. }
  39. </style>
  40.  
  41.  
  42. <% 
  43.  
  44.  
  45.  
  46.  
  47. dim sj,txt1,txt2,txt3,txt4,txt5,txt6,txt7,txt8
  48. 'sj=time()'╚í╩▒╝Σ
  49. 'Response.Write("<font color=Green>╩▒╝Σ</font>"&sj&"<br>")
  50. 'sj=Hour(sj)
  51.  
  52. 'Response.Write("<font color=Green>╩▒╝Σ╨í╩▒</font>"&sj&"<br>")
  53. 'if sj=6 then
  54. FilePath = "stdx/DXWE06.txt"
  55. 'Else
  56. 'FilePath = "stdx/DXWE17.txt"
  57. 'End if
  58. FilePath = Server.MapPath(FilePath)
  59. Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
  60. Set objTS = objFSO.OpenTextFile(FilePath, 1)
  61.  
  62. 'if sj=6 then 
  63. 'Text11 = objTS.ReadAll
  64. txt1 = objTS.ReadLine
  65. 'Response.Write("<font color=Green>╡┌╥╗╨╨</font>"&txt1&"<br>")
  66. txt2 = objTS.ReadLine
  67. 'Response.Write("<font color=Green>╡┌╢■╨╨</font>"&txt2&"<br>")
  68. txt3 = objTS.ReadLine
  69. 'Response.Write("<font color=Green>╡┌╚²╨╨</font>"&txt3&"<br>")
  70. txt4 = objTS.ReadLine
  71. 'Response.Write("<font color=Green>╡┌╦─╨╨</font>"&txt4&"<br>")
  72. txt5 = objTS.ReadLine
  73. 'Response.Write("<font color=Green>╡┌╬σ╨╨</font>"&txt5&"<br>")
  74. 'Else
  75. 'txt1 = objTS.ReadLine
  76. 'Response.Write("<font color=Green>╡┌╥╗╨╨</font>"&txt1&"<br>")
  77. 'txt2 = objTS.ReadLine
  78. 'Response.Write("<font color=Green>╡┌╢■╨╨</font>"&txt2&"<br>")
  79. 'txt3 = objTS.ReadLine
  80. 'Response.Write("<font color=Green>╡┌╚²╨╨</font>"&txt3&"<br>")
  81. 'txt4 = objTS.ReadLine
  82. 'Response.Write("<font color=Green>╡┌╦─╨╨</font>"&txt4&"<br>")
  83. 'txt5 = objTS.ReadLine
  84. 'Response.Write("<font color=Green>╡┌╬σ╨╨</font>"&txt5&"<br>")
  85. 'txt6 = objTS.ReadLine
  86. 'Response.Write("<font color=Green>╡┌┴∙╨╨</font>"&txt6&"<br>")
  87. 'txt7 = objTS.ReadLine
  88. 'Response.Write("<font color=Green>╡┌╞▀╨╨</font>"&txt7&"<br>")
  89. 'End if
  90.  
  91. 'objTS.SkipLine
  92. 'objTS.SkipLine
  93. 'shij = objTS.ReadLine
  94. Set objTS=nothing
  95.  
  96.  
  97.  Set objFSO=nothing
  98. 'set conn=nothing
  99.  
  100.  
  101. %>
  102. <script language="javascript">
  103. function isdenghao(s) 
  104. var patrn=/=/; 
  105. if (!patrn.exec(s)) return false 
  106. return true 
  107. function getStrActualLen(sChars) 
  108.     return sChars.replace(/[^\x00-\xff]/g,"xx").length; 
  109.  
  110.  </script>
  111. <SCRIPT LANGUAGE=javascript>
  112. <!--
  113. function check()
  114. var cd = new Date();
  115. var ct = cd.getHours();
  116.     
  117.     if(form1.date.value=="")
  118.     {
  119.         alert("╟δ╩Σ╚δ╠φ╝╙╩▒╝Σúí\n");
  120.         form1.date.focus();
  121.         return false;
  122.     }
  123.     if(form1.content.value=="")
  124.     {
  125.         alert("╟δ╩Σ╚δ╨┼╧ó─┌╚▌úí\n");
  126.         form1.content.focus();
  127.         return false;
  128.     }
  129.  
  130.     if(getStrActualLen(form1.content.value)>139)
  131.     {
  132.         alert("╢╠╨┼─┌╚▌┤≤╙┌139╕÷╫╓╖√ú¼╟δ╨▐╕─úí\n");
  133.         form1.content.focus();
  134.         return false;
  135.     }
  136.     if(isdenghao(form1.content.value))
  137.     {
  138.     alert("╠∞╞°╘ñ▒¿╓╨▓╗─▄║¼╙╨=║┼");
  139.     return false;
  140.     }
  141.     form1.submit();
  142. return false;}
  143.  
  144. //-->
  145. </SCRIPT>
  146. <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>╘τ╔╧╢╠╨┼╖ó▓╝</title></head>
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158. <div id="head">
  159.  
  160.         <form action="postzao.asp" method="post" name="form1" onSubmit="javascript:return check();">
  161.             <table border="0" width="630" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111">
  162.               <tr>
  163.                 <td width="35%" ><span class="STYLE2">╘τ╔╧╠∞╞°╘ñ▒¿╠φ╝╙╥│├µ: ╚╒╞┌</td>
  164.                 <td width="60%" bgcolor="#ffffff"><p>
  165.                     <input type=hidden name="sb" value=0631 />
  166.                     <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 />
  167.                     <span class="STYLE2">╠∞╞°╘ñ▒¿─┌╚▌╫ε│ñ╬¬140╕÷╫╓╜┌</span></p></td>
  168.               </tr>
  169.               <tr>
  170.                 <td height="3" colspan="2"><span class="STYLE1">╡┌╥╗╨╨─┌╚▌:  
  171.                     <input type=text name="charnum1" size=3 maxlength=3 value=0 />
  172.                   ╫╓╜┌</td>
  173.               </tr>
  174.               <tr>
  175.                 <td bgcolor="#ffffff" colspan="2"><p align="center">
  176.                   <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>
  177.                 </p></td>
  178.               </tr>
  179.               <tr>
  180.                 <td  colspan="2"><span class="STYLE1">╡┌╢■╨╨─┌╚▌:  
  181.                     <input type=text name="charnum2" size=3 maxlength=3 value=0 />
  182.                   ╫╓╜┌</td>
  183.               </tr>
  184.               <tr>
  185.                 <td bgcolor="#ffffff" colspan="2"><p align="center">
  186.                     <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>
  187.                 </p></td>
  188.               </tr>
  189.               <tr>
  190.                 <td  colspan="2"><span class="STYLE1">╡┌╚²╨╨─┌╚▌:  
  191.                     <input type=text name="charnum3" size=3 maxlength=3 value=0 />
  192.                   ╫╓╜┌</td>
  193.               </tr>
  194.               <tr>
  195.                 <td bgcolor="#ffffff" colspan="2"><p align="center">
  196.                     <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>
  197.                 </p></td>
  198.               </tr>
  199.               <tr>
  200.                 <td  colspan="2"><span class="STYLE1">╡┌╦─╨╨─┌╚▌:  
  201.                     <input type=text name="charnum4" size=3 maxlength=3 value=0 />
  202.                   ╫╓╜┌</td>
  203.               </tr>
  204.               <tr>
  205.                 <td bgcolor="#ffffff" colspan="2"><p align="center">
  206.                     <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>
  207.                 </p></td>
  208.               </tr>
  209.               <tr>
  210.                 <td  colspan="2"><span class="STYLE1">╡┌╬σ╨╨─┌╚▌:  
  211.                     <input type=text name="charnum5" size=3 maxlength=3 value=0 />
  212.                   ╫╓╜┌</td>
  213.               </tr>
  214.               <tr>
  215.                 <td bgcolor="#ffffff" colspan="2"><p align="center">
  216.                     <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>
  217.                 </p></td>
  218.               </tr>
  219.               <tr>
  220.                 <td bgcolor="#ffffff" colspan="2"><p align="center">
  221.                     <input type=Submit value="╠φ╝╙" name=Submit />
  222.                 </p></td>
  223.               </tr>
  224.           </table>
  225.         </form>
  226.      </div>
  227.