当前位置: 首页>>代码示例>>PHP>>正文


PHP AImporter::css方法代码示例

本文整理汇总了PHP中AImporter::css方法的典型用法代码示例。如果您正苦于以下问题:PHP AImporter::css方法的具体用法?PHP AImporter::css怎么用?PHP AImporter::css使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在AImporter的用法示例。


在下文中一共展示了AImporter::css方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: deleteRateDate

 function deleteRateDate()
 {
     $id = JRequest::getInt('id', 0);
     $db = JFactory::getDbo();
     $query = $db->getQuery(true);
     if ($id) {
         $query->delete('#__bookpro_tourrate');
         $query->where('id=' . $id);
         $db->setQuery($query);
         $db->query();
     }
     $calendar_attributes = array('min_select_year' => JFactory::getDate('-1 years')->format('Y'), 'max_select_year' => JFactory::getDate('+1 years')->format('Y'));
     if (isset($_REQUEST['action']) and $_REQUEST['action'] == 'pn_get_month_cal') {
         require_once JPATH_COMPONENT_ADMINISTRATOR . '/classes/calendar.php';
         AImporter::css('calendar');
         $calendar = new PN_Calendar($calendar_attributes);
         echo $calendar->draw(array(), $_REQUEST['year'], $_REQUEST['month']);
         exit;
     }
 }
开发者ID:hixbotay,项目名称:executivetransport,代码行数:20,代码来源:tour.php

示例2: defined

<?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: default.php  23-06-2012 23:33:14
 **/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
JHtmlBehavior::modal('a.amodal');
AImporter::helper('form', 'currency');
AImporter::css('common');
$config = JComponentHelper::getParams('com_bookpro');
?>

<form name="frontForm" method="post" action="index.php" id="paymentForm">
	<div class="row-fluid">
		<div class="span7">
		<div class="well well-small">
			<div class="well well-small" style="background-color: white; ">
			<?php 
echo $this->loadTemplate(strtolower($this->order->type));
?>
			<?php 
echo $this->loadTemplate('cart');
?>
			</div>
		 </div>
开发者ID:hixbotay,项目名称:executivetransport,代码行数:31,代码来源:default.php

示例3: calendar

 function calendar()
 {
     $date = JDate::createFromFormat('Y', $_POST['year']);
     $min_date = clone $date;
     $min_date = $min_date->modify('-1 year');
     $max_date = $date->modify('+1 year');
     $calendar_attributes = array('min_select_year' => $min_date->format('Y'), 'max_select_year' => $max_date->format('Y'));
     if (isset($_REQUEST['action']) and $_REQUEST['action'] == 'pn_get_month_cal') {
         AImporter::classes('dayoffcalendar');
         AImporter::css('calendar');
         $calendar = new PN_Calendar($calendar_attributes);
         echo $calendar->draw(array(), $_REQUEST['year'], $_REQUEST['month']);
         exit;
     }
 }
开发者ID:hixbotay,项目名称:executivetransport,代码行数:15,代码来源:transportdayoff.php

示例4: defined

<?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$
 **/
defined('_JEXEC') or die('Restricted access');
jimport('joomla.html.html');
AImporter::css('common', 'customer');
AImporter::helper('currency', 'date');
AImporter::model('tourpackage', 'tour', 'orderinfos', 'passengers');
AImporter::helper('tour', 'paystatus');
JHtml::_('jquery.framework');
$config = JComponentHelper::getParams('com_bookpro');
$company_name = $config->get('company_name');
$logo = $config->get('company_logo');
$address = $config->get('company_address');
$this->customer = $this->ordersComplex->customer;
?>
<div style="border: 1px solid #ccc;" class="center">	
	<table class="table" cellpadding="10">
		<tbody>
			<tr>
				<td style="border: none;">
					<table class="table" cellpadding="5">
						<tr>
							<td style="border: none;">
开发者ID:hixbotay,项目名称:executivetransport,代码行数:31,代码来源:default.php

示例5: defined

<?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: default.php 26 2012-07-08 16:07:54Z quannv $
 **/
defined('_JEXEC') or die('Restricted access');
$bar =& JToolBar::getInstance('toolbar');
JHtml::_('jquery.framework');
JHtml::_('behavior.modal');
JToolbarHelper::title('Rate calendar');
AImporter::css('calendar');
BookProHelper::setSubmenu(1);
require_once JPATH_COMPONENT_ADMINISTRATOR . '/classes/calendar.php';
?>
<script type="text/javascript">

var ajaxurl = "<?php 
echo JUri::base() . 'index.php?option=com_bookpro&controller=tour&task=calendar&tour_id=' . $this->tour->id;
?>
";
var pn_appointments_calendar = null;
jQuery(function() {
    pn_appointments_calendar = new PN_CALENDAR();
    pn_appointments_calendar.init();
});
开发者ID:hixbotay,项目名称:executivetransport,代码行数:30,代码来源:default.php

示例6: defined

<?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$
 **/
defined('_JEXEC') or die('Restricted access');
JHtmlJquery::framework();
$config = JBFactory::getConfig();
AImporter::helper('tour', 'currency');
AImporter::js('footable');
AImporter::css('footable.core');
$total = 0;
if (count($displayData) > 0) {
    ?>

	
	
	
<script type="text/javascript">
	jQuery(function () {
		jQuery('.footable').footable();
	});
</script>
	
	<div class="box-heading">
	<?php 
开发者ID:hixbotay,项目名称:executivetransport,代码行数:31,代码来源:passengers.php

示例7: defined

 * @copyright 	Copyright (C) 2011 - 2012 Ngo Van Quan
 * @license 	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 * @version 	$Id$
 **/
defined('_JEXEC') or die('Direct Access to this location is not allowed.');
$config = JBFactory::getConfig();
$passengers = $this->items;
$orders = $this->order;
$app = JFactory::getApplication();
$listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn = $this->escape($this->state->get('list.direction'));
$document = JFactory::getDocument();
$document->addScript(JURI::root() . 'components/com_bookpro/assets/js/bootstrap-datepicker.js');
$document->addScript(JURI::root() . 'components/com_bookpro/assets/js/locales/bootstrap-datepicker.' . substr($lang->getTag(), 0, 2) . '.js');
$document->addStyleSheet(JURI::root() . 'components/com_bookpro/assets/css/datepicker.css');
AImporter::css('customer');
$js_dateformat = DateHelper::getConvertDateFormat('J');
$php_dateformat = DateHelper::getConvertDateFormat('P');
$manager_authorise = $this->authorise->order_manager;
?>
<script type="text/javascript">
	
	jQuery(document).ready(function($){
		//search name
		if($('#filter_search').val() != ''){
			$('#filter_search').focus();
		}
		$('#filter_search').live("keypress", function(e) {
	        if (e.keyCode == 13) {        	
	        	$("#adminForm").submit();
	        }
开发者ID:hixbotay,项目名称:executivetransport,代码行数:31,代码来源:default.php

示例8: defined

 * @copyright 	Copyright (C) 2011 - 2012 Ngo Van Quan
 * @license 	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 * @version 	$Id$
 **/
defined('_JEXEC') or die('Restricted access');
JHtml::_('jquery.ui');
AImporter::css('common', 'tour');
JHtml::_('jquery.framework');
//JHtml::_('behavior.modal','a.modal_term');
AImporter::css('jquery-ui');
JHtmlBehavior::modal('a.modal_term');
//Start library gallery
AImporter::css('jquery-ui', 'responsive-calendar', 'fotorama');
AImporter::js('responsive-calendar', 'fotorama', 'underscore-min');
//End library gallery
AImporter::css('jquery.ui.datepicker');
$document = JFactory::getDocument();
$document->addScript(JURI::root() . 'components/com_bookpro/assets/js/jquery.ui.datepicker.js');
$action = 'index.php?option=com_bookpro&view=tourbook?Itemid=' . JFactory::getApplication()->input->get('Itemid');
$group_p = explode(';', trim($this->tour->pax_group));
?>
<script type="text/javascript">
	jQuery(document).ready(function(){
	
	});

</script>

<div class="widgetbookpro-loading"></div>
<form name="tourBook" id="tourBook" method="post" action="<?php 
echo $action;
开发者ID:hixbotay,项目名称:executivetransport,代码行数:31,代码来源:default.php

示例9: defined

<?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: default.php  23-06-2012 23:33:14
 **/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
AImporter::css('customer', 'tour');
AImporter::helper('date', 'bookpro', 'currency', 'form', 'js');
JHtml::_('jquery.framework');
$config = JComponentHelper::getParams('com_bookpro');
BookProHelper::addJqueryValidate();
JsHelper::checkTimeOutScript('tour');
$lang = JFactory::getLanguage();
$local = substr($lang->getTag(), 0, 2);
BookProHelper::addJqueryValidate();
?>

<script type="text/javascript">
	jQuery(document).ready(function($){
		$("#frontForm").validate({
			lang: '<?php 
echo $local;
?>
',
			rules: {
开发者ID:hixbotay,项目名称:executivetransport,代码行数:31,代码来源:default.php

示例10: defined

 * @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', '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">
			
开发者ID:hixbotay,项目名称:executivetransport,代码行数:30,代码来源:default.php


注:本文中的AImporter::css方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。