<input type="hidden" name="option" value="com_virtuemart" />
  <input type="hidden" name="Itemid" value="<?php 
echo $Itemid;
?>
" />
  <input type="hidden" name="page" value="<?php 
echo $next_page;
?>
" />
  <input type="hidden" name="next_page" value="<?php 
echo $next_page;
?>
" />
  <input type="hidden" name="vmtoken" value="<?php 
echo vmspoofvalue($sess->getSessionId());
?>
" />
<?php 
if (!empty($user_info_id)) {
    ?>
      <input type="hidden" name="func" value="userAddressUpdate" />
      <input type="hidden" name="user_info_id" value="<?php 
    echo $user_info_id;
    ?>
" />
<?php 
} else {
    ?>
      <input type="hidden" name="func" value="userAddressAdd" />
<?php 
Exemplo n.º 2
0
        <legend><span class="sectiontableheader"><?php echo $VM_LANG->_('PHPSHOP_SHOPPER_FORM_SHIPTO_LBL') ?></span></legend>
        
<br />
<?php echo $VM_LANG->_('PHPSHOP_SHIPTO_TEXT') ?>
<br /><br /><br />

<div style="width:90%;">
<?php
ps_userfield::listUserFields( $fields, array(), $db );
?>

  <input type="hidden" name="option" value="com_virtuemart" />
  <input type="hidden" name="Itemid" value="<?php echo $Itemid ?>" />
  <input type="hidden" name="page" value="<?php echo $next_page ?>" />
  <input type="hidden" name="next_page" value="<?php echo $next_page ?>" />
  <input type="hidden" name="vmtoken" value="<?php echo vmspoofvalue( $sess->getSessionId() ) ?>" />
<?php
   if (!empty($user_info_id)) { ?>
      <input type="hidden" name="func" value="userAddressUpdate" />
      <input type="hidden" name="user_info_id" value="<?php echo $user_info_id ?>" />
<?php 
   }
   else { ?>
      <input type="hidden" name="func" value="userAddressAdd" />
<?php 
    } ?>
  <input type="hidden" name="user_id" value="<?php echo $auth["user_id"] ?>" />
  <input type="hidden" name="address_type" value="ST" />