home *** CD-ROM | disk | FTP | other *** search
/ 221.214.14.186 / 221.214.14.186.tar / 221.214.14.186 / wh / zz / index.asp < prev    next >
Text File  |  2008-08-06  |  17KB  |  590 lines

  1. <%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
  2. <% Option Explicit %>
  3. <% 
  4. Const limit_ZC=1000 
  5. Const limit_NN=1000 
  6. Const limit_dd=200  
  7. Dim FolderPath,Text,objFSO,objFolder,Files,eFile,ObjTs,FileName
  8. Dim fz1,fz2,fdz'╒╥╡╜zczc╡─╬╗╓├
  9. Dim fs1,fs2,fds'╒╥╡╜FSCI40╡─╬╗╓├
  10.  
  11. Dim fda'╒╥╡╜cca╡─╬╗╓├,cca╕ⁿ╒²▒¿
  12. Dim fd1,fd2,fdd'╒╥╡╜=╡─╬╗╓├
  13. Dim f1,f2,f3,f4,f5
  14.  
  15. Dim i'╥╘"NNNN"╬¬╖╓╕⌠╡─╤¡╗╖
  16. dim j'╜╪│÷"="╓«╟░╡─╬─╝■╤¡╗╖
  17.  
  18.  
  19. ReDim TotalZ(limit_ZC)'╜╪│÷"ZCZC"╡─╩²╫Θ
  20.  
  21. ReDim Totald(limit_dd)'╜╪│÷"="╡─╩²╫Θ
  22.  
  23.  
  24. dim TotalA'╜╪│÷"ZCZC"╕÷╩²
  25. dim TotalB'╜╪│÷"NNNN"╡─╕÷╩²
  26. dim TotalC'╜╪│÷"="╡─╕÷╩²
  27.  
  28. dim headinfo'╜╪│÷▒¿═╖┤╙ZCZC║═NNNN╓«╝Σ╡──┌╚▌
  29. dim infoFS '╚Ñ╡⌠═╖▒¿═╖ZCZC╡──┌╚▌ú¼┤╙FSCI40┐¬╩╝╡──┌╚▌
  30. dim info '╜╪│÷▓╗┤°▒¿═╖fsci40╡─▒¿╬─
  31. dim data '╚Ñ╡⌠FSCI40ú¼├┐╕÷╒╛╡π╡─╘ñ▒¿─┌╚▌
  32. dim L'├┐╖▌▒¿╬─╨í╙┌90╫╓╜┌╬¬┤φ▒¿ú¼─┌╚▌▓╗═Ω╚½┤φ▒¿
  33. dim sz'├┐╖╓▒¿╬─╡─╡┌╥╗╕÷╩²╫╓╩╟▓╗╩╟5
  34. dim qh '╟°║┼
  35. dim time'╖ó▒¿╩▒╝Σ
  36. Redim tq(31)'▒¿╬─╩²╫Θtq(25)24╨í╩▒╖τ┴ª1ú¼tq(26)24╨í╩▒╖τ┴ª2ú¼tq(27)ú¼tq(28)48╨í╩▒╖τ┴ª1ú¼tq(29)ú¼tq(30)72╨í╩▒╖τ┴ª1
  37. 'tq(31)╒╛╡π
  38. dim t1,t2,t3,t4
  39.  
  40.  
  41.  
  42. FolderPath = "yubao"
  43. Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
  44. Set objFolder = objFSO.GetFolder(Server.MapPath(FolderPath))
  45. Set Files = objFolder.Files
  46. For Each eFile In Files 
  47. FileName = eFile.Name
  48. Set ObjTs = objFSO.opentextfile(Server.MapPath(FolderPath)&"\"&FileName,1)
  49.  
  50.  
  51.   If Not ObjTs.AtEndOfStream Then
  52.   Text = Text&ObjTs.Readall
  53.    End If
  54.  
  55. next
  56.  
  57. Text=Split(Text,"NNNN")
  58.    For i=0 to ubound(Text) 
  59.      TotalA=i
  60.     next
  61. Response.Write("<font color=Green>╬─╝■╕÷╩²</font>"&TotalA&"<br>")
  62.  
  63. '╢┴│÷╒╛╡π╩²╛▌
  64. Dim objTS1,objTS2,objTS3
  65. Dim FilePath1,FilePath2,FilePath3
  66. Dim zd,zdhz,shq
  67. Dim z1,z2,z3
  68. Dim Num,Num1
  69. Dim zdArray(2430)
  70. Dim zdhzArray(2430)
  71. Dim shqArray(2430)
  72. Dim AtEndOfStream
  73. FilePath1 = "zd.asp"
  74. FilePath1 = Server.MapPath(FilePath1)
  75. FilePath2 = "zdhz.asp"
  76. FilePath2 = Server.MapPath(FilePath2)
  77. FilePath3 = "sqhz.asp"
  78. FilePath3 = Server.MapPath(FilePath3)
  79.  
  80.  
  81. Set objTS1 = objFSO.OpenTextFile(FilePath1, 1)
  82.  
  83. Num = 2430
  84.   For z1 = 0 to Num
  85.     zd = objTS1.ReadLine
  86.     zdArray(z1)=zd 
  87.    Next
  88.  
  89. Set objTS2 = objFSO.OpenTextFile(FilePath2, 1)
  90.  Num = 2430
  91.  For z2 = 0 to Num
  92.    zdhz = objTS2.ReadLine
  93.    zdhzArray(z2)=zdhz 
  94.  Next
  95. Set objTS3 = objFSO.OpenTextFile(FilePath3, 1)
  96. Num = 2430
  97. For z3 = 0 to Num
  98. '    objTS.SkipLine
  99. shq = objTS3.ReadLine
  100. shqArray(z3)=shq
  101. 'Response.Write("╒╛╡π"&"("&z3&")"&shqArray(z3)&"<br>")
  102. Next
  103.  
  104.  
  105. 'Set objTS4 = objFSO.OpenTextFile(FilePath4, 1)
  106. 'Num1 = 340
  107. 'For z4 = 0 to Num1
  108. ''    objTS.SkipLine
  109. 'shqhz = objTS4.ReadLine
  110. 'shqhzArray(z4)=shqhz
  111. ''Response.Write("╒╛╡π"&"("&z4&")"&shqhzArray(z4)&"<br>")
  112. 'Next
  113.  
  114. 'Set objTS4 = nothing
  115. Set objTS3 = nothing
  116. Set objTS2 = nothing
  117. Set objTS1 = nothing
  118. set objTS = nothing
  119. set Files = nothing
  120. set objFolder = nothing
  121. Set objFSO = nothing
  122.  
  123. '╧┬├µ╩╟╠∞╞°╡τ┬δ║═╠∞╞°╧╓╧≤
  124.  
  125. Dim tqxxString,fxString'▒¿╬─╡τ┬δ╫╓╖√┤«
  126. Dim htqxxString,hfxString,hflString'╖¡╥δ│╔║║╫╓╫╓╖√┤«
  127. Dim tqxxArray,fxArray '▒¿╬─╡τ┬δ╩²╫Θ
  128. Dim htqxxArray,hfxArray,hflArray'╖¡╥δ│╔║║╫╓╩²╫Θ
  129. Dim y1,y2,y3,y4,y5
  130.  
  131.  
  132. tqxxString = "00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
  133. fxString="0,1,2,3,4,5,6,7,8,9"
  134. htqxxString="╟τ,╢α╘╞,╥⌡,╒≤╙Ω,└╫╒≤╙Ω,└╫╒≤╙Ω░Θ╙╨▒∙▒ó,╙Ω╝╨╤⌐,╨í╙Ω,╓╨╙Ω,┤≤╙Ω,▒⌐╙Ω,┤≤▒⌐╙Ω,╠╪┤≤▒⌐╙Ω,╒≤╤⌐,╨í╤⌐,╓╨╤⌐,┤≤╤⌐,▒⌐╤⌐,╬φ,╢│╙Ω,╔││╛▒⌐,╨í╡╜╓╨╙Ω,╓╨╡╜┤≤╙Ω,┤≤╡╜▒⌐╙Ω,┤≤▒⌐╙Ω╡╜╠╪┤≤▒⌐╙Ω,╨í╡╜╓╨╤⌐,╓╨╡╜┤≤╤⌐,┤≤╡╜▒⌐╤⌐,╕í│╛,╤∩╔│,╟┐╔││╛▒⌐"
  135. hfxString="╬ó╖τ,╢½▒▒╖τ,╞½╢½╖τ,╢½─╧╖τ,─╧╖τ,╬≈─╧╖τ,╞½╬≈╖τ,╬≈▒▒╖τ,▒▒╖τ,╨²╖τ"
  136. hflString="╬ó╖τ,3-4╝╢,4-5╝╢,5-6╝╢,6-7╝╢,7-8╝╢,8-9╝╢,9-10╝╢,10-11╝╢,11-12╝╢"
  137.  
  138. tqxxArray= split(tqxxString,",")
  139.    For y1=0 to Ubound(tqxxArray)
  140. Next
  141.  
  142. fxArray= split(fxString,",")
  143.    For y2=0 to Ubound(fxArray)
  144. Next
  145.  
  146. htqxxArray= split(htqxxString,",")
  147.    For y3=0 to Ubound(htqxxArray)
  148. Next
  149.  
  150.  
  151.  
  152. hfxArray= split(hfxString,",")
  153.    For y4=0 to Ubound(hfxArray)
  154. Next
  155.  
  156. hflArray= split(hflString,",")
  157.   For y5=0 to Ubound(hflArray)
  158. Next
  159.  
  160. '┤≥┐¬╩²╛▌┐Γ
  161. dim Conn
  162.   Conn="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="&Server.MapPath("data/data.mdb")
  163. dim Rs,Sql 
  164. set Rs=server.CreateObject("adodb.recordset")
  165. Sql="[yubao]"
  166. Rs.open Sql,Conn,1,3
  167.  
  168. '╒╥╡╜ZCZC╡─╬╗╓├
  169.    for i=0 to (totalA-1)
  170.     fdz=instr(1,Text(i),"ZCZC")
  171.      if fdz<>0 then
  172.      headinfo=Mid(Text(i),fdz)
  173.       fds=instr(headinfo,"FSCI40")'╒╥╡╜"FSCI40"
  174.       fda=instr(headinfo,"CC")'╒╥╡╜"CC"
  175.        if fds<>0 then
  176.         infoFS=Mid(headinfo, fds)'╜╪│÷┤°fsci40╡─▒¿╬─
  177.          qh=Mid(infoFS,8,4)'╜╪│÷╟°║┼
  178.          'Response.Write("<font color=Blue>╩í╡╪╟°┤·┬δ</font>"&qh&"<br>")
  179.                   
  180.          if fda=0 then
  181.           
  182.            info=Mid(infoFS, 19)'╜╪│÷▓╗┤°▒¿═╖fsci40╡─▒¿╬─
  183.            
  184.                       
  185.            '╒╥╡╜=╡╚║┼
  186.             j=0
  187.                do 
  188.                    fdd=instr(fdd+1,info,"=")'╒╥╡╜=╡╚║┼
  189.                  if fdd=0 Then Exit Do
  190.                    if j<=limit_dd then
  191.                     Totald(j)=fdd
  192.                     
  193.                     TotalC=j
  194.                     j=j+1
  195.                    End if
  196.                 loop
  197.                For j=0 to TotalC
  198.                   fd2=Totald(j)
  199.                 
  200.                   if j=0 then
  201.                    data=Mid(info,1,fd2-1)
  202.                   Else
  203.                    fd1=Totald(j-1)
  204.                    data=Mid(info,fd1+1,fd2-fd1-1)
  205.                   End if
  206.                       
  207.                     data=Trim(data)
  208.                     sz=instr(data,5)
  209.                     
  210.                    if sz=3 then
  211.                      data=Mid(data,3)
  212.                        ElseIf sz=4 then
  213.                         data=Mid(data,4)
  214.                          Response.Write(data&"<br>")
  215.                     
  216.                         L=len(data)
  217.                         if L>95 then
  218.                        
  219.                         data=LTrim(data)
  220.                                         
  221.                         tq(0)=mid(data,1,5)
  222.                     '╖¡╥δ╓╨╬─╒╛╡π
  223.                                                 
  224.                          for z1=0 to 2430
  225.                              t1=zdArray(z1)
  226.                             if tq(0)=zdArray(z1)then
  227.                             
  228.                              z2=z1
  229.                              
  230.                              tq(31)=zdhzArray(z2)
  231.                              z3=z2
  232.                              qh=shqArray(z3)
  233.                            Exit for
  234.                            End if
  235.                           next
  236.                           Response.Write("<font color=Blue>╩í╡╪╟°┤·┬δ</font>"&qh&"<br>")
  237.                         Response.Write("<font color=red>╓╨╬─╒╛╡π</font>"&tq(31)&"<br>")  
  238.  
  239.                         tq(1)=mid(data,8,2)
  240.                           for y1=0 to 31
  241.        
  242.                           t2=tqxxArray(y1)
  243.                             if t2=tq(1) then
  244.                              y3=y1
  245.                          
  246.                             tq(1)=htqxxArray(y3)
  247.                           Exit for
  248.                           End if
  249.                        Next
  250.                         tq(2)=mid(data,10,2)
  251.                          for y1=0 to 31
  252.        
  253.                           t2=tqxxArray(y1)
  254.                             if t2=tq(2) then
  255.                              y3=y1
  256.                          
  257.                             tq(2)=htqxxArray(y3)
  258.                           Exit for
  259.                           End if
  260.                        Next
  261.                        if tq(1)=tq(2) then 
  262.                           tq(1)=tq(1)
  263.                           Else
  264.                           tq(1)=tq(1)+"╫¬"+tq(2)
  265.                           End if
  266.                           Response.Write("<font color=Green>24╨í╩▒╠∞╞°╘ñ▒¿:</font>"&tq(1)&",")
  267.                           
  268.                         tq(3)=mid(data,14,1)
  269.                          for y2=0 to 9
  270.                              t2=fxArray(y2)
  271.                               if t2=tq(3) then
  272.                             y4=y2
  273.                               tq(3)=hfxArray(y4)
  274.                              Exit for
  275.                              End if
  276.                            Next
  277.  
  278.                         tq(4)=mid(data,15,1)                        
  279.                          for y2=0 to 9
  280.                               t2=fxArray(y2)
  281.                               if t2=tq(4) then
  282.                             y4=y2
  283.                               tq(4)=hfxArray(y4)
  284.                              Exit for
  285.                              End if
  286.                            Next
  287.  
  288.                         tq(5)=mid(data,16,1)                        
  289.                          for y2=0 to 9
  290.                               t2=fxArray(y2)
  291.                               if t2=tq(5) then
  292.                               y5=y2
  293.                               tq(25)=hflArray(y5)
  294.                              Exit for
  295.                              End if
  296.                            Next
  297.  
  298.                         tq(6)=mid(data,17,1)
  299.                            for y2=0 to 9
  300.                                  t2=fxArray(y2)
  301.                                   if t2=tq(6) then
  302.                                 y5=y2
  303.                                 tq(26)=hflArray(y5)
  304.                                Exit for
  305.                                End if
  306.                            Next
  307.                            if tq(3)=tq(4) and tq(25)=tq(26) and tq(3)=tq(25) then 
  308.                               tq(3)=tq(3)
  309.                                ElseIf tq(3)=tq(4) and tq(25)=tq(26) and tq(3)<>tq(25) then 
  310.                                 tq(3)=tq(3)+tq(25)
  311.                                 ElseIf tq(3)=tq(4) and tq(5)>tq(6) then 
  312.                                  tq(3)=tq(3)+tq(25)+"╝⌡╚⌡╬¬" +tq(26)
  313.                                  ElseIf tq(3)=tq(4) and tq(5)<tq(6) then 
  314.                                  tq(3)=tq(3)+tq(25)+"╘÷╟┐╡╜" +tq(26)
  315.                                  ElseIf tq(3)<>tq(4) and tq(3)="╬ó╖τ" then 
  316.                                  tq(3)=tq(4)+tq(26) 
  317.                                  ElseIf tq(3)<>tq(4) and tq(4)="╬ó╖τ" then 
  318.                                  tq(3)=tq(3)+tq(25) 
  319.                                  ElseIf tq(3)<>tq(4) and tq(5)=tq(6) then 
  320.                                  tq(3)=tq(3)+"╫¬"+tq(4)+tq(25) 
  321.                                   ElseIf tq(3)<>tq(4) and tq(5)<>tq(6) then
  322.                                    tq(3)=tq(3)+tq(25) +"╫¬"+tq(4)+tq(26)
  323.                                    Else 
  324.                                     tq(3)=""
  325.                              End if
  326.                         Response.Write(tq(3)&",")     
  327.  
  328.                         
  329.                         tq(7)=mid(data,20,2)
  330.                            if tq(7)<=50 then
  331.                              tq(7)=tq(7)
  332.                              Else
  333.                              tq(7)=50-tq(7)
  334.                             End if                
  335.     
  336.                         Response.Write("╡═╬┬"&tq(7)&"íµ"&",")
  337.                         tq(8)=mid(data,22,2)
  338.                           if tq(8)<=50 then
  339.                              tq(8)=tq(8)
  340.                              Else
  341.                              tq(8)=50-tq(8)
  342.                             End if    
  343.     
  344.                         Response.Write("╕▀╬┬"&tq(8)&"íµ"&"<br>")
  345.                         tq(9)=mid(data,26,2)
  346.                          for y1=0 to 31
  347.        
  348.                           t2=tqxxArray(y1)
  349.                             if t2=tq(9) then
  350.                              y3=y1
  351.                             tq(9)=htqxxArray(y3)
  352.                           Exit for
  353.                           End if
  354.                        Next
  355.  
  356.                         tq(10)=mid(data,28,2)
  357.                          for y1=0 to 31
  358.        
  359.                           t2=tqxxArray(y1)
  360.                             if t2=tq(10) then
  361.                              y3=y1
  362.                             tq(10)=htqxxArray(y3)
  363.                           Exit for
  364.                           End if
  365.                        Next
  366.                        
  367.                        if tq(9)=tq(10) then 
  368.                           tq(9)=tq(9)
  369.                           Else
  370.                           tq(9)=tq(9)+"╫¬"+tq(10)
  371.                           End if
  372.                         Response.Write("<font color=Green>48╨í╩▒╠∞╞°╘ñ▒¿:</font>"&tq(9)&",")
  373.                         
  374.                         tq(11)=mid(data,32,1)
  375.                          for y2=0 to 9
  376.                              t2=fxArray(y2)
  377.                               if t2=tq(11) then
  378.                             y4=y2
  379.                               tq(11)=hfxArray(y4)
  380.                              Exit for
  381.                              End if
  382.                            Next
  383.  
  384.                         tq(12)=mid(data,33,1)
  385.                          for y2=0 to 9
  386.                              t2=fxArray(y2)
  387.                               if t2=tq(12) then
  388.                             y4=y2
  389.                               tq(12)=hfxArray(y4)
  390.                              Exit for
  391.                              End if
  392.                            Next
  393.     
  394.                         tq(13)=mid(data,34,1)
  395.                         for y2=0 to 9
  396.                               t2=fxArray(y2)
  397.                               if t2=tq(13) then
  398.                               y5=y2
  399.                               tq(27)=hflArray(y5)
  400.                              Exit for
  401.                              End if
  402.                            Next
  403.     
  404.                         tq(14)=mid(data,35,1)
  405.                         for y2=0 to 9
  406.                               t2=fxArray(y2)
  407.                               if t2=tq(14) then
  408.                               y5=y2
  409.                               tq(28)=hflArray(y5)
  410.                              Exit for
  411.                              End if
  412.                            Next
  413.                            
  414.                            if tq(11)=tq(12) and tq(27)=tq(28) and tq(11)=tq(27) then 
  415.                               tq(11)=tq(11)
  416.                                ElseIf tq(11)=tq(12) and tq(27)=tq(28) and tq(11)<>tq(27) then 
  417.                                 tq(11)=tq(11)+tq(27)
  418.                                 ElseIf tq(11)=tq(12) and tq(13)>tq(14) then 
  419.                                  tq(11)=tq(11)+tq(27)+"╝⌡╚⌡╬¬" +tq(28)
  420.                                  ElseIf tq(11)=tq(12) and tq(13)<tq(14) then 
  421.                                  tq(11)=tq(11)+tq(27)+"╘÷╟┐╡╜" +tq(28)
  422.                                  ElseIf tq(11)<>tq(12) and tq(11)="╬ó╖τ" then 
  423.                                  tq(11)=tq(12)+tq(28) 
  424.                                  ElseIf tq(11)<>tq(12) and tq(12)="╬ó╖τ" then 
  425.                                  tq(11)=tq(11)+tq(27) 
  426.                                  ElseIf tq(11)<>tq(12) and tq(13)=tq(14) then 
  427.                                  tq(11)=tq(11)+"╫¬"+tq(12)+tq(27) 
  428.                                   ElseIf tq(11)<>tq(12) and tq(13)<>tq(14) then
  429.                                    tq(11)=tq(11)+tq(27) +"╫¬"+tq(12)+tq(28)
  430.                                    Else 
  431.                                     tq(11)=""
  432.                              End if
  433.     
  434.                         Response.Write(tq(11)&",")
  435.                         
  436.                         tq(15)=mid(data,38,2)
  437.                         if tq(15)<=50 then
  438.                         tq(15)=tq(15)
  439.                         Else
  440.                          tq(15)=50-tq(15)
  441.                         End if
  442.                         
  443.     
  444.                         Response.Write("╡═╬┬"&tq(15)&"íµ"&",")
  445.                         tq(16)=mid(data,40,2)
  446.                         if tq(16)<=50 then
  447.                         tq(16)=tq(16)
  448.                         Else
  449.                          tq(16)=50-tq(16)
  450.                         End if
  451.     
  452.                         Response.Write("╕▀╬┬"&tq(16)&"íµ"&"<br>")
  453.                         tq(17)=mid(data,44,2)
  454.                          for y1=0 to 31
  455.        
  456.                           t2=tqxxArray(y1)
  457.                             if t2=tq(17) then
  458.                              y3=y1
  459.                             tq(17)=htqxxArray(y3)
  460.                           Exit for
  461.                           End if
  462.                        Next
  463.     
  464.                         tq(18)=mid(data,46,2)
  465.                          for y1=0 to 31
  466.                              t2=tqxxArray(y1)
  467.                             if t2=tq(18) then
  468.                              y3=y1
  469.                             tq(18)=htqxxArray(y3)
  470.                           Exit for
  471.                           End if
  472.                        Next
  473.                        
  474.                         if tq(17)=tq(18) then 
  475.                           tq(17)=tq(17)
  476.                           Else
  477.                           tq(17)=tq(17)+"╫¬"+tq(18)
  478.                           End if
  479.  
  480.                         Response.Write("<font color=Green>72╨í╩▒╠∞╞°╘ñ▒¿:</font>"&tq(17)&",")
  481.                         
  482.                         tq(19)=mid(data,50,1)
  483.                         for y2=0 to 9
  484.                              t2=fxArray(y2)
  485.                               if t2=tq(19) then
  486.                             y4=y2
  487.                               tq(19)=hfxArray(y4)
  488.                              Exit for
  489.                              End if
  490.                            Next
  491.         
  492.                         tq(20)=mid(data,51,1)
  493.                         for y2=0 to 9
  494.                              t2=fxArray(y2)
  495.                               if t2=tq(20) then
  496.                             y4=y2
  497.                               tq(20)=hfxArray(y4)
  498.                              Exit for
  499.                              End if
  500.                            Next
  501.         
  502.                         tq(21)=mid(data,52,1)
  503.                         for y2=0 to 9
  504.                               t2=fxArray(y2)
  505.                               if t2=tq(21) then
  506.                               y5=y2
  507.                               tq(29)=hflArray(y5)
  508.                              Exit for
  509.                              End if
  510.                            Next
  511.  
  512.                         tq(22)=mid(data,53,1)
  513.                         for y2=0 to 9
  514.                               t2=fxArray(y2)
  515.                               if t2=tq(22) then
  516.                               y5=y2
  517.                               tq(30)=hflArray(y5)
  518.                              Exit for
  519.                              End if
  520.                            Next
  521.                            
  522.                            if tq(19)=tq(20) and tq(29)=tq(30) and tq(19)=tq(29) then 
  523.                               tq(19)=tq(19)
  524.                                ElseIf tq(19)=tq(20) and tq(29)=tq(30) and tq(19)<>tq(29) then 
  525.                                 tq(19)=tq(19)+tq(29)
  526.                                 ElseIf tq(19)=tq(20) and tq(21)>tq(22) then 
  527.                                  tq(19)=tq(19)+tq(29)+"╝⌡╚⌡╬¬" +tq(30)
  528.                                  ElseIf tq(19)=tq(20) and tq(21)<tq(22) then 
  529.                                  tq(19)=tq(19)+tq(29)+"╘÷╟┐╡╜" +tq(30)
  530.                                  ElseIf tq(19)<>tq(20) and tq(19)="╬ó╖τ" then 
  531.                                  tq(19)=tq(20)+tq(30) 
  532.                                  ElseIf tq(19)<>tq(20) and tq(20)="╬ó╖τ" then 
  533.                                  tq(19)=tq(19)+tq(29) 
  534.                                  ElseIf tq(19)<>tq(20) and tq(21)=tq(22) then 
  535.                                  tq(19)=tq(19)+"╫¬"+tq(20)+tq(29) 
  536.                                   ElseIf tq(19)<>tq(20) and tq(13)<>tq(14) then
  537.                                    tq(19)=tq(19)+tq(29) +"╫¬"+tq(20)+tq(30)
  538.                                    Else 
  539.                                     tq(19)=""
  540.                              End if
  541.         
  542.                         Response.Write(tq(19)&",")
  543.                         tq(23)=mid(data,56,2)
  544.                          if tq(23)<=50 then
  545.                           tq(23)=tq(23)
  546.                           Else
  547.                           tq(23)=50-tq(23)
  548.                          End if
  549.             
  550.                         Response.Write("╡═╬┬"&tq(23)&"íµ"&",")
  551.                         tq(24)=mid(data,58,2)
  552.                         if tq(24)<=50 then
  553.                         tq(24)=tq(24)
  554.                         Else
  555.                          tq(24)=50-tq(24)
  556.                         End if
  557.         
  558.                         Response.Write("╕▀╬┬"&tq(24)&"íµ"&"<br>")
  559.                         
  560.  
  561. 'if tq(31)<>"" then
  562. 'Rs.addnew
  563. 'Rs("shq")=qh
  564. 'Rs("zhd")=tq(31)
  565. 'Rs("24tqxx")=tq(1)
  566. 'Rs("24fxfs")=tq(3)
  567. 'Rs("24dw")=tq(7)
  568. 'Rs("24gw")=tq(8)
  569. 'Rs("48tqxx")=tq(9)
  570. 'Rs("48fxfs")=tq(11)
  571. 'Rs("48dw")=tq(15)
  572. 'Rs("48gw")=tq(16)
  573. 'Rs("72tqxx")=tq(17)
  574. 'Rs("72fxfs")=tq(19)
  575. 'Rs("72dw")=tq(23)
  576. 'Rs("72gw")=tq(24)
  577. 'Rs.update
  578. 'End if                                                
  579.                        End if'╚τ╣√▒¿╬─│ñ╢╚▓╗╣╗╛═╔╛╚Ñ
  580.                      End if'╚τ╣√▒¿╬─╡┌╥╗╕÷5▓╗╩╟╘┌3ú¼4╬╗╓├╛═╔╛╚Ñ 
  581.                     next'╡╚║┼╜ß╩°
  582.         
  583.          End if'┤°CC*╡─▒¿╬─╛═╔╛╚Ñ
  584.        end if'▓╗┤°fsci40╡─▒¿╬─╛═╔╛╚Ñ 
  585.      end if'╚τ╣√fdz=0╛═╔╛╚Ñ┤╦▒¿╬─
  586.    next'
  587. 'Conn.close
  588. Rs.close
  589. set conn=nothing
  590.  %>