Ejemplo n.º 1
0
</td>
                        <td><?php 
        $orders->getSum($rowUser['id'], "");
        ?>
 </td>
                    </tr>

                    <tr id="collapse<?php 
        echo $rowUser['id'];
        ?>
" class="panel-collapse collapse " role="tabpanel" aria-labelledby="  headingOne">
                      <td  colspan="2" class="">
                        <!-- Orders Date With its Content -->
                            
                            <?php 
        $orders->viewChecksForUser($rowUser['id'], "2");
        ?>
                            
                        <!-- End Of Orders Date and Its Content -->
                      </td>
                    </tr>
                    <!-- End of Users Name With Details -->
			<?php 
    }
    ?>
              
		    </tbody>
          </table>

<nav>
  <ul class="pagination">
Ejemplo n.º 2
0
$row1 = mysqli_fetch_array($res1);
$client_amount = mysqli_num_rows($res1);
/************   3ak3aka Again        *****************

	$queryDel = " select * from check_tb  where  u_id = '".$_SESSION['cafeteriaSystem']."' and status='2' ";  
$resDel = $mysqli->query($queryDel) or die (mysqli_error($mysqli));

	$client_deliver=mysqli_num_rows($resDel);

	$queryProc = " select * from check_tb  where  u_id = '".$_SESSION['cafeteriaSystem']."' and status='3' ";  
$resProc = $mysqli->query($queryProc) or die (mysqli_error($mysqli));

	$client_process=mysqli_num_rows($resProc);

	/*****************************************************/
//}
//$client_amount = $row['id'];
//echo $server_time ."<BR>" . $client_amount;
if ($orders->checkFoundOrdersForId($_SESSION['cafeteriaSystem'])) {
    $orders->viewChecksForUser($_SESSION['cafeteriaSystem'], "1");
} else {
    ?>
							<div class="alert alert-danger">Sorry No Orders Found  For This User</div>
						<?php 
}
$response = array();
$response['lastModified'] = $client_amount;
$response['msg'] = "kkkkk";
//$response['LastModifiedDelivered'] = $client_deliver;
//$response['LastModifiedProcessing'] = $client_process;
//echo json_encode($response);