<?php /* * ---------------------------------------------------------------------- * EMAIL - DELIVERY: CONTROL * ---------------------------------------------------------------------- */ $_email_get = new V_EMAIL_GET(); $_email_update = new V_EMAIL_UPDATE(); $order_number = filter_var($_REQUEST['order_number'], FILTER_SANITIZE_STRING); $cart = $_email_get->get_cart($order_number); $person = $_email_get->get_person($order_number); $item = $_email_get->get_items($order_number); $mail_item = $_email_get->detail_order_item_product($order_number); if ($cart->order_confirm_bank == '') { $cart->order_confirm_bank == $cart->order_payment_method; } else { $cart->order_confirm_bank = $cart->order_confirm_bank; } $headers = ''; $mail_body = '<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" style="overflow: hidden; background: #000"> <tbody> <tr> <td> <table width="600" border="0" cellspacing="0" cellpadding="0" align="center" style="overflow: hidden; background: #000"> <tr> <td style="padding-left: 15px; padding-top: 10px; padding-bottom: 10px"> <img src="' . BASE_URL . 'static/thimthumb.php?src=' . $_global_notification->email_logo . '&h=50&w=50&q=100" height="50"> </td> </tr> </table>
<?php /* * ---------------------------------------------------------------------- * EMAIL - ORDER PLACED ADMIN: CONTROL * ---------------------------------------------------------------------- */ $_email_get = new V_EMAIL_GET(); $_email_update = new V_EMAIL_UPDATE(); $order_number = filter_var($_REQUEST['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); if ($get_order->order_payment_method == 'cc') { $get_order->order_payment_method = 'Credit Card Via Veritrans'; } else { $get_order->order_payment_method = $get_order->order_payment_method; } $_SESSION['order_number'] = $order_number; /* --- CURRENCY SYMBOL --- */ if ($get_order->currency == 1) { $get_order->currency = $_sym_curr_idr; } else { $get_order->currency = $_sym_curr_usd; } $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>
<?php /* * ---------------------------------------------------------------------- * EMAIL - DELIVERY: CONTROL * ---------------------------------------------------------------------- */ $_email_get = new V_EMAIL_GET(); $_email_update = new V_EMAIL_UPDATE(); //$order_number = filter_var($_REQUEST['order_number'], FILTER_SANITIZE_STRING); $order_number = $order_number; $cart = $_email_get->get_cart($order_number); $person = $_email_get->get_person($order_number); $item = $_email_get->get_items($order_number); $mail_item = $_email_get->detail_order_item_product($order_number); $track = $_email_get->get_courier_track($cart->services); if ($cart->order_confirm_bank == '') { $cart->order_confirm_bank == $cart->order_payment_method; } else { $cart->order_confirm_bank = $cart->order_confirm_bank; } /* --- CURRENCY SYMBOL --- */ if ($cart->currency == 1) { $curr_symbol = $_sym_curr_idr; } else { $curr_symbol = $_sym_curr_usd; } $headers = ''; $file = BASE_URL . 'admin/static/thimthumb.php?src=' . $_global_notification->email_logo . '&h=50&q=100'; $headers = @get_headers($file); if (is_array($headers) && strpos($headers[0], '404 Not Found')) {
<?php /* * ---------------------------------------------------------------------- * EMAIL - NOTIFICATION VERIFIED WAREHOUSE: CONTROL * ---------------------------------------------------------------------- */ $_email_get = new V_EMAIL_GET(); $_email_update = new V_EMAIL_UPDATE(); $order_number = filter_var($_REQUEST['order_number'], FILTER_SANITIZE_STRING); $cart = $_email_get->get_cart($order_number); $person = $_email_get->get_person($order_number); $item = $_email_get->get_items($order_number); if ($cart->order_confirm_bank == '') { $cart->order_confirm_bank == $cart->order_payment_method; } else { $cart->order_confirm_bank = $cart->order_confirm_bank; } $headers = ''; $mail_body = '<body style="font-family: Helvetica, Arial, sans-serif; color:#fff" 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 . ' Admin </td> </tr> </table>
<?php /* * ---------------------------------------------------------------------- * EMAIL - NOTIFICATION VERIFIED CUSTOMER: CONTROL * ---------------------------------------------------------------------- */ $_email_get = new V_EMAIL_GET(); $_email_update = new V_EMAIL_UPDATE(); $order_number = filter_var($_REQUEST['order_number'], FILTER_SANITIZE_STRING); $detail = $_email_get->detail_order($order_number); $headers = ''; $mail_body = '<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" style="overflow: hidden; background: #fff"> <tbody> <tr> <td> <table width="600" border="0" cellspacing="0" cellpadding="0" align="center" style="overflow: hidden; background: #000"> <tr> <td style="padding-left: 15px; padding-top: 10px; padding-bottom: 10px"> <img src="' . BASE_URL . 'static/thimthumb.php?src=' . $_global_notification->email_logo . '&h=50&w=50&q=100" height="50"> </td> </tr> </table> </td> </tr> </tbody> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" style="overflow: hidden; background: #f0f0f0; border-bottom: 1px solid #e0e0e0"> <tbody> <tr> <td>