<!--#include virtual="/cn/setup.asp" -->
<!--#include virtual="/cn/conn.asp" -->

<% 
function filtration(str)
str=replace(str,chr(37),"")
str=replace(str,chr(38),"")
filtration=str
end Function
Dim Rs_News,domainurl
domainurl=trim(filtration(request("url")))
if domainurl = "" then domainurl = "www.xamq.com"
domainurl=left(domainurl,99)
Set Rs_News=server.CreateObject("adodb.recordset")
Rs_News.Open "select wid,wurl from xuestc_website order by wid",Conn,1,3

%> 

<title>安美奇自动SEO工具（AutoSeo）<%=domainurl%></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="/cn/css/style.css">
<meta name="keywords" Content="安美奇自动SEO工具（AutoSeo）,SEO工具,<%=domainurl%>"/>
<meta name="description" Content="安美奇自动SEO工具（AutoSeo）,SEO工具,<%=domainurl%>"/>
 <!--#Include File="top.asp"-->


<SCRIPT language=javascript> 
//var location='never-online';
function getEvent(evnt) {if(event.keyCode==39){self.location=xia.href;}} document.onkeydown = getEvent;
if (top.location != self.location){top.location=self.location; }
function killErrors() {
return true;
}
window.onerror = killErrors;
</SCRIPT>
<SCRIPT language="javascript"> 
<!--
var sec=0;
var min=0;
var hou=0;
flag=0;
idt=window.setTimeout("change();",1000);
function change()
{
sec++;
if(sec==60){sec=0;min+=1;}
if(min==60){min=0;hou+=1;}
if((min>0)&&(flag==0))
{
// window.alert("一站在手，天下我有。");
 flag=1;
}
//document.getElementById("nowtime").innerHTML=hou+"小时"+min+"分"+sec+"秒";
document.getElementById("nowtime").innerHTML="第"+sec+"个网页";
idt=window.setTimeout("change();",1000);
}
//-->	
</SCRIPT>


<%  
Sub TurnPage(ByRef Rs_tmp,PageSize,url) 
Dim TotalPage
Dim PageNo
Dim RecordCount '总记录条数 
Dim LastPageNo
dim domainurl
domainurl=trim(request.Form("url"))
Rs_tmp.PageSize = PageSize 
RecordCount = Rs_tmp.RecordCount 
TotalPage = INT(RecordCount / PageSize * -1)*-1 
PageNo = Request.QueryString ("PageNo") 
'直接输入页数跳转； 
If Request.Form("PageNo")<>"" Then PageNo = Request.Form("PageNo") 
'如果没有选择第几页，则默认显示第一页； 
If PageNo = "" then PageNo = 1  
If RecordCount <> 0 then 
Rs_tmp.AbsolutePage = PageNo 
End If 
'LastPageNo = INT(TotalPage/10* +1)
if TotalPage<INT(PageNo) then
response.write "<Script>window.alert('自助推广己完成确定返回进行下一轮seo');location.replace('/tj/index');</Script>"
end if

'获取当前文件名，使得每次翻页都在当前页面进行； 
Dim fileName,postion 
fileName = Request.ServerVariables("script_name") 
postion = InstrRev(fileName,"/")+1 
'取得当前的文件名称，使翻页的链接指向当前文件； 
fileName = Mid(fileName,postion)  
%> 
<table width="90%" border="0" cellpadding="5" cellspacing="0" align=center>

<tr>  



<td align=left> 总页数：<font color=#ff3333><%=TotalPage%></font>页 
当前第<font color=#ff3333><%=PageNo%></font>页</td> 
<TD>


<div class="body">
<div class="clock">安美奇自动宣传中<span id="nowtime">连接中…………</span>
<SCRIPT language="javascript"> 
 	setTimeout('location="<%=fileName%>?PageNo=<%=PageNo+1%>&url=<%=url%>"',10*1000);
	setTimeout('location="<%=fileName%>?PageNo=<%=PageNo+1%>&url=<%=url%>"',30*1000);
</SCRIPT> 
自动刷新中…………等待或者去其它频道看看</TD>
<td align="right">  
<%If RecordCount = 0 or TotalPage = 1 Then  
Response.Write "首页|前页|后页|末页" 
Else%> 
<a href="<%=fileName%>?PageNo=1&url=<%=url%>">首页|</a> 
<%If PageNo - 1 = 0 Then 
Response.Write "前页|" 
Else%> 
<a href="<%=fileName%>?PageNo=<%=PageNo-1%>&url=<%=url%>">前页|</a> 
<%End If 

If PageNo+1 > TotalPage Then 
Response.Write "后页|" 
Else%> 
<a href="<%=fileName%>?PageNo=<%=PageNo+1%>&url=<%=url%>">后页|</a> 
<%End If%> 

<a href="<%=fileName%>?PageNo=<%=TotalPage%>&url=<%=url%>">末页</a> | <a href="/tj/index/index.asp">返回自动SEO主页</a> 
<%End If%></td> 
<td width=95>
</td> 
</tr> 
</table> 
<%End Sub%>


<% 
Dim RowCount 
RowCount=10
Call TurnPage(Rs_News,RowCount,Request.QueryString("url")) 
%> 

<table width="70%" border="0" cellpadding="5" cellspacing="0" align=center>
<tr> 
<td>编号</td> 
<td align=center>提交状态</td> 
<tr> 
<% 
if not Rs_News.eof then
Do while Not Rs_News.eof and RowCount>0
%> 

<tr> 
<td><%=Rs_News("wid")%></td> 
<td><%=Replace(Rs_News("wurl"),"ANMEIQISEO",Request.QueryString("url"))%></td>
</tr>
<% 
RowCount = RowCount - 1 
Rs_News.MoveNext 
Loop 
End If 
Rs_News.close
set Rs_News=Nothing
conn.close
set conn=Nothing
%> 
</table>
 <!--#Include File="foot.asp"-->
