Beispiel #1
0
<?php

include "../templates/header_session.php";
include "../templates/header.php";
$user_id = $_SESSION['user_id'];
//including classes
include "../classes/CafeDetails.php";
include "../classes/CafeTrac.php";
//creating objects
$cafe_details = new CafeDetails();
$cafe_trac = new CafeTrac();
//result of cafe details assigned to the user
$result = $cafe_details->getAllCafeIdByAssignedId($user_id);
?>
<body>
<div id="topPan"><div id="ImgPan"><a href="index.html"><img src="../images/logo.gif" title="Coporate Profiles" alt="Coporate Profiles" width="201" height="52" border="0" /></a></div>
<?php 
include "nav_bar.php";
?>
</div>
<div id="bodyPan">
<p class="toptextpadding">Cafes Assigned to You</p>
<p class="toptextpadding">&nbsp;</p>
<table width="965" border="1" align="center">
  <tr>
    <td>Cafe Name</td>
    <td>Cafe Owner</td>
    <td>Office Phone</td>
    <td>Address</td>
    <td>City</td>
    <td>State</td>