コード例 #1
0
      <img src="__IMAGE__/progress3.png">
     </div>
   </div>

   <div class="linea"></div>

 </div>
 <div class="maina">
  <div class="row">
    <div class="ma">
      <div class="col-xs-9 col-md-7">
       <p class="p1"><span><b><?php 
echo gethotel($hotel_id);
?>
</b></span></p> 	<p class="p3">房间:<?php 
echo getroom($room_id);
?>
</p>
       <p class="p2"><b><?php 
echo getweek($start_date);
?>
</b></p>  <p class="p4">到</p>  <p class="p5"><b><?php 
echo getweek($end_date);
?>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;共<?php 
echo $day;
?>
晚</b></p>

     </div>
   </div>
コード例 #2
0
//	        echo  mysql_num_rows($listing_query5);
function getroom($i, $cateID, $roomID)
{
    $j = 0;
    $listing_sql5 = "select * from " . room_type . "  where room_type_categories= '" . $cateID . "'and room_type_id <>'" . $roomID . "' ";
    $listing_split5 = new splitPageResults($listing_sql5, MAX_DISPLAY_SEARCH_RESULTS);
    $listing_query5 = tep_db_query($listing_split5->sql_query);
    while ($row = tep_db_fetch_array($listing_query5)) {
        if ($i == $j) {
            return $row;
        }
        $j++;
    }
}
$row1 = getroom(0, $listing1['room_type_categories'], $listing1['room_type_id']);
$row2 = getroom(1, $listing1['room_type_categories'], $listing1['room_type_id']);
?>
 <input id="getminicart" type="hidden" value="<?php 
echo tep_href_link("index.php");
?>
">
<div id="left">
    <!-- Show gio hang -->
<div class="moduletable color1">		
				<h3><span></span>Danh sách phòng đặt</h3>
    <div class="moduletable_content">
        <div id="miniK2StoreCart">
            <div id="container">
                <p class="center">No items in the shopping cart</p>
        	</div>
        </div>