Exemplo n.º 1
0
<?php

/**
 * @package 	Bookpro
 * @author 		Ngo Van Quan
 * @link 		http://joombooking.com
 * @copyright 	Copyright (C) 2011 - 2012 Ngo Van Quan
 * @license 	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 * @version 	$Id$
 **/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
AImporter::helper('date', 'currency', 'js');
jimport('joomla.application.module.helper');
$module = JModuleHelper::getModule('mod_jbtour_search');
JsHelper::checkTimeOutScript('tour');
?>
<legend>Update search</legend>
<div class="well well-small"><?php 
echo JModuleHelper::renderModule($module);
?>
</div>

<form name="frontForm" id="tour_list_form" method="post" action='index.php'>
<table class="table table_tour">
	<thead>
		<tr>
			
			<th width="15%"><?php 
echo JText::_('COM_BOOKPRO_TOUR_NO');
?>
Exemplo n.º 2
0
 * @copyright 	Copyright (C) 2011 - 2012 Ngo Van Quan
 * @license 	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 * @version 	$Id: default.php  23-06-2012 23:33:14
 **/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
AImporter::helper('date', 'bookpro', 'currency', 'form', 'js');
JHtml::_('jquery.framework');
//JsHelper::addTimePickerLib();
$lang = JFactory::getLanguage();
$local = substr($lang->getTag(), 0, 2);
$doc = JFactory::getDocument();
$doc->addScript("http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js");
$doc->addScript("http://ajax.aspnetcdn.com/ajax/jquery.validate/1.13.1/localization/messages_" . $local . ".js");
//check session timeout
JsHelper::checkTimeOutScript('transport');
?>

<script type="text/javascript">
	jQuery(document).ready(function($){
		$("#frontForm").validate({
		    lang: '<?php 
echo $local;
?>
',
			rules: {
				firstname: "required",
				lastname: "required",
				email: {
					required: true,
					email: true
Exemplo n.º 3
0
 * @version 	$Id: default.php  23-06-2012 23:33:14
 **/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
AImporter::helper('date', 'bookpro', 'currency', 'form', 'js', 'transport');
JHtml::_('jquery.framework');
JHtml::_('jquery.ui');
$lang = JFactory::getLanguage();
$local = substr($lang->getTag(), 0, 2);
$doc = JFactory::getDocument();
$doc->addScript("http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js");
$doc->addScript("http://ajax.aspnetcdn.com/ajax/jquery.validate/1.13.1/localization/messages_" . $local . ".js");
$doc->addScript(JURI::base() . "/components/com_bookpro/assets/js/jbtransport.js");
AImporter::css('jbtransport');
//check session timeout
JsHelper::checkTimeOutScript();
$total_pass = $this->cart->adult + $this->cart->child;
?>
<h1><?php 
echo JText::_('COM_BOOKPRO_TRANSPORT_CHOOSE_VEHICLE');
?>
</h1>
<?php 
echo JLayoutHelper::render('transport_process_bar', 3, JPATH_ROOT . '/components/com_bookpro/layouts');
?>
<form name="transportVehicle" action='index.php' method="post" id="transportVehicle"> 
	<div >
		<div class="row-fluid">
			
			<div class="span4">
			<?php