【调度系统】广东民航医疗快线调度系统源代码
wanglizhong
2025-05-05 8a7dab004bc3eca7808d0cc196a329464402bbc9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%Session.CodePage=936%>
 
<% 
function getpychar(char)
dim tmpp:tmpp=65536+asc(char)
 if(tmpp>=45217 and tmpp<=45252) then 
getpychar= "A"
elseif(tmpp>=45253 and tmpp<=45760) then
getpychar= "B"
elseif(tmpp>=45761 and tmpp<=46317) then
getpychar= "C"
elseif(tmpp>=46318 and tmpp<=46825) then
getpychar= "D"
elseif(tmpp>=46826 and tmpp<=47009) then 
getpychar= "E"
elseif(tmpp>=47010 and tmpp<=47296) then 
getpychar= "F"
elseif(tmpp>=47297 and tmpp<=47613) then 
getpychar= "G"
elseif(tmpp>=47614 and tmpp<=48118) then
getpychar= "H"
elseif(tmpp>=48119 and tmpp<=49061) then
getpychar= "J"
elseif(tmpp>=49062 and tmpp<=49323) then 
getpychar= "K"
elseif(tmpp>=49324 and tmpp<=49895) then 
getpychar= "L"
elseif(tmpp>=49896 and tmpp<=50370) then 
getpychar= "M"
elseif(tmpp>=50371 and tmpp<=50613) then 
getpychar= "N"
elseif(tmpp>=50614 and tmpp<=50621) then 
getpychar= "O"
elseif(tmpp>=50622 and tmpp<=50905) then
getpychar= "P"
elseif(tmpp>=50906 and tmpp<=51386) then 
getpychar= "Q"
elseif(tmpp>=51387 and tmpp<=51445) then 
getpychar= "R"
elseif(tmpp>=51446 and tmpp<=52217) then 
getpychar= "S"
elseif(tmpp>=52218 and tmpp<=52697) then 
getpychar= "T"
elseif(tmpp>=52698 and tmpp<=52979) then 
getpychar= "W"
elseif(tmpp>=52980 and tmpp<=53640) then 
getpychar= "X"
elseif(tmpp>=53689 and tmpp<=54480) then 
getpychar= "Y"
elseif(tmpp>=54481 and tmpp<=62289) then
getpychar= "Z"
else 'Èç¹û²»ÊÇÖÐÎÄ£¬Ôò²»´¦Àí
getpychar=char
end if
end function
function getpy(str)
for i=1 to len(str)
pystr=pystr & getpychar(mid(str,i,1))
next
getpy=lcase(pystr)
end function 
 
Function iconv(InCharset,OutCharset,OutStr)
    Dim File
    Set File = server.CreateObject("Adodb.Stream")
    File.Charset = InCharset
    File.Mode = 3
    File.Open
    File.Type = 2
    File.Position = 0
    File.WriteText OutStr
    File.Position = 0
    File.Charset = OutCharset
    iconv = File.ReadText
End Function
 
zhoz_txt=request("zhoz_txt")
zhoz_txt=iconv("GB2312","UTF-8",zhoz_txt)
'zhoz_txt=server.urlencode(zhoz_txt)
'zhoz_txt="²âÊÔÓû§"
zhoz_str = getpy(zhoz_txt)
pingying = RTrim(zhoz_str)
 
ORI = pingying
for i = 1 to len(ORI)
  j = mid(ORI,i,1)
  if (j>=CHR(65) and j<=CHR(90)) or (j>=CHR(97) and j<=CHR(122)) then
    TXT = TXT & j
  else
    DUM = DUM & j
  end if
next
pingying=TXT
 
response.write pingying 
%>