|
楼主 |
发表于 2008-11-16 16:21:51
|
显示全部楼层
来自 中国–福建–漳州
回复: php简单注册模块,用户信息显示不了?
user.php代码如下:
- <?php
- session_start();
- if (!session_is_registered("auth"))
- {
- header("location:index.htm");
- }
- else
- {
- include('conn.php');
- $result = mysql_query("select * from admins where auth='$auth'");
- $row = mysql_fetch_array($result);
- }
- ?>
- <link rel="stylesheet" href="style.css" type="text/css">
- <table align="center" width="200" >
- <tr>
- <td align="center">福建CSFans服务器用户管理<td>
- </tr>
- </table>
- <br>
- <table align="center" width="200">
- <tr>
- <td align="center" width="20%">Cs用户名: <?php echo $row["auth"]; ?></td>
- </tr>
- <tr>
- <td align="center" width="20%">权限大小: <?php echo $row["access"]; ?></td>
- </tr>
- <tr>
- <td align="center" width="10%">授权模式: <?php echo $row["flags"]; ?></td>
- </tr>
- <tr>
- <td align="center" width="10%">联系QQ : <?php echo $row["qq"]; ?></td>
- </tr>
- </table>
- <tr><form name="form" method="post" action="qq_editing.php?id=<?php echo $row["id"];?>">
- <td>
- <div align="center"> 你的QQ号码: <input style="ime-mode:disabled" type="text" class=border size="17" maxlength="15" value="<?php echo $row["qq"]; ?>" name="qq"> <input type="submit" class=border name="Submit" value="修改">
- </div>
- </td></tr>
- </form>
- <tr><form name="form" method="post" action="edit.php?id=<?php echo $row["id"];?>">
- <td>
- <div align="center">输入原密码: <input type="password" class=border size="18" maxlength="16" name="password"></div>
- </td>
- </tr>
- <tr>
- <td>
- <div align="center">输入新密码: <input type="password" class=border size="18" maxlength="16" name="password1"></div>
- </td>
- </tr>
- <tr>
- <td>
- <div align="center">效验新密码: <input type="password" class=border size="18" maxlength="16" name="password2"></div>
- </td>
- </tr>
- <tr>
- <td>
- <div align="center"><input type="submit" class=border name="Submit" value="修改"> <INPUT name="RESET" class=border TYPE=RESET VALUE="清除"></div>
- </td>
- </tr>
- </form>
- <tr>
- <BR>
- <table align="center" width="495" >
- <tr>
- <td width="487" align="center"><div align="left">操作方法:</div></td>
- </tr>
- <tr>
- <td align="center"><div align="left">1.注册后用其它ID登陆到游戏,打开控制台输入:setinfo csfans youpassword 命令回车,(其中csfans为本服务器的区域密码,youpassword为你注册时的密码).</div></td>
- </tr><tr>
- <td width="487" align="center"><div align="left">2.然后更改你的ID命令如下:name <?php echo $row["auth"]; ?> 操作过程中注意空格。</div></td>
- </tr>
- </table>
- <br>
- <table align="center" width="350" >
- <td align="center" >福建CSFans娱乐服IP: 222.76.215.115:27015</td>
- </tr>
- <td align="center" >福建CSFans魔兽服IP: 222.76.215.115:27014</td>
- </tr>
- <tr>
- <td align="center" >娱乐服QQ群:41283522/41283789 魔兽服QQ群:41283725</td>
- </tr>
- </table>
复制代码 |
|