📄 site-setup.asp
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--#include file="Includes/site-dataconn.asp" -->
<!--#include file="Includes/func-common.asp" -->
<%
Response.Expires = 60
Response.Expiresabsolute = Now() - 1
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
Response.CacheControl = "no-cache"
%>
<html>
<head>
<title>dBoard >> Site Setup</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK REL=stylesheet TYPE="text/css" HREF="Includes/temp-style.css">
</head>
<body>
<%
if ConnConfigured = true then
if request.form("Step") <> "" then
Step = request.form("Step")
else
Step = "One"
end if
if request.querystring("Step") <> "" then Step = request.querystring("Step")
if Step = "One" then
%>
<table width="775" border="0" cellspacing="0" cellpadding="0" align="center"class="main">
<tr valign="top">
<td align="left">
<img src="Images/Common/Setup-Background.gif" width="125" height="156" hspace="5" vspace="5" align="left" style="margin-right: 10px;">
<h3>Step 1: B.A.D论坛(<a href="http://www.dented.co.uk/products/dBoard">dBoard</a>汉化版)</h3>
本论坛程序特点:<br>
她是一个程序小巧而功能强大,高速的ASP论坛程序。<br>
大小:200多KB,可以6KBBS媲美.<p>要安装,请点击---Step Two</td>
</tr>
<form action="site-setup.asp" method="post">
<tr valign="top">
<td align="right">
<input name="Step" type="hidden" value="Two">
<input name="submit" type="submit" value="Step Two">
</td>
</tr>
</form>
</table>
<%
end if
if Step = "Two" then
%>
<table width="775" border="0" cellspacing="0" cellpadding="0" align="center" class="main">
<tr valign="top">
<td align="left" colspan="3">
<img src="Images/Common/Setup-Background.gif" width="125" height="156" hspace="5" vspace="5" align="left" style="margin-right: 10px;"> <h3>
Step 2: 设置论坛信息</h3>
Please fill in the form below with the details of the Administrator account and the default settings required for the forums. Forum administrators have full access to the forum tools to add, edit and remove categories, forums and even users so please choose a password that contains letters and numbers in both upper and lower case.
The password that you choose must be more than six characters in length, if you enter less than six characters for your password will be redirected back here!
<br>
</td>
</tr>
<tr valign="top">
<td align="left" colspan="3">
<h3>管理员信息:</h3>
<%
if request.querystring("Step") <> "" then response.write("<font color='#FF0000'><b>Please make sure your password is greater than six characters in length and that you enter a username.</b></font>")
%>
</td>
</tr>
<tr valign="top">
<td height="16" align="left"><b>用户名:</b></td>
<td align="left"><b>密码:</b></td>
<td align="left"><b>Email Address</b></td>
</tr>
<form action="site-setup.asp" method="post">
<tr valign="top">
<td align="left">
<input name="Name" type="text" id="Name" style="border: 1px solid black; width: 225px;" size="20"></td>
<td align="left">
<input name="Password" type="text" id="Password" style="border: 1px solid black; width: 225px;" size="20"></td>
<td align="left">
<input name="Email" type="text" id="Email" style="border: 1px solid black; width: 225px;" size="20"></td>
</tr>
<tr valign="top">
<td align="left" colspan="3"><h3>论坛设置:</h3></td>
</tr>
<tr valign="top">
<td height="16" align="left"><b>网站名称:</b>(<font size="-3">The name of your website</font>)</td>
<td align="left"><b>网站URL:</b> (<font size="-3">The URL of your website, CASE SENSITIVE</font>)</td>
<td align="left"><b>论坛URL:</b> (<font size="-3">The URL of the forums, CASE SENSITIVE</font>)</td>
</tr>
<tr valign="top">
<td align="left">
<input name="Site" type="text" id="Name" style="border: 1px solid black; width: 225px;" value="Your Site Name" size="20"></td>
<td align="left">
<input name="URL" type="text" id="Password" style="border: 1px solid black; width: 225px;" value="http://<%=request.ServerVariables("HTTP_HOST")%>" size="20"></td>
<td align="left">
<input name="Forum" type="text" id="Email" style="border: 1px solid black; width: 225px;" value="http://<%=request.ServerVariables("HTTP_HOST")%>/forums" size="20"></td>
</tr>
<tr valign="top">
<td align="left" colspan="3"><h3>数据库选择:</h3></td>
</tr>
<tr valign="top">
<td height="16" align="left" colspan="3"><b>Database Type:</b>(<font size="-3">Please select the required database from the drop down list MUST MATCH THE CHOSEN DATABASE IN SITE-DATACONN.ASP</font>)</td>
</tr>
<tr valign="top">
<td align="left">
<select name="Database" style="width: 225px;">
<option value="Access" selected>Access 2000</option>
<option value="SQL">MS SQL 2000</option>
</select>
</td>
</tr>
<tr valign="top">
<td align="right" colspan="3">
<input name="Step" type="hidden" value="Three">
<input name="submit" type="submit" value="Step Three">
</td>
</tr>
</form>
</table>
<%
end if
if Step = "Three" then
if len(request.form("Password")) < 6 or request.form("Name") = "" then
response.redirect("site-setup.asp?Step=Two")
else
strName = clean_text(request.form("Name"), 0)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -