예제 #1
0
파일: users.php 프로젝트: pari/rand0m

<?php 
$MU = new ManageUsers();
$users = $MU->getAllUserIdsInDomain();
$privilages = $MU->get_All_Privileges_in_App();
?>
<table align=center class="manageLRS" cellpadding=5 cellspacing=5 width="500" style='margin-top:30px;'>
<tbody>
<div id="member_list">
	<table class="members">
	<tbody>
	<?php 
foreach ($users as $this_userId) {
    $MU->userId = $this_userId;
    $THIS_USER_PROFILE = $MU->getUserProfile();
    $THIS_USER_PRIVILEGES = $MU->get_Privileges();
    ?>
		<tr>
			<td class="avatar">
				<img src='files/users/thumbs/<?php 
    echo USERID_TO_USERPIC($this_userId);
    ?>
'>
			</td>
			<td class="name">
				<?php 
    echo $THIS_USER_PROFILE['emplFullName'];
    ?>
<br>
				<a href="mailto:<?php 
예제 #2
0
파일: directory.php 프로젝트: pari/rand0m
$ALLUSERS = $TMP_MU->getAllUserIdsInDomain();
$TMP_MCR = new ManageChatRooms();
$ACTIVE_USERS = $TMP_MCR->get_ListOfActiveUsersIn_Application();
?>
<table align=center class="manageLRS" cellpadding=5 cellspacing=5 width="500" style='margin-top:30px;'>
<tbody>

	<table class="members">
	<tbody>
	<?php 
foreach ($ALLUSERS as $this_uId) {
    $TMP_MU->userId = $this_uId;
    if ($this_uId == $CURRENT_USERID) {
        continue;
    }
    $THIS_USER_PROFILE = $TMP_MU->getUserProfile($this_uId);
    //print_r($THIS_USER_PROFILE);
    $input_statusmsg = html_entity_decode(stripslashes(base64_decode($THIS_USER_PROFILE['statusMsg'])));
    $statusmsg = format_makeLinks($input_statusmsg);
    ?>
		<tr <?php 
    if (in_array($this_uId, $ACTIVE_USERS)) {
        ?>
bgcolor="#B9E1F4"<?php 
    }
    ?>
>
			<td class="avatar">
			<?php 
    $userpic = 'files/users/thumbs/' . $THIS_USER_PROFILE['userImage'];
    if ($THIS_USER_PROFILE['userImage'] != '' && file_exists($userpic)) {