<?php echo shopFunctionsF::getLoginForm($this->cart, FALSE); // This displays the form to change the current shopper $adminID = JFactory::getSession()->get('vmAdminID'); if ((JFactory::getUser()->authorise('core.admin', 'com_virtuemart') || JFactory::getUser($adminID)->authorise('core.admin', 'com_virtuemart')) && VmConfig::get('oncheckout_change_shopper', 0)) { echo $this->loadTemplate('shopperform'); } $taskRoute = ''; ?> <form method="post" id="checkoutForm" name="checkoutForm" action="<?php echo JRoute::_('index.php?option=com_virtuemart&view=cart' . $taskRoute, $this->useXHTML, $this->useSSL); ?> "> <?php if (VmConfig::get('multixcart') == 'byselection') { echo shopFunctions::renderVendorFullVendorList($this->cart->vendorId); } echo $this->loadTemplate('address'); // This displays the pricelist MUST be done with tables, because it is also used for the emails echo $this->loadTemplate('pricelist'); if (!empty($this->checkoutAdvertise)) { ?> <div id="checkout-advertise-box"> <?php foreach ($this->checkoutAdvertise as $checkoutAdvertise) { ?> <div class="checkout-advertise"> <?php echo $checkoutAdvertise; ?> </div> <?php