// Page Navigation Parameters $limit = intval($vm_mainframe->getUserStateFromRequest("viewlistlimit{$page}", 'limit', $mosConfig_list_limit)); $limitstart = intval($vm_mainframe->getUserStateFromRequest("view{$keyword}{$category_id}{$pagename}limitstart", 'limitstart', 0)); /* Get all the other paramters */ $search_category = vmRequest::getVar('search_category'); // Display just the naked page without toolbar, menu and footer? $only_page = vmRequest::getInt('only_page', 0); if (PSHOP_IS_OFFLINE == '1' && !$perm->hasHigherPerms('storeadmin')) { echo PSHOP_OFFLINE_MESSAGE; } else { if (PSHOP_IS_OFFLINE == '1') { echo '<h2>' . $VM_LANG->_('OFFLINE_MODE') . '</h2>'; } if ($is_popup) { echo "<style type='text/css' media='print'>.vmNoPrint { display: none }</style>"; echo vmCommonHTML::PrintIcon('', true, ' ' . $VM_LANG->_('CMN_PRINT')); } // The Vendor ID is important $ps_vendor_id = $_SESSION['ps_vendor_id']; // The authentication array $auth = $_SESSION['auth']; $no_menu = vmRequest::getInt('no_menu', 0); // Timer Start if (vmShouldDebug()) { /*@MWM1: Log/Debug enhancements */ $start = utime(); $GLOBALS["mosConfig_debug"] = 1; } // update the cart because something could have // changed while running a function $cart = $_SESSION["cart"];
*/ mm_showMyFileName(__FILE__); if ($db->f('order_number')) { ?> <?php if (empty($print)) { ?> <div class="pathway"><?php echo $vmPathway; ?> </div> <div class="buttons_heading"> <?php echo vmCommonHTML::PrintIcon(); ?> </div> <br /><br /> <?php } ?> <table width="100%" align="center" border="0" cellspacing="0" cellpadding="2"> <tr> <td valign="top"> <h2><?php echo $VM_LANG->_('PHPSHOP_ORDER_PRINT_PO_LBL'); ?> </h2> <p><?php