Example #1
0
?>
   <table cellspacing="0" cellpadding="0" border="0" style="margin-top:-5px;">
   <tr>
   <?

   $countSession=0;
   
   $userList=userListById($_REQUEST['idUser']);
   $user=mysql_fetch_array($userList);
   
   
   
   if($user['identity']!="administrator")
   {
    $sessionList = sessionListUser($_REQUEST['idUser'], $_REQUEST['idServer']);
   }
   else
   {
    $sessionList = getSessionsList($_REQUEST['idServer']);
   }   
   
   
   //$sessionList = sessionListUser($_REQUEST['idUser'], $_REQUEST['idServer']);
   $session=mysql_fetch_array($sessionList);


   if(!$session)
   {
   ?>
       <td align="center">
Example #2
0
}
?>
   </select>
  </td>
  <td width="*" valign="top" cellspacing="0" cellpadding="0" style="padding: 5px;" class="border_right border_bottom txtLabel">
  <div id="respose-<?php 
echo $user['id'];
?>
">
   <table cellspacing="2" cellpadding="0" border="0">
   <tr>
   <?
   $countSession=0;
   if($user['identity']!="administrator")
   {
    $sessionList = sessionListUser($user['id'], $idFirst);
   }
   else
   {
    $sessionList = getSessionsList($idFirst);
   }
   
   $session=mysql_fetch_array($sessionList);
   if(!$session)
   {
   ?>
       <td align="center">
        <img src="images/shared/empty.png" border="0" width="62" height="50">
      </td>
   <?