本文整理汇总了PHP中vRequest::get方法的典型用法代码示例。如果您正苦于以下问题:PHP vRequest::get方法的具体用法?PHP vRequest::get怎么用?PHP vRequest::get使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类vRequest
的用法示例。
在下文中一共展示了vRequest::get方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: save
function save($data = 0)
{
$fileModel = VmModel::getModel('media');
//Now we try to determine to which this media should be long to
$data = array_merge(vRequest::getRequest(), vRequest::get('media'));
//$data['file_title'] = vRequest::getVar('file_title','','post','STRING',JREQUEST_ALLOWHTML);
if (!empty($data['file_description'])) {
$data['file_description'] = JComponentHelper::filterText($data['file_description']);
//vRequest::filter(); vRequest::getHtml('file_description','');
}
/*$data['media_action'] = vRequest::getCmd('media[media_action]');
$data['media_attributes'] = vRequest::getCmd('media[media_attributes]');
$data['file_type'] = vRequest::getCmd('media[file_type]');*/
if (empty($data['file_type'])) {
$data['file_type'] = $data['media_attributes'];
}
$msg = '';
if ($id = $fileModel->store($data)) {
$msg = vmText::_('COM_VIRTUEMART_FILE_SAVED_SUCCESS');
}
$cmd = vRequest::getCmd('task');
if ($cmd == 'apply') {
$redirection = 'index.php?option=com_virtuemart&view=media&task=edit&virtuemart_media_id=' . $id;
} else {
$redirection = 'index.php?option=com_virtuemart&view=media';
}
$this->setRedirect($redirection, $msg);
}
示例2: save
/**
* We want to allow html so we need to overwrite some request data
*
* @author Max Milbers
*/
function save($data = 0)
{
if ($data === 0) {
$data = vRequest::getRequest();
}
$user = JFactory::getUser();
if ($user->authorise('core.admin', 'com_virtuemart') or $user->authorise('core.manage', 'com_virtuemart') or $user->authorise('vm.raw', 'com_virtuemart')) {
$data['product_desc'] = vRequest::get('product_desc', '');
$data['product_s_desc'] = vRequest::get('product_s_desc', '');
$data['customtitle'] = vRequest::get('customtitle', '');
if (isset($data['field'])) {
$data['field'] = vRequest::get('field');
}
if (isset($data['childs'])) {
foreach ($data['childs'] as $k => $v) {
if ($n = vRequest::get('product_name', false, FILTER_UNSAFE_RAW, FILTER_FLAG_NO_ENCODE, $data['childs'][$k])) {
$data['childs'][$k]['product_name'] = $n;
}
}
}
} else {
if ($user->authorise('vm.html', 'com_virtuemart')) {
$data['product_desc'] = vRequest::getHtml('product_desc', '');
$data['product_s_desc'] = vRequest::getHtml('product_s_desc', '');
$data['customtitle'] = vRequest::getHtml('customtitle', '');
if (isset($data['field'])) {
$data['field'] = vRequest::getHtml('field');
}
} else {
$data['product_desc'] = vRequest::getString('product_desc', '');
$data['product_s_desc'] = vRequest::getString('product_s_desc', '');
$data['customtitle'] = vRequest::getString('customtitle', '');
if (isset($data['field'])) {
$data['field'] = vRequest::getString('field');
}
}
//Why we have this?
$multix = Vmconfig::get('multix', 'none');
if ($multix != 'none') {
//in fact this shoudl be used, when the mode is administrated and the system is so that
//every product must be approved by an admin.
unset($data['published']);
//unset($data['childs']);
}
}
parent::save($data);
}
示例3: save
function save($data = 0)
{
$data = vRequest::getPost();
if (vmAccess::manager('raw')) {
$data['payment_name'] = vRequest::get('payment_name', '');
$data['payment_desc'] = vRequest::get('payment_desc', '');
if (isset($data['params'])) {
$data['params'] = vRequest::get('params', '');
}
} else {
$data['payment_name'] = vRequest::getHtml('payment_name', '');
$data['payment_desc'] = vRequest::getHtml('payment_desc', '');
if (isset($data['params'])) {
$data['params'] = vRequest::getHtml('params', '');
}
}
parent::save($data);
}
示例4: save
function save($data = 0)
{
$data = vRequest::getPost();
$user = JFactory::getUser();
if ($user->authorise('core.admin', 'com_virtuemart') or $user->authorise('core.manage', 'com_virtuemart')) {
$data['payment_name'] = vRequest::get('payment_name', '');
$data['payment_desc'] = vRequest::get('payment_desc', '');
if (isset($data['params'])) {
$data['params'] = vRequest::get('params', '');
}
} else {
$data['payment_name'] = vRequest::getHtml('payment_name', '');
$data['payment_desc'] = vRequest::getHtml('payment_desc', '');
if (isset($data['params'])) {
$data['params'] = vRequest::getHtml('params', '');
}
}
parent::save($data);
}
示例5: save
function save($data = 0) {
if($data===0) $data = vRequest::getPost();
$user = JFactory::getUser();
if($user->authorise('core.admin','com_virtuemart') or $user->authorise('core.manage','com_virtuemart')){
$data['description'] = vRequest::get('description','');
if(isset($data['params'])){
$data['params'] = vRequest::get('params','');
}
} else {
$data['description'] = vRequest::getHtml('description','');
if(isset($data['params'])){
$data['params'] = vRequest::getHtml('params','');
}
}
$data['name'] = vRequest::getCmd('name');
// onSaveCustom plugin;
parent::save($data);
}
示例6: save
function save($data = 0)
{
if ($data === 0) {
$data = vRequest::getPost();
}
if (vmAccess::manager('raw')) {
$data['description'] = vRequest::get('description', '');
if (isset($data['params'])) {
$data['params'] = vRequest::get('params', '');
}
} else {
$data['description'] = vRequest::getHtml('description', '');
if (isset($data['params'])) {
$data['params'] = vRequest::getHtml('params', '');
}
}
$data['name'] = vRequest::getCmd('name');
// onSaveCustom plugin;
parent::save($data);
}
示例7: save
/**
* We want to allow html so we need to overwrite some request data
*
* @author Max Milbers
*/
function save($data = 0)
{
$data = vRequest::getRequest();
$user = JFactory::getUser();
if (!($user->authorise('core.admin', 'com_virtuemart') or $user->authorise('core.manage', 'com_virtuemart'))) {
$data['product_desc'] = vRequest::get('product_desc', '');
$data['product_s_desc'] = vRequest::get('product_s_desc', '');
$data['customtitle'] = vRequest::get('customtitle', '');
} else {
$data['product_desc'] = vRequest::getHtml('product_desc', '');
//Why we have this?
$multix = Vmconfig::get('multix', 'none');
if ($multix != 'none') {
//in fact this shoudl be used, when the mode is administrated and the system is so that
//every product must be approved by an admin.
unset($data['published']);
//unset($data['childs']);
}
}
parent::save($data);
}
示例8: save
/**
* We want to allow html so we need to overwrite some request data
*
* @author Max Milbers
*/
function save($data = 0)
{
if ($data === 0) {
$data = vRequest::getRequest();
}
if (vmAccess::manager('raw')) {
$data['product_desc'] = vRequest::get('product_desc', '');
$data['product_s_desc'] = vRequest::get('product_s_desc', '');
$data['customtitle'] = vRequest::get('customtitle', '');
if (isset($data['field'])) {
$data['field'] = vRequest::get('field');
}
if (isset($data['childs'])) {
foreach ($data['childs'] as $k => $v) {
if ($n = vRequest::get('product_name', false, FILTER_UNSAFE_RAW, FILTER_FLAG_NO_ENCODE, $data['childs'][$k])) {
$data['childs'][$k]['product_name'] = $n;
}
}
}
} else {
if (vmAccess::manager('html')) {
$data['product_desc'] = vRequest::getHtml('product_desc', '');
$data['product_s_desc'] = vRequest::getHtml('product_s_desc', '');
$data['customtitle'] = vRequest::getHtml('customtitle', '');
if (isset($data['field'])) {
$data['field'] = vRequest::getHtml('field');
}
} else {
$data['product_desc'] = vRequest::getString('product_desc', '');
$data['product_s_desc'] = vRequest::getString('product_s_desc', '');
$data['customtitle'] = vRequest::getString('customtitle', '');
if (isset($data['field'])) {
$data['field'] = vRequest::getString('field');
}
}
}
parent::save($data);
}
示例9: notifycustomer
/**
* Notify customer
*
* @author Seyi Awofadeju
*
*/
public function notifycustomer()
{
$data = vRequest::get('post');
$model = VmModel::getModel('waitinglist');
if (!$model->adduser($data)) {
$errors = $model->getErrors();
foreach ($errors as $error) {
$msg = $error . '<br />';
}
$this->setRedirect(JRoute::_('index.php?option=com_virtuemart&view=productdetails&layout=notify&virtuemart_product_id=' . $data['virtuemart_product_id'], FALSE), $msg);
} else {
$msg = vmText::sprintf('COM_VIRTUEMART_STRING_SAVED', vmText::_('COM_VIRTUEMART_CART_NOTIFY'));
$this->setRedirect(JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $data['virtuemart_product_id'], FALSE), $msg);
}
}
示例10: sortSearchListQuery
/**
* New function for sorting, searching, filtering and pagination for product ids.
*
* @author Max Milbers
*/
function sortSearchListQuery($onlyPublished = TRUE, $virtuemart_category_id = FALSE, $group = FALSE, $nbrReturnProducts = FALSE, $langFields = array())
{
$app = JFactory::getApplication();
$db = JFactory::getDbo();
//User Q.Stanley said that removing group by is increasing the speed of product listing in a bigger shop (10k products) by factor 60
//So what was the reason for that we have it? TODO experiemental, find conditions for the need of group by
$groupBy = ' group by p.`virtuemart_product_id` ';
//administrative variables to organize the joining of tables
$joinLang = false;
$joinCategory = FALSE;
$joinCatLang = false;
$joinMf = FALSE;
$joinMfLang = false;
$joinPrice = FALSE;
$joinCustom = FALSE;
$joinShopper = FALSE;
$joinChildren = FALSE;
//$joinLang = false;
$orderBy = ' ';
$where = array();
//$isSite = $app->isSite ();
$isSite = true;
if ($app->isAdmin() or vRequest::get('manage', false) and vmAccess::getVendorId()) {
$isSite = false;
}
if (!empty($this->keyword) and $this->keyword !== '' and $group === FALSE) {
$keyword = vRequest::filter(html_entity_decode($this->keyword, ENT_QUOTES, "UTF-8"), FILTER_SANITIZE_STRING, FILTER_FLAG_ENCODE_LOW);
$keyword = '"%' . str_replace(array(' ', '-'), '%', $keyword) . '%"';
//$keyword = '"%' . $db->escape ($this->keyword, TRUE) . '%"';
vmdebug('Current search field', $this->valid_search_fields);
foreach ($this->valid_search_fields as $searchField) {
if ($searchField == 'category_name' || $searchField == 'category_description') {
$joinCatLang = true;
} else {
if ($searchField == 'mf_name') {
$joinMfLang = true;
} else {
if ($searchField == 'product_price') {
$joinPrice = TRUE;
} else {
if ($searchField == 'product_name' or $searchField == 'product_s_desc' or $searchField == 'product_desc' or $searchField == 'slug') {
$langFields[] = $searchField;
//if (strpos ($searchField, '`') !== FALSE){
//$searchField = '`l`.'.$searchField;
$keywords_plural = preg_replace('/\\s+/', '%" AND ' . $searchField . ' LIKE "%', $keyword);
if ($app->isSite() and VmConfig::$defaultLang != VmConfig::$vmlang and !VmConfig::get('prodOnlyWLang', false)) {
$filter_search[] = '`ld`.' . $searchField . ' LIKE ' . $keywords_plural;
if (VmConfig::$defaultLang != VmConfig::$jDefLang) {
$filter_search[] = '`ljd`.' . $searchField . ' LIKE ' . $keywords_plural;
}
}
$searchField = '`l`.' . $searchField;
//}
}
}
}
}
if (strpos($searchField, '`') !== FALSE) {
$keywords_plural = preg_replace('/\\s+/', '%" AND ' . $searchField . ' LIKE "%', $keyword);
$filter_search[] = $searchField . ' LIKE ' . $keywords_plural;
} else {
$keywords_plural = preg_replace('/\\s+/', '%" AND `' . $searchField . '` LIKE "%', $keyword);
$filter_search[] = '`' . $searchField . '` LIKE ' . $keywords_plural;
//$filter_search[] = '`' . $searchField . '` LIKE ' . $keyword;
}
}
if (!empty($filter_search)) {
$where[] = '(' . implode(' OR ', $filter_search) . ')';
} else {
$where[] = '`l`.product_name LIKE ' . $keyword;
$langFields[] = 'product_name';
//If they have no check boxes selected it will default to product name at least.
}
}
// vmdebug('my $this->searchcustoms ',$this->searchcustoms);
if (!empty($this->searchcustoms)) {
$joinCustom = TRUE;
foreach ($this->searchcustoms as $key => $searchcustom) {
$custom_search[] = '(pf.`virtuemart_custom_id`="' . (int) $key . '" and pf.`customfield_value` like "%' . $db->escape($searchcustom, TRUE) . '%")';
}
$where[] = " ( " . implode(' OR ', $custom_search) . " ) ";
}
if ($isSite and !VmConfig::get('use_as_catalog', 0)) {
if (VmConfig::get('stockhandle', 'none') == 'disableit_children') {
$where[] = ' ( (p.`product_in_stock` - p.`product_ordered`) >"0" OR (children.`product_in_stock` - children.`product_ordered`) > "0") ';
$joinChildren = TRUE;
} else {
if (VmConfig::get('stockhandle', 'none') == 'disableit') {
$where[] = ' p.`product_in_stock` - p.`product_ordered` >"0" ';
}
}
}
if ($virtuemart_category_id > 0) {
$joinCategory = TRUE;
$where[] = ' `pc`.`virtuemart_category_id` = ' . $virtuemart_category_id;
//.........这里部分代码省略.........
示例11: defined
defined('_JEXEC') or die('');
/**
*
* Template for the shopping cart
*
* @package VirtueMart
* @subpackage Cart
* @author Max Milbers
*
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. 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.
*/
if (vRequest::getBool('display_loginform', true)) {
$cuser = JFactory::getUser();
if (!$cuser->guest) {
echo shopFunctionsF::getLoginForm();
}
}
echo '<div class="vm-wrap vm-order-done">';
if (vRequest::getBool('display_title', true)) {
echo '<h3>' . vmText::_('COM_VIRTUEMART_CART_ORDERDONE_THANK_YOU') . '</h3>';
}
$this->html = vRequest::get('html', vmText::_('COM_VIRTUEMART_ORDER_PROCESSED'));
echo $this->html;
echo '</div>';
示例12: updatecart
public function updatecart($html=true){
$cart = VirtueMartCart::getCart();
$cart->_fromCart = true;
$cart->_redirected = false;
if(vRequest::get('cancel',0)){
$cart->_inConfirm = false;
}
if($cart->getInCheckOut()){
vRequest::setVar('checkout',true);
}
$cart->saveCartFieldsInCart();
$cart->updateProductCart();
$coupon_code = trim(vRequest::getString('coupon_code', ''));
if(!empty($coupon_code)){
$cart->prepareCartData();
$msg = $cart->setCouponCode($coupon_code);
if($msg) vmInfo($msg);
}
$cart->selected_shipto = vRequest::getVar('shipto', -1);
if(empty($cart->selected_shipto) or $cart->selected_shipto<1){
$cart->STsameAsBT = 1;
$cart->selected_shipto = 0;
} else {
$cart->STsameAsBT = 0;
}
$cart->setShipmentMethod(false,!$html);
$cart->setPaymentMethod(false,!$html);
if ($html) {
$this->display();
} else {
$json = new stdClass();
ob_start();
$this->display ();
$json->msg = ob_get_clean();
echo json_encode($json);
jExit();
}
}
示例13: getCart
/**
* Get the cart from the session
*
* @author Max Milbers
* @access public
* @param array $cart the cart to store in the session
*/
public static function getCart($setCart = true, $options = array(), $cartData = NULL)
{
//What does this here? for json stuff?
if (!class_exists('JTable')) {
require JPATH_VM_LIBRARIES . DS . 'joomla' . DS . 'database' . DS . 'table.php';
}
if (empty(self::$_cart)) {
self::$_cart = new VirtueMartCart();
if (empty($cartData)) {
$session = JFactory::getSession($options);
$cartSession = $session->get('vmcart', 0, 'vm');
if (!empty($cartSession)) {
$sessionCart = unserialize($cartSession);
if (empty($sessionCart->cartProductsData) or $sessionCart->_guest and $sessionCart->_guest != JFactory::getUser()->guest) {
self::$_cart->loadCart($sessionCart);
}
}
} else {
$cartSession = $cartData;
$sessionCart = unserialize($cartSession);
}
$userModel = VmModel::getModel('user');
self::$_cart->user = $userModel->getCurrentUser();
$lang = JFactory::getLanguage();
self::$_cart->order_language = $lang->getTag();
if (!empty($cartSession)) {
if (isset($sessionCart->cartProductsData)) {
self::$_cart->cartProductsData = $sessionCart->cartProductsData;
self::$_cart->vendorId = $sessionCart->vendorId;
self::$_cart->lastVisitedCategoryId = $sessionCart->lastVisitedCategoryId;
self::$_cart->virtuemart_shipmentmethod_id = $sessionCart->virtuemart_shipmentmethod_id;
self::$_cart->virtuemart_paymentmethod_id = $sessionCart->virtuemart_paymentmethod_id;
self::$_cart->automaticSelectedShipment = $sessionCart->automaticSelectedShipment;
self::$_cart->automaticSelectedPayment = $sessionCart->automaticSelectedPayment;
self::$_cart->BT = $sessionCart->BT;
self::$_cart->ST = $sessionCart->ST;
self::$_cart->cartfields = $sessionCart->cartfields;
self::$_cart->couponCode = $sessionCart->couponCode;
self::$_cart->_triesValidateCoupon = $sessionCart->_triesValidateCoupon;
self::$_cart->order_number = $sessionCart->order_number;
self::$_cart->pricesCurrency = $sessionCart->pricesCurrency;
self::$_cart->paymentCurrency = $sessionCart->paymentCurrency;
self::$_cart->_guest = $sessionCart->_guest;
self::$_cart->_inCheckOut = $sessionCart->_inCheckOut;
self::$_cart->_inConfirm = $sessionCart->_inConfirm;
self::$_cart->_dataValidated = $sessionCart->_dataValidated;
self::$_cart->_confirmDone = $sessionCart->_confirmDone;
self::$_cart->STsameAsBT = $sessionCart->STsameAsBT;
self::$_cart->selected_shipto = $sessionCart->selected_shipto;
self::$_cart->_fromCart = $sessionCart->_fromCart;
}
}
self::$_cart->loadSetRenderBTSTAddress();
if (empty(self::$_cart->virtuemart_shipmentmethod_id) && !empty(self::$_cart->user->virtuemart_shipmentmethod_id)) {
self::$_cart->virtuemart_shipmentmethod_id = self::$_cart->user->virtuemart_shipmentmethod_id;
}
if (empty(self::$_cart->virtuemart_paymentmethod_id) && !empty(self::$_cart->user->virtuemart_paymentmethod_id)) {
self::$_cart->virtuemart_paymentmethod_id = self::$_cart->user->virtuemart_paymentmethod_id;
}
if ((!empty(self::$_cart->user->agreed) || !empty(self::$_cart->BT['agreed'])) && !VmConfig::get('agree_to_tos_onorder', 0)) {
self::$_cart->BT['tos'] = 1;
}
//if(empty($this->customer_number) or ($this->user->virtuemart_user_id!=0 and strpos($this->customer_number,'nonreg_')!==FALSE ) ){
if (self::$_cart->user->virtuemart_user_id != 0 and empty(self::$_cart->customer_number) or strpos(self::$_cart->customer_number, 'nonreg_') !== FALSE) {
self::$_cart->customer_number = $userModel->getCustomerNumberById();
}
if (empty(self::$_cart->customer_number) or strpos(self::$_cart->customer_number, 'nonreg_') !== FALSE) {
$firstName = empty(self::$_cart->BT['first_name']) ? '' : self::$_cart->BT['first_name'];
$lastName = empty(self::$_cart->BT['last_name']) ? '' : self::$_cart->BT['last_name'];
$email = empty(self::$_cart->BT['email']) ? '' : self::$_cart->BT['email'];
self::$_cart->customer_number = 'nonreg_' . $firstName . $lastName . $email;
}
$multixcart = VmConfig::get('multixcart', 0);
if (!empty($multixcart)) {
if ($multixcart == 'byvendor' and empty(self::$_cart->vendorId) or self::$_cart->vendorId == 1) {
$vendor = VmModel::getModel('vendor');
self::$_cart->vendorId = $vendor->getLoggedVendor();
if (empty(self::$_cart->vendorId)) {
self::$_cart->vendorId = 1;
}
}
if ($multixcart == 'byselection') {
self::$_cart->vendorId = vRequest::get('virtuemart_vendor_id', 1);
}
} else {
self::$_cart->vendorId = 1;
}
vmdebug('getCart $_cart->vendorId', self::$_cart->vendorId);
}
return self::$_cart;
}
示例14: plgVmOnPaymentNotification
function plgVmOnPaymentNotification()
{
if (!class_exists('VirtueMartModelOrders')) {
require JPATH_VM_ADMINISTRATOR . DS . 'models' . DS . 'orders.php';
}
$mb_data = vRequest::get('post');
if (!isset($mb_data['transaction_id'])) {
return;
}
$order_number = $mb_data['transaction_id'];
if (!($virtuemart_order_id = VirtueMartModelOrders::getOrderIdByOrderNumber($mb_data['transaction_id']))) {
return;
}
if (!($payment = $this->getDataByOrderId($virtuemart_order_id))) {
return;
}
$method = $this->getVmPluginMethod($payment->virtuemart_paymentmethod_id);
if (!$this->selectedThisElement($method->payment_element)) {
return FALSE;
}
if (!$payment) {
$this->logInfo('getDataByOrderId payment not found: exit ', 'ERROR');
return NULL;
}
$this->_storeInternalData($method, $mb_data, $virtuemart_order_id);
$modelOrder = VmModel::getModel('orders');
$vmorder = $modelOrder->getOrder($virtuemart_order_id);
$order = array();
$error_msg = $this->_processStatus($mb_data, $vmorder, $method);
if ($error_msg) {
$order['customer_notified'] = 0;
$order['order_status'] = $method->status_canceled;
$order['comments'] = 'process IPN ' . $error_msg;
$modelOrder->updateStatusForOneOrder($virtuemart_order_id, $order, TRUE);
$this->logInfo('process IPN ' . $error_msg, 'ERROR');
} else {
$this->logInfo('process IPN OK', 'message');
}
if (empty($mb_data['payment_status']) || $mb_data['payment_status'] != 'Completed' && $mb_data['payment_status'] != 'Pending') {
// can't get status or payment failed
//return false;
}
$order['customer_notified'] = 1;
if (strcmp($mb_data['payment_status'], 'Completed') == 0) {
$order['order_status'] = $method->status_success;
$order['comments'] = vmText::sprintf('VMPAYMENT_SKRILL_PAYMENT_STATUS_CONFIRMED', $order_number);
} elseif (strcmp($mb_data['payment_status'], 'Pending') == 0) {
$order['comments'] = vmText::sprintf('VMPAYMENT_SKRILL_PAYMENT_STATUS_PENDING', $order_number);
$order['order_status'] = $method->status_pending;
} else {
$order['order_status'] = $method->status_canceled;
}
$this->logInfo('plgVmOnPaymentNotification return new_status:' . $order['order_status'], 'message');
$modelOrder->updateStatusForOneOrder($virtuemart_order_id, $order, TRUE);
//// remove vmcart
$this->emptyCart($payment->user_session, $mb_data['transaction_id']);
}
示例15: lOrderDone
private function lOrderDone()
{
$display_title = vRequest::getBool('display_title', true);
$this->assignRef('display_title', $display_title);
//Do not change this. It contains the payment form
$this->html = vRequest::get('html', vmText::_('COM_VIRTUEMART_ORDER_PROCESSED'));
//Show Thank you page or error due payment plugins like paypal express
}