absolute_path = realpath(dirname(__FILE__)).'/'; if(CommonUtil::onDevServer()) { $this->absolute_path="/home/emtjets1/public_html/emtjets/"; $this->site_url="http://emtjets.emtjets.com/"; #include ending / $this->db_name="emtjets1_emtje"; $this->db_user="emtjets1_emtje"; $this->db_pass="cagasu"; $this->db_host="localhost"; $this->admin_email="luke@digital-crocus.com";//email to use as FROM $this->enquiries_email = 'luke@digital-crocus.com'; $this->sales_email = 'luke@digital-crocus.com'; $this->site_name="www.emtjets.lukemarsden.net"; } else { $this->absolute_path="/home/emtjets1/public_html/"; $this->site_url="http://www.emtjets.com/"; #include ending / $this->db_name="emtjets1_emtje"; $this->db_user="emtjets1_emtje"; $this->db_pass="twibill08"; $this->db_host="localhost"; $this->admin_email="admin@emtjets.com";//email to use as FROM $this->enquiries_email = 'enquiries@emtjets.com'; $this->sales_email = 'sales@emtjets.com'; $this->site_name="www.emtjets.com"; } $this->continueInit(); // the 'real' constructor is below. } //var $absolute_path="/home/emtjets/public_html/";#include ending / //var $absolute_path="/home/fhlinux170/e/emtjets.com/user/htdocs/"; //var $absolute_path="c:/wiredweb/sites/emtjets/";#include ending / var $upload_size_allowed="1048576";//in bytes var $image_dir="product_images/";//spaw image director with ending slash var $client_dir="client_files/";// directory to upload client certificate files... var $thumbnailWidth=170;//width of the thumbnails generated for product images // hours limit var $hrs_limit = 20 ; var $speed_measure = 'mph' ; var $capacity_measure = 'cu, ft.' ; var $commission = 6; // this value is considered as %age... //price settings var $vat = 0; var $price_currency = "£"; // for invoice var $sort_code = "40-17-10"; var $account_no = "12041480"; //product weight settings var $weight_handler="kg"; //imjet variables var $paper_products_id="601,603,605,607,609";//these are the products displayed along with inkjet printers var $paper_product_category_id="1657";//paper product category id //header for email var $email_header; //footer for email var $email_footer; //payment options var $payment_option; var $payment_option_name; //PAYPAL settings var $paypal_test=1;//0 or 1 var $paypal_currency="GBP"; var $paypal_success="order_success.php"; var $paypal_notify="trans/paypal.php"; var $paypal_cancel="order_cancel.php"; var $paypal_id="theinkzone2001@yahoo.co.uk";//business var $paypal_log_file="log/paypal_ipn_log.txt";//paypal log file //nochex settings var $nochex_test="test";//live or test var $nochex_success="order_success.php"; var $nochex_notify="trans/nochex.php"; var $nochex_cancel="order_cancel.php"; var $nochex_id="theinkzone2005@yahoo.co.uk";//business var $nochex_log_file="log/nochex_apc_log.txt";//paypal log file //protx settings var $protx_test="";//live or test var $protx_success="protx_order_success.php"; var $protx_cancel="order_cancel.php"; var $protx_id="testvendor";//vendor name var $protx_enc_pass="testvendor";//protx encrypted password var $protx_log_file="log/protx_vps_log.txt"; var $protx_currency="GBP"; var $charter_commission = 0.06; var $cargo_commission = 0.05; var $vat_rate = 0.175; //Secpay settings var $secpay_test="";//live or test var $secpay_success="secpay_order_success.php"; var $secpay_cancel="secpay_cancel.php"; //var $secpay_id="testvendor";//vendor name var $secpay_id="myaudi01";//vendor name //var $secpay_enc_pass="testvendor";//protx encrypted password var $secpay_enc_pass="issaaq.R12";//protx encrypted password var $secpay_log_file=""; var $secpay_currency="GBP"; var $terms_suppliers_plain = ''; var $terms_plain = ''; var $terms_suppliers = ''; var $terms = ''; /*basic mail settings */ /* */ var $html_email_footer = "\n"; var $html_email_header = " "; var $html_email_customer_booking = ""; var $html_email_table = "\n\n\n "; var $html_attach_email_header = "From: admin@emtjets.com\nReply-To: enquiries@emtjets.com\n"; var $html_email_headers = "From: admin@emtjets.com\nReply-To: enquiries@emtjets.com\n"; var $html_email_headers_high_priority = "X-Priority: 1\n"; /* additional headers */ //$headers .= "Cc: [email]admin@somedomain.com[/email];\n"; //no checks variables function continueInit() { global $terms_plain_text_operators, $terms_plain_text_customers; //SET TERMS require_once($this->absolute_path.'includes/terms_plain_text.php'); $this->terms_suppliers_plain = $terms_plain_text_operators; $this->terms_plain = $terms_plain_text_customers; $this->terms_suppliers = '

 
'.nl2br($terms_plain_text_operators).'

'; $this->terms = '

 
'.nl2br($terms_plain_text_customers).'

'; if($_SERVER['REMOTE_ADDR'] == '82.153.170.27' || $_SERVER['REMOTE_ADDR'] == '82.153.18.86') { $this->admin_email="cron@pandemedia.biz"; } $this->email_header="
SERVICES WORLDWIDE: LONDON - PARIS - NEW YORK - HONG KONG - DUBAI

Unit 3 | Boathouse Reach | Meadow Road
Henley-On-Thames | Oxfordshire
RG9 1TJ | United Kingdom

T: + 44 (0) 8453 888 248
F:+ 44 (0) 8453 888 249
W: www.emtjets.com
E: enquiries@emtjets.com

"; var $html_email_order_no = "\n\n\n "; var $html_email_client_order_detail_end = "
\n"; var $html_email_customer_order_detail_end = "
Order No: "; var $html_email_order_no_end = "
\n
This email is for information purposes only. You will receive a reservation confirmation email shortly.

\n
All Operators will receive quote requests from all areas of the world, ensuring equal opportunities for all.
Acting quickly will increase your sales potential and produces better results!


"; $this->email_footer="
"; $this->html_email_customer_booking ="\n\n\n\n
CHARTER REQUEST INFORMATION DATE: ".date('D d M Y')."
\n "; $this->email_delimiter = "PHP-mixed-".md5(date('r', time())); /* additional headers */ $this->html_email_headers .= "MIME-Version: 1.0;\nContent-type: text/html; charset=utf-8;\n"; $this->html_attach_email_header .= "MIME-Version: 1.0\nContent-Type: multipart/mixed; boundary=\"".$this->email_delimiter."\"\n"; #delimeter needs -- from now on, note it doesn't have it in html_attach_email_header! $this->email_delimiter = "--".$this->email_delimiter; //paypal init $this->payment_option[]=$this->site_url."order_protx.php"; $this->payment_option_name[]="protx"; $this->paypal_success=$this->site_url.$this->paypal_success; $this->paypal_notify=$this->site_url.$this->paypal_notify; $this->paypal_cancel=$this->site_url.$this->paypal_cancel; $this->paypal_log_file=$this->absolute_path.$this->paypal_log_file; //nochex init //$this->payment_option[]=$this->site_url."order_nochex.php"; //$this->payment_option_name[]="NoChex"; $this->nochex_success=$this->site_url.$this->nochex_success; $this->nochex_notify=$this->site_url.$this->nochex_notify; $this->nochex_cancel=$this->site_url.$this->nochex_cancel; $this->nochex_log_file=$this->absolute_path.$this->nochex_log_file; //protx init //$this->payment_option[]=$this->site_url."order_protx.php"; //$this->payment_option_name[]="Protx"; $this->protx_success=$this->site_url.$this->protx_success; $this->protx_cancel=$this->site_url.$this->protx_cancel; $this->protx_log_file=$this->absolute_path.$this->protx_log_file; //secpay init //$this->payment_option[]=$this->site_url."order_secpay.php"; //$this->payment_option_name[]="Secpay"; $this->secpay_success=$this->site_url.$this->secpay_success; $this->secpay_cancel=$this->site_url.$this->secpay_cancel; $this->secpay_log_file=$this->absolute_path.$this->secpay_log_file; } } ?>