<?php
if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); 
/**
*
* @version $Id: get_shipping_address.tpl.php 1526 2008-09-15 19:21:43Z soeren_nb $
* @package VirtueMart
* @subpackage templates
* @copyright Copyright (C) 2007-2008 soeren - All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details.
*
* http://virtuemart.net
*/


?>
<br style="clear: both; width: 100%;" />
<div style="width: 100%; clear: both;">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr class="sectiontableheader"><th colspan="2" align="left"><?php 
echo OPCLang::_('COM_VIRTUEMART_ORDER_PRINT_CUST_SHIPPING_LBL');
?>
</th></tr></table>

<div style="width: 100%; float:left;">
<?php
$varname = 'COM_VIRTUEMART_CHECKOUT_MSG_' . CHECK_OUT_GET_SHIPPING_ADDR;
//echo '<h4>'. OPCLang::_($varname) . '</h4>';
?>
</div>
<!-- Customer Ship To -->

<div style="width: 100%; float: left;">
	<?php
	echo $this->fetch( 'checkout/list_shipto_addresses.tpl.php');
	//$ps_checkout->ship_to_addresses_radio($auth["user_id"], "ship_to_info_id", $ship_to_info_id);
	?>
</div>
<br />
<div style="width: 100%; align: left; float:left;">
	<?php echo OPCLang::_('COM_VIRTUEMART_ADD_SHIPTO_1') ?>
        <a href="<?php $sess->purl(SECUREURL .basename($_SERVER['PHP_SELF']). "?page=account.shipto&next_page=shop.cart");?>">
        <?php echo OPCLang::_('COM_VIRTUEMART_ADD_SHIPTO_2') ?></a>.
 </div>

<!-- END Customer Ship To -->
<br />
</div>