Example #1
0
        }
    }
    ?>
</select>
<br/><br/>	
<table border=4 cellspacing=0 cellpadding=0 width=962  background='#000000'>
<tr>
<td align=center width=16% height=35px;><b>Group Id</b></td>
<td align=center width=16% ><b>Groupname</b></td>
<td align=center width=17% ><b>Description</b></td>
</tr>

<?php 
    if ($groupname != "Select a group") {
        $dbh = Connection::cal_ro();
        $obj_assignee = new calendarConfig();
        $groupdetails = $obj_assignee->getGroupDetails($dbh, $groupname);
        $memberlist = $obj_assignee->getMemberList($dbh, $groupdetails['gu_id']);
        $userlist = $obj_assignee->getNonMemberList($dbh, $groupdetails['gu_id']);
        ?>
<tr bgcolor="#F7F7F7">
 <td id="selectedgid" align=center width=16% height=35px><?php 
        echo $groupdetails['gu_id'];
        ?>
</td>
 <td align=center width=16% ><?php 
        echo $groupdetails['name'];
        ?>
</td>
 <td align=center width=17% ><?php 
        echo $groupdetails['description'];
Example #2
0
    ?>
</select>
<br/><br/>	
<table border=4 cellspacing=0 cellpadding=0 width=962  background='#000000'>
<tr>
<td align=center width=20% height=35px;><b>Team Id</b></td>
<td align=center width=20% ><b>Team name</b></td>
<td align=center width=20% ><b>Description</b></td>
<td align=center width=20% ><b>User Ilist</b></td>
<td align=center width=20% ><b>Admin Ilist</b></td>
</tr>

<?php 
    if ($team != "Select a team") {
        $dbh = Connection::cal_ro();
        $obj_assignee = new calendarConfig();
        $teamdetails = $obj_assignee->getTeamDetails($dbh, $team);
        ?>
		<tr bgcolor="#F7F7F7">
 		<td align=center width=20% height=35px><?php 
        echo $teamdetails['team_id'];
        ?>
</td>
 		<td align=center width=20% ><?php 
        echo $teamdetails['team_name'];
        ?>
</td>
 		<td align=center width=20% ><?php 
        echo $teamdetails['description'];
        ?>
</td>
Example #3
0
    }
    ?>
</select>
<br/><br/>	
<table border=4 cellspacing=0 cellpadding=0 width=962  background='#000000'>
<tr>
<td align=center width=16% height=35px;><b>User Id</b></td>
<td align=center width=16% ><b>Username</b></td>
<td align=center width=17% ><b>Name</b></td>
<td align=center width=17% ><b>Email</b></td>
</tr>

<?php 
    if ($username != "Select an user") {
        $dbh = Connection::cal_ro();
        $obj_assignee = new calendarConfig();
        $userdetails = $obj_assignee->getUserDetails($dbh, $username);
        ?>
<tr bgcolor="#F7F7F7">
 <td align=center width=16% height=35px><?php 
        echo $userdetails['user_id'];
        ?>
</td>
 <td align=center width=16% ><?php 
        echo $userdetails['username'];
        ?>
</td>
 <td align=center width=17% ><?php 
        echo $userdetails['name'];
        ?>
</td>
Example #4
0
 function checkUserPermission($admingrp)
 {
     $auth = $_SESSION['auth'];
     $dbh = Connection::cal_ro();
     $obj = new calendarConfig();
     $TMG = $obj->isMember($auth->username, $dbh, $admingrp);
     if (!$TMG) {
         return 0;
     }
     return 1;
 }