<!--#Include File="WapConfig/WapHeader.asp"-->
<%
'以下为文件正文。
Dim ListOrder '指定排列的顺序
ListOrder=Request.QueryString("Order")
If ListOrder<>"" Then
	Session("ListOrder")=ListOrder
Else
	If Session("ListOrder")="" Then Session("ListOrder")="desc" '如果没有排序指定，则为"desc"
	ListOrder=Session("ListOrder")
End If
XML.WriteOut "<h2>精彩图片等你下</h2>"
XML.WriteOut "<ul><li>"
'以下是数据库的设置信息
XML.StrSql="Select * From UpLoadData Where Type=1 order by addtime " &  ListOrder
XML.EveryPageSize=10
XML.FieldShow="title"
XML.FieldHeader=""
XML.FieldFooter="Hits"
'XML.FieldId="Id"
XML.GoFileName="PicDownShow.asp"
'XML.DBListSymbol="◆" '设置数据记录显示前的符号，默认为空。[新增较V1.5]
XML.DBOrderNumber=True '设置数据记录前是否显示自动编号数字。[新增较V1.5]
'XML.ErrorPagePath=""
XML.MdbListPagesThree
XML.WriteOut "</li></ul>"
'以下为返回链接等
XML.WriteOut XML.Div(,,"N")
If Session("ListOrder")="asc" or  ListOrder="" Then 
XML.WriteRow XML.ImgA("",XML.Thisfilename & "?Order=desc&amp;Page=" & iPageCurrent,"反转排序")
Else
XML.WriteRow XML.ImgA("",XML.Thisfilename & "?Order=asc&amp;Page=" & iPageCurrent,"反转排序")
End If
XML.WriteRow XML.ImgA("","DownLoad.asp","返回上级")
%>
<!--#Include FILE="WapConfig/WapFooter.asp"--> 
