echo $VM_LANG->_('PHPSHOP_ORDER_PRINT_EXPIRE_DATE');
        ?>
</th>
    				  </tr>
    				  <tr> 
      					<td width="13%">
                  <?php 
        $ps_order_change_html->html_change_payment($dbpm->f("payment_method_id"));
        ?>
                </td>
      					<td width="40%"><?php 
        $dbpm->p("order_payment_name");
        ?>
</td>
      					<td width="30%"><?php 
        echo ps_checkout::asterisk_pad($dbaccount->f("account_number"), 4, true);
        if ($dbaccount->f('order_payment_code')) {
            echo '<br/>(' . $VM_LANG->_('VM_ORDER_PAYMENT_CCV_CODE') . ': ' . $dbaccount->f('order_payment_code') . ') ';
        }
        ?>
                </td>
      					<td width="17%"><?php 
        echo $dbpm->f("order_payment_expire") ? vmFormatDate($dbpm->f("order_payment_expire"), '%b-%Y') : '';
        ?>
</td>
    				  </tr> 
    				  <tr class="sectiontableheader"> 
      					<th colspan="4"><?php 
        echo $VM_LANG->_('PHPSHOP_ORDER_PRINT_PAYMENT_LOG_LBL');
        ?>
</th>
        echo "<input type=\"hidden\" name=\"payment_method_id\" value=\"{$payment_method_id}\" />\n";
        echo "<input type=\"hidden\" name=\"task\" value=\"changekey\" />\n";
        echo "<input type=\"hidden\" name=\"pshop_mode\" value=\"admin\" />\n";
        echo "<input type=\"hidden\" name=\"page\" value=\"store.payment_method_keychange\" />\n";
        echo "</form>\n";
    } elseif ($auth_result && !empty($passkey) && $task == "changekey") {
        $q = "UPDATE #__{vm}_payment_method ";
        $q .= "SET payment_passkey = " . VM_ENCRYPT_FUNCTION . "('{$passkey}','" . ENCODE_KEY . "')\n";
        $q .= "WHERE payment_method_id='{$payment_method_id}';";
        $db->query($q);
        vmRedirect($sess->url($_SERVER['PHP_SELF'] . "?page=store.payment_method_form&payment_method_id={$payment_method_id}", false, false), $VM_LANG->_('PHPSHOP_CHANGE_PASSKEY_SUCCESS'));
    } else {
        require_once CLASSPATH . "ps_checkout.php";
        echo "<form action=\"" . $_SERVER['PHP_SELF'] . "\" method=\"post\">\n";
        echo "<table class=\"adminForm\">\n";
        echo "<tr><td>" . $VM_LANG->_('PHPSHOP_CURRENT_TRANSACTION_KEY') . ":</td><td>" . ($db->f('passkey') ? ps_checkout::asterisk_pad($db->f('passkey'), 4) : '<i>(empty!)</i>') . "</td></tr>\n";
        echo "<tr><td>&nbsp;</td><td>&nbsp;</td></tr>\n";
        echo "<tr><td>" . $VM_LANG->_('PHPSHOP_TYPE_PASSWORD') . ":</td>\n";
        echo "<td><input type=\"password\" name=\"passwd\" value=\"\" /></td></tr>\n";
        echo "<tr><td>&nbsp;</td><td>&nbsp;</td></tr>\n";
        echo "<tr><td>&nbsp;</td><td><input name=\"submit\" type=\"submit\" value=\"" . $VM_LANG->_('PHPSHOP_SUBMIT') . "\" /></td></tr>\n";
        echo "</table>\n";
        echo "<input type=\"hidden\" name=\"option\" value=\"com_virtuemart\" />\n";
        echo "<input type=\"hidden\" name=\"Itemid\" value=\"{$Itemid}\" />\n";
        echo "<input type=\"hidden\" name=\"pshop_mode\" value=\"admin\" />\n";
        echo "<input type=\"hidden\" name=\"payment_method_id\" value=\"{$payment_method_id}\" />\n";
        echo "<input type=\"hidden\" name=\"page\" value=\"store.payment_method_keychange\" />\n";
        echo "</form>\n";
    }
    echo '</td></tr></table>';
} else {