Beispiel #1
0
<?php

/*
* ----------------------------------------------------------------------
* EMAIL - ORDER PLACED ADMIN: CONTROL
* ----------------------------------------------------------------------
*/
$_email_get = new V_EMAIL_ADMIN_GET();
$_email_update = new V_EMAIL_ADMIN_UPDATE();
//$order_number = filter_var($_REQUEST['order_number'], FILTER_SANITIZE_STRING);
$order_number = filter_var($_SESSION['order_number'], FILTER_SANITIZE_STRING);
$count_order = $_email_get->count_order($order_number);
$get_order = $_email_get->get_order($order_number);
$get_item = $_email_get->get_order_item($get_order->order_id);
$get_bank = $_email_get->get_bank($get_order->order_payment_method);
$_SESSION['order_number'] = $order_number;
$mail_body = '<body style="font-family: Helvetica, Arial, sans-serif; color:#333333" topmargin="0" leftmargin="0">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" style="overflow: hidden;">
				  <tbody>
				    <tr>
					  <td>
					    <table width="600" border="0" cellspacing="0" cellpadding="0" align="center" style="overflow: hidden;">
						  <tr>
						    <td style="padding-left: 15px; padding-top: 10px; padding-bottom: 10px; color: #333; font-size: 20px;">' . $_global_general->website_title . '</td>
					      </tr>
						</table>
				      </td>
					</tr>
			      </tbody>
				</table>
				<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" style="overflow: hidden;">
Beispiel #2
0
<?php

/*
* ----------------------------------------------------------------------
* EMAIL - ORDER PLACED ADMIN: CONTROL
* ----------------------------------------------------------------------
*/
$_email_get = new V_EMAIL_ADMIN_GET();
$_email_update = new V_EMAIL_ADMIN_UPDATE();
//$order_number = filter_var($_REQUEST['order_number'], FILTER_SANITIZE_STRING);
//$_SESSION['order_number'] = $order_number;
$order_number = filter_var($_SESSION['order_number'], FILTER_SANITIZE_STRING);
$count_order = $_email_get->count_order($order_number);
$get_order = $_email_get->get_order($order_number);
$get_item = $_email_get->get_order_item($get_order->order_id);
$get_bank = $_email_get->get_bank($get_order->order_payment_method);
$count_method = $_email_get->count_doku_channel($get_order->order_payment_method);
if ($get_order->currency == 'USD$') {
    $temp_currency = '2';
} else {
    $temp_currency = '1';
}
if ($count_method->rows > 0) {
    $data_method = $_email_get->get_doku_channel($get_order->order_payment_method);
    $get_order->order_payment_method = 'Doku: ' . $data_method->channel_name;
} else {
    $get_order->order_payment_method = $get_order->order_payment_method;
}
$mail_body = '<body style="font-family: Helvetica, Arial, sans-serif; color:#333333" topmargin="0" leftmargin="0">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" style="overflow: hidden;">
				  <tbody>