%@LANGUAGE="VBSCRIPT"%>
<%
set rszhuanjia = Server.CreateObject("ADODB.Recordset")
rszhuanjia.ActiveConnection = MM_connjxmb_STRING
rszhuanjia.Source = "SELECT * FROM jxmba.jzb ORDER BY iD_zhuanjia DESC"
rszhuanjia.CursorType = 0
rszhuanjia.CursorLocation = 2
rszhuanjia.LockType = 3
rszhuanjia.Open()
rszhuanjia_numRows = 0
%>
<%
set rsnews = Server.CreateObject("ADODB.Recordset")
rsnews.ActiveConnection = MM_connjxmb_STRING
rsnews.Source = "SELECT * FROM jxmba.jzb_news ORDER BY ID_news DESC"
rsnews.CursorType = 0
rsnews.CursorLocation = 2
rsnews.LockType = 3
rsnews.Open()
rsnews_numRows = 0
%>
<%
set rszaiqing = Server.CreateObject("ADODB.Recordset")
rszaiqing.ActiveConnection = MM_connjxmb_STRING
rszaiqing.Source = "SELECT * FROM jxmba.jzb_ziran ORDER BY ID_ziran DESC"
rszaiqing.CursorType = 0
rszaiqing.CursorLocation = 2
rszaiqing.LockType = 3
rszaiqing.Open()
rszaiqing_numRows = 0
%>
<%
Dim Repeat1__numRows
Repeat1__numRows = 6
Dim Repeat1__index
Repeat1__index = 0
rszhuanjia_numRows = rszhuanjia_numRows + Repeat1__numRows
%>
<%
Dim Repeat3__numRows
Repeat3__numRows = 7
Dim Repeat3__index
Repeat3__index = 0
rszaiqing_numRows = rszaiqing_numRows + Repeat3__numRows
%>
<%
Dim Repeat2__numRows
Repeat2__numRows = 6
Dim Repeat2__index
Repeat2__index = 0
rsnews_numRows = rsnews_numRows + Repeat2__numRows
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters
' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> "") Then MM_removeList = MM_removeList & "&" & MM_paramName & "="
MM_keepURL="":MM_keepForm="":MM_keepBoth="":MM_keepNone=""
' add the URL parameters to the MM_keepURL string
For Each Item In Request.QueryString
NextItem = "&" & Item & "="
If (InStr(1,MM_removeList,NextItem,1) = 0) Then
MM_keepURL = MM_keepURL & NextItem & Server.URLencode(Request.QueryString(Item))
End If
Next
' add the Form variables to the MM_keepForm string
For Each Item In Request.Form
NextItem = "&" & Item & "="
If (InStr(1,MM_removeList,NextItem,1) = 0) Then
MM_keepForm = MM_keepForm & NextItem & Server.URLencode(Request.Form(Item))
End If
Next
' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
if (MM_keepBoth <> "") Then MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
if (MM_keepURL <> "") Then MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1)
if (MM_keepForm <> "") Then MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
If (firstItem <> "") Then
MM_joinChar = "&"
Else
MM_joinChar = ""
End If
End Function
%>
江西省减灾委员会
|
|
| 江西省气象局: |
| 参与减灾工作的方针、政策和规划的制定,负责提供灾害性天气的预报和监测 |
情报及有关资料,对洪涝、干旱、冻害、台风、冰雹、雷电等气象灾害提出防御对策
|
| 与建议;开展大气环境预报、人工影响天气、气象遥感探测技术、农业气象技术服务 |
| 等各种应用技术咨询及专项气象技术服务,组织参加重大减灾学术交流和减灾科普宣 |
| 传活动。 |
负责减灾委员会办公室的日常工作。
|
|
<%
rszhuanjia.Close()
%>
<%
rsnews.Close()
%>
<%
rszaiqing.Close()
%>
<%
Sub OutputData_new( num, rs, path )
i=0
do While Not rs.EOF
if i=num then exit do
if len(rs.fields("memo"))<20 then
Response.WRITE "?/FONT>" & rs.Fields("memo").Value & ""
else
Response.WRITE "?/FONT>" & left(rs.Fields("memo").Value,20) & ".."
end if
Response.Write "" & " " & rs.fields("ddate") & "
"
rs.MoveNext
i=i+1
loop
End Sub
Sub OutputPic( num, rs, path )
i=0
do While Not rs.EOF
if i=num then exit do
' Response.WRITE "
" & "
" & " " & rs("Title") & ""
Response.WRITE " " & " & ")
"& rs("Title") & "" & "
"
' Response.Write "" & " "& rs("PostUnit") & " "& rs("PostTime") & "
"
rs.MoveNext
i=i+1
loop
End Sub
Sub OutputData( num, rs, path )
i=0
do While Not rs.EOF
if i=num then exit do
if len(rs.fields("title"))<12 then
Response.WRITE "?/FONT> " & rs("Title") & ">"
else
Response.WRITE "?/FONT> " & left(rs.fields("Title").value,12) & ".."
end if
'Response.Write "" & " "& rs("PostUnit") & " "& rs("PostTime")
' if left(rs("PostTime"),9)=left(now(),9) then
' Response.Write "
"
' end if
Response.Write "
"
'end if
rs.MoveNext
i=i+1
loop
End Sub
%>