function update(&$class, $eventID, $paramsArray) { global $messageStack; if (isset($_SESSION['COWOA']) && $_SESSION['COWOA'] == true) { $messageStack->add_session('header', 'Only registered customers can access account features. You are currently using our guest checkout option. Please logout and sign-in with your registered account to access all account features.', 'caution'); zen_redirect(zen_back_link(true)); } elseif (!isset($_SESSION['customer_id'])) { $_SESSION['redirect_url'] = zen_href_link($_GET['main_page'], zen_get_all_get_params(array('main_page')), 'SSL'); } }
require DIR_WS_MODULES . zen_get_module_directory('sideboxes/ezpages.php'); require DIR_WS_MODULES . zen_get_module_directory('sideboxes/' . $template_dir . '/subscribe.php'); ?> </div> <div class="right_big_con margin_t"> <?php echo '<h3 class="line_30px border_b">' . HEADING_TITLE . '</h3>'; echo zen_draw_form('submit_link', zen_href_link(FILENAME_LINKS_SUBMIT, 'action=send', 'SSL'), 'post', 'enctype="multipart/form-data"'); if (isset($_GET['action']) && $_GET['action'] == 'success') { ?> <div class="mainContent success"><?php echo LINKS_SUCCESS; ?> </div> <div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?> </div> <?php } else { ?> <?php if (DEFINE_LINKS_STATUS >= '1' and DEFINE_LINKS_STATUS <= '2') { ?> <div id="pageThreeMainContent"> <?php require $define_page; ?> </div> <?php }
/** Render the row of buttons */ public static function buttons() { $back_link = zen_back_link(true); $left_buttons = "<a href='{$back_link}' class='btn btn-success'>" . "« " . BUTTON_CONTINUE_SHOPPING_ALT . "</a>"; if (SHOW_SHIPPING_ESTIMATOR_BUTTON == '1') { $shipping_link = zen_href_link(FILENAME_POPUP_SHIPPING_ESTIMATOR); $left_buttons .= " <a href=\"javascript:popupWindow('{$shipping_link}')\" class='btn btn-warning'>" . BootstrapUtils::glyphicon('globe') . " " . BUTTON_SHIPPING_ESTIMATOR_ALT . "</a>"; } $checkout_link = zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); $right_buttons = "<a href='{$checkout_link}' class='btn btn-primary'>" . BootstrapUtils::glyphicon('shopping-cart') . " " . BUTTON_CHECKOUT_ALT . "</a>"; if (SHOW_SHOPPING_CART_UPDATE == 2 or SHOW_SHOPPING_CART_UPDATE == 3) { $right_buttons = "<button type='submit' class='btn btn-success'>" . BootstrapUtils::glyphicon('refresh') . " " . BUTTON_UPDATE_ALT . "</button>\n" . $right_buttons; } return "<div class='clearfix'><div class='pull-left'>{$left_buttons}</div>" . "<div class='pull-right'>{$right_buttons}</div></div>"; }
echo BOX_INFORMATION; ?> </div> </fieldset> <div id="cookieUsageDefaultContent2" class="content"><?php echo TEXT_INFORMATION_2; ?> </div> <div id="cookieUsageDefaultContent3" class="content"><?php echo TEXT_INFORMATION_3; ?> </div> <div id="cookieUsageDefaultContent4" class="content"><?php echo TEXT_INFORMATION_4; ?> </div> <div id="cookieUsageDefaultContent5" class="content"><?php echo TEXT_INFORMATION_5; ?> </div> <div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_CONTINUE, BUTTON_CONTINUE_ALT) . '</a>'; ?> </div> </div>
echo zen_back_link() . $home_button; ?> </a> <a href="<?php echo $next_link; ?> "><?php echo $next_item_button; ?> </a> </div> <?php } elseif (EZPAGES_SHOW_PREV_NEXT_BUTTONS == '1') { ?> <div id="navEZPageNextPrev"><?php echo zen_back_link() . $home_button . '</a>'; ?> </div> <?php } ?> <?php // vertical TOC listing // create a table of contents for chapter when more than 1 page in the TOC if (sizeof($toc_links) > 1 and EZPAGES_SHOW_TABLE_CONTENTS == '1') { ?> <div id="navEZPagesTOCWrapper"> <h2 id="ezPagesTOCHeading"><?php echo TEXT_EZ_PAGES_TABLE_CONTEXT; ?>
* @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: tpl_shippinginfo_default.php 3464 2006-04-19 00:07:26Z ajeh $ */ ?> <div class="centerColumn" id="shippingInfo"> <?php echo MOBILE_TITLE_START . HEADING_TITLE . MOBILE_TITLE_FINISH; ?> <?php if (DEFINE_SHIPPINGINFO_STATUS >= 1 and DEFINE_SHIPPINGINFO_STATUS <= 2) { ?> <div id="shippingInfoMainContent" class="content"> <?php /** * require the html_define for the shippinginfo page */ require $define_page; ?> </div> <?php } ?> <div class="buttonRow back"><?php echo zen_back_link() . MOBILE_HISTORY_BACK . '</a>'; ?> </div> </div>
<?php echo zen_draw_textarea_field('message', 50, 10, stripslashes($_POST['message']), 'class="form-control" id="message-area"'); ?> </div> </fieldset> <p class='clearfix'> <button type='submit' class='btn btn-primary pull-right'> <?php echo BUTTON_SEND_ALT; ?> </button> <button type='button' class='btn btn-default pull-left'> <?php echo zen_back_link() . BUTTON_BACK_ALT . '</a>'; ?> </button> </p> </form> <div class="advisory"><?php echo EMAIL_ADVISORY_INCLUDED_WARNING . "<br />" . str_replace('-----', '', EMAIL_ADVISORY); ?> </div> <?php } ?> <!--EOF GV send-->
"><?php echo BUTTON_BACK_ALT; ?> </a> <input type="submit" class="btn btn-default" value="<?php echo BUTTON_UPDATE_ALT; ?> "/> <?php } else { ?> <?php echo zen_draw_hidden_field('action', 'process'); ?> <a class="btn btn-default" href="<?php echo zen_back_link(true); ?> "><?php echo BUTTON_BACK_ALT; ?> </a> <input type="submit" class="btn btn-default" value="<?php echo BUTTON_SUBMIT_ALT; ?> "/> <?php } ?> </div> </div>
/** Return a left-pulled Link to take the User Back a Page. */ public static function back_link() { return zen_back_link() . "<span class='pull-left btn btn-default'>" . BUTTON_BACK_ALT . "</span></a>"; }
echo BOX_INFORMATION; ?> </div> <div id="cookieUsageDefaultContent2" class="content"><?php echo TEXT_INFORMATION_2; ?> </div> <div id="cookieUsageDefaultContent3" class="content"><?php echo TEXT_INFORMATION_3; ?> </div> <div id="cookieUsageDefaultContent4" class="content"><?php echo TEXT_INFORMATION_4; ?> </div> <div id="cookieUsageDefaultContent5" class="content"><?php echo TEXT_INFORMATION_5; ?> </div> <div class="submit"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_CONTINUE, BUTTON_CONTINUE_ALT, 'class="imgover"') . '</a>'; ?> </div> </div></div>
<legend><?php echo ENTRY_CATEGORIES; ?> </legend> <div class="form-group text-center"> <?php echo zen_draw_pull_down_menu('categories_id', zen_get_categories(array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES)), '0', '', '1'), $sData['categories_id'], 'class="form-control"'); ?> <label class="checkbox" for="inc-subcat"><?php echo zen_draw_checkbox_field('inc_subcat', '1', $sData['inc_subcat'], 'id="inc-subcat"') . ENTRY_INCLUDE_SUBCATEGORIES; ?> </label> </div> </fieldset> </div> </div> <p class="clearfix"> <span class="pull-right"><button type="submit" class="btn btn-primary"><?php echo BUTTON_SEARCH_ALT; ?> </button></span> <span class="pull-left"><?php echo zen_back_link() . "<span class='btn btn-default' type='none'>" . BUTTON_BACK_ALT . '</span></a>'; ?> </span> </p> </form> </div>
?> <div class="pull-right"><?php echo zen_draw_hidden_field('action', 'update') . zen_draw_hidden_field('edit', $_GET['edit']) . "<button type='submit' class='btn btn-primary'>" . BUTTON_UPDATE_ALT . "</button>"; ?> </div> <div class="pull-left"><?php echo '<a class="btn btn-default" href="' . zen_href_link(FILENAME_ADDRESS_BOOK, '', 'SSL') . '">' . BUTTON_BACK_ALT . '</a>'; ?> </div><?php } else { ?> <div class="pull-right"><?php echo zen_draw_hidden_field('action', 'process') . "<button type='submit' class='btn btn-primary'>" . BUTTON_SUBMIT_ALT . "</button>"; ?> </div> <div class="pull-left"><?php echo zen_back_link() . "<button type='button' class='btn btn-default'>" . BUTTON_BACK_ALT . '</button></a>'; ?> </div><?php } ?> </div><?php } if (!isset($_GET['delete'])) { echo '</form>'; } ?> </div>
</a> </td> </tr> </table> <?php } else { require $template->get_template_dir('tpl_modules_address_book_details.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/' . 'tpl_modules_address_book_details.php'; if (isset($_GET['edit']) && is_numeric($_GET['edit'])) { ?> <?php echo zen_draw_hidden_field('action', 'update') . zen_draw_hidden_field('edit', $_GET['edit']) . zen_image_submit(BUTTON_IMAGE_UPDATE, TEXT_ALT_BUTTON_UPDATE); ?> <a href="<?php echo zen_href_link(FILENAME_ADDRESS_BOOK, '', 'SSL'); ?> "> <?php echo zen_image_button(BUTTON_IMAGE_BACK, TEXT_ALT_BUTTON_BACK); ?> </a> <?php } else { echo zen_draw_hidden_field('action', 'process') . zen_image_submit(BUTTON_IMAGE_SUBMIT, BUTTON_SUBMIT_ALT); echo zen_back_link() . zen_image_button(BUTTON_IMAGE_CANCEL, BUTTON_CONTINUE_ALT, ' align="right"') . '</a>'; } } if (!isset($_GET['delete'])) { echo '</form>'; }