帝国cms增加一个注册说明

帝国cms增加一个注册说明,第1张

概述看看这是不是你想要的(./register/index.php):<?phpinclude(\"../class/connect.php\");

看看这是不是你想要的(./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" >
<form name="register" method="post" action="../phome/index.PHP">
<tr >
<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" >
<form name="tiaokuan" method="post" action="./index.PHP">
<tr >
<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="我同意以上协议" >&nbsp;&nbsp;&nbsp;
<input type="button" onclick="window.close()" value="我不同意" >
</td>
</tr>
</form>
</table>
<?PHP
}
?>
<?PHP
@include("../data/template/cp_2.PHP");
?>

总结

以上是内存溢出为你收集整理的帝国cms增加一个注册说明全部内容,希望文章能够帮你解决帝国cms增加一个注册说明所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zz/1007522.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-22
下一篇 2022-05-22

发表评论

登录后才能评论

评论列表(0条)

保存