⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userview.php

📁 完全用PHP来完成的办公自动化系统
💻 PHP
字号:
<?php
	session_start();

	//包含用户管理菜单
	include("UserManager.php");	
	//包含用户类
	require_once("UserClass.php");
	
	//利用User类的InitDataByUserId()方法获取用户信息数组
	$user=new User();	
	$user->InitDataByUserId($_SESSION["ss_user_id"]);
?> 

<!--UserView.php:显示--------------->
<html>
<head>
<title>显示用户信息</title>
</head>
<body>
<h1 align="center">显示用户信息</h1>
<table width="90%" border="1" align="center"  bgcolor="#F0F0F0">
	<tr>
		<td align="center" colspan=2></td> 
	</tr>
	<tr>	
		<td width="30%" height="29">登录名:</td> 
		<td colspan="2" height="29" width="78%">	
			<?php echo $user->mBasicInforArray[0]->LoginName;?>
		</td> 
	</tr>
	<tr>	
		<td width="30%" height="29">登录口令:</td> 
		<td colspan="3" valign="middle" align="left">	
			<?php echo $user->mBasicInforArray[0]->Password;?>
		</td> 
	</tr> 
	<tr>	
		<td width="30%" height="29">真实姓名:</td> 
		<td colspan="2" height="29" width="78%">	
			<?php echo $user->mBasicInforArray[0]->RealName;?>
		</td> 
	</tr> 
	<tr>	
		<td width="30%" height="29">所在部门:</td> 
		<td colspan="2" height="29" width="78%">	
			<?php echo $user->mBasicInforArray[0]->Department;?>
		</td> 
	</tr> 
	<tr>	
		<td width="30%" height="29">电子邮件:</td> 
		<td colspan="2" height="29" width="78%">	
			<?php echo $user->mBasicInforArray[0]->Email;?>
		</td> 
	</tr> 		
	<tr>	
		<td width="30%" height="29">用户角色:</td> 
		<td colspan="2" height="29" width="78%">	
			<?php echo $user->mPrivilegeInfoArray[0]->RoleName;?>
		</td> 		
	</tr>	
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -