⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 templet.asp

📁 站完全依据SEO技术建立
💻 ASP
字号:
<!--#include file="top.asp"--><%usertopview%>
<%if request("action")="save" then
co=request("co")
if co="" then
errstyle="·对不起,请选择您想更换的模板!"
scripterr
end if
conn.execute("update SMT_yp set SMT_co='"&co&"' where SMT_id="&session("id"))
response.redirect"templet.asp?action=ok"
end if%>

<table width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td width="160" valign=top bgcolor=#efefef>
<!--==============-->
<!--#include file="left.asp"-->
<!--==============-->
</td>
<td width="600" valign=top>
<!--==============-->
<table width="500" border="0" cellspacing="0" cellpadding="0" align="center">
<tr><td height=25>您现在的位置是:管理中心 > 自助建站</td></tr>
<tr>
<td>
<!--####################################-->
<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor=#6C94D1>
<tr>
<td height=25 bgcolor=#6C94D1>  <font color=white>企业自助建站</font></td>
</tr>
<tr>
<td bgcolor=#ffffff height=25>
<%if request("action")="ok" then%>
<!--======-->
<table width="100%" border="0" cellspacing="0" cellpadding="20" align=center>
<tr><td height=300 valign=top><p style="line-height:200%">
<strong><font color=red>恭喜!您的网站已经升级完成:</font></strong><br>
您的新网站地址是:<a href="<%=usertwourl%>" target="_blank"><%=usertwourl%></a><br>
网站连接代码:<input type="text" value="<a href=<%=usertwourl%> target=_blank><%=session("coname")%></a>" size=50><br>
   效果为:<a href=<%=usertwourl%> target=_blank><%=session("coname")%></a><br><br>
<div align=center><strong><a href=<%=usertwourl%> target=_blank class=red>打开您的网站看一下效果?</a></strong></div><br><br>
<p style="line-height:200%"><strong>您现在可以做以下宣传:</strong><br>
您可以把您的新网站地址印在名片上、企业资料上对外宣传。<br>
您可以把网站连接代码放到您的朋友的网站上帮助您的宣传。<br><br>

<strong>欢迎升级 -=> 本网为您提供升级国际顶级域名</strong><br>
您的域名升级方式如下:<br>
[1] 升级域名如:http://www.*****.com 、http://www.*****.cn 等国际国内顶级域名我们按互联网域名收费标准进行收费。<br>
<%if application("dnskey")=1 then%>  [2] 您的二级域名 <%=usertwourl%> 为本站免费为您提供。<%end if%>

</td></tr>
</table>
<!--======-->
<%else%>
<!--======-->
<table width="100%" border="0" cellspacing="0" cellpadding="10" align=center>
<form name="addform" method="post" action="templet.asp?action=save">
<tr>
<%sql="select * from SMT_templet order by SMT_id desc"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "<tr><td height=194 colspan=3 align=center>暂无内容</td></tr>"
else
'分页的实现
listnum=9
Rs.pagesize=listnum
page=Request("page")
if (page-Rs.pagecount) > 0 then
page=Rs.pagecount
elseif page = "" or page < 1 then
page = 1
end if
Rs.absolutepage=page
'编号的实现
j=rs.recordcount
j=j-(page-1)*listnum%>
<%i=0
nn=request("page")
if nn="" then
n=0
else
nn=nn-1
n=listnum*nn
end if
do while not rs.eof and i<listnum
n=n+1
'--------------------------------------
if vip=2 or rs("SMT_flag")=0 then
aaa=""
else
if rs("SMT_flag")=1 then
if vip=1 or vip=2 or vip=6 then
aaa=""
else
aaa="disabled"
end if
elseif rs("SMT_flag")=2 then
if vip=2 then
aaa=""
else
aaa="disabled"
end if
end if
end if

if rs("SMT_flag")=0 then
tit="所有会员适用!"
elseif rs("SMT_flag")=1 then
tit="普通会员及以上适用!"
elseif rs("SMT_flag")=2 then
tit="VIP会员适用!"
end if%>
<td align="center" width=33%>
<table width="140" border="0" cellspacing="0" cellpadding="5" style="border:1px #999999 solid" title="<%=rs("SMT_others")&vbCrLf&"-------------"&vbCrLf&tit%>">
<tr><td align="center" bgcolor="#FFFFFF" height=90><a href=# onclick="javascript:window.open('../co/<%=rs("SMT_files")%>/img/<%=rs("SMT_pic")%>','_n','height=242,width=370')"><%if rs("SMT_pic")<>"" then%><img src="../co/<%=rs("SMT_files")%>/img/<%=rs("SMT_pic")%>" width="130" border="0"><%else%>暂无图片<%end if%></a></td></tr>
<tr><td bgcolor="#efefef" style="border-top:1px #999999 solid"><input type="radio" name="co" value="<%=rs("SMT_files")%>" style="border:0" <%=aaa%>><strong><%=rs("SMT_templet")%></strong></td></tr>
</table>
</td>
<%if n mod 3=0 then response.write"</tr><tr>"
rs.movenext
i=i+1
j=j-1
loop%>
<tr>
<%filename="templet.asp"%>
<td colspan=3 align=right bgcolor=#efefef height=20 style="border-top:1px #6C94D1 solid;border-bottom:1px #6C94D1 solid">
共有<strong><font color=ff6600><%=rs.recordcount%></font></strong>套网站模板 <strong><font color=ff6600><%=page%>/<%=Rs.pagecount%></font></strong>页
<strong><% if page=1 then %><%else%>
<a href=<%=filename%>>|<<</a>
<a href=<%=filename%>?page=<%=page-1%>><<</a>
<a href=<%=filename%>?page=<%=page-1%>>[<%=page-1%>]</a> <%end if%>
<% if Rs.pagecount=1 then %><%else%>[<%=page%>]<%end if%>
<% if Rs.pagecount-page <> 0 then %>
<a href=<%=filename%>?page=<%=page+1%>>[<%=page+1%>]</a>
<a href=<%=filename%>?page=<%=page+1%>>>></a>
<a href=<%=filename%>?page=<%=Rs.pagecount%>>>>|</a>
<%end if%></strong></td>
<%end if%></tr>

<tr><td align="center" colspan=3><input type="submit" name="Submit" value=" 下一步 "></td></tr>
</form>
</table>
<!--======-->
<%end if%>
</td>
</tr>
</table>
<!--####################################-->
</td>
</tr>
<tr><td height=25></td></tr>
</table>
<!--==============-->
</td>
</tr>
</table>
<!--====== bottom ========-->
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor=#ffffff>
<tr><td height=2 bgcolor=#6C94D1></td></tr>
<tr>
<td align="center" height=80><%=citybottom%></td>
</tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -