【php开源代码栏目提醒】:本文主要为网学会员提供lookuserinfo.php,希望对需要lookuserinfo.php网友有所帮助,学习一下!
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用户信息管理</title>
<link rel="stylesheet" type="text/css" href="css/font.css">
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
</head>
<?php
include("conn/conn.php");
$id=$_GET[id];
$sql=mysql_query("select * from tb_user where id=".$id."",$conn);
$info=mysql_fetch_array($
sql);
?>
<body topmargin="0" leftmargin="0" bottommargin="0">
<table width="650" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="20" bgcolor="#FFCF60"><div align="center" class="style1">用户信息查看</div></td>
</tr>
<tr>
<td height="98" bgcolor="#666666"><table width="650" border="0" align="center" cellpadding="0" cellspacing="1">
<!--DWLayoutTable-->
<tr>
<td width="99" height="20" bgcolor="#FFFFFF"><div align="center">用户昵称:</div></td>
<td width="180" bgcolor="#FFFFFF"><div align="left"><?php echo $info[name];?></div></td>
<td width="100" bgcolor="#FFFFFF"><div align="center">用户状态:</div></td>
<td width="266" bgcolor="#FFFFFF"><div align="left"><?php
if($info[dongjie]==0)
{
echo "非冻结状态";
}
else
{
echo "冻结状态";
}
?></div></td>
</tr>
<tr>
<td height="20" bgcolor="#FFFFFF"><div align="center">真实:</div></td>
<td colspan="3" bgcolor="#FFFFFF"><div align="left"><?php echo $info[truename];?></div></td>
</tr>
<tr>
<td height="20" bgcolor="#FFFFFF"><div align="center">身份证号:</div></td>
<td colspan="3" bgcolor="#FFFFFF"><div align="left"><?php echo $info[sfzh];?></div></td>
</tr>
<tr>
<td height="20" bgcolor="#FFFFFF"><div align="center">E-mail:</div></td>
<td colspan="3" bgcolor="#FFFFFF"><div align="left"><?php echo $info[email];?></div></td>
</tr>
<tr>
<td height="20" bgcolor="#FFFFFF"><div align="center">联系电话:</div></td>
<td colspan="3" bgcolor="#FFFFFF"><div align="left"><?php echo $info[tel];?></div></td>
</tr>
<tr>
<td height="20" bgcolor="#FFFFFF"><div align="center">QQ号码:</div></td>
<td colspan="3" bgcolor="#FFFFFF"><div align="left"><?php echo $info[qq];?></div></td>
</tr>
<tr>
<td height="20" bgcolor="#FFFFFF"><div align="center">
注册时间:</div></td>
<td colspan="3" bgcolor="#FFFFFF"><div align="left"><?php echo $info[regtime];?></div></td>
</tr>
<tr>
<td height="20" bgcolor="#FFFFFF"><div align="center">密码提示:</div></td>
<td colspan="3" bgcolor="#FFFFFF"><div align="left"><?php echo $info[tishi];?></div></td>
</tr>
<tr>
<td height="20" bgcolor="#FFFFFF"><div align="center">密码提示答案:</div></td>
<td colspan="3" bgcolor="#FFFFFF"><div align="left"><?php echo $info[huida];?></div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20"><div align="center"><a href="dongjieuser.php?id=<?php echo $id;?>">
<?php
$sql=
mysql_query("select * from tb_user where id=".$id."",$conn);
$info=mysql_fetch_array($sql);
if($info[dongjie]==0)
{
echo "冻结该用户";
}
else
{
echo "解除冻结";
}
?></a></div></td>
</tr>
</table>
</body>
</html>