<div class="panel">
	<h1 class="panel-heading"><?php 
echo HEADING_TITLE;
?>
</h1>
	<div class="panel-body page-content">
		<?php 
if ($customer_has_gv_balance) {
    ?>
		<div id="sendSpendWrapper">
		<?php 
    require display_tpl('tpl_modules_send_or_spend');
    ?>
		</div>
		<?php 
}
?>
		<!--eof -gift certificate- send or spend box-->
		
		<div id="checkoutSuccessOrderNumber"><?php 
echo TEXT_YOUR_ORDER_NUMBER . $zv_orders_id;
?>
</div>
		<?php 
if (DEFINE_CHECKOUT_SUCCESS_STATUS >= 1 and DEFINE_CHECKOUT_SUCCESS_STATUS <= 2) {
    ?>
			<?php 
    require $define_page;
    ?>
		<?php 
}
		<form id="create_account" name="create_account" class="form-horizontal" method="post" action="<?php 
echo zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL');
?>
" onsubmit="return check_form(create_account);">
			<?php 
echo zen_draw_hidden_field('action', 'process') . zen_draw_hidden_field('email_pref_html', 'email_format');
?>
			<?php 
echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']);
?>
			<h5 id="createAcctDefaultLoginLink"><?php 
echo sprintf(TEXT_ORIGIN_LOGIN, zen_href_link(FILENAME_LOGIN, zen_get_all_get_params(array('action')), 'SSL'));
?>
</h5>
			<?php 
require display_tpl('tpl_modules_create_account');
?>
			
			<div class="form-group">
				<label class="col-xs-12 col-sm-4 col-md-3 control-label"></label>
				<div class="col-xs-12 col-sm-8 col-md-9">
					<input type="submit" class="btn btn-default" value="<?php 
echo BUTTON_SUBMIT_ALT;
?>
"/>
				</div>
			</div>
		</form>
	</div>
</div>
    echo BUTTON_BACK_ALT;
    ?>
</a>
							</div>
						</div>
					</div>
				</div>
				
			<?php 
} else {
    ?>
				<?php 
    //Used to display address book entry form
    ?>
				<?php 
    require display_tpl('tpl_modules_address_book_details');
    ?>
				<div class="">
					<div class="form-group">
						<label class="col-xs-12 col-sm-4 col-md-3 control-label">
							
						</label>
						<div class="col-xs-12 col-sm-8 col-md-9">
							<div class="form-group address_change">
								<?php 
    if (isset($_GET['edit']) && is_numeric($_GET['edit'])) {
        ?>
									<?php 
        echo zen_draw_hidden_field('action', 'update') . zen_draw_hidden_field('edit', $_GET['edit']);
        ?>
									<a class="btn btn-default address_change" href="<?php 
		<?php 
}
?>
		
		<?php 
require get_modules_file(FILENAME_PRODUCT_LISTING);
?>
		<?php 
if (count($tpl_products['products']) == 0) {
    ?>
			<div class="panel-heading"><?php 
    echo TEXT_CATEGORIES_NO_PRODUCTS;
    ?>
</div>
			<?php 
    require display_tpl('tpl_modules_whats_new');
    ?>
		<?php 
} else {
    ?>
			<?php 
    require display_tpl_common('tpl_grid_display');
    ?>
		<?php 
}
?>
	</div>
</div>
<style type="text/css">
	.left_cat_a{display: block;}
</style>
Exemplo n.º 5
0
function display_tpl_common($template_file)
{
    return display_tpl($template_file, 'common');
}
    ?>
			<?php 
}
?>
			</div>
			
			<?php 
if ($addresses_count > 1) {
    ?>
			<div class="">
				<h2 class="panel-title"><?php 
    echo TABLE_HEADING_NEW_PAYMENT_ADDRESS;
    ?>
</h2>
				<?php 
    require display_tpl('tpl_modules_checkout_address_book');
    ?>
			</div>
			<?php 
}
?>
			
			<div class="">
				<div class="form-inline">
					<?php 
echo zen_draw_hidden_field('action', 'submit');
?>
					
					<?php 
if ($process == true) {
    ?>
Exemplo n.º 7
0
    // if (array_key_exists($category['parent_id'], $tpl_categories))
    if ($category['top'] == 'true') {
        $tpl_categories[$category['categories_id']] = $tmp;
    } else {
        $tpl_categories[$category['parent_id']]['children'][$category['categories_id']] = $tmp;
    }
}
foreach ($tpl_categories as $key111 => $tcategories) {
    if (empty($tcategories['id'])) {
        unset($tpl_categories[$key111]);
    }
}
//usort($tpl_categories, 'asort_sortorder');
// var_dump($tpl_categories);exit;
unset($idx, $category);
require display_tpl('tpl_categories', 'sideboxes');
//require ($template->get_template_dir('tpl_categories.php', DIR_WS_TEMPLATE, $current_page_base, 'sideboxes') . '/tpl_categories.php');
function asort_sortorder($a1, $a2)
{
    if ($a1['sort_order'] == $a2['sort_order']) {
        return 0;
    }
    if ($a1['sort_order'] > $a2['sort_order']) {
        return 1;
    }
    return -1;
}
function asort_categories($a1, $a2)
{
    if ($a1['id'] == $a2['id']) {
        return 0;
if (!empty($display_sale_price)) {
    ?>
							<br/>
							<span class="price-save">
							<?php 
    echo $display_sale_price;
    ?>
							</span>
						<?php 
}
?>
					</dd>
					<dd>
						<div class="product-attributes">
							<?php 
require display_tpl('tpl_modules_attributes');
?>
						</div>
					</dd>
					<dd class="product-quantity">
						<div class="form-inline">
							<div class="form-group">
								<label for="qty"><?php 
echo PRODUCTS_ORDER_QTY_TEXT;
?>
</label>
								<input  id="qty" class="form-control" type="text" name="cart_quantity" value="<?php 
echo zen_get_buy_now_qty($_GET['products_id']);
?>
" maxlength="12" size="5"/>
								<?php