home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
221.214.14.186
/
221.214.14.186.tar
/
221.214.14.186
/
wh
/
index.asp
< prev
next >
Wrap
Text File
|
2006-07-14
|
9KB
|
319 lines
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/whnc.asp" -->
<%
Dim qt
Dim qt_numRows
Set qt = Server.CreateObject("ADODB.Recordset")
qt.ActiveConnection = MM_whnc_STRING
qt.Source = "SELECT * FROM qt ORDER BY id ASC"
qt.CursorType = 0
qt.CursorLocation = 2
qt.LockType = 1
qt.Open()
qt_numRows = 0
%>
<%
Dim caom
Dim caom_numRows
Set caom = Server.CreateObject("ADODB.Recordset")
caom.ActiveConnection = MM_whnc_STRING
caom.Source = "SELECT * FROM caom ORDER BY id ASC"
caom.CursorType = 0
caom.CursorLocation = 2
caom.LockType = 1
caom.Open()
caom_numRows = 0
%>
<%
Dim yt
Dim yt_numRows
Set yt = Server.CreateObject("ADODB.Recordset")
yt.ActiveConnection = MM_whnc_STRING
yt.Source = "SELECT * FROM yt ORDER BY id ASC"
yt.CursorType = 0
yt.CursorLocation = 2
yt.LockType = 1
yt.Open()
yt_numRows = 0
%>
<%
Dim chuc
Dim chuc_numRows
Set chuc = Server.CreateObject("ADODB.Recordset")
chuc.ActiveConnection = MM_whnc_STRING
chuc.Source = "SELECT * FROM chuc ORDER BY id ASC"
chuc.CursorType = 0
chuc.CursorLocation = 2
chuc.LockType = 1
chuc.Open()
chuc_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = 6
Repeat1__index = 0
qt_numRows = qt_numRows + Repeat1__numRows
%>
<%
Dim Repeat2__numRows
Dim Repeat2__index
Repeat2__numRows = 6
Repeat2__index = 0
caom_numRows = caom_numRows + Repeat2__numRows
%>
<%
Dim Repeat4__numRows
Dim Repeat4__index
Repeat4__numRows = 6
Repeat4__index = 0
chuc_numRows = chuc_numRows + Repeat4__numRows
%>
<%
Dim MM_paramName
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters
Dim MM_keepNone
Dim MM_keepURL
Dim MM_keepForm
Dim MM_keepBoth
Dim MM_removeList
Dim MM_item
Dim MM_nextItem
' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> "") Then
MM_removeList = MM_removeList & "&" & MM_paramName & "="
End If
MM_keepURL=""
MM_keepForm=""
MM_keepBoth=""
MM_keepNone=""
' add the URL parameters to the MM_keepURL string
For Each MM_item In Request.QueryString
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
End If
Next
' add the Form variables to the MM_keepForm string
For Each MM_item In Request.Form
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_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)
End If
If (MM_keepURL <> "") Then
MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1)
End If
If (MM_keepForm <> "") Then
MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
End If
' 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
%>
<%
Dim Repeat3__numRows
Dim Repeat3__index
Repeat3__numRows = 6
Repeat3__index = 0
yt_numRows = yt_numRows + Repeat3__numRows
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>╬▐▒Ω╠Γ╬─╡╡</title>
</head>
<body>
<div align="center">
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="700" height="80">
<param name="movie" value="whncimg/nc-logo.swf" />
<param name="quality" value="high" />
<embed src="whncimg/nc-logo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="700" height="80"></embed>
</object></td>
</tr>
<tr>
<td height="30" background="whncimg/title_left1.gif"> </td>
</tr>
</table>
<table width="700" border="1" cellspacing="0" cellpadding="0">
<tr>
<td width="349"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3">╟┼═╖</td>
</tr>
<tr>
<td width="34%">╟°╩╨</td>
<td width="27%">╧τ┤σ</td>
<td width="39%">╚╒╞┌</td>
</tr>
<tr>
<td colspan="3"><%
While ((Repeat1__numRows <> 0) AND (NOT qt.EOF))
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="31%"><%=(qt.Fields.Item("qs").Value)%></td>
<td width="30%"><a href="qtlj.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "id=" & qt.Fields.Item("id").Value %>"><%=(qt.Fields.Item("cun").Value)%></a></td>
<td width="39%"><%=(qt.Fields.Item("date").Value)%></td>
</tr>
</table>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
qt.MoveNext()
Wend
%>
╤≥═ñ</td>
</tr>
<tr>
<td>╟°╩╨</td>
<td>╧τ┤σ</td>
<td>╚╒╞┌</td>
</tr>
<tr>
<td colspan="3"><%
While ((Repeat3__numRows <> 0) AND (NOT yt.EOF))
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="31%"><%=(yt.Fields.Item("qs").Value)%></td>
<td width="32%"><%=(yt.Fields.Item("cun").Value)%></td>
<td width="37%"><%=(yt.Fields.Item("date").Value)%></td>
</tr>
</table>
<%
Repeat3__index=Repeat3__index+1
Repeat3__numRows=Repeat3__numRows-1
yt.MoveNext()
Wend
%>
</td>
</tr>
</table></td>
<td width="345"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3">▓▌├φ</td>
</tr>
<tr>
<td width="29%">╟°╩╨</td>
<td width="37%">╧τ┤σ</td>
<td width="34%">╚╒╞┌</td>
</tr>
<tr>
<td colspan="3"><%
While ((Repeat2__numRows <> 0) AND (NOT caom.EOF))
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="38%"><%=(caom.Fields.Item("qs").Value)%></td>
<td width="31%"><%=(caom.Fields.Item("cun").Value)%></td>
<td width="31%"><%=(caom.Fields.Item("date").Value)%></td>
</tr>
</table>
<%
Repeat2__index=Repeat2__index+1
Repeat2__numRows=Repeat2__numRows-1
caom.MoveNext()
Wend
%>
│⌡┤σ</td>
</tr>
<tr>
<td>╟°╩╨</td>
<td>╧τ┤σ</td>
<td>╚╒╞┌</td>
</tr>
<tr>
<td colspan="3"><%
While ((Repeat4__numRows <> 0) AND (NOT chuc.EOF))
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="38%"><%=(chuc.Fields.Item("qs").Value)%></td>
<td width="32%"><%=(chuc.Fields.Item("cun").Value)%></td>
<td width="30%"><%=(chuc.Fields.Item("date").Value)%></td>
</tr>
</table>
<%
Repeat4__index=Repeat4__index+1
Repeat4__numRows=Repeat4__numRows-1
chuc.MoveNext()
Wend
%></td>
</tr>
</table></td>
</tr>
</table>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="700" height="80">
<param name="movie" value="whncimg/nc-logo.swf" />
<param name="quality" value="high" />
<embed src="whncimg/nc-logo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="700" height="80"></embed>
</object>
<table width="700" border="1" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td> </td>
</tr>
</table>
</div>
</body>
</html>
<%
qt.Close()
Set qt = Nothing
%>
<%
caom.Close()
Set caom = Nothing
%>
<%
yt.Close()
Set yt = Nothing
%>
<%
chuc.Close()
Set chuc = Nothing
%>