} if ($hotels->address && $hotels->cityname) { echo '<strong>' . JText::_('HG_ADDRESS') . ': </strong>' . $hotels->address . ', ' . $hotels->cityname; } echo '<p style="height:46px; overflow: hidden;">'; if ($this->hgconf->max_char_hotel) { $limitchar = $this->hgconf->max_char_hotel; } else { $limitchar = 250; } if ($hotels->intro) { echo HGUtil::introtext(strip_tags($hotels->intro), $limitchar); } echo '</p>'; if (isset($hotels->taglist) && $this->hgconf->showtag) { echo hgSelectHelper::showtags($hotels->taglist); } echo '</div>'; echo '</div>' . "\n"; if ($hotels->featured > 0) { echo '<div class="rightcell" style="vertical-align: top;">' . "\n"; } else { echo '<div class="rightcell" style="vertical-align: middle;">' . "\n"; } if ($hotels->featured == 1) { echo '<img src="' . JURI::base() . 'components/com_hotelguide/assets/images/best.png" title="' . JTEXT::_('HG_BEST') . '" alt="' . JTEXT::_('HG_BEST') . '" />'; } else { if ($hotels->featured == 2) { echo '<img src="' . JURI::base() . 'components/com_hotelguide/assets/images/hot.png" title="' . JTEXT::_('HG_HOT') . '" alt="' . JTEXT::_('HG_HOT') . '" />'; } else { if ($hotels->featured == 3) {
?> </div> <div id="progressM"></div> </td> </tr> <tr> <td class="key"><?php echo JHTML::_('hotelguide.form.label', 'HG_SELECT_AN_ACCOMMODATION', 'hotel', true); ?> </td> <td colspan='2' align='left'> <div id="AjaxHotel" style="float:left"> <?php $row->id = 0; $row->hotel = $this->row->hotel; echo hgSelectHelper::SelectAjaxHotelRoom($row, $this->row->city); ?> </div> <div id="progressN"></div> </td> </tr> <tr> <td class="key"><?php echo JHTML::_('hotelguide.form.label', 'HG_STARTDATE', 'sdate'); ?> </td> <td> <?php echo JHTML::_('calendar', $this->row->sdate, "sdate", "sdate"); ?> <br />
?> </div> <div id="progressM"></div> </td> </tr> <tr> <td class="key"><?php echo JHTML::_('hotelguide.form.label', 'HG_SELECT_AN_ACCOMMODATION_TO_LINK', 'hotel', true); ?> </td> <td colspan='2' align='left'> <div id="AjaxHotel" style="float:left"> <?php $data->id = 0; $data->hotel = $this->data->hotel; echo hgSelectHelper::SelectAjaxHotelRoom($data, $this->data->city); ?> </div> <div id="progressN"></div> </td> </tr> <tr> <td class="key"><?php echo JHTML::_('hotelguide.form.label', 'HG_LINK_TO_AN_ARTICLE', 'contentid', true); ?> </td> <td><?php echo $this->lists['contentid']; ?> </td> </tr>
echo '</div>' . "\n"; echo '<div style="clear:both;"></div>' . "\n"; echo '<div class="slogan"> ' . "\n"; echo '<p style="font-weight:bold; padding: 5px 10px;"> ' . "\n"; echo $this->hgconf->siteslogan; echo '</p>' . "\n"; echo '</div>' . "\n"; echo '</div>' . "\n"; } else { if ($this->hgconf->country_menu) { $menu_height = 70; } else { $menu_height = 46; } if ($this->hgconf->country_menu) { echo hgSelectHelper::CountryMenu($this->country); } echo '<div class="titlewrapper" style="height:' . $menu_height . 'px;">' . "\n"; echo '<div class="titlebox" style="height:46px;"> ' . "\n"; echo '<h1 class="title_content">' . $this->params->get('page_title') . '</h1> ' . "\n"; echo '</div>' . "\n"; echo '<div style="clear:both;"></div>' . "\n"; echo '<div class="slogan"> ' . "\n"; echo '<p style="padding: 5px 10px"> ' . "\n"; echo $this->hgconf->siteslogan; echo '</p>' . "\n"; echo '</div>' . "\n"; echo '</div>' . "\n"; // echo '</div>' . "\n"; } echo '<div class="clear"></div>' . "\n";
echo '</div>' . "\n"; echo '<div style="clear:both;"></div>' . "\n"; echo '<div class="slogan"> ' . "\n"; echo '<p style="font-weight:bold; padding: 5px 10px;"> ' . "\n"; echo $this->hgconf->siteslogan; echo '</p>' . "\n"; echo '</div>' . "\n"; echo '</div>' . "\n"; } else { if ($this->hgconf->world_menu) { $menu_height = 70; } else { $menu_height = 46; } if ($this->hgconf->world_menu) { echo hgSelectHelper::ContinentMenu(); } echo '<div class="titlewrapper" style="height:' . $menu_height . 'px;">' . "\n"; echo '<div class="titlebox" style="height:46px;"> ' . "\n"; echo '<h1 class="title_content">' . $this->params->get('page_title') . '</h1> ' . "\n"; echo '</div>' . "\n"; echo '<div style="clear:both;"></div>' . "\n"; echo '<div class="slogan"> ' . "\n"; echo '<p style="font-weight:bold; padding: 5px 10px;"> ' . "\n"; echo $this->hgconf->siteslogan; echo '</p>' . "\n"; echo '</div>' . "\n"; echo '</div>' . "\n"; } echo '<div style="clear:both;"></div>' . "\n"; if (count($this->gallery) > 0 && $this->hgconf->world_showslide == 1) {
echo '</div>' . "\n"; echo '<div style="clear:both;"></div>' . "\n"; echo '<div class="slogan"> ' . "\n"; echo '<p style="padding: 5px 10px"> ' . "\n"; echo $this->hgconf->siteslogan; echo '</p>' . "\n"; echo '</div>' . "\n"; echo '</div>' . "\n"; } else { if ($this->hgconf->states_menu) { $menu_height = 78; } else { $menu_height = 78; } if ($this->hgconf->states_menu) { echo hgSelectHelper::StatesMenu($this->states); echo '<div style="clear:both;"></div>' . "\n"; } echo '<div class="titlewrapper" style="height:' . $menu_height . 'px;">' . "\n"; echo '<div class="titlebox" style="height:46px;"> ' . "\n"; echo '<h1 class="title_content">' . $this->params->get('page_title') . '</h1> ' . "\n"; echo '</div>' . "\n"; echo '<div style="clear:both;"></div>' . "\n"; echo '<div class="slogan"> ' . "\n"; echo '<p style="padding: 5px 10px"> ' . "\n"; echo $this->hgconf->siteslogan; echo '</p>' . "\n"; echo '</div>' . "\n"; echo '</div>' . "\n"; } echo '<div class="clear"></div>' . "\n";
?> </div> <div id="progressL"></div> </td> </tr> <tr> <td class="key"><?php echo JHTML::_('hotelguide.form.label', 'HG_PARENT_CITY', 'parent_id'); ?> </td> <td colspan='2' align='left'> <div id="AjaxLocal" style="float:left"> <?php $row->id = 0; $row->parent_id = $this->row->parent_id; echo hgSelectHelper::SelectAjaxLocal($row, $this->row->country); ?> </div> <div id="progressM"></div> </td> </tr> <tr> <td class="key"> <label for="published"> <?php echo JText::_('HG_PUBLISHED') . ':'; ?> </label> </td> <td> <?php
<?php if ($this->item->roomfacilities) { ?> <div class="slide_wrapper"> <fieldset class="layout" style="border:none; margin-bottom:15px;"> <legend style="font-size:12px; padding-left:10px;" class="legend_slide_wrapper"><?php echo JText::_('HG_ACCOMMODATION_FACILITIES_OPTIONAL'); ?> </legend> <div class="slidevisible" style="width:100%; padding-bottom:5px;"> <div style="margin-left:30px;"> <table cellpadding="4" cellspacing="1" border="0" width="100%" class="adminform"> <tr> <td> <?php echo hgSelectHelper::SelectRoomFacilitiesBooking($this->item); ?> </td> </tr> </table> </div> </div> </fieldset> </div> <?php } ?> <div class="slide_wrapper"> <fieldset class="layout" style="border:none; margin-bottom:15px;"> <legend style="font-size:12px; padding-left:10px;" class="legend_slide_wrapper"><?php echo JText::_('HG_SPECIAL_REQUESTS_(OPTIONAL)');
echo hgSelectHelper::search_facility(JRequest::getVar('filter_facility', '')); echo '</div> </div>'; } if ($parameters[9] == 1) { echo '<div class="headerDivImg"> <div class="hg_in"> <div class="titleTextImg">' . JText::_('HG_THEME_TYPES') . '</div> <a id="imageDivLink_6" href="javascript:toggle2(\'contentDivImg_6\', \'imageDivLink_6\');"> <img src="modules/mod_hotelsearch/assets/images/toggle_blue.png" border="0" /> </a> </div> </div> <div id="contentDivImg_6" style="display: none;"> <div class="hg_inbox">'; echo hgSelectHelper::search_type(JRequest::getVar('filter_type', '')); echo '</div> </div>'; } echo JHTML::_('form.token'); ?> <input type="hidden" name="option" value="com_hotelguide" /> <input type="hidden" name="view" value="search" /> <input type="hidden" name="task" value="search" /> <?php echo '</form></div>' . "\n"; //echo '<div style="clear:both"></div>' . "\n"; ?> <script type="text/javascript">
</tr> </table> <input type="hidden" name="roomfacilities"> <table cellpadding="4" cellspacing="1" border="0" width="100%" class="adminform"> <tr> <td><strong> <?php echo JText::_('HG_PLEASE_SELECT_ROOM_FACILITIES'); ?> </strong></td> </tr> <tr> <td> <?php echo hgSelectHelper::SelectRoomFacilities($this->row); ?> </td> </tr> </table> <script language="JavaScript"> updateCheckedList(); updateCheckedRoomList(); </script> </div> <?php echo $this->tabs->endPanel(); echo $this->tabs->startPanel(JText::_('HG_SLIDESHOW'), 'panel9'); ?>
echo '</div>' . "\n"; echo '<div style="clear:both;"></div>' . "\n"; echo '<div class="slogan"> ' . "\n"; echo '<p style="font-weight:bold; padding: 5px 10px;"> ' . "\n"; echo $this->hgconf->siteslogan; echo '</p>' . "\n"; echo '</div>' . "\n"; echo '</div>' . "\n"; } else { if ($this->hgconf->conti_menu) { $menu_height = 78; } else { $menu_height = 78; } if ($this->hgconf->city_menu) { echo hgSelectHelper::CityMenu($this->city); } echo '<div class="titlewrapper" style="height:' . $menu_height . 'px;">' . "\n"; echo '<div class="titlebox" style="height:46px;"> ' . "\n"; echo '<h1 class="title_content">' . $this->params->get('page_title') . '</h1> ' . "\n"; echo '</div>' . "\n"; echo '<div style="clear:both;"></div>' . "\n"; echo '<div class="slogan"> ' . "\n"; echo '<p style="font-weight:bold; padding: 5px 10px;"> ' . "\n"; echo $this->hgconf->siteslogan; echo '</p>' . "\n"; echo '</div>' . "\n"; echo '</div>' . "\n"; } echo '<div class="clear"></div>' . "\n"; if (count($this->gallery) > 0 && $this->hgconf->city_showslide == 1) {
echo '<div class="right_box">' . "\n"; echo '<div class="search_cap">' . "\n"; echo JText::_('HG_CHECKOUT') . ': '; echo '</div>'; echo '<div class="search_elem">' . "\n"; echo JHTML::_('hotelguide.list.outcalendar', 'checkout', '', NULL); echo '</div>' . "\n"; echo '</div>' . "\n"; echo '<div style="clear:both;"></div>' . "\n"; echo '<div class="left_box">' . "\n"; echo '<div class="search_cap">' . "\n"; echo JText::_('HG_CITY') . ': '; echo '</div>'; echo '<div class="search_elem">' . "\n"; echo '<div id="AjaxCity">'; echo hgSelectHelper::search_city($this->filter_country, $this->filter_city); echo '</div>'; echo '<div id="progressB"></div>'; echo '</div>' . "\n"; echo '</div>' . "\n"; echo '<div class="right_box">' . "\n"; echo '<div class="search_elem" style="float:right">' . "\n"; echo '<input type="submit" class="button" name="submit_search" value="' . JText::_('HG_SEARCH') . '" />' . "\n"; echo '</div>' . "\n"; echo '</div>' . "\n"; echo '</div>' . "\n"; echo '<div style="clear:both;padding-bottom:10px;"></div>' . "\n"; /* if ($this->hgconf->search_option == 1) { echo '<div id="slider">' . "\n"; echo '<div class="hg_header" id="one-hg_header">'.JText::_( 'HG_ADVANCED_SEARCH' ).'</div>' . "\n";
?> </div> <div id="progressN"></div> </td> </tr> <tr> <td class="key"><?php echo JHTML::_('hotelguide.form.label', 'HG_SELECT_A_PARENT_ROOM', 'parent_id'); ?> </td> <td colspan='2' align='left'> <div id="AjaxRoom" style="float:left"> <?php $row->id = 0; $row->parent_id = $this->row->parent_id; echo hgSelectHelper::SelectAjaxRoom($row, $this->row->hotel); ?> </div> <div id="progressO"></div> </td> </tr> <tr> <td class="key"><?php echo JHTML::_('hotelguide.form.label', 'HG_QUANTITY_OF_ROOM', 'quantity', true, 'HG_QUANTITY_OF_ROOM_COMMENT'); ?> </td> <td colspan='2' align='left'> <input type="text" size="3" name="quantity" id="quantity" value="<?php echo $this->row->quantity; ?> " />