当前位置:编程学习 > php >>

我的论坛源代码(十)

reguse.inc.php(做为现在的主流开发语言)处理注册用户时的信息

<?

function regok($mess,$reginfo)       //记录成功后输出用户信息
{
echo "<table width=70% border=0 cellspacing=0 cellpadding=0 bgcolor=#000000 align=center>";
echo "<tr><td><table width=100% border=0 cellspacing=1 cellpadding=1 align=center bgcolor=#eeeeee><tr bgcolor=#006699><td colspan=4><div align=center><font color=ffffff>".$mess."</font></div></td></tr>";
echo "<tr ><td width=15% ><div align=left>ID号:</div></td><td width=35%><div align=center><font color=#FF0000>".$reginfo[13]."</font></div></td>";
echo "<td width=15%><div align=left>用户:</div></td><td width=35% ><div align=center><font color=#FF0000>".$reginfo[0]."</div></td></tr>";
echo "<tr ><td width=15%><div align=left>密码:</div></td><td width=35%><div align=center><font color=#FF0000>".$reginfo[1]."</font></div></td>";
echo "<td width=15%><div align=left>主页:</div></td><td width=35% ><div align=center><font color=#FF0000>".$reginfo[9]."</div></td></tr>";
echo "<tr ><td width=15%><div align=left>邮箱:</div></td><td width=35%><div align=center><font color=#FF0000>".$reginfo[8]."</font></div></td>";
echo "<td width=15%><div align=left>oicq:</div></td><td width=35%><div align=center><font color=#FF0000>".$reginfo[3]."</div></td></tr>";
echo "<tr ><td width=15%><div align=left>昵称:</div></td><td width=35%><div align=center><font color=#FF0000>".$reginfo[2]."</font></div></td>";
echo "<td width=15%><div align=left>等级:</div></td><td width=35%><div align=center><font color=#FF0000>".$reginfo[11]."</div></td></tr>";
echo "<tr ><td width=15%><div align=left>性别:</div></td><td width=35%><div align=center><font color=#FF0000>".$reginfo[4]."</font></div></td>";
echo "<td width=15%><div align=left>年龄:</div></td><td width=35%><div align=center><font color=#FF0000>".$reginfo[5]."</div></td></tr>";
echo "<tr ><td width=15%><div align=left>职业:</div></td><td width=35%><div align=center><font color=#FF0000>".$reginfo[6]."</font></div></td>";
echo "<td width=15%><div align=left>来自:</div></td><td width=35% ><div align=center><font color=#FF0000>".$reginfo[7]."</div></td></tr>";
补充:Web开发 , php ,
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,