看看这是不是你想要的(./register/index.php):

<?php
include("../class/connect.php");
include("../data/cache/public.php");
include("../class/user.php");
if($public_r[openregister])
{
echo"<script>alert('会员注册功用已被管理员封闭,请联络管理员.');history.go(-1)</script>";
exit();
}
//转向注册
if(!empty($registerurl))
{
Header("Location:$registerurl");
exit();
}
$url="<a href='../'>主页</a>&nbsp;>&nbsp;>&nbsp;<a href='../cp'>控制面板</a>&nbsp;>&nbsp;注册会员";
@include("../data/template/cp_1.php");
?>

<?php
if($_POST['agree']==1)
{
?>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
<form name="register" method="post" action="../phome/index.php">
<tr class="header">
<td height="25" colspan="2">信息填写 <input name="phome" type="hidden" id="phome" value="register"></td>
</tr>
<tr>
<td height="25" colspan="2">基本信息</td>
</tr>
<tr>
<td width="28%" height="25" bgcolor="#FFFFFF">用户名</td>
<td width="72%" height="25" bgcolor="#FFFFFF"> <input name="username" type="text" id="username" size="35">
* </td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF">暗码</td>
<td height="25" bgcolor="#FFFFFF"> <input name="password" type="password" id="password" size="35">
* </td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF">重复暗码</td>
<td height="25" bgcolor="#FFFFFF"> <input name="repassword" type="password" id="repassword" size="35">
*</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF">邮箱</td>
<td height="25" bgcolor="#FFFFFF"> <input name="email" type="text" id="email" size="35">
*</td>
</tr>
<tr>
<td height="25" colspan="2">其他信息</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF">实在名字</td>
<td height="25" bgcolor="#FFFFFF"><input name="truename" type="text" id="truename" size="35"></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF">QQ号码</td>
<td height="25" bgcolor="#FFFFFF"><input name="oicq" type="text" id="oicq" size="35"></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF">MSN</td>
<td height="25" bgcolor="#FFFFFF"><input name="msn" type="text" id="msn" size="35"></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF">联络电话</td>
<td height="25" bgcolor="#FFFFFF"><input name="mycall" type="text" id="mycall" size="35"></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF">手机</td>
<td height="25" bgcolor="#FFFFFF"><input name="phone" type="text" id="phone" size="35"></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF">网站地址</td>
<td height="25" bgcolor="#FFFFFF"><input name="homepage" type="text" id="homepage" size="35"></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF">联络地址</td>
<td height="25" bgcolor="#FFFFFF"><input name="address" type="text" id="address" size="50">
邮编:
<input name="zip" type="text" id="zip" size="8"></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF">个人介绍</td>
<td height="25" bgcolor="#FFFFFF"><textarea name="saytext" cols="65" rows="8" id="saytext"></textarea></td>
</tr>
<?php
if($public_r['registerkey'])
{
?>
<tr>
<td height="25" bgcolor="#FFFFFF">验证码:</td>
<td height="25" bgcolor="#FFFFFF"> <input name="key" type="text" id="key" size="6">
<img src="../ShowKey?edown"></td>
</tr>
<?php
}
?>
<tr>
<td height="25" bgcolor="#FFFFFF">&nbsp;</td>
<td height="25" bgcolor="#FFFFFF"> <input type="submit" name="Submit" value="立刻注册">
<input type="reset" name="Submit2" value="重置"></td>
</tr>
</form>
</table>
<?php
}
else
{
?>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
<form name="tiaokuan" method="post" action="./index.php">
<tr class="header">
<td height="25">注册条款</td>
</tr>
<tr>
<td bgcolor="#FFFFFF">在注册前请先阅览以下协议
<p>一、不得使用本站危害国家安全、走漏国家秘密,不得侵略国家社会团体的和公民的合法权益,不得使用本站制造、仿制和传达下列信息: </p>
<p>(一)鼓动抵抗、损坏宪法和法令、行政法规施行的;<br>
(二)鼓动推翻国家政权,推翻社会主义制度的;<br>
(三)鼓动割裂国家、损坏国家统一的;<br>
(四)鼓动民族仇视、民族轻视,损坏民族团结的;<br>
(五)伪造或许歪曲事实,分布流言,打乱社会秩序的;<br>
(六)宣传封建迷信、淫秽、色情、赌博、暴力、凶杀、恐惧、唆使违法的;<br>
(七)公然侮辱别人或许伪造事实诋毁别人的,或许进行其他歹意进犯的;<br>
(八)危害国家机关诺言的;<br>
(九)其他违背宪法和法令行政法规的;<br>
(十)发布黄色反抗文章</p>
<p>二、相互尊重,对自己的言辞和行为担任。</p>
</tr>
<tr>
<td bgcolor="#FFFFFF" align="center">
<input name="agree" type="hidden" value="1">
<input type="submit" name="Submit" value="我赞同以上协议" class="button">&nbsp;&nbsp;&nbsp;
<input type="button" onclick="window.close()" value="我不赞同" class="button">
</td>
</tr>
</form>
</table>
<?php
}
?>
<?php
@include("../data/template/cp_2.php");
?>

声明:有的资源均来自网络转载,版权归原作者所有,如有侵犯到您的权益 请联系邮箱:123456@qq.com 我们将配合处理!

原文地址:帝国cms增加一个注册说明发布于2023-02-07 14:02:38

相关推荐