【调度系统】广东民航医疗快线调度系统源代码
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%Session.CodePage=65001%>
<!--#include virtual="/inc/chkadmin.gds"-->
<!--#include virtual="/inc/function.gds"-->
<%
'Response.Redirect "test_PC.gds"
Response.Redirect "Task_List.gds?OrdState=2&OrdDateType=&OrdClassList=&h_menu1_1=1"
 
urlstr=trim(Request("urlstr"))
 
if len(urlstr)=0 then
  urlstr="admin.asp"
else
  urlstr = replace(urlstr,"*","&")
end if
 
Set rs = Server.CreateObject("ADODB.Recordset")
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title><%=LindemanAdmin%></title>
        <!--#include virtual="/inc/ccs.gds"-->
    </head>
    <body onkeydown="xKeyEvent(event)">
        <!--#INCLUDE FILE="menu_header.gds" -->
        <!-- content -->
        <div id="content">
            <%h_menu1="1"
            h_menu2=""%>
            <!--#INCLUDE FILE="Message_menu_left.gds" -->
            <!-- content / right -->
            <div id="right">
                <!-- table -->
                <div class="box">
                    <!-- box / title -->
                    <div class="title">
                        <h5>公告</h5>
                        <div class="search">
                            <form action="#" method="post">
                                <div class="input">
                                    <input type="text" id="search" name="search" />
                                </div>
                                <div class="button">
                                    <input type="submit" name="submit" value="搜索" />
                                </div>
                            </form>
                        </div>
                    </div>
                    <!-- end box / title -->
                    <!--#include virtual="/inc/SystemMessages.gds" -->
                    <div class="table">
                        <form action="" method="post">
                        <table>
                            <thead>
                                <tr>
                                    <th class="left">标题</th>
                                    <th>发布时间</th>
                                    <th>发信人</th>
                                    <th class="selected last"><input type="checkbox" class="checkall" /></th>
                                </tr>
                            </thead>
                            <tbody>
            <%
            acc1=clng(request("page"))
            if acc1=empty then acc1=clng(1)
            QuantityInt = 10
            acc2=0
            acc3=0
 
            MessageTypeSql=""
            if session("Admin_Type")=2 then
              MessageTypeSql=MessageTypeSql&" or MessageType=1 "
            elseif session("Admin_Type")=3 then
              MessageTypeSql=MessageTypeSql&" or MessageType=2 "
            end if
            if session("Admin_Language")="zh-CN" then
              MessageTypeSql=MessageTypeSql&" or MessageType=4 "
            elseif session("Admin_Language")="En" then
              MessageTypeSql=MessageTypeSql&" or MessageType=5 "
            end if
            sql="select * from B2B_OrdersMessage where MessageType=0"&MessageTypeSql&" or (MessageType=3 and ToAdmin_UserID="&session("adminID")&" and MessageReadIDs not like '%,"&session("adminID")&",%')  order by MessageTime desc"
            rs.open sql,objConn,3,1
            if not rs.eof then
            rs.pagesize=QuantityInt
            rs.absolutepage=acc1
            acc2=rs.pagecount
            acc3=rs.recordcount
            end if
            i=1
 
            do while not rs.Eof and i<=QuantityInt
              OrdersMessageID    = rs("OrdersMessageID")
              OrdersMessageTitle    = rs("OrdersMessageTitle")
              SenderID        = rs("SenderID")
              MessageTime        = rs("MessageTime")
              MessageReadIDs    = rs("MessageReadIDs")
              MessageType        = rs("MessageType")
 
              if MessageType=0 then
                MessageTypeTXT="[公告]&nbsp;"
              end if
              i=i+1
              %>
              <tr>
                <td class="title"><A HREF="Message_Detail.asp?OrdersMessageID=<%=OrdersMessageID%>"><%=MessageTypeTXT & OrdersMessageTitle%><%if InStr(MessageReadIDs,","&session("adminID")&",")<=0 then Response.Write " (新)"%></A></td>
                <td class="date"><%=MessageTime%></td>
                <td class="category"><%=TVadminUser(SenderID,"UserName",0)%></td>
                <td class="selected last"><input type="checkbox" /></td>
              </tr>
            <%rs.movenext
            loop
            rs.close()
            %>
            <%if i<24 then
            for j=i to 24%>
            <tr>
                <td class="title">&nbsp;</td>
                <td class="date">&nbsp;</td>
                <td class="category">&nbsp;</td>
                <td class="selected last">&nbsp;</td>
            </tr>
            <%next
            end if%>
                            </tbody>
                        </table>
                        <!-- pagination -->
                        <div class="pagination pagination-left">
                            <div class="results">
                                <%
                                ShowingLeast = (acc1-1)*QuantityInt+1
                                ShowingMax = QuantityInt*acc1
                                if ShowingMax>acc3 then ShowingMax=acc3
                                %>
                                <span><%="显示&nbsp;"& ShowingLeast &"-"& ShowingMax &"&nbsp;of&nbsp;"&acc3%></span>
                            </div>
                            <%if acc2>1 then%>
                            <ul class="pager">
                                <%if acc1=1 then%>
                                  <li class="disabled">&laquo; 上页</li>
                                <%else%>
                                  <li><a href="?page=<%=acc1-1%>">&laquo; 上页</a></li>
                                <%end if%>
                                <%
                                acc4=""
                                for i=1 to acc2
                                  if acc2<=9 then
                                    acc4=acc4&","&i
                                  else
                                    if i=1 then
                                      acc4=acc4&","&i
                                    elseif acc1<=5 and i<=7 then
                                      acc4=acc4&","&i
                                    elseif acc1>=acc2-4 and i>=acc2-6 then
                                      acc4=acc4&","&i
                                    elseif i>=acc1-2 and i<=acc1+2 then 
                                      acc4=acc4&","&i
                                    elseif i=acc2 then
                                      acc4=acc4&","&i
                                    elseif i=2 or i=acc2-1 then
                                      acc4=acc4&",0"
                                    end if
                                  end if
                                next
                                acc4SP=SPLIT(acc4,",")
                                for i = 1 to UBOUND(acc4SP)%>
                                  <%if acc4SP(i)="0" then%>
                                    <li class="separator">...</li>
                                  <%elseif acc1=cint(acc4SP(i)) then%>
                                    <li class="current"><%=acc4SP(i)%></li>
                                  <%else%>
                                    <li><a href="?page=<%=acc4SP(i)%>"><%=acc4SP(i)%></a></li>
                                  <%end if%>
                                <%next%>
                                <%if acc1>=acc2 then%>
                                  <li class="disabled">下页 &raquo;</li>
                                <%else%>
                                  <li><a href="?page=<%=acc1+1%>">下页 &raquo;</a></li>
                                <%end if%>
                            </ul>
                            <%end if%>
                        </div>
                        <!-- end pagination -->
                        </form>
                    </div>
                </div>
                <!-- end table -->
 
 
                
            </div>
            <!-- end content / right -->
        </div>
        <!-- end content -->
        <!--#include FILE="vicgame.asp"-->
    </body>
</html>