Example #1
0
   <?

   $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">
       <img src="images/shared/empty.png" border="0" width="62" height="50">
      </td>
   <? 
   
Example #2
0
/b_addPartialDsb.png" style="cursor: pointer;" ><BR>
        <img src="<?php 
echo $button;
?>
/b_removeAllDsb.png" style="cursor: pointer;" >
        <img src="<?php 
echo $button;
?>
/b_addAllDsb.png" style="cursor: pointer;" >

       </td>                      
       <td>
      
         <select class="textBlack" multiple="multiple" size="6" style="width: 150px;" disabled>
         <?
          $result=getSessionsList($paramIdServer);
          $row = mysql_fetch_array($result);
           
          while ($row)
          {

            echo '<option  value="'.$row['id'].'">'.$row['sessionName'].'</option>'."\n";

           $row = mysql_fetch_array($result);
          }           
           
          ?>         
         </select>
      
       </td> 
       </tr> 
Example #3
0


$countColor=0;

$checkFirs=1;

 $serverList=getServer();
 @$numberSessionAvailable=mysql_num_rows($serverList);

while($server=mysql_fetch_array($serverList))
{
 


 $sessionList = getSessionsList($server['id']);
 @$numSess=mysql_num_rows($sessionList);
  
 if($numSess>0)
 { 

 $class="row2";
 
 if($countColor%2)
 {
   $class="row1";
 }
 

 
Example #4
0
  <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>
   <? 
   
   }

   while($session)
   {
Example #5
0
/b_addPartialDsb.png" style="cursor: pointer;" ><BR>
        <img src="<?php 
echo $button;
?>
/b_removeAllDsb.png" style="cursor: pointer;" >
        <img src="<?php 
echo $button;
?>
/b_addAllDsb.png" style="cursor: pointer;" >

       </td>                      
       <td>
      
         <select class="textBlack" multiple="multiple" size="6" style="width: 150px;" disabled>
         <?
          $result=getSessionsList($idFirstServerForHidden);
          $row = mysql_fetch_array($result);
           
          while ($row)
          {

            echo '<option  value="'.$row['id'].'">'.$row['sessionName'].'</option>'."\n";

           $row = mysql_fetch_array($result);
          }           
           
          ?>         
         </select>
      
       </td> 
       </tr>