<table class="ui celled table segment" > <tr> <th> Name </th> <th> Resturant </th> <th> Cuisine </th> <th> Price </th> <th> Discount </th> <th> Orders </th> <th> Details </th> <tr> <?php $offer_set = get_suggested_offer($cuisine_id, $low, $high); while ($myoffer = mysql_fetch_array($offer_set)) { $resturant = get_resturant_by_id($myoffer['resturant_id']); if ($city_id > 0 && $resturant['city_id'] != $city_id) { continue; } ?> <tr> <td><?php echo $myoffer['offer_name']; ?> </td> <td><a href="resturant_home.php?id=<?php echo $resturant['resturant_id']; ?> "><?php echo $resturant['name'];
<?php require_once "includes/model.php"; include 'assets/header.php'; include 'assets/search.php'; include 'assets/login.php'; include 'assets/leftmenu.php'; ?> <?php $id = $_GET['id']; $resturant = get_resturant_by_id($id); if (isset($_POST['submit'])) { } ?> <?php include 'assets/mainview_menu.php'; include 'assets/rightmenu.php'; ?>