コード例 #1
0
  
    
    <table class="ui celled table segment">
    <tr>
      <td>Offer name :</td>
      <td> <?php 
    echo $myrow['offer_name'];
    ?>
 </td>
    <tr>
    
    
    <tr>
      <td>Cuisine :</td>
      <td> <?php 
    echo get_cuisine_name($myrow['cuisine_id']);
    ?>
 </td>
    <tr>
    
    
    <tr>
      <td>Price :</td>
      <td> <?php 
    echo $myrow['price'];
    ?>
 </td>
    <tr>
    
    <tr>
      <td>Discount</td>
コード例 #2
0
        ?>
    
    <tr>
        <td><?php 
        echo $myoffer['offer_name'];
        ?>
</td>
        <td><a href="resturant_home.php?id=<?php 
        echo $resturant['resturant_id'];
        ?>
"><?php 
        echo $resturant['name'];
        ?>
</a></td>
        <td><?php 
        echo get_cuisine_name($myoffer['cuisine_id']);
        ?>
</td>
        <td><?php 
        echo $myoffer['price'];
        ?>
</td>
        <td><?php 
        echo $myoffer['discount'];
        ?>
</td>
        <td><?php 
        echo $myoffer['orders'];
        ?>
</td>
        <td><a href="show_offer.php?id=<?php 
コード例 #3
0
echo $id;
?>
" >Location</a></li>
                  <li class="#"><a href="resturant_rating.php?id=<?php 
echo $id;
?>
" >Ratings</a></li>
                </ul>

      <!-- Table Viewport-->


     <?php 
$result = get_all_cuisine($id);
while ($myrow = mysql_fetch_array($result)) {
    $cuisine_name = get_cuisine_name($myrow['cuisine_id']);
    ?>
     

      <table class="ui celled table segment">
        <thead>
           <h2  class="ui teal header"><?php 
    echo $cuisine_name;
    ?>
</h2>
          <tr>
           <th> Name </th>
                  <th> Amount </th>
                  <th> Info </th>
                  <th> Orders </th>
                  <th> Price </th>