📄 register.asp
字号:
<%@ Language=VBScript%>
<%
Response.Buffer=true
Response.Expires=0
%>
<!-- #include file="../dsn.asp" -->
<!-- #include file="init.inc" -->
<%
set cn = Server.CreateObject("ADODB.Connection")
cn.Open(mycnstr)
set rs = Server.CreateObject("ADODB.Recordset")
sqltext="select title,content from miscell where classcode='999' and sortnum=99"
rs.Open sqltext,cn,1,1
if not rs.EOF then
title=trim(rs("title"))
content=trim(rs("content"))
end if
rs.Close
%>
<!-- #include file="begin.asp" -->
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="10"></td>
</tr>
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="30">
<tr>
<td width="20"> </td>
<td>欢迎光临<%=forumtitle%></td>
<td width="10"> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="30" bgcolor="<%=barcolor%>">
<tr>
<td width="10"> </td>
<td width=30 align=center><img src="images/homeflag.gif"></td>
<%if classflag="1" then%>
<td><a href="forum.asp"><%=forumtitle%></a> > 用户注册 > 服务条款与声明 </td>
<%else%>
<td><a href="forum_list.asp"><%=forumtitle%></a> > 用户注册 > 服务条款与声明</td>
<%end if%>
<td width="100" align="right">
</td>
<td width="10"> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="6"></td>
</tr>
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr bgcolor="<%=titlebgcolor%>">
<td height="26" width=30></td>
<td align="center"><b><font color=<%=titlecolor%>>服务条款与声明</font></b></td>
<td> </td>
</tr>
</table>
<table width="98%" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="<%=tablecolor%>">
<tr bgcolor="#ffffff">
<td class="font1" style="line-height:180%" valign=top height=260>
<table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td style="line-height:180%" valign=top height=260>
<%=checkstr(content,"1")%>
</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#efefef">
<td align="center" height=50>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr><td width=200> </td>
<td height=24>
<input type=button value=我同意 onclick="window.location.href='reg_usercode.asp'" style="cursor:hand;width:75px; height:24px" id=button1>
<input type=button value=我不同意 onclick="window.close();" style="cursor:hand;width:75px; height:24px" id=button2>
</td></tr>
<tr><td height=5></td></tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="20"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- #include file="end.asp" -->
<!-- #include file="func.inc" -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -