Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php ini_set('memory_limit', '1280M'); error_reporting(1); class Wyomind_Ordersexport..

Decoded Output download

<?php ini_set('memory_limit', '1280M'); 
error_reporting(1); 
 
class Wyomind_Ordersexporttool_Model_Profiles extends Mage_Core_Model_Abstract { 
	public $_indexPhp = ''; 
	protected $_filePath; 
	public $_limit = false; 
	public $_display = false; 
	public $_rates = false; 
	public $_chartset = false; 
	public $_sqlSize = 1500; 
	static $option = 0; 
	public $_billingAddresses = array(); 
	public $_shippingAddresses = array(); 
	public $_payments = array(); 
	public $_invoices = array(); 
	public $_shipments = array(); 
	public $_creditmemos = array(); 
	public $_products = array(); 
	public $_includeStoreId = true; 
	public $xc = 1; 
 
	public function xb2($myPattern, $order, $xd = true, $xe = false) { 
		$x8d = "preg_split"; 
		$x8e = "implode"; 
		$x8f = "str_replace"; 
		$x90 = "utf8_encode"; 
		$x91 = "preg_match_all"; 
		$x92 = "preg_match"; 
		$x93 = "rtrim"; 
		$x94 = "is_null"; 
		$x95 = "strtotime"; 
		$x96 = "trim"; 
		$x97 = "is_numeric"; 
		$x98 = "strlen"; 
		$x99 = "preg_replace"; 
		$x9a = "json_decode"; 
		$x9b = "strstr"; 
		$x9c = "htmlentities"; 
		$x9d = "html_entity_decode"; 
		$x9e = "is_array"; 
		$x9f = "explode"; 
		$xa0 = "is_string"; 
		$xa1 = "time"; 
		$xa2 = "log"; 
		$xa3 = "print_r"; 
		$xa4 = "strpos"; 
		$xa5 = "ucwords"; 
		$xa6 = "in_array"; 
		$xa7 = "is_bool"; 
		$xa8 = "substr"; 
		$xa9 = "strrpos"; 
		$xaa = "strip_tags"; 
		$xab = "htmlspecialchars"; 
		$xac = "number_format"; 
		$xad = "mb_strtolower"; 
		$xae = "mb_strtoupper"; 
		$xaf = "substr_count"; 
		$xb0 = "preg_quote"; 
		$xb1 = "array_unique"; 
		if($xe) { 
			$xf = $x8d("/
/", $myPattern); 
			$x10 = $xf[0]; 
			$xf[0] = null; 
			$myPattern = $x8e($xf, "
"); 
		} 
		$myPattern = $x8f('<?', $x90(''), $myPattern); 
		$myPattern = $x8f('?>', $x90(''), $myPattern); 
		$x11 = $x90('/((.[^]+))/s'); 
		$x91($x11, $myPattern, $x12); 
		if(isset($x12[1])) { 
			foreach ($x12[1] as $x13 => $x14) { 
				if($xd == 1) { 
					if(@eval($x12[2][$x13] . '; ')) $myPattern = $x8f($x14, eval($x12[2][$x13] . '; '), $myPattern); else $myPattern = $x8f($x14, '', $myPattern); 
				} else { 
					if(@eval($this->unxb8($x12[2][$x13] . '; '))) $myPattern = $x8f($x14, $this->xb8(eval($this->unxb8($x12[2][$x13]) . '; ')), $myPattern); else $myPattern = $x8f($x14, '', $myPattern); 
				} 
			} 
		} 
		if($xe) { 
			if($xd == 1) return $x10 . "
" . $myPattern; else return $x10; 
		} else return $myPattern; 
	} 
 
	public function checkReference($x15, $order) { 
		$x8d = "preg_split"; 
		$x8e = "implode"; 
		$x8f = "str_replace"; 
		$x90 = "utf8_encode"; 
		$x91 = "preg_match_all"; 
		$x92 = "preg_match"; 
		$x93 = "rtrim"; 
		$x94 = "is_null"; 
		$x95 = "strtotime"; 
		$x96 = "trim"; 
		$x97 = "is_numeric"; 
		$x98 = "strlen"; 
		$x99 = "preg_replace"; 
		$x9a = "json_decode"; 
		$x9b = "strstr"; 
		$x9c = "htmlentities"; 
		$x9d = "html_entity_decode"; 
		$x9e = "is_array"; 
		$x9f = "explode"; 
		$xa0 = "is_string"; 
		$xa1 = "time"; 
		$xa2 = "log"; 
		$xa3 = "print_r"; 
		$xa4 = "strpos"; 
		$xa5 = "ucwords"; 
		$xa6 = "in_array"; 
		$xa7 = "is_bool"; 
		$xa8 = "substr"; 
		$xa9 = "strrpos"; 
		$xaa = "strip_tags"; 
		$xab = "htmlspecialchars"; 
		$xac = "number_format"; 
		$xad = "mb_strtolower"; 
		$xae = "mb_strtoupper"; 
		$xaf = "substr_count"; 
		$xb0 = "preg_quote"; 
		$xb1 = "array_unique"; 
		if($x15 == "billing" && isset($this->_billingAddresses[$order->getBillingAddressId()])) return $this->_billingAddresses[$order->getBillingAddressId()]; elseif($x15 == "shipping" && isset($this->_shippingAddresses[$order->getShippingAddressId()])) return $this->_shippingAddresses[$order->getShippingAddressId()]; 
		elseif($x15 == "payment" && isset($this->_payments[$order->getEntityId()])) return $this->_payments[$order->getEntityId()]; 
		elseif($x15 == "invoice" && isset($this->_invoices[$order->getEntityId()])) return $this->_invoices[$order->getEntityId()]; 
		elseif($x15 == "shipment" && isset($this->_shipments[$order->getEntityId()])) return $this->_shipments[$order->getEntityId()]; 
		elseif($x15 == "creditmemo" && isset($this->_creditmemos[$order->getEntityId()])) return $this->_creditmemos[$order->getEntityId()]; 
		elseif($x15 == "product" && isset($this->_products[$order->getEntityId()])) return $this->_products[$order->getEntityId()]; 
		elseif($x15 == null || $x15 == 'order') return array($order); 
	} 
 
	protected function _construct() { 
		$x8d = "preg_split"; 
		$x8e = "implode"; 
		$x8f = "str_replace"; 
		$x90 = "utf8_encode"; 
		$x91 = "preg_match_all"; 
		$x92 = "preg_match"; 
		$x93 = "rtrim"; 
		$x94 = "is_null"; 
		$x95 = "strtotime"; 
		$x96 = "trim"; 
		$x97 = "is_numeric"; 
		$x98 = "strlen"; 
		$x99 = "preg_replace"; 
		$x9a = "json_decode"; 
		$x9b = "strstr"; 
		$x9c = "htmlentities"; 
		$x9d = "html_entity_decode"; 
		$x9e = "is_array"; 
		$x9f = "explode"; 
		$xa0 = "is_string"; 
		$xa1 = "time"; 
		$xa2 = "log"; 
		$xa3 = "print_r"; 
		$xa4 = "strpos"; 
		$xa5 = "ucwords"; 
		$xa6 = "in_array"; 
		$xa7 = "is_bool"; 
		$xa8 = "substr"; 
		$xa9 = "strrpos"; 
		$xaa = "strip_tags"; 
		$xab = "htmlspecialchars"; 
		$xac = "number_format"; 
		$xad = "mb_strtolower"; 
		$xae = "mb_strtoupper"; 
		$xaf = "substr_count"; 
		$xb0 = "preg_quote"; 
		$xb1 = "array_unique"; 
		$this->_sqlSize = Mage::getStoreConfig("ordersexporttool/system/sqlsize"); 
		$this->_init('ordersexporttool/profiles'); 
	} 
 
	protected function _beforeSave() { 
		$x8d = "preg_split"; 
		$x8e = "implode"; 
		$x8f = "str_replace"; 
		$x90 = "utf8_encode"; 
		$x91 = "preg_match_all"; 
		$x92 = "preg_match"; 
		$x93 = "rtrim"; 
		$x94 = "is_null"; 
		$x95 = "strtotime"; 
		$x96 = "trim"; 
		$x97 = "is_numeric"; 
		$x98 = "strlen"; 
		$x99 = "preg_replace"; 
		$x9a = "json_decode"; 
		$x9b = "strstr"; 
		$x9c = "htmlentities"; 
		$x9d = "html_entity_decode"; 
		$x9e = "is_array"; 
		$x9f = "explode"; 
		$xa0 = "is_string"; 
		$xa1 = "time"; 
		$xa2 = "log"; 
		$xa3 = "print_r"; 
		$xa4 = "strpos"; 
		$xa5 = "ucwords"; 
		$xa6 = "in_array"; 
		$xa7 = "is_bool"; 
		$xa8 = "substr"; 
		$xa9 = "strrpos"; 
		$xaa = "strip_tags"; 
		$xab = "htmlspecialchars"; 
		$xac = "number_format"; 
		$xad = "mb_strtolower"; 
		$xae = "mb_strtoupper"; 
		$xaf = "substr_count"; 
		$xb0 = "preg_quote"; 
		$xb1 = "array_unique"; 
		$x16 = new Varien_Io_File(); 
		$x17 = $x16->getCleanPath(Mage::getBaseDir() . '/' . $this->getFilePath()); 
		if(!$x16->allowedPath($x17, Mage::getBaseDir())) { 
			Mage::throwException(Mage::helper('ordersexporttool')->__('Please define correct path')); 
		} 
		if(!$x16->fileExists($x17, false)) { 
			Mage::throwException(Mage::helper('ordersexporttool')->__('Please create the specified folder "%s" before saving the export file profile.', Mage::helper('core')->htmlEscape($this->getFilePath()))); 
		} 
		if(!$x16->isWriteable($x17)) { 
			Mage::throwException(Mage::helper('ordersexporttool')->__('Please make sure that "%s" is writable by web-server.', $this->getFilePath())); 
		} 
		if(!$x92('#^[a-zA-Z0-9_\.\-/\s]+$#', $this->xb3())) { 
			Mage::throwException(Mage::helper('ordersexporttool')->__('Please use only letters (a-z or A-Z), numbers (0-9) or underscore (_) in the filename. No spaces or other characters are allowed.')); 
		} 
		$this->setFilePath($x93($x8f($x8f('\', '/', Mage::getBaseDir()), '', $x17), '/') . '/'); 
		return parent::_beforeSave(); 
	} 
 
	protected function getPath() { 
		$x8d = "preg_split"; 
		$x8e = "implode"; 
		$x8f = "str_replace"; 
		$x90 = "utf8_encode"; 
		$x91 = "preg_match_all"; 
		$x92 = "preg_match"; 
		$x93 = "rtrim"; 
		$x94 = "is_null"; 
		$x95 = "strtotime"; 
		$x96 = "trim"; 
		$x97 = "is_numeric"; 
		$x98 = "strlen"; 
		$x99 = "preg_replace"; 
		$x9a = "json_decode"; 
		$x9b = "strstr"; 
		$x9c = "htmlentities"; 
		$x9d = "html_entity_decode"; 
		$x9e = "is_array"; 
		$x9f = "explode"; 
		$xa0 = "is_string"; 
		$xa1 = "time"; 
		$xa2 = "log"; 
		$xa3 = "print_r"; 
		$xa4 = "strpos"; 
		$xa5 = "ucwords"; 
		$xa6 = "in_array"; 
		$xa7 = "is_bool"; 
		$xa8 = "substr"; 
		$xa9 = "strrpos"; 
		$xaa = "strip_tags"; 
		$xab = "htmlspecialchars"; 
		$xac = "number_format"; 
		$xad = "mb_strtolower"; 
		$xae = "mb_strtoupper"; 
		$xaf = "substr_count"; 
		$xb0 = "preg_quote"; 
		$xb1 = "array_unique"; 
		if($x94($this->_filePath)) { 
			$this->_filePath = $x8f('//', '/', Mage::getBaseDir() . $this->getFilePath()); 
		} 
		return $this->_filePath; 
	} 
 
	protected function xb3($x18 = '.temp', $x19 = null) { 
		$x8d = "preg_split"; 
		$x8e = "implode"; 
		$x8f = "str_replace"; 
		$x90 = "utf8_encode"; 
		$x91 = "preg_match_all"; 
		$x92 = "preg_match"; 
		$x93 = "rtrim"; 
		$x94 = "is_null"; 
		$x95 = "strtotime"; 
		$x96 = "trim"; 
		$x97 = "is_numeric"; 
		$x98 = "strlen"; 
		$x99 = "preg_replace"; 
		$x9a = "json_decode"; 
		$x9b = "strstr"; 
		$x9c = "htmlentities"; 
		$x9d = "html_entity_decode"; 
		$x9e = "is_array"; 
		$x9f = "explode"; 
		$xa0 = "is_string"; 
		$xa1 = "time"; 
		$xa2 = "log"; 
		$xa3 = "print_r"; 
		$xa4 = "strpos"; 
		$xa5 = "ucwords"; 
		$xa6 = "in_array"; 
		$xa7 = "is_bool"; 
		$xa8 = "substr"; 
		$xa9 = "strrpos"; 
		$xaa = "strip_tags"; 
		$xab = "htmlspecialchars"; 
		$xac = "number_format"; 
		$xad = "mb_strtolower"; 
		$xae = "mb_strtoupper"; 
		$xaf = "substr_count"; 
		$xb0 = "preg_quote"; 
		$xb1 = "array_unique"; 
		$x1a = array(1 => 'xml', 2 => 'txt', 3 => 'csv', 4 => 'tsv', 5 => 'din'); 
		if($this->_date == false) { 
			$this->_updated = Mage::getSingleton('core/date')->gmtDate("Y-m-d H:i:s", $this->_timestamp); 
			$this->_date = Mage::getSingleton('core/date')->date($this->getFileDateFormat(), $x95($this->_updated)); 
		} 
		$x1b = $x8f('{f}', $this->getFileName(), $this->_date); 
		return $x1b . $x19 . "." . $x1a[$this->getFileType()] . $x18; 
	} 
 
	public function xb4() { 
		$x8d = "preg_split"; 
		$x8e = "implode"; 
		$x8f = "str_replace"; 
		$x90 = "utf8_encode"; 
		$x91 = "preg_match_all"; 
		$x92 = "preg_match"; 
		$x93 = "rtrim"; 
		$x94 = "is_null"; 
		$x95 = "strtotime"; 
		$x96 = "trim"; 
		$x97 = "is_numeric"; 
		$x98 = "strlen"; 
		$x99 = "preg_replace"; 
		$x9a = "json_decode"; 
		$x9b = "strstr"; 
		$x9c = "htmlentities"; 
		$x9d = "html_entity_decode"; 
		$x9e = "is_array"; 
		$x9f = "explode"; 
		$xa0 = "is_string"; 
		$xa1 = "time"; 
		$xa2 = "log"; 
		$xa3 = "print_r"; 
		$xa4 = "strpos"; 
		$xa5 = "ucwords"; 
		$xa6 = "in_array"; 
		$xa7 = "is_bool"; 
		$xa8 = "substr"; 
		$xa9 = "strrpos"; 
		$xaa = "strip_tags"; 
		$xab = "htmlspecialchars"; 
		$xac = "number_format"; 
		$xad = "mb_strtolower"; 
		$xae = "mb_strtoupper"; 
		$xaf = "substr_count"; 
		$xb0 = "preg_quote"; 
		$xb1 = "array_unique"; 
		return $this->getPath() . $this->xb3(); 
	} 
 
	public function xb5($x1c, $x1d = true) { 
		$x8d = "preg_split"; 
		$x8e = "implode"; 
		$x8f = "str_replace"; 
		$x90 = "utf8_encode"; 
		$x91 = "preg_match_all"; 
		$x92 = "preg_match"; 
		$x93 = "rtrim"; 
		$x94 = "is_null"; 
		$x95 = "strtotime"; 
		$x96 = "trim"; 
		$x97 = "is_numeric"; 
		$x98 = "strlen"; 
		$x99 = "preg_replace"; 
		$x9a = "json_decode"; 
		$x9b = "strstr"; 
		$x9c = "htmlentities"; 
		$x9d = "html_entity_decode"; 
		$x9e = "is_array"; 
		$x9f = "explode"; 
		$xa0 = "is_string"; 
		$xa1 = "time"; 
		$xa2 = "log"; 
		$xa3 = "print_r"; 
		$xa4 = "strpos"; 
		$xa5 = "ucwords"; 
		$xa6 = "in_array"; 
		$xa7 = "is_bool"; 
		$xa8 = "substr"; 
		$xa9 = "strrpos"; 
		$xaa = "strip_tags"; 
		$xab = "htmlspecialchars"; 
		$xac = "number_format"; 
		$xad = "mb_strtolower"; 
		$xae = "mb_strtoupper"; 
		$xaf = "substr_count"; 
		$xb0 = "preg_quote"; 
		$xb1 = "array_unique"; 
		$x11 = '/(<[^>^\/]+>)([^<]*)(<\/[^>]+>)/s'; 
		$x91($x11, $x1c, $x12); 
		foreach ($x12[1] as $x13 => $value) { 
			$x1e = $x96($x12[2][$x13]); 
			if(empty($x1e) && !$x97($x1e)) $x1c = ($x1c); else { 
				if($x1d) $x1c = $x8f($x12[0][$x13], ($x12[1][$x13]) . '<![CDATA[' . $x1e . ']]>' . ($x12[3][$x13]), $x1c); else { 
					$x1c = $x8f($x12[0][$x13], ($x12[1][$x13]) . $x1e . ($x12[3][$x13]), $x1c); 
				} 
			} 
		} 
		$x1f = $x8d("/
/s", $x1c); 
		$x20 = ''; 
		foreach ($x1f as $x21) { 
			($x98($x96($x21)) > 0) ? $x20 .= $x21 . "
" : false; 
		} 
		$x1c = $x20; 
		return $x1c; 
	} 
 
	public function xb6($x11, $xe = false) { 
		$x8d = "preg_split"; 
		$x8e = "implode"; 
		$x8f = "str_replace"; 
		$x90 = "utf8_encode"; 
		$x91 = "preg_match_all"; 
		$x92 = "preg_match"; 
		$x93 = "rtrim"; 
		$x94 = "is_null"; 
		$x95 = "strtotime"; 
		$x96 = "trim"; 
		$x97 = "is_numeric"; 
		$x98 = "strlen"; 
		$x99 = "preg_replace"; 
		$x9a = "json_decode"; 
		$x9b = "strstr"; 
		$x9c = "htmlentities"; 
		$x9d = "html_entity_decode"; 
		$x9e = "is_array"; 
		$x9f = "explode"; 
		$xa0 = "is_string"; 
		$xa1 = "time"; 
		$xa2 = "log"; 
		$xa3 = "print_r"; 
		$xa4 = "strpos"; 
		$xa5 = "ucwords"; 
		$xa6 = "in_array"; 
		$xa7 = "is_bool"; 
		$xa8 = "substr"; 
		$xa9 = "strrpos"; 
		$xaa = "strip_tags"; 
		$xab = "htmlspecialchars"; 
		$xac = "number_format"; 
		$xad = "mb_strtolower"; 
		$xae = "mb_strtoupper"; 
		$xaf = "substr_count"; 
		$xb0 = "preg_quote"; 
		$xb1 = "array_unique"; 
		$x11 = $x99('/(
|
|
|
)/s', '', $x11); 
		$x22 = 'padding:2px;  border:1px solid grey;  text-align:center; padding:5px;  min-width:10px; min-height:10px; '; 
		$x11 = "[" . $x11 . "]"; 
		$x23 = $x9a($x11); 
		$x24 = null; 
		foreach ($x23 as $x21) { 
			$x25 = null; 
			$x26 = null; 
			$x27 = 0; 
			if(isset($x21->header)) $x28 = $x21->header; else { 
				$x28 = $x21->order; 
			} 
			if($xe) { 
				$x24 .= "<tr style='background-color:grey;  color:white; font-weight:bold'>"; 
			} else { 
				$x24 .= "<tr>"; 
			} 
			if($this->_incrementialColumn) { 
				if($xe) $x24 .= "<td style='" . $x22 . "'>" . $this->_incrementialColumnName . "</td>"; else $x24 .= "<td style='" . $x22 . "'>" . $this->_inc++ . "</td>"; 
			} 
			foreach ($x28 as $x13 => $value) { 
				if($x27) $x27++; 
				($value != null) ? $x29 = $value : $x29 = "<span style='font-size:10px;color:grey'>(empty)</span>"; 
				if($x9b($value, "/breakline/")) { 
					$x24 .= "</tr><tr>"; 
					$x29 = $x8f("/breakline/", "", $x29); 
					$x27 = 1; 
				} 
				if($x9b($value, "/headline/")) { 
					if(!isset($x21->header)) $x26 .= "<td style='" . $x22 . "'>" . $x8f("/headline/", null, $x29) . "</td>"; else $x26 .= null; 
				} elseif($x9b($value, "/baseline/")) { 
					if(!isset($x21->header)) $x25 .= "<td style='" . $x22 . "'>" . $x8f("/baseline/", null, $x29) . "</td>"; else $x25 .= null; 
				} else $x24 .= "<td style='" . $x22 . "'>" . $x29 . "</td>"; 
			} 
			$x24 .= "</tr>"; 
		} 
		if($x26 != null) $x24 = "<tr>" . $x26 . "</tr>" . $x24; elseif($x25 != null) $x24 .= "<tr>" . $x25 . "</tr>"; 
		return $x24; 
	} 
 
	public function xb7($x11, $x2a, $x2b, $x2c = true) { 
		$x8d = "preg_split"; 
		$x8e = "implode"; 
		$x8f = "str_replace"; 
		$x90 = "utf8_encode"; 
		$x91 = "preg_match_all"; 
		$x92 = "preg_match"; 
		$x93 = "rtrim"; 
		$x94 = "is_null"; 
		$x95 = "strtotime"; 
		$x96 = "trim"; 
		$x97 = "is_numeric"; 
		$x98 = "strlen"; 
		$x99 = "preg_replace"; 
		$x9a = "json_decode"; 
		$x9b = "strstr"; 
		$x9c = "htmlentities"; 
		$x9d = "html_entity_decode"; 
		$x9e = "is_array"; 
		$x9f = "explode"; 
		$xa0 = "is_string"; 
		$xa1 = "time"; 
		$xa2 = "log"; 
		$xa3 = "print_r"; 
		$xa4 = "strpos"; 
		$xa5 = "ucwords"; 
		$xa6 = "in_array"; 
		$xa7 = "is_bool"; 
		$xa8 = "substr"; 
		$xa9 = "strrpos"; 
		$xaa = "strip_tags"; 
		$xab = "htmlspecialchars"; 
		$xac = "number_format"; 
		$xad = "mb_strtolower"; 
		$xae = "mb_strtoupper"; 
		$xaf = "substr_count"; 
		$xb0 = "preg_quote"; 
		$xb1 = "array_unique"; 
		$x11 = $x99('/(
|
|
|
)/s', '', $x11); 
		$x11 = "[" . $x11 . "]"; 
		$x23 = $x9a($x11); 
		$x21 = null; 
		$x2d = 0; 
		foreach ($x23 as $x28) { 
			$x2e = false; 
			$x25 = null; 
			$x26 = null; 
			$x27 = 0; 
			if($x2c || $x2d > 0) $x21 .= "
"; 
			if($x2a == '	') $x2a = "	"; 
			if(isset($x28->header)) { 
				$x28 = $x28->header; 
				$x2f = true; 
				if($this->_incrementialColumn) $x21 .= $x2b . $this->xb8($this->_incrementialColumnName, $x2b) . $x2b . $x2a; 
			} else { 
				if(!$x9a($x11)) return ""; 
				$x28 = $x28->order; 
				$x2f = false; 
				if($this->_incrementialColumn) $x21 .= $this->_inc++ . $x2a; 
			} 
			$x30 = 0; 
			foreach ($x28 as $x13 => $value) { 
				if($x27 > 0) $x27 = 2; 
				if($x9b($value, "/breakline/")) $x27 = 1; 
				if($x30 > 0 && $x27 < 2) { 
					if($x9b($value, "/headline/")) { 
						if(!$x2f && $x26 != null) $x26 .= $x2a; else $x26 .= null; 
					} elseif($x9b($value, "/baseline/")) { 
						if(!$x2f && $x25 != null) $x25 .= $x2a; else $x25 .= null; 
					} else if(($x2e)) $x21 .= $x2a; 
				} 
				if($x27 > 1) $x27 = 0; 
				if($x2b != "") { 
					if($x9b($value, "/headline/")) if(!$x2f) { 
						$x26 .= $x2b . $this->xb8($x8f("/headline/", "", $value), $x2b) . $x2b; 
					} else $x26 .= null; elseif($x9b($value, "/baseline/")) if(!$x2f) $x25 .= $x2b . $this->xb8($x8f("/baseline/", "", $value), $x2b) . $x2b; else $x25 .= null; 
					else { 
						$x2e = true; 
						$x21 .= $x2b . $this->xb8($x8f("/breakline/", "", $value), $x2b) . $x2b; 
					} 
					if($x9b($value, "/breakline/")) { 
						$x21 .= "
"; 
					} 
				} else { 
					$value = $x8f("/breakline/", "
", $value); 
					if($x9b($value, "/headline/")) { 
						if(!$x2f) { 
							$x26 .= $this->xb8($x8f("/headline/", "", $value), $x2a); 
						} else $x26 .= null; 
					} elseif($x9b($value, "/baseline/")) { 
						if(!$x2f) $x25 .= $this->xb8($x8f("/baseline/", "", $value), $x2a); else $x25 .= null; 
					} else { 
						$x21 .= $this->xb8($value, $x2a); 
						$x2e = true; 
					} 
				} 
				$x30++; 
			} 
			if($x2a == "[|]") $x21 .= "[:]"; 
			$x2d++; 
		} 
		if($x26 != null) { 
			$x21 = $x26 . "
" . $x21 . "
"; 
			$x21 = $x8f("

", "
", $x21); 
		} elseif($x25 != null) $x21 .= "
" . $x25; 
		return $x21; 
	} 
 
	public function xb8($x11, $x31 = '"') { 
		$x8d = "preg_split"; 
		$x8e = "implode"; 
		$x8f = "str_replace"; 
		$x90 = "utf8_encode"; 
		$x91 = "preg_match_all"; 
		$x92 = "preg_match"; 
		$x93 = "rtrim"; 
		$x94 = "is_null"; 
		$x95 = "strtotime"; 
		$x96 = "trim"; 
		$x97 = "is_numeric"; 
		$x98 = "strlen"; 
		$x99 = "preg_replace"; 
		$x9a = "json_decode"; 
		$x9b = "strstr"; 
		$x9c = "htmlentities"; 
		$x9d = "html_entity_decode"; 
		$x9e = "is_array"; 
		$x9f = "explode"; 
		$xa0 = "is_string"; 
		$xa1 = "time"; 
		$xa2 = "log"; 
		$xa3 = "print_r"; 
		$xa4 = "strpos"; 
		$xa5 = "ucwords"; 
		$xa6 = "in_array"; 
		$xa7 = "is_bool"; 
		$xa8 = "substr"; 
		$xa9 = "strrpos"; 
		$xaa = "strip_tags"; 
		$xab = "htmlspecialchars"; 
		$xac = "number_format"; 
		$xad = "mb_strtolower"; 
		$xae = "mb_strtoupper"; 
		$xaf = "substr_count"; 
		$xb0 = "preg_quote"; 
		$xb1 = "array_unique"; 
		$x11 = $x8f($x31, '\' . $x31, $x11); 
		return $x11; 
	} 
 
	public function unxb8($x11, $x31 = '"') { 
		$x8d = "preg_split"; 
		$x8e = "implode"; 
		$x8f = "str_replace"; 
		$x90 = "utf8_encode"; 
		$x91 = "preg_match_all"; 
		$x92 = "preg_match"; 
		$x93 = "rtrim"; 
		$x94 = "is_null"; 
		$x95 = "strtotime"; 
		$x96 = "trim"; 
		$x97 = "is_numeric"; 
		$x98 = "strlen"; 
		$x99 = "preg_replace"; 
		$x9a = "json_decode"; 
		$x9b = "strstr"; 
		$x9c = "htmlentities"; 
		$x9d = "html_entity_decode"; 
		$x9e = "is_array"; 
		$x9f = "explode"; 
		$xa0 = "is_string"; 
		$xa1 = "time"; 
		$xa2 = "log"; 
		$xa3 = "print_r"; 
		$xa4 = "strpos"; 
		$xa5 = "ucwords"; 
		$xa6 = "in_array"; 
		$xa7 = "is_bool"; 
		$xa8 = "substr"; 
		$xa9 = "strrpos"; 
		$xaa = "strip_tags"; 
		$xab = "htmlspecialchars"; 
		$xac = "number_format"; 
		$xad = "mb_strtolower"; 
		$xae = "mb_strtoupper"; 
		$xaf = "substr_count"; 
		$xb0 = "preg_quote"; 
		$xb1 = "array_unique"; 
		$x11 = $x8f('\' . $x31, $x31, $x11); 
		return $x11; 
	} 
 
	public function xba($x32) { 
		$x8d = "preg_split"; 
		$x8e = "implode"; 
		$x8f = "str_replace"; 
		$x90 = "utf8_encode"; 
		$x91 = "preg_match_all"; 
		$x92 = "preg_match"; 
		$x93 = "rtrim"; 
		$x94 = "is_null"; 
		$x95 = "strtotime"; 
		$x96 = "trim"; 
		$x97 = "is_numeric"; 
		$x98 = "strlen"; 
		$x99 = "preg_replace"; 
		$x9a = "json_decode"; 
		$x9b = "strstr"; 
		$x9c = "htmlentities"; 
		$x9d = "html_entity_decode"; 
		$x9e = "is_array"; 
		$x9f = "explode"; 
		$xa0 = "is_string"; 
		$xa1 = "time"; 
		$xa2 = "log"; 
		$xa3 = "print_r"; 
		$xa4 = "strpos"; 
		$xa5 = "ucwords"; 
		$xa6 = "in_array"; 
		$xa7 = "is_bool"; 
		$xa8 = "substr"; 
		$xa9 = "strrpos"; 
		$xaa = "strip_tags"; 
		$xab = "htmlspecialchars"; 
		$xac = "number_format"; 
		$xad = "mb_strtolower"; 
		$xae = "mb_strtoupper"; 
		$xaf = "substr_count"; 
		$xb0 = "preg_quote"; 
		$xb1 = "array_unique"; 
		$x32 = $x9c($x32, ENT_NOQUOTES, 'UTF-8'); 
		$x32 = $x9d($x32, ENT_NOQUOTES, $this->_file_encoding); 
		return $x32; 
	} 
 
	public function skipOptions($x33) { 
		$x8d = "preg_split"; 
		$x8e = "implode"; 
		$x8f = "str_replace"; 
		$x90 = "utf8_encode"; 
		$x91 = "preg_match_all"; 
		$x92 = "preg_match"; 
		$x93 = "rtrim"; 
		$x94 = "is_null"; 
		$x95 = "strtotime"; 
		$x96 = "trim"; 
		$x97 = "is_numeric"; 
		$x98 = "strlen"; 
		$x99 = "preg_replace"; 
		$x9a = "json_decode"; 
		$x9b = "strstr"; 
		$x9c = "htmlentities"; 
		$x9d = "html_entity_decode"; 
		$x9e = "is_array"; 
		$x9f = "explode"; 
		$xa0 = "is_string"; 
		$xa1 = "time"; 
		$xa2 = "log"; 
		$xa3 = "print_r"; 
		$xa4 = "strpos"; 
		$xa5 = "ucwords"; 
		$xa6 = "in_array"; 
		$xa7 = "is_bool"; 
		$xa8 = "substr"; 
		$xa9 = "strrpos"; 
		$xaa = "strip_tags"; 
		$xab = "htmlspecialchars"; 
		$xac = "number_format"; 
		$xad = "mb_strtolower"; 
		$xae = "mb_strtoupper"; 
		$xaf = "substr_count"; 
		$xb0 = "preg_quote"; 
		$xb1 = "array_unique"; 
		$this->option = $this->option + $x33; 
	} 
 
	public function generateFile() { 
		$x8d = "preg_split"; 
		$x8e = "implode"; 
		$x8f = "str_replace"; 
		$x90 = "utf8_encode"; 
		$x91 = "preg_match_all"; 
		$x92 = "preg_match"; 
		$x93 = "rtrim"; 
		$x94 = "is_null"; 
		$x95 = "strtotime"; 
		$x96 = "trim"; 
		$x97 = "is_numeric"; 
		$x98 = "strlen"; 
		$x99 = "preg_replace"; 
		$x9a = "json_decode"; 
		$x9b = "strstr"; 
		$x9c = "htmlentities"; 
		$x9d = "html_entity_decode"; 
		$x9e = "is_array"; 
		$x9f = "explode"; 
		$xa0 = "is_string"; 
		$xa1 = "time"; 
		$xa2 = "log"; 
		$xa3 = "print_r"; 
		$xa4 = "strpos"; 
		$xa5 = "ucwords"; 
		$xa6 = "in_array"; 
		$xa7 = "is_bool"; 
		$xa8 = "substr"; 
		$xa9 = "strrpos"; 
		$xaa = "strip_tags"; 
		$xab = "htmlspecialchars"; 
		$xac = "number_format"; 
		$xad = "mb_strtolower"; 
		$xae = "mb_strtoupper"; 
		$xaf = "substr_count"; 
		$xb0 = "preg_quote"; 
		$xb1 = "array_unique"; 
		$x34 = new Wyomind_Ordersexporttool_Model_MyCustomOptions; 
		$x35 = new Wyomind_Ordersexporttool_Model_MyCustomAttributes; 
		$x36 = new Wyomind_Ordersexporttool_Model_MyCustomScripts; 
		$this->_debug = (isset($_GET['debug']) || $this->_debug) ? true : false; 
		if($this->_debug) { 
			echo "----------------------------------------------<br>------------ DEBUG MODE ----------------<br>----------------------------------------------<br><br>"; 
		} 
		$x37 = array("ac" => "activation_code", "ak" => "activation_key", "bu" => "base_url", "md" => "md5", "th" => "this", "dm" => "_demo", "ext" => "oet", "ver" => "3.3.2"); 
		$x38 = Mage::getSingleton('core/date')->gmtDate('Y-m-d'); 
		$x9e(Mage::app()->getRequest()->getParam("file_store_id")) ? $x39 = Mage::app()->getRequest()->getParam("file_store_id") : $x39 = $x9f(',', $this->getFileStoreId()); 
		$xa0(Mage::app()->getRequest()->getParam("file_body")) ? $x3a = Mage::app()->getRequest()->getParam("file_body") : $x3a = $this->getFile_body(); 
		$xa0(Mage::app()->getRequest()->getParam("file_header")) ? $x3b = Mage::app()->getRequest()->getParam("file_header") : $x3b = $this->getFile_header(); 
		$xa0(Mage::app()->getRequest()->getParam("file_extra_header")) ? $x3c = Mage::app()->getRequest()->getParam("file_extra_header") : $x3c = $this->getFile_extra_header(); 
		$x3c = $this->xb2($x3c, null, false, false); 
		$xa0(Mage::app()->getRequest()->getParam("file_footer")) ? $x3d = Mage::app()->getRequest()->getParam("file_footer") : $x3d = $this->getFile_footer(); 
		$xa0(Mage::app()->getRequest()->getParam("file_type")) ? $x3e = Mage::app()->getRequest()->getParam("file_type") : $x3e = $this->getFile_type(); 
		$xa0(Mage::app()->getRequest()->getParam("file_include_header")) ? $x3f = Mage::app()->getRequest()->getParam("file_include_header") : $x3f = $this->getFile_include_header(); 
		$xa0(Mage::app()->getRequest()->getParam("file_separator")) ? $x2a = Mage::app()->getRequest()->getParam("file_separator") : $x2a = $this->getFile_separator(); 
		$xa0(Mage::app()->getRequest()->getParam("file_protector")) ? $x2b = Mage::app()->getRequest()->getParam("file_protector") : $x2b = $this->getFile_protector(); 
		$xa0(Mage::app()->getRequest()->getParam("file_enclose_data")) ? $x40 = Mage::app()->getRequest()->getParam("file_enclose_data") : $x40 = $this->getFile_enclose_data(); 
		$xa0(Mage::app()->getRequest()->getParam("file_attributes")) ? $x41 = $x9a(Mage::app()->getRequest()->getParam("file_attributes")) : $x41 = $x9a($this->getFileAttributes()); 
		$xa0(Mage::app()->getRequest()->getParam("file_last_exported_id")) ? $x42 = (Mage::app()->getRequest()->getParam("file_last_exported_id")) : $x42 = ($this->getFileLastExportedId()); 
		$xa0(Mage::app()->getRequest()->getParam("file_flag")) ? $x43 = Mage::app()->getRequest()->getParam("file_flag") : $x43 = $this->getFileFlag(); 
		$xa0(Mage::app()->getRequest()->getParam("file_single_export")) ? $x44 = Mage::app()->getRequest()->getParam("file_single_export") : $x44 = $this->getFileSingleExport(); 
		$xa0(Mage::app()->getRequest()->getParam("file_states")) ? $x45 = $x9f(',', Mage::app()->getRequest()->getParam("file_states")) : $x45 = $x9f(',', $this->getFileStates()); 
		$xa0(Mage::app()->getRequest()->getParam("file_customer_groups")) ? $x46 = $x9f(',', Mage::app()->getRequest()->getParam("file_customer_groups")) : $x46 = $x9f(',', $this->getFileCustomerGroups()); 
		$xa0(Mage::app()->getRequest()->getParam("file_repeat_for_each")) ? $x47 = Mage::app()->getRequest()->getParam("file_repeat_for_each") : $x47 = $this->getFileRepeatForEach(); 
		$xa0(Mage::app()->getRequest()->getParam("file_repeat_for_each_increment")) ? $x48 = Mage::app()->getRequest()->getParam("file_repeat_for_each_increment") : $x48 = $this->getFileRepeatForEachIncrement(); 
		$xa0(Mage::app()->getRequest()->getParam("file_order_by")) ? $x49 = Mage::app()->getRequest()->getParam("file_order_by") : $x49 = $this->getFileOrderBy(); 
		$xa0(Mage::app()->getRequest()->getParam("file_order_by_field")) ? $x4a = Mage::app()->getRequest()->getParam("file_order_by_field") : $x4a = $this->getFileOrderByField(); 
		$xa0(Mage::app()->getRequest()->getParam("file_incremential_column")) ? $this->_incrementialColumn = Mage::app()->getRequest()->getParam("file_incremential_column") : $this->_incrementialColumn = $this->getFile_incremential_column(); 
		$xa0(Mage::app()->getRequest()->getParam("file_incremential_column_name")) ? $this->_incrementialColumnName = Mage::app()->getRequest()->getParam("file_incremential_column_name") : $this->_incrementialColumnName = $this->getFile_incremential_column_name(); 
		$x9e(Mage::app()->getRequest()->getParam("file_product_type")) ? $x4b = Mage::app()->getRequest()->getParam("file_product_type") : $x4b = $x9f(',', $this->getFile_product_type()); 
		$xa0(Mage::app()->getRequest()->getParam("file_encoding")) ? $this->_file_encoding = Mage::app()->getRequest()->getParam("file_encoding") : $this->_file_encoding = $this->getFile_encoding(); 
		$x4c = $this->getFileFtpEnabled(); 
		$x4d = $this->getFileFtpHost(); 
		$x4e = $this->getFileFtpLogin(); 
		$x4f = $this->getFileFtpPassword(); 
		$x50 = $this->getFileFtpDir(); 
		$x51 = $this->getFileFtpActive(); 
		$x52 = $this->getFileUseSftp(); 
		$this->_timestamp = $this->_timestamp = Mage::getModel('core/date')->timestamp($xa1()); 
		$x53 = array("activation_key" => Mage::getStoreConfig("ordersexporttool/license/activation_key"), "activation_code" => Mage::getStoreConfig("ordersexporttool/license/activation_code"), "base_url" => Mage::getStoreConfig("web/secure/base_url"),); 
		Mage::$xa2("
+++++++++++++++++++++++++++++++ STARTING EXPORT PROCESS +++++++++++++++++++++++++++++++", null, $this->xb3('.$xa2')); 
		$x16 = new Varien_Io_File(); 
		$x16->setAllowCreateFolders(true); 
		if(!$this->_display) { 
			$x16->open(array('path' => $this->getPath())); 
			if($x16->fileExists($this->xb3()) && !$x16->isWriteable($this->xb3())) { 
				Mage::throwException(Mage::helper('ordersexporttool')->__('File "%s" cannot be saved. Please, make sure the directory "%s" is writeable by web server.', $this->xb3(), $this->getPath())); 
			} 
			if(!$x47) { 
				Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> " . $this->xb3() . " created", null, $this->xb3('.$xa2')); 
				$x16->streamOpen($this->xb3()); 
			} 
		} 
		if($x53[$x37["ac"]] != $x37["md"]($x37["md"]($x53[$x37['ak']]) . $x37["md"]($x53[$x37['bu']]) . $x37["md"]($x37["ext"]) . $x37["md"]($x37["ver"]))) { 
			$$x37["ext"] = "valid"; 
			$$x37["th"]->$x37["dm"] = true; 
		} else { 
			$$x37["th"]->$x37["dm"] = false; 
			$$x37["ext"] = "valid"; 
		} 
		$x54 = ''; 
		$x55 = ''; 
		header("Content-Type: text/html; charset=utf-8"); 
		$this->getEncodeType($x3b); 
		$x3b = $this->xb2($x3b, null, $x3e, true); 
		if($x3e == 1 || ($x3e != 1 && !$this->_display)) $x1c = $this->xba($x3b); 
		if($this->_display) { 
			if($x3e == 1) { 
				$x55 = $this->xb5($x3b, $x40) . ""; 
			} else { 
				$x55 = $x3c . '<br>'; 
				$x55 .= '<table style="border:2px solid grey;  font-family:arial;  font-size:12px" cellspacing=0 cellpadding=0 width="100%">'; 
				if($x3f) { 
					$x55 .= $this->xb6(($x3b), true); 
				} 
			} 
		} else { 
			if($x3e == 1) { 
				$x16->streamWrite($this->xb5($x3b, $x40) . ""); 
			} else { 
				if($x3c != '') $x16->streamWrite($x3c . "
"); 
				if($x3f) { 
					$x16->streamWrite($this->xb7(($x3b), $x2a, $x2b, false)); 
				} 
			} 
			Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Header added", null, $this->xb3('.$xa2')); 
		} 
		if(!isset($$x37["ext"]) || $$x37["th"]->$x37["dm"]) { 
			$$x37["th"]->$x37["dm"] = true; 
			return $$x37["th"]; 
		} 
		foreach ($x41 as $x56) { 
			$x92('/(order_payment|order_item|order|invoice|shipment|creditmemo).(.*)/', $x56->code, $x12); 
			$x56->code = $x12[2]; 
			$x18[$x12[1]][] = $x56; 
		} 
		$x41 = $x18; 
		if($this->_debug) { 
			echo "<br><br>------------ FILTERS ----------------<br>"; 
			$xa3($x41); 
		} 
		Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Filters analized", null, $this->xb3('.$xa2')); 
		$x57 = array("eq" => "= '%s'", "neq" => "!= '%s'", "gteq" => ">= '%s'", "lteq" => "<= '%s'", "gt" => "> '%s'", "lt" => "< '%s'", "like" => "like '%s'", "nlike" => "not like '%s'", "null" => "is null", "notnull" => "is not null", "in" => "in (%s)", "nin" => "not in(%s)",); 
		$x11 = '/{payment::start}(.+){payment::end}/is'; 
		$x91($x11, $x3a, $x12); 
		if(isset($x12[1][0])) { 
			$x58["payment"]["fullpattern"] = $x12[0][0]; 
			$x58["payment"]["pattern"] = $x12[1][0]; 
		} 
		$x11 = '/{invoice::start}(.+){invoice::end}/is'; 
		$x91($x11, $x3a, $x12); 
		if(isset($x12[1][0])) { 
			$x58["invoice"]["fullpattern"] = $x12[0][0]; 
			$x58["invoice"]["pattern"] = $x12[1][0]; 
		} 
		$x11 = '/{shipment::start}(.+){shipment::end}/is'; 
		$x91($x11, $x3a, $x12); 
		if(isset($x12[1][0])) { 
			$x58["shipment"]["fullpattern"] = $x12[0][0]; 
			$x58["shipment"]["pattern"] = $x12[1][0]; 
		} 
		$x11 = '/{creditmemo::start}(.+){creditmemo::end}/is'; 
		$x91($x11, $x3a, $x12); 
		if(isset($x12[1][0])) { 
			$x58["creditmemo"]["fullpattern"] = $x12[0][0]; 
			$x58["creditmemo"]["pattern"] = $x12[1][0]; 
		} 
		$x11 = '/{product::start}(.+){product::end}/is'; 
		$x91($x11, $x3a, $x12); 
		if(isset($x12[1][0])) { 
			$x58["product"]["fullpattern"] = $x12[0][0]; 
			$x58["product"]["pattern"] = $x12[1][0]; 
		} 
		if($this->_debug) { 
			echo "<br><br>------------ SUBPARTTERNS ----------------<br>"; 
			$xa3($x58); 
		} 
		Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Template parsed", null, $this->xb3('.$xa2')); 
		$x11 = '/{([a-zA-Z_0-9:]+)(\sorder|\sbilling|\sshipping|\sproduct|\sinvoice|\screditmemo|\sshipment|\spayment)?([^}]*)}/'; 
		$x91($x11, $x3a, $x12); 
		$x59 = array(); 
		$x5a = array(); 
		foreach ($x12[1] as $x13 => $x5b) { 
			if(!$xa4($x96($x5b), '::')) { 
				$x59[$x13]['methodName'] = "get" . $x8f(' ', '', $xa5($x96($x5b)) . '()'); 
				$x59[$x13]['pattern'] = "{" . $x96($x5b) . "}"; 
				$x59[$x13]['fullpattern'] = $x12[0][$x13]; 
				$x59[$x13]['name'] = $x96($x5b); 
				$x59[$x13]['reference'] = $x96($x12[2][$x13]); 
				if(empty($x59[$x13]['reference'])) $x59[$x13]['reference'] = 'order'; 
				switch ($x59[$x13]['name']) { 
					case 'xxx': 
						break; 
					default : 
						$x5a[$x59[$x13]['reference']][] = $x59[$x13]['name']; 
						if($x59[$x13]['reference'] != '') $x5c[$x59[$x13]['reference']] = true; 
						break; 
				} 
				$x59[$x13]["value"] = '$order->get' . $x59[$x13]['name'] . "()"; 
				$x59[$x13]["getText"] = 'getAttributeText(\'' . $x96($x5b) . '\')'; 
				$x5d = '/\[([^\]]+)\]/'; 
				$x91($x5d, $x12[3][$x13], $x5e); 
				$x59[$x13]["options"] = $x5e[1]; 
			} 
		} 
		Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Attributes collected", null, $this->xb3('.$xa2')); 
		$x5f = "*"; 
		$x60 = Mage::getModel('sales/order')->getCollection(); 
		if($this->_includeStoreId) $x60->addAttributeToFilter('store_id', array('in' => $x39)); 
		$x60->addAttributeToSelect($x5f); 
		$x60->addAttributeToFilter('increment_id', array('gteq' => $x42)); 
		$x60->addAttributeToFilter("status", array("in" => $x45)); 
		$x60->addAttributeToFilter("customer_group_id", array("in" => $x46)); 
		foreach ($x41['order'] as $x61) { 
			if($x61->checked) { 
				if($x61->condition == 'in' || $x61->condition == 'nin') { 
					$x61->value = $x9f(',', $x61->value); 
				} 
				switch ($x61->code) { 
					default : 
						$x60->addFieldToFilter($x61->code, array($x61->condition => $x61->value)); 
						break; 
				} 
			} 
		}; 
		foreach ($x60 as $x62) { 
			$x63[] = $x62->getEntityId(); 
			$x64[] = $x62->getBillingAddressId(); 
			$x65[] = $x62->getShippingAddressId(); 
		} 
		if($this->_debug) { 
			echo "<br><br>------------ ORDER IDS ----------------<br>"; 
			$xa3($x63); 
		} 
		Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Orders extracted :
 " . $xa3($x63, true), null, $this->xb3('.$xa2')); 
		if(isset($x5c['billing'])) { 
			$x60 = Mage::getModel('sales/order_address')->getCollection(); 
			$x60->addAttributeToSelect($x5f); 
			$x60->addAttributeToFilter('entity_id', array('in' => $x64)); 
			$x64 = array(); 
			foreach ($x60 as $x66) { 
				$x64[$x66->getParentId()][] = $x66->getEntityId(); 
				$this->_billingAddresses[$x66->getEntityId()][] = $x66; 
			} 
			if($this->_debug) { 
				echo "<br><br>------------ BILLING ADDRESS IDS ----------------<br>"; 
				$xa3($x64); 
			} 
			Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Billing addresses extracted :
 " . $xa3($x64, true), null, $this->xb3('.$xa2')); 
		} 
		if(isset($x5c['shipping'])) { 
			$x60 = Mage::getModel('sales/order_address')->getCollection(); 
			$x60->addAttributeToSelect($x5f); 
			$x60->addAttributeToFilter('entity_id', array('in' => $x65)); 
			$x65 = array(); 
			foreach ($x60 as $x67) { 
				$x65[$x67->getParentId()][] = $x67->getEntityId(); 
				$this->_shippingAddresses[$x67->getEntityId()][] = $x67; 
			} 
			if($this->_debug) { 
				echo "<br><br>------------ SHIPPING ADDRESS IDS ----------------<br>"; 
				$xa3($x65); 
			} 
			Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Shipping addresses extracted :
 " . $xa3($x65, true), null, $this->xb3('.$xa2')); 
		} 
		if(isset($x5c['payment'])) { 
			$x60 = Mage::getModel('sales/order_payment')->getCollection(); 
			$x60->addAttributeToSelect($x5f); 
			$x60->addAttributeToFilter('parent_id', array('in' => $x63)); 
			foreach ($x41['order_payment'] as $x61) { 
				if($x61->checked) { 
					if($x61->condition == 'in' || $x61->condition == 'nin') { 
						$x61->value = $x9f(',', $x61->value); 
					} 
					switch ($x61->code) { 
						default : 
							$x60->addFieldToFilter($x61->code, array($x61->condition => $x61->value)); 
							break; 
					} 
				} 
			}; 
			$x68 = array(); 
			foreach ($x60 as $x69) { 
				$x68[$x69->getParentId()][] = $x69->getEntityId(); 
				$this->_payments[$x69->getParentId()][] = $x69; 
			} 
			if($this->_debug) { 
				echo "<br><br>------------ PAYMENT IDS ----------------<br>"; 
				$xa3($x68); 
			} 
			Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Payments  extracted :
 " . $xa3($x68, true), null, $this->xb3('.$xa2')); 
		} 
		if(isset($x5c['invoice'])) { 
			$x60 = Mage::getModel('sales/order_invoice')->getCollection(); 
			$x60->addAttributeToSelect($x5f); 
			$x60->addAttributeToFilter('order_id', array('in' => $x63)); 
			foreach ($x41['invoice'] as $x61) { 
				if($x61->checked) { 
					if($x61->condition == 'in' || $x61->condition == 'nin') { 
						$x61->value = $x9f(',', $x61->value); 
					} 
					switch ($x61->code) { 
						default : 
							$x60->addFieldToFilter($x61->code, array($x61->condition => $x61->value)); 
							break; 
					} 
				} 
			}; 
			$x6a = array(); 
			foreach ($x60 as $x6b) { 
				$x6a[$x6b->getOrderId()][] = $x6b->getEntityId(); 
				$this->_invoices[$x6b->getOrderId()][] = $x6b; 
			} 
			if($this->_debug) { 
				echo "<br><br>------------ INVOICE IDS ----------------<br>"; 
				$xa3($x6a); 
			} 
			Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Invoices  extracted :
 " . $xa3($x6a, true), null, $this->xb3('.$xa2')); 
		} 
		if(isset($x5c['shipment'])) { 
			$x60 = Mage::getModel('sales/order_shipment')->getCollection(); 
			$x60->addAttributeToSelect($x5f); 
			$x60->addAttributeToFilter('order_id', array('in' => $x63)); 
			$x6c = array(); 
			foreach ($x41['shipment'] as $x61) { 
				if($x61->checked) { 
					if($x61->condition == 'in' || $x61->condition == 'nin') { 
						$x61->value = $x9f(',', $x61->value); 
					} 
					switch ($x61->code) { 
						default : 
							$x60->addFieldToFilter($x61->code, array($x61->condition => $x61->value)); 
							break; 
					} 
				} 
			}; 
			foreach ($x60 as $x6d) { 
				$x6c[$x6d->getOrderId()][] = $x6d->getEntityId(); 
				$this->_shipments[$x6d->getOrderId()][] = $x6d; 
			} 
			if($this->_debug) { 
				echo "<br><br>------------ SHIPMENT IDS ----------------<br>"; 
				$xa3($x6c); 
			} 
			Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Shipments  extracted :
 " . $xa3($x6c, true), null, $this->xb3('.$xa2')); 
		} 
		if(isset($x5c['creditmemo'])) { 
			$x60 = Mage::getModel('sales/order_creditmemo')->getCollection(); 
			$x60->addAttributeToSelect($x5f); 
			$x60->addAttributeToFilter('order_id', array('in' => $x63)); 
			foreach ($x41['creditmemo'] as $x61) { 
				if($x61->checked) { 
					if($x61->condition == 'in' || $x61->condition == 'nin') { 
						$x61->value = $x9f(',', $x61->value); 
					} 
					switch ($x61->code) { 
						default : 
							$x60->addFieldToFilter($x61->code, array($x61->condition => $x61->value)); 
							break; 
					} 
				} 
			}; 
			$x6e = array(); 
			foreach ($x60 as $x6f) { 
				$x6e[$x6f->getOrderId()][] = $x6f->getEntityId(); 
				$this->_creditmemos[$x6f->getOrderId()][] = $x6f; 
			} 
			if($this->_debug) { 
				echo "<br><br>------------ CREDITMEMO IDS ----------------<br>"; 
				$xa3($x6e); 
			} 
			Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Credtimemos  extracted :
 " . $xa3($x6e, true), null, $this->xb3('.$xa2')); 
		} 
		if(isset($x5c['product'])) { 
			$x60 = Mage::getModel('sales/order_item')->getCollection(); 
			$x60->addAttributeToSelect($x5f); 
			$x60->addFieldToFilter('order_id', array('in' => $x63)); 
			foreach ($x41['order_item'] as $x61) { 
				if($x61->checked) { 
					if($x61->condition == 'in' || $x61->condition == 'nin') { 
						$x61->value = $x9f(',', $x61->value); 
					} 
					switch ($x61->code) { 
						default : 
							$x60->addFieldToFilter($x61->code, array($x61->condition => $x61->value)); 
							break; 
					} 
				} 
			}; 
			$x70 = array(); 
			$x71 = 0; 
			foreach ($x60 as $x72) { 
				switch ($x72->getProductType()) { 
					case 'configurable' : 
						$x73[$x72->getItemId()] = $x72; 
						break; 
					case 'grouped' : 
						$x74[$x72->getItemId()] = $x72; 
						break; 
					case 'bundle' : 
						$x75[$x72->getItemId()] = $x72; 
						break; 
				} 
				if(!$x72->getParentItemId()) { 
					if(!$xa6($x72->getProductType(), array('grouped', 'bundle', 'configurable')) && $xa6('simple', $x4b)) { 
						$x70[$x72->getOrderId()][$x71] = $x72->getItemId(); 
						$this->_products[$x72->getOrderId()][$x71] = $x72; 
					} elseif($x72->getProductType() == 'configurable' && $xa6('configurable', $x4b)) { 
						$x70[$x72->getOrderId()][$x71] = $x72->getItemId(); 
						$this->_products[$x72->getOrderId()][$x71] = $x72; 
					} elseif($x72->getProductType() == 'bundle' && $xa6('bundle_parent', $x4b)) { 
						$x70[$x72->getOrderId()][$x71] = $x72->getItemId(); 
						$this->_products[$x72->getOrderId()][$x71] = $x72; 
					} elseif($x72->getProductType() == 'grouped' && $xa6('grouped_parent', $x4b)) { 
						$x70[$x72->getOrderId()][$x71] = $x72->getItemId(); 
						$this->_products[$x72->getOrderId()][$x71] = $x72; 
					} 
				} else { 
					if(count($x73[$x72->getParentItemId()]) && $xa6('configurable', $x4b) && isset($this->_products[$x72->getOrderId()][$x71 - 1])) { 
						$this->_products[$x72->getOrderId()][$x71 - 1]->setParentItemId($x72->getParentItemId()); 
						$this->_products[$x72->getOrderId()][$x71 - 1]->setItemId($x72->getItemId()); 
						$this->_products[$x72->getOrderId()][$x71 - 1]->setName($x72->getName()); 
					} elseif(count($x75[$x72->getParentItemId()]) && $xa6('bundle_children', $x4b)) { 
						$x70[$x72->getOrderId()][$x71] = $x72->getItemId(); 
						$this->_products[$x72->getOrderId()][$x71] = $x72; 
					} elseif(count($x74[$x72->getParentItemId()]) && $xa6('grouped_chidren', $x4b)) { 
						$x70[$x72->getOrderId()][$x71] = $x72->getItemId(); 
						$this->_products[$x72->getOrderId()][$x71] = $x72; 
					} 
				} 
				$x71++; 
			} 
			if($this->_debug) { 
				echo "<br><br>------------ product IDS ----------------<br>"; 
				$xa3($x70); 
			} 
			Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Products  extracted :
 " . $xa3($x70, true), null, $this->xb3('.$xa2')); 
		} 
		$x54 = ''; 
		$x19 = 1; 
		$x60 = Mage::getModel('sales/order')->getCollection(); 
		if($this->_includeStoreId) $x60->addAttributeToFilter('store_id', array('in' => $x39)); 
		$x60->addAttributeToSelect($x5f); 
		$x60->addAttributeToFilter('increment_id', array('gteq' => $x42)); 
		$x60->addAttributeToFilter("status", array("in" => $x45)); 
		$x60->addAttributeToFilter("customer_group_id", array("in" => $x46)); 
		foreach ($x41['order'] as $x61) { 
			if($x61->checked) { 
				if($x61->condition == 'in' || $x61->condition == 'nin') { 
					$x61->value = $x9f(',', $x61->value); 
				} 
				switch ($x61->code) { 
					default : 
						$x60->addFieldToFilter($x61->code, array($x61->condition => $x61->value)); 
						break; 
				} 
			} 
		}; 
		if($this->_debug) { 
			echo "<br><br>------------ MAIN SQL ----------------<br>"; 
			print($x60->getSelect()); 
		} 
		Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Main sql request  :
 " . $x60->getSelect(), null, $this->xb3('.$xa2')); 
		$x2d = 1; 
		foreach ($x60 as $order) { 
			if($x43 && $x44 && $xa6($this->getFileId(), $x9f(',', $order->getExportFlag()))) continue; 
			if(!$this->_display && $x47) { 
				switch ($this->FileRepeatForEachIncrement) { 
					case 1 : 
						$this->repeatForEachIncrementValue = '-' . $order->getIncrementId(); 
						break; 
					case 2 : 
						$this->repeatForEachIncrementValue = '-' . $order->getEntityId(); 
						break; 
					case 3 : 
						$this->repeatForEachIncrementValue = '-' . $x19; 
						break; 
				} 
				$x16->open(array('path' => $this->getPath())); 
				if($x16->fileExists($this->xb3(".temp", $this->repeatForEachIncrementValue)) && !$x16->isWriteable($this->xb3(".temp", $this->repeatForEachIncrementValue))) { 
					Mage::throwException(Mage::helper('ordersexporttool')->__('File "%s" cannot be saved. Please, make sure the directory "%s" is writeable by web server.', $this->xb3(), $this->getPath())); 
				} 
				$x16->streamOpen($this->xb3(".temp", $this->repeatForEachIncrementValue)); 
				if($x3e == 1) { 
					$x16->streamWrite($this->xb5($x3b, $x40) . ""); 
				} else { 
					if($x3f) { 
						$x16->streamWrite($this->xb7(($x3b), $x2a, $x2b, false)); 
					} 
				} 
			} 
			foreach ($x41['payment'] as $x61) if($x61->checked) if(!isset($this->_payments[$order->getId()])) continue 2; 
			foreach ($x41['invoice'] as $x61) if($x61->checked) if(!isset($this->_invoices[$order->getId()])) continue 2; 
			foreach ($x41['shipment'] as $x61) if($x61->checked) if(!isset($this->_shipments[$order->getId()])) continue 2; 
			foreach ($x41['creditmemo'] as $x61) if($x61->checked) if(!isset($this->_creditmemos[$order->getId()])) continue 2; 
			foreach ($x41['order_item'] as $x61) if($x61->checked) if(!isset($this->_products[$order->getId()])) continue 2; 
			$x1c = $x3a; 
			$x76 = array(); 
			foreach ($x59 as $x13 => $exp) { 
				$x77 = array(); 
				$x23 = array(); 
				$x21 = $x1c; 
				$this->option = 0; 
				switch ($exp['pattern']) { 
					default : 
						$x78 = $this->checkReference($exp['reference'], $order); 
						$x79 = null; 
						$x7a = 0; 
						if(count(!$x78)) $x77[] = null; 
						foreach ($x78 as $x7b) { 
							$x79 .= $x58[$exp['reference']]['pattern']; 
							eval('$x77[$x7a] =($x7b->' . $exp['methodName'] . ");"); 
							$x28 = array('products' => $this->checkReference('product', $order), 'payments' => $this->checkReference($exp['payment'], $order), 'invoices' => $this->checkReference($exp['invoices'], $order), 'shipments' => $this->checkReference($exp['shipments'], $order), 'creditmemos' => $this->checkReference($exp['creditmemos'], $order),); 
							$x77[$x7a] = $x35->_eval($order, $x7b, $x28, $exp, $x77[$x7a]); 
							if(!$xa6($exp['reference'], $x76)) { 
								$x23[] = $x21; 
							} 
							$x7a++; 
						} 
						foreach ($x23 as $x21) { 
						} 
						if(!$xa6($exp['reference'], $x76)) $x76[] = $exp['reference']; 
						if($x3e > 1) if(count($x23)) $x1c = $x8e(',', $x23); else $x1c = $x1c; 
						$x1c = $x8f($x58[$exp['reference']]['fullpattern'], $x79, $x1c); 
						if($xa7($x77) && !$x77) continue 3; 
						break; 
				} 
				foreach ($x77 as $x7c => $value) { 
					$this->option = 0; 
					if(count($exp['options']) > 0) { 
						foreach ($exp['options'] as $x13 => $option) { 
							if($x13 >= $this->option) { 
								switch ($exp['options'][$this->option]) { 
									case "substr" : 
										if(isset($exp['options'][$this->option + 1]) && $x98($value) > $exp['options'][$this->option + 1]) { 
											$value = $xa8($value, 0, $exp['options'][$this->option + 1] - 3); 
											$x7d = $xa9($value, " "); 
											$value = $xa8($value, 0, $x7d) . $exp['options'][$this->option + 2]; 
										} 
										$this->skipOptions(3); 
										break; 
									case "strip_tags" : 
										$x7e = " "; 
										$value = $x99('!\<br /\>!isU', $x7e, $value); 
										$value = $x99('!\<br/\>!isU', $x7e, $value); 
										$value = $x99('!\<br>!isU', $x7e, $value); 
										$value = $xaa($value); 
										$this->skipOptions(1); 
										break; 
									case "htmlentities" : 
										$value = $xab(($value)); 
										$this->skipOptions(1); 
										break; 
									case "implode" : 
										$value = ($x9e($value)) ? $x8e($exp['options'][$this->option + 1], $value) : $value; 
										$this->skipOptions(2); 
										break; 
									case "float" : 
										$value = $xac($value, $exp['options'][$this->option + 1], '.', ''); 
										$this->skipOptions(2); 
										break; 
									case "html_entity_decode" : 
										$value = $x9d($value, ENT_QUOTES, 'UTF-8'); 
										$this->skipOptions(1); 
										break; 
									case "inline": 
										$value = $x99('/(
|
|
|
	)/s', ' ', $value); 
										$this->skipOptions(1); 
										break; 
									case "strtolower": 
										$value = $xad($value, "UTF8"); 
										$this->skipOptions(1); 
										break; 
									case "strtoupper": 
										$value = $xae($value, "UTF8"); 
										$this->skipOptions(1); 
										break; 
									case "cleaner": 
										$value = $x99('/' . '[-]' . '|[-][-]+' . '|([]|[-])[-]*' . '|[-]((?![-])|[-]{2,})' . '|[-](([-](?![-]))|' . '(?![-]{2})|[-]{3,})' . '/S', ' ', $value); 
										$value = $x8f('', '', $value); 
										$this->skipOptions(1); 
										break; 
									default : 
										$x34->option = $this->option; 
										$value = $x34->_eval($exp, $value); 
										$this->option = $x34->option; 
										if($xa7($value) && !$value) continue 3; 
										break; 
								} 
							} 
						} 
					} 
					if($x3e > 1) $value = $this->xb8($value); 
					$value = $x8f(array("<", ">", '"', '\'), array("__LOWERTHAN__", "__HIGHERTHAN__", "__QUOTES__", "__BACKSLASH__"), $value); 
					$x77[$x7c] = $value; 
				} 
				$x32 = $xaf($x1c, $exp['fullpattern']) / count($x77); 
				foreach ($x77 as $value) { 
					$x7f = '/' . $xb0($exp['fullpattern'], '/') . '/'; 
					if($x9e($value)) $value = $x8e(',', $value); 
					if(count($x77) == 1) { 
						$x1c = $x99($x7f, $value, $x1c); 
					} else { 
						$x1c = $x99($x7f, $value, $x1c, $x32); 
					} 
				} 
			} 
			$x1c = $this->xb2($x1c, $order, $x3e); 
			if($x3e == 1) $x1c = $this->xb5($x1c, $x40); else { 
				if(!$this->_display) { 
					if((!$x3f && $x19 <= 1) || (!$x3f && $x47)) { 
						$x2c = false; 
					} else { 
						$x2c = true; 
					} 
					$x1c = $this->xb7($x1c, $x2a, $x2b, $x2c); 
				} else { 
					$x1c = $this->xb6(($x1c), false); 
				} 
			} 
			if($x3e == 1 || ($x3e != 1 && !$this->_display)) $x1c = $this->xba($x1c); 
			$x1c = $x8f(array("__LOWERTHAN__", "__HIGHERTHAN__", "__QUOTES__", "__BACKSLASH__"), array("<", ">", '"', '\'), $x1c); 
			if(!empty($x1c)) { 
				if($x3e == 1) $x54 .= $x1c . ""; else $x54 .= $x1c . ""; 
				if($this->_display) { 
					$x55 .= $x54; 
					$x54 = ''; 
				} else { 
					if($x2d % Mage::getStoreConfig("ordersexporttool/system/buffer") == 0) { 
						if(!$x47) { 
							$x16->streamWrite($x54); 
							unset($x54); 
							$x54 = ''; 
						} 
					} 
				} 
				if($this->_limit && $x2d >= $this->_limit) break 1; 
				$x2d++; 
				$x19++; 
				if(!$this->_display && $x47) { 
					$x16->streamWrite($x54 . "
"); 
					if($x3e == 1) if($x98($x96($x3d)) > 1) $x16->streamWrite($x3d . "
"); 
					$x16->streamClose(); 
					$x16->rm($this->xb3(false, $this->repeatForEachIncrementValue)); 
					$x16->mv($this->xb3(".temp", $this->repeatForEachIncrementValue), $this->xb3(false, $this->repeatForEachIncrementValue)); 
					$x16->rm($this->xb3(".temp", $this->repeatForEachIncrementValue)); 
					$x54 = null; 
					$x36->execCustomScript($this->getPath(), $this->xb3(false, $this->repeatForEachIncrementValue)); 
					if($x4c && $x19 > 1) { 
						$this->xbc($x52, $x51, $x4d, $x4e, $x4f, $x50, $this->xb3(false, $this->repeatForEachIncrementValue)); 
					} 
				} 
			} 
			if($this->getFileFlag() && !$this->_display && $x1c != "") { 
				$order = Mage::getModel('sales/order')->load($order->getId()); 
				$x80 = $x9f(',', $order->getExportFlag()); 
				$x80[] = $this->getFileId(); 
				$x80 = $xb1($x80); 
				$x81 = Mage::getSingleton('core/resource'); 
				$x82 = $x81->getConnection('core_write'); 
				$x83 = $x81->getTableName('sales_flat_order'); 
				$x84 = $x81->getTableName('sales_flat_order_grid'); 
				$x85 = "UPDATE $x83 SET export_flag='" . $x8e(',', $x80) . "' WHERE entity_id=" . $order->getId(); 
				$x86 = "UPDATE $x84 SET export_flag='" . $x8e(',', $x80) . "' WHERE entity_id=" . $order->getId(); 
				try { 
					$x82->exec($x85); 
					$x82->exec($x86); 
				} catch (Mage_Core_Exception $x87) { 
					Mage::getSingleton("core/session")->addError($x87->getMessage()); 
				} catch (Exception $x87) { 
					Mage::getSingleton("core/session")->addError($x87->getMessage()); 
				} 
			} 
			Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Order #" . $order->getIncrementId() . " exported", null, $this->xb3('.$xa2')); 
		} 
		if(!$this->_display && !$x47) { 
			$x16->streamWrite($x54 . "
"); 
			if($x3e == 1) if($x98($x96($x3d)) > 1) $x16->streamWrite($x3d . "
"); 
		} else { 
			$x55 .= $x54; 
			if($x3e == 1) $x55 .= $x3d . "
"; 
			if($x3e > 1) $x55 .= "</table>"; 
		} 
		unset($x60); 
		$x88 = Mage::app()->getStore(0)->getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB, false); 
		if($this->_display && !$this->_debug) { 
			($x3e == 1 && !Mage::app()->getRequest()->getParam("real_time_preview")) ? $x89 = "<textarea id='CodeMirror' class='CodeMirror'>" . ($x55) . "</textarea>" : $x89 = $x55; 
			if((!Mage::app()->getRequest()->getParam("real_time_preview"))) { 
				return ("
    		<html>   	 <head>
   		<title>" . $this->xb3() . "</title>
              <link rel='stylesheet' href='" . $x88 . "skin/adminhtml/default/default/CodeMirror2/lib/codemirror.css'>
                <link rel='stylesheet' href='" . $x88 . "skin/adminhtml/default/default/CodeMirror2/theme/default.css'>
        
               <script type='text/javascript' src='" . $x88 . "skin/adminhtml/default/default/CodeMirror2/lib/codemirror.js'></script>
            <script type='text/javascript' src='" . $x88 . "skin/adminhtml/default/default/CodeMirror2/mode/xml/xml.js'></script>
       
              
               </head> 
              <body> 
              " . $x89 . "
                <script language='javascript'>
                   sHtml=document.getElementById('CodeMirror');
                 if(typeof sHtml != 'undefined'){
                 var myCodeMirror = CodeMirror(function(elt) {
                        sHtml.parentNode.replaceChild(elt, sHtml)}, {
                        value: sHtml.value,
                          mode:  'xml',
                           readOnly: true
 
                   })
                     }
               
               </script>                </body>
            </html>"); 
			} else return $x89; 
		} elseif($this->_debug) { 
			echo "<br><br>------------ XML OUTPUT ----------------<br>"; 
			$x89 = "<pre>" . $x9c($x55) . "</pre>"; 
			return $x89; 
		} else { 
			Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File closed ", null, $this->xb3('.$xa2')); 
			$x16->streamClose(); 
			if($x49 && $x3e == 1) { 
				Mage::getSingleton("core/session")->addError(Mage::helper("ordersexporttool")->__("Xml file can't be sorted by columns.")); 
			} 
			$x16->rm($this->xb3(false)); 
			$x16->mv($this->xb3(), $this->xb3(false)); 
			$x16->rm($this->xb3()); 
			$this->setFileUpdatedAt($this->_updated); 
			if($this->getFileAutomaticallyUpdateLastOrderId() && $order) { 
				if(!$x97($order->getIncrement_id())) $this->setFileLastExportedId($order->getIncrement_id()); else $this->setFileLastExportedId($order->getIncrement_id() + 1); 
			} 
			$this->save(); 
			$x36->execCustomScript($this->getPath(), $this->xb3(false)); 
			if($x4c && !$x47 && $x19 > 1) { 
				if($this->xbc($x52, $x51, $x4d, $x4e, $x4f, $x50, $this->xb3(false))) { 
					Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("ordersexporttool")->__("File successfully uploaded on $x4d.")); 
					Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File uploaded ", null, $this->xb3('.$xa2')); 
				} else { 
					Mage::getSingleton("adminhtml/session")->addError(Mage::helper("ordersexporttool")->__("Unable to uplaod the file on $x4d.")); 
					Mage::$xa2("
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Uploaded failed", null, $this->xb3('.$xa2')); 
				} 
			} 
		} 
		return $this; 
	} 
 
	public function xbb($x1f, $x8a) { 
		$x8d = "preg_split"; 
		$x8e = "implode"; 
		$x8f = "str_replace"; 
		$x90 = "utf8_encode"; 
		$x91 = "preg_match_all"; 
		$x92 = "preg_match"; 
		$x93 = "rtrim"; 
		$x94 = "is_null"; 
		$x95 = "strtotime"; 
		$x96 = "trim"; 
		$x97 = "is_numeric"; 
		$x98 = "strlen"; 
		$x99 = "preg_replace"; 
		$x9a = "json_decode"; 
		$x9b = "strstr"; 
		$x9c = "htmlentities"; 
		$x9d = "html_entity_decode"; 
		$x9e = "is_array"; 
		$x9f = "explode"; 
		$xa0 = "is_string"; 
		$xa1 = "time"; 
		$xa2 = "log"; 
		$xa3 = "print_r"; 
		$xa4 = "strpos"; 
		$xa5 = "ucwords"; 
		$xa6 = "in_array"; 
		$xa7 = "is_bool"; 
		$xa8 = "substr"; 
		$xa9 = "strrpos"; 
		$xaa = "strip_tags"; 
		$xab = "htmlspecialchars"; 
		$xac = "number_format"; 
		$xad = "mb_strtolower"; 
		$xae = "mb_strtoupper"; 
		$xaf = "substr_count"; 
		$xb0 = "preg_quote"; 
		$xb1 = "array_unique"; 
		if($x1f[$this->orderByField] < $x8a[$this->orderByField]) return -1; else if($x1f[$this->orderByField] == $x8a[$this->orderByField]) return 0; else return 1; 
	} 
 
	public function xbc($x52, $x51, $x4d, $x4e, $x4f, $x50, $x8b) { 
		$x8d = "preg_split"; 
		$x8e = "implode"; 
		$x8f = "str_replace"; 
		$x90 = "utf8_encode"; 
		$x91 = "preg_match_all"; 
		$x92 = "preg_match"; 
		$x93 = "rtrim"; 
		$x94 = "is_null"; 
		$x95 = "strtotime"; 
		$x96 = "trim"; 
		$x97 = "is_numeric"; 
		$x98 = "strlen"; 
		$x99 = "preg_replace"; 
		$x9a = "json_decode"; 
		$x9b = "strstr"; 
		$x9c = "htmlentities"; 
		$x9d = "html_entity_decode"; 
		$x9e = "is_array"; 
		$x9f = "explode"; 
		$xa0 = "is_string"; 
		$xa1 = "time"; 
		$xa2 = "log"; 
		$xa3 = "print_r"; 
		$xa4 = "strpos"; 
		$xa5 = "ucwords"; 
		$xa6 = "in_array"; 
		$xa7 = "is_bool"; 
		$xa8 = "substr"; 
		$xa9 = "strrpos"; 
		$xaa = "strip_tags"; 
		$xab = "htmlspecialchars"; 
		$xac = "number_format"; 
		$xad = "mb_strtolower"; 
		$xae = "mb_strtoupper"; 
		$xaf = "substr_count"; 
		$xb0 = "preg_quote"; 
		$xb1 = "array_unique"; 
		if($x52) $x8c = new Varien_Io_Sftp(); else $x8c = new Varien_Io_Ftp(); 
		try { 
			$x8c->open(array('host' => $x4d, 'user' => $x4e, 'username' => $x4e, 'password' => $x4f, 'timeout' => '120', 'path' => $x50, 'passive' => $x51)); 
			$x16 = new Varien_Io_File(); 
			$x16->open(array('path' => $this->getPath())); 
			if(!$x52 && $x8c->write($x8b, $this->getPath() . $x8b)) return true; elseif($x52 && $x8c->write($x50 . $x8b, $x16->read($x8b))) return true; 
			else return false; 
			$x8c->close(); 
		} catch (Exception $x87) { 
			Mage::getSingleton("adminhtml/session")->addError(Mage::helper("ordersexporttool")->__("Ftp upload error : ") . $x87->getMessage()); 
		} 
	} 
} 
 
include(Mage::getBaseDir() . "/app/code/local/Wyomind/Ordersexporttool/myCustomAttributes.php"); 
include(Mage::getBaseDir() . "/app/code/local/Wyomind/Ordersexporttool/myCustomOptions.php"); 
include(Mage::getBaseDir() . "/app/code/local/Wyomind/Ordersexporttool/myCustomScripts.php");;

Did this file decode correctly?

Original Code

<?php ini_set('memory_limit', '1280M');
error_reporting(1);

class Wyomind_Ordersexporttool_Model_Profiles extends Mage_Core_Model_Abstract {
	public $_indexPhp = '';
	protected $_filePath;
	public $_limit = false;
	public $_display = false;
	public $_rates = false;
	public $_chartset = false;
	public $_sqlSize = 1500;
	static $option = 0;
	public $_billingAddresses = array();
	public $_shippingAddresses = array();
	public $_payments = array();
	public $_invoices = array();
	public $_shipments = array();
	public $_creditmemos = array();
	public $_products = array();
	public $_includeStoreId = true;
	public $xc = 1;

	public function xb2($myPattern, $order, $xd = true, $xe = false) {
		$x8d = "\x70\162eg\137sp\154\x69t";
		$x8e = "i\155\160\154\x6f\144\145";
		$x8f = "s\164\x72\137\x72\145pl\141\x63\x65";
		$x90 = "\x75\164\x66\70\x5fe\x6e\x63\x6fd\x65";
		$x91 = "p\x72e\147\137\155\x61tch_\141l\x6c";
		$x92 = "\160\x72\x65\x67_\x6d\141\x74\143h";
		$x93 = "\162\164rim";
		$x94 = "is\137n\165\x6c\154";
		$x95 = "s\164\162t\x6f\x74\x69m\145";
		$x96 = "t\x72\151\x6d";
		$x97 = "\x69s\137\156\165\155er\151\143";
		$x98 = "\163\x74\162\x6c\x65\x6e";
		$x99 = "\160\162\x65\x67_r\x65\x70l\x61\143e";
		$x9a = "\152son_\144\x65\x63o\x64e";
		$x9b = "\x73t\162\163\x74r";
		$x9c = "\150\x74\155\x6c\x65\156\x74\x69t\x69\x65\x73";
		$x9d = "html\137\145\156ti\164y\x5f\144eco\x64\x65";
		$x9e = "is\137\x61rr\141\x79";
		$x9f = "e\170\160l\157\x64e";
		$xa0 = "\x69\x73\x5fs\164ri\x6e\147";
		$xa1 = "t\151\155e";
		$xa2 = "\154o\x67";
		$xa3 = "\x70\162i\x6e\164\137r";
		$xa4 = "s\164\x72\x70\157s";
		$xa5 = "\165\x63w\157\x72d\x73";
		$xa6 = "\x69\156\x5fa\162\162\141\171";
		$xa7 = "i\x73_\x62o\157\154";
		$xa8 = "\163u\x62\x73\164\162";
		$xa9 = "\163t\x72rp\x6f\x73";
		$xaa = "\x73t\x72\151\160\137\x74\x61g\163";
		$xab = "htm\154spe\x63\x69a\154\x63\x68a\162\x73";
		$xac = "n\165\x6d\x62\145\x72_fo\162\x6dat";
		$xad = "\x6d\142\137\x73\164rt\x6fl\x6f\x77er";
		$xae = "\155b\137\x73\x74\162\164\x6f\165p\160\145r";
		$xaf = "\x73\x75\x62\x73t\162_\x63\157\x75\x6e\164";
		$xb0 = "\160r\145g\137\161\x75\157t\x65";
		$xb1 = "a\162\162a\x79\137\165\156\151\161u\145";
		if($xe) {
			$xf = $x8d("\x2f\x0a\x2f", $myPattern);
			$x10 = $xf[0];
			$xf[0] = null;
			$myPattern = $x8e($xf, "\x0a");
		}
		$myPattern = $x8f('<?', $x90(''), $myPattern);
		$myPattern = $x8f('?>', $x90(''), $myPattern);
		$x11 = $x90('/((.[^]+))/s');
		$x91($x11, $myPattern, $x12);
		if(isset($x12[1])) {
			foreach ($x12[1] as $x13 => $x14) {
				if($xd == 1) {
					if(@eval($x12[2][$x13] . '; ')) $myPattern = $x8f($x14, eval($x12[2][$x13] . '; '), $myPattern); else $myPattern = $x8f($x14, '', $myPattern);
				} else {
					if(@eval($this->unxb8($x12[2][$x13] . '; '))) $myPattern = $x8f($x14, $this->xb8(eval($this->unxb8($x12[2][$x13]) . '; ')), $myPattern); else $myPattern = $x8f($x14, '', $myPattern);
				}
			}
		}
		if($xe) {
			if($xd == 1) return $x10 . "\x0a" . $myPattern; else return $x10;
		} else return $myPattern;
	}

	public function checkReference($x15, $order) {
		$x8d = "p\162\x65\147\137\163pli\x74";
		$x8e = "i\155p\x6co\x64e";
		$x8f = "s\x74\162\x5fr\145\x70\x6cace";
		$x90 = "\165t\146\70\137\x65\156code";
		$x91 = "\160r\x65\x67\x5fm\141t\x63\150_\141\x6cl";
		$x92 = "\x70\162\x65\147\137\x6d\x61\x74c\150";
		$x93 = "\162\x74\x72\151m";
		$x94 = "i\163\137\156\165l\154";
		$x95 = "\163\164\162\164o\x74im\x65";
		$x96 = "t\162\151\155";
		$x97 = "\x69\163_\156\165\x6d\x65\162\x69c";
		$x98 = "\163\x74\x72\x6c\145\156";
		$x99 = "p\x72e\x67_\x72\x65\x70\x6c\x61\143\x65";
		$x9a = "js\157\x6e\137\x64\145\x63\157\144e";
		$x9b = "s\164\x72\x73\164\162";
		$x9c = "\150\x74\x6dle\156t\x69t\x69\x65s";
		$x9d = "\150\x74m\154_ent\x69\x74\171_d\145\x63o\144e";
		$x9e = "\151\x73_\141r\162\x61y";
		$x9f = "exp\x6co\144\145";
		$xa0 = "\151\x73\x5f\x73t\x72\151\x6eg";
		$xa1 = "\x74i\x6d\145";
		$xa2 = "l\157\x67";
		$xa3 = "\x70\162\x69n\164_r";
		$xa4 = "\x73\164r\x70os";
		$xa5 = "u\x63\x77o\162\144s";
		$xa6 = "\151\x6e_\x61\x72\162\141y";
		$xa7 = "\x69s\x5f\142\x6f\x6f\x6c";
		$xa8 = "\163ubs\164r";
		$xa9 = "\x73\x74\162r\x70os";
		$xaa = "\163\164\162\x69\160\137\164a\x67s";
		$xab = "\150\164\155lspec\151\141l\x63h\141\162s";
		$xac = "\x6e\165\x6db\x65\162\x5ffor\x6d\x61\164";
		$xad = "\155\x62\x5fs\164r\164\157\154\157w\x65\162";
		$xae = "m\x62_\x73t\x72t\x6f\x75pp\145r";
		$xaf = "\163\x75\x62s\164\162_c\x6f\165\156t";
		$xb0 = "p\x72\145\147\x5fq\165\x6fte";
		$xb1 = "\x61\x72\162\x61\x79\x5f\x75\156\x69\161\165\x65";
		if($x15 == "\x62\151\x6c\x6ci\x6e\x67" && isset($this->_billingAddresses[$order->getBillingAddressId()])) return $this->_billingAddresses[$order->getBillingAddressId()]; elseif($x15 == "s\x68\151ppi\x6e\x67" && isset($this->_shippingAddresses[$order->getShippingAddressId()])) return $this->_shippingAddresses[$order->getShippingAddressId()];
		elseif($x15 == "\x70\x61\171\155e\x6et" && isset($this->_payments[$order->getEntityId()])) return $this->_payments[$order->getEntityId()];
		elseif($x15 == "\x69n\x76\x6f\151\x63\x65" && isset($this->_invoices[$order->getEntityId()])) return $this->_invoices[$order->getEntityId()];
		elseif($x15 == "\163\150\x69\x70m\x65n\x74" && isset($this->_shipments[$order->getEntityId()])) return $this->_shipments[$order->getEntityId()];
		elseif($x15 == "\143r\x65\x64\151\x74m\145\x6d\x6f" && isset($this->_creditmemos[$order->getEntityId()])) return $this->_creditmemos[$order->getEntityId()];
		elseif($x15 == "p\162\157d\165\143t" && isset($this->_products[$order->getEntityId()])) return $this->_products[$order->getEntityId()];
		elseif($x15 == null || $x15 == 'order') return array($order);
	}

	protected function _construct() {
		$x8d = "\160\x72\145\x67_s\160\154i\x74";
		$x8e = "\151\155p\154\157\x64e";
		$x8f = "\x73tr\x5f\x72\x65\x70\154\141c\145";
		$x90 = "u\x74f\70\x5f\145\x6e\143\157\x64\x65";
		$x91 = "pr\145\x67\137\x6dat\x63\150_\x61\154\x6c";
		$x92 = "\160r\145\x67\x5f\x6dat\143\150";
		$x93 = "\x72\x74\162i\155";
		$x94 = "is\x5fn\x75\x6c\x6c";
		$x95 = "\x73tr\164\157tim\x65";
		$x96 = "\x74\162\151\155";
		$x97 = "\151s\x5f\156\165\155e\162\x69\143";
		$x98 = "st\162\x6c\145\156";
		$x99 = "\x70re\x67\137\162\145\160\x6c\x61\143\145";
		$x9a = "j\x73\x6f\x6e_\x64e\143o\144e";
		$x9b = "s\x74rs\164r";
		$x9c = "\150\x74\x6d\x6c\x65\x6et\151t\x69e\x73";
		$x9d = "h\164ml\137\x65nt\x69\x74\171_\x64\145co\144\145";
		$x9e = "is\137a\x72r\x61\x79";
		$x9f = "\x65x\160\x6c\x6f\x64\145";
		$xa0 = "is\x5f\x73\164r\x69n\147";
		$xa1 = "ti\x6de";
		$xa2 = "\154\157\x67";
		$xa3 = "\x70\x72in\164\137\x72";
		$xa4 = "\163t\x72po\x73";
		$xa5 = "u\143\x77or\x64\163";
		$xa6 = "i\156\x5f\x61\162r\x61\x79";
		$xa7 = "\151s\137\142\x6f\157\154";
		$xa8 = "\163\x75bstr";
		$xa9 = "strr\160o\163";
		$xaa = "\x73\x74rip\x5f\x74\x61g\163";
		$xab = "\150\x74\x6d\x6cs\x70\145\143\151a\x6c\143\150a\162\163";
		$xac = "\156\x75m\142er\137\146\157\x72\155a\164";
		$xad = "\155\x62_s\x74\x72t\157\154\x6fw\145\162";
		$xae = "\155b\x5f\x73\164r\x74\x6f\x75p\x70e\162";
		$xaf = "su\x62\163\164r\137\143\157u\156\x74";
		$xb0 = "\x70\x72\145\x67\137q\165\157\x74e";
		$xb1 = "arr\x61\x79_\x75n\x69qu\145";
		$this->_sqlSize = Mage::getStoreConfig("\157\162\x64er\x73\145\x78\x70\157r\164\164o\x6f\x6c\x2f\x73\171\x73\x74\x65\x6d\x2f\x73q\154\x73\151ze");
		$this->_init('ordersexporttool/profiles');
	}

	protected function _beforeSave() {
		$x8d = "\160\162\x65g_s\160\x6c\x69\164";
		$x8e = "\x69\155\160\154\157\x64e";
		$x8f = "s\x74r_replac\x65";
		$x90 = "ut\146\70\x5f\x65n\x63o\144e";
		$x91 = "\x70\162\x65\x67\x5fm\141t\x63\150\137\x61\x6c\x6c";
		$x92 = "\x70\x72\x65\x67\x5fm\x61tch";
		$x93 = "\x72t\162\x69m";
		$x94 = "is_\156\x75\x6cl";
		$x95 = "\x73t\162\164\x6f\x74i\155\x65";
		$x96 = "\x74\162\x69\x6d";
		$x97 = "\151\x73\x5f\156\x75m\145\x72\x69c";
		$x98 = "s\x74rlen";
		$x99 = "p\162\x65\147_\162ep\x6c\141\x63\145";
		$x9a = "j\163\157\156_d\x65code";
		$x9b = "s\164r\x73\x74\162";
		$x9c = "h\x74\155\154\x65n\x74\151t\x69e\x73";
		$x9d = "\150\x74\x6d\x6c_en\164it\x79\137\144\x65\x63\157\144\x65";
		$x9e = "i\x73\x5f\141\162\x72\141y";
		$x9f = "e\x78\x70l\157d\x65";
		$xa0 = "\151s_\x73t\x72\x69\156\147";
		$xa1 = "t\x69\155e";
		$xa2 = "\154og";
		$xa3 = "\160\x72\x69nt\137\x72";
		$xa4 = "s\x74\162\x70\x6fs";
		$xa5 = "u\x63\x77or\144\163";
		$xa6 = "\x69n_\141\162\x72\x61\x79";
		$xa7 = "i\x73\x5f\x62\157\x6f\x6c";
		$xa8 = "\x73\165\142\x73tr";
		$xa9 = "\x73t\162\x72\x70os";
		$xaa = "s\164\x72\x69\x70\x5ft\141\x67s";
		$xab = "ht\x6dl\x73\160\x65\143i\141lc\150ar\163";
		$xac = "\x6e\x75\155\x62e\x72\137f\157rm\x61\164";
		$xad = "\x6db\x5f\x73t\x72\x74\x6f\x6cowe\162";
		$xae = "m\x62\x5fst\162t\x6fu\160\x70\145\x72";
		$xaf = "\163\x75\x62\163t\162\137\x63\157\165\x6et";
		$xb0 = "p\162\145g\137q\165o\x74\x65";
		$xb1 = "\141\162r\141\171\137uni\161ue";
		$x16 = new Varien_Io_File();
		$x17 = $x16->getCleanPath(Mage::getBaseDir() . '/' . $this->getFilePath());
		if(!$x16->allowedPath($x17, Mage::getBaseDir())) {
			Mage::throwException(Mage::helper('ordersexporttool')->__('Please define correct path'));
		}
		if(!$x16->fileExists($x17, false)) {
			Mage::throwException(Mage::helper('ordersexporttool')->__('Please create the specified folder "%s" before saving the export file profile.', Mage::helper('core')->htmlEscape($this->getFilePath())));
		}
		if(!$x16->isWriteable($x17)) {
			Mage::throwException(Mage::helper('ordersexporttool')->__('Please make sure that "%s" is writable by web-server.', $this->getFilePath()));
		}
		if(!$x92('#^[a-zA-Z0-9_\.\-/\s]+$#', $this->xb3())) {
			Mage::throwException(Mage::helper('ordersexporttool')->__('Please use only letters (a-z or A-Z), numbers (0-9) or underscore (_) in the filename. No spaces or other characters are allowed.'));
		}
		$this->setFilePath($x93($x8f($x8f('\\', '/', Mage::getBaseDir()), '', $x17), '/') . '/');
		return parent::_beforeSave();
	}

	protected function getPath() {
		$x8d = "\x70\162\x65\147_s\x70l\151t";
		$x8e = "\151m\160lod\145";
		$x8f = "\x73\x74\x72_\x72\145\x70\154\x61c\x65";
		$x90 = "\165t\x66\70\137\145\156\x63\x6f\x64\x65";
		$x91 = "pre\147\137\155\x61\164\x63h\137\141l\x6c";
		$x92 = "\160\x72\x65g\137\x6d\x61\x74c\x68";
		$x93 = "\162\x74\162i\x6d";
		$x94 = "is\x5f\156u\154\x6c";
		$x95 = "\x73\164\162\164\157\x74i\155\145";
		$x96 = "\x74\162i\x6d";
		$x97 = "\x69s\x5f\x6e\165\x6de\162i\143";
		$x98 = "\163t\162\154\x65\156";
		$x99 = "\x70\x72\145\147_r\x65\x70l\141\143e";
		$x9a = "\x6a\x73o\x6e_d\145\143\x6f\144e";
		$x9b = "\x73\x74\162s\164\x72";
		$x9c = "\x68t\x6d\154\145n\164\151t\151\x65\163";
		$x9d = "\x68t\155\x6c_e\x6et\151t\x79_d\x65c\x6f\x64\145";
		$x9e = "\151\x73\137a\162r\141y";
		$x9f = "\145\170\160\154\x6f\144\145";
		$xa0 = "\151s\x5f\163\x74r\x69ng";
		$xa1 = "t\151\x6de";
		$xa2 = "l\x6f\x67";
		$xa3 = "\x70\x72int_\162";
		$xa4 = "s\x74r\x70\157\x73";
		$xa5 = "\165c\167\x6fr\x64\163";
		$xa6 = "i\x6e\x5fa\x72ra\x79";
		$xa7 = "\151\x73\137b\x6f\x6f\154";
		$xa8 = "\x73u\x62st\x72";
		$xa9 = "s\164\x72\162\x70os";
		$xaa = "\x73t\x72i\x70\137t\141\x67\163";
		$xab = "\150\164\155l\x73p\x65c\x69alchar\x73";
		$xac = "n\x75\x6d\142e\162\137\x66\x6fr\155a\x74";
		$xad = "\155\142\137\x73t\162\164o\154\157w\145\162";
		$xae = "m\x62\x5f\163\x74\x72\164\157u\160p\145\162";
		$xaf = "\x73\x75bs\164\162\137\x63o\165\156\x74";
		$xb0 = "\x70\x72e\x67\137\x71u\157\164\x65";
		$xb1 = "\141rr\x61\171\x5fu\x6e\151q\x75\145";
		if($x94($this->_filePath)) {
			$this->_filePath = $x8f('//', '/', Mage::getBaseDir() . $this->getFilePath());
		}
		return $this->_filePath;
	}

	protected function xb3($x18 = '.temp', $x19 = null) {
		$x8d = "pr\x65\x67_sp\x6ci\x74";
		$x8e = "\x69\155\x70lo\x64\x65";
		$x8f = "\x73\164r_\x72e\160\x6ca\143e";
		$x90 = "\165t\146\70\137\145\156c\x6f\144\145";
		$x91 = "\160\162\145g\x5fm\141tch_\x61\154\154";
		$x92 = "\160\162eg\x5f\155at\x63\x68";
		$x93 = "\x72trim";
		$x94 = "\x69\163\137\156u\x6c\154";
		$x95 = "st\x72\164\157ti\x6d\145";
		$x96 = "\x74\162\151m";
		$x97 = "is\137n\x75m\x65r\151\x63";
		$x98 = "s\164\162\x6c\x65\156";
		$x99 = "\160\162\x65\x67_rep\154a\x63e";
		$x9a = "\152s\157\x6e_\x64\x65\x63o\x64\x65";
		$x9b = "\163\x74r\x73\164\x72";
		$x9c = "\x68\x74ml\x65\x6e\164it\x69\145\163";
		$x9d = "\150\x74m\154_\x65\x6e\x74\x69\x74\x79\x5f\x64\145\x63\x6f\144e";
		$x9e = "\151s_\x61\162\x72\x61\x79";
		$x9f = "e\x78\160\154\157de";
		$xa0 = "\x69\163_\163\164r\151n\x67";
		$xa1 = "t\x69\155\x65";
		$xa2 = "\154\x6fg";
		$xa3 = "\x70\x72\151\x6e\164_\162";
		$xa4 = "st\162\x70\x6f\x73";
		$xa5 = "u\x63\167\x6frds";
		$xa6 = "i\156_\x61\x72r\141\x79";
		$xa7 = "\151s_\142o\157l";
		$xa8 = "\163\x75\142\x73t\x72";
		$xa9 = "\x73\x74\x72\x72\x70\157\163";
		$xaa = "\x73\x74\162\x69\160\x5f\x74a\x67s";
		$xab = "htm\154\x73\160\x65c\x69\141\x6c\x63\150\x61\162\163";
		$xac = "\156umb\x65\x72\x5ff\157rm\141\164";
		$xad = "\x6d\142\x5fs\164rto\x6co\x77\145\x72";
		$xae = "\x6db\137s\164r\164\x6fup\160e\162";
		$xaf = "s\165\142\163t\162_\x63\157\x75n\164";
		$xb0 = "\x70r\x65\x67\137\161\165\157t\145";
		$xb1 = "arr\x61\171\137\165\156\x69\x71u\145";
		$x1a = array(1 => 'xml', 2 => 'txt', 3 => 'csv', 4 => 'tsv', 5 => 'din');
		if($this->_date == false) {
			$this->_updated = Mage::getSingleton('core/date')->gmtDate("\x59\55\x6d-\x64\x20\110\72\151:\x73", $this->_timestamp);
			$this->_date = Mage::getSingleton('core/date')->date($this->getFileDateFormat(), $x95($this->_updated));
		}
		$x1b = $x8f('{f}', $this->getFileName(), $this->_date);
		return $x1b . $x19 . "." . $x1a[$this->getFileType()] . $x18;
	}

	public function xb4() {
		$x8d = "\160r\x65\147_\163pli\x74";
		$x8e = "i\x6d\160\154o\x64e";
		$x8f = "s\164\162\137\162\145\x70l\x61\143e";
		$x90 = "\165\164\146\70_\145\156\143\x6fd\145";
		$x91 = "\x70re\x67\x5f\155\141t\143\x68_\x61l\154";
		$x92 = "\160\162\145\147\137\x6d\141t\143h";
		$x93 = "rt\162\151\x6d";
		$x94 = "\151\x73\137\156ul\154";
		$x95 = "\163\x74\162\x74\157\x74\x69\x6d\145";
		$x96 = "t\162\x69\155";
		$x97 = "\x69\163_\x6eumer\x69\143";
		$x98 = "\x73\164\162l\x65\156";
		$x99 = "\160\162e\147\x5fr\x65\160\x6c\x61\x63e";
		$x9a = "j\x73\x6f\x6e\137\x64\x65\143od\145";
		$x9b = "\x73\x74\162s\164\x72";
		$x9c = "h\x74\155\154e\x6e\164i\x74ie\163";
		$x9d = "h\164\x6d\x6c_\145\156t\151\x74y\x5f\144e\143\x6fd\x65";
		$x9e = "\x69\163\x5far\x72\x61\x79";
		$x9f = "e\x78\x70\154od\x65";
		$xa0 = "\x69\x73\x5f\163t\x72ing";
		$xa1 = "\x74\151me";
		$xa2 = "\154\157g";
		$xa3 = "p\x72\x69nt\x5fr";
		$xa4 = "\x73t\x72\160\157s";
		$xa5 = "\165cw\157r\144\x73";
		$xa6 = "i\x6e\x5fa\162\162\141\x79";
		$xa7 = "\x69\x73\x5fb\x6f\x6f\154";
		$xa8 = "\x73\x75\142\163\x74r";
		$xa9 = "st\162\x72\160\157s";
		$xaa = "\x73\x74r\x69\x70_ta\147\x73";
		$xab = "h\164\155l\163\160ec\151\x61\154c\150\x61\162\163";
		$xac = "num\142\145\x72\137\146\157r\155\x61\164";
		$xad = "m\142\x5f\x73t\x72\164\x6f\x6c\157w\145\x72";
		$xae = "\155b\137\x73\164\x72\x74\157\165\160p\x65r";
		$xaf = "\x73u\142\163\x74\x72_\143\157u\156\x74";
		$xb0 = "\x70reg\x5fq\165\x6f\x74e";
		$xb1 = "\141\162\x72a\x79\137\165\x6e\151que";
		return $this->getPath() . $this->xb3();
	}

	public function xb5($x1c, $x1d = true) {
		$x8d = "\x70\x72\x65\x67\137\163\x70\x6ci\x74";
		$x8e = "i\155\x70\x6c\157d\x65";
		$x8f = "\163t\162\x5fr\145\x70\154\x61\x63\x65";
		$x90 = "\x75\x74\x66\70\x5f\x65\x6e\143ode";
		$x91 = "\x70\162e\x67_\x6d\x61\x74\x63\x68_\x61ll";
		$x92 = "\x70\162\x65\147\137\155\141\164\143h";
		$x93 = "rtr\151m";
		$x94 = "i\x73_\x6e\x75\x6c\x6c";
		$x95 = "\163\x74\162t\157\164i\155\145";
		$x96 = "tr\151\x6d";
		$x97 = "\151s_\x6e\165me\x72\151\143";
		$x98 = "s\164\162l\145n";
		$x99 = "\x70r\x65\147\137r\x65p\154\141\x63\145";
		$x9a = "\152son_de\x63\157d\x65";
		$x9b = "\x73\x74\x72\163t\x72";
		$x9c = "\x68\164\x6d\x6cen\164\151t\151\x65\x73";
		$x9d = "htm\154\137\145\x6e\x74\x69\x74y\x5f\144e\x63o\144\x65";
		$x9e = "\x69\163_\141\162\162\x61\x79";
		$x9f = "\x65x\160\154\x6f\x64\x65";
		$xa0 = "i\163_\x73tr\151\x6eg";
		$xa1 = "tim\x65";
		$xa2 = "\154\x6f\x67";
		$xa3 = "\160rin\x74\x5f\x72";
		$xa4 = "\163\164rpo\x73";
		$xa5 = "ucw\157\162\x64\163";
		$xa6 = "\151n\137\x61\162\x72a\171";
		$xa7 = "i\x73\137\142o\157\154";
		$xa8 = "\x73u\142\163\x74\x72";
		$xa9 = "\163t\162\x72p\x6fs";
		$xaa = "\x73\164\x72i\x70_\x74a\x67\x73";
		$xab = "\x68\x74\x6dl\163p\145ci\x61\154\143\x68\141r\x73";
		$xac = "n\x75m\x62e\x72\137\x66\x6fr\x6d\x61\164";
		$xad = "\x6d\x62_\x73\x74\162t\x6flo\x77\x65\x72";
		$xae = "\155\142_\x73\164r\x74\157\x75\x70p\145\162";
		$xaf = "s\165\142str\x5f\143\x6f\x75\x6et";
		$xb0 = "\160\x72\145\147\x5fq\x75\157\164\x65";
		$xb1 = "\x61\162\162a\171_\165n\x69\x71\165e";
		$x11 = '/(<[^>^\/]+>)([^<]*)(<\/[^>]+>)/s';
		$x91($x11, $x1c, $x12);
		foreach ($x12[1] as $x13 => $value) {
			$x1e = $x96($x12[2][$x13]);
			if(empty($x1e) && !$x97($x1e)) $x1c = ($x1c); else {
				if($x1d) $x1c = $x8f($x12[0][$x13], ($x12[1][$x13]) . '<![CDATA[' . $x1e . ']]>' . ($x12[3][$x13]), $x1c); else {
					$x1c = $x8f($x12[0][$x13], ($x12[1][$x13]) . $x1e . ($x12[3][$x13]), $x1c);
				}
			}
		}
		$x1f = $x8d("\x2f\x0a\x2f\x73", $x1c);
		$x20 = '';
		foreach ($x1f as $x21) {
			($x98($x96($x21)) > 0) ? $x20 .= $x21 . "\x0a" : false;
		}
		$x1c = $x20;
		return $x1c;
	}

	public function xb6($x11, $xe = false) {
		$x8d = "p\x72\145\x67_\163\x70l\151t";
		$x8e = "\x69\x6d\x70\x6co\144e";
		$x8f = "\163\164\x72_\x72e\x70\x6c\x61\x63\145";
		$x90 = "\165\164\x66\70\137en\143\157\x64e";
		$x91 = "\160\162\145\147\137ma\164\x63\150_a\154\154";
		$x92 = "\x70\162\145\x67\137ma\x74\x63h";
		$x93 = "\162t\162i\x6d";
		$x94 = "i\163_\156u\x6c\x6c";
		$x95 = "st\162t\157\x74\151\x6de";
		$x96 = "\164\162\151m";
		$x97 = "\x69\x73\137\x6e\165\155\145\x72\x69\x63";
		$x98 = "\163t\162\x6c\145\156";
		$x99 = "\160\162\x65\x67\x5f\x72\145\160\154\141\x63\x65";
		$x9a = "\x6as\x6f\x6e_\144\x65\143od\145";
		$x9b = "\x73t\x72s\164\162";
		$x9c = "\150\x74ml\145\x6e\x74\151\164\151\x65\x73";
		$x9d = "h\x74\x6d\154\137\x65\156t\151ty\x5f\144e\x63\157d\145";
		$x9e = "\x69\x73_a\x72\x72a\x79";
		$x9f = "e\170plo\144\x65";
		$xa0 = "i\x73\137\x73t\162in\147";
		$xa1 = "\x74\x69\x6d\x65";
		$xa2 = "l\x6fg";
		$xa3 = "p\x72\151n\164_r";
		$xa4 = "s\164\x72\160\157\x73";
		$xa5 = "\x75\143\x77\157r\144\x73";
		$xa6 = "\151\x6e_a\x72\x72a\171";
		$xa7 = "i\x73\x5fb\157ol";
		$xa8 = "su\142\163\x74r";
		$xa9 = "\x73tr\x72\x70o\163";
		$xaa = "\x73\164r\151\160\137\x74ag\x73";
		$xab = "\150t\x6dl\163\160\145\143\x69\141lchar\163";
		$xac = "\156\x75\155\142e\162\x5f\146o\162\x6d\x61\164";
		$xad = "m\x62_\163\x74\162\x74o\x6c\157\x77\145\162";
		$xae = "m\142\x5fstr\x74\x6f\165pp\145\x72";
		$xaf = "s\x75\142st\x72\x5f\143o\x75\x6e\x74";
		$xb0 = "p\162e\x67\x5f\x71u\157\164e";
		$xb1 = "\141\162r\141y\137\165\156i\x71\165\x65";
		$x11 = $x99('/(\r\n|\n|\r|\r\n)/s', '', $x11);
		$x22 = 'padding:2px;  border:1px solid grey;  text-align:center; padding:5px;  min-width:10px; min-height:10px; ';
		$x11 = "\133" . $x11 . "\x5d";
		$x23 = $x9a($x11);
		$x24 = null;
		foreach ($x23 as $x21) {
			$x25 = null;
			$x26 = null;
			$x27 = 0;
			if(isset($x21->header)) $x28 = $x21->header; else {
				$x28 = $x21->order;
			}
			if($xe) {
				$x24 .= "\74\x74\x72\40\163\164\171\154\x65\x3d'b\x61ck\147roun\x64\x2d\x63o\154\x6f\x72\72\x67r\145\171;  c\157\x6c\157r\72w\150\151t\x65\x3b\40\x66o\156t-\167eig\x68\x74\x3a\x62old'>";
			} else {
				$x24 .= "<\x74\x72\76";
			}
			if($this->_incrementialColumn) {
				if($xe) $x24 .= "\x3c\164\x64 \x73\x74\x79\x6ce\x3d\x27" . $x22 . "\x27>" . $this->_incrementialColumnName . "<\57td\76"; else $x24 .= "\x3c\164\x64 \x73\x74\x79\x6ce\x3d\x27" . $x22 . "\x27>" . $this->_inc++ . "<\57td\76";
			}
			foreach ($x28 as $x13 => $value) {
				if($x27) $x27++;
				($value != null) ? $x29 = $value : $x29 = "\74\163\x70\141\156\x20\163\164\x79\x6c\145\x3d\47\x66\x6f\x6e\164-s\151\172\x65\72\61\x30\160x\x3b\143\x6f\154\157r\x3ag\x72e\x79'\x3e\50e\155\160\x74y\51\x3c\57\163p\x61\x6e>";
				if($x9b($value, "\57\x62\162\145\x61kli\156\145/")) {
					$x24 .= "\74/\164\162\76<\x74\x72\x3e";
					$x29 = $x8f("\57\x62\162\145\x61kli\156\145/", "", $x29);
					$x27 = 1;
				}
				if($x9b($value, "\x2f\x68ea\144\154\151\x6e\x65\x2f")) {
					if(!isset($x21->header)) $x26 .= "\x3c\164\x64 \x73\x74\x79\x6ce\x3d\x27" . $x22 . "\x27>" . $x8f("\x2f\x68ea\144\154\151\x6e\x65\x2f", null, $x29) . "<\57td\76"; else $x26 .= null;
				} elseif($x9b($value, "\x2f\142a\x73elin\145\x2f")) {
					if(!isset($x21->header)) $x25 .= "\x3c\164\x64 \x73\x74\x79\x6ce\x3d\x27" . $x22 . "\x27>" . $x8f("\x2f\142a\x73elin\145\x2f", null, $x29) . "<\57td\76"; else $x25 .= null;
				} else $x24 .= "\x3c\164\x64 \x73\x74\x79\x6ce\x3d\x27" . $x22 . "\x27>" . $x29 . "<\57td\76";
			}
			$x24 .= "\x3c\x2f\x74\162\76";
		}
		if($x26 != null) $x24 = "<\x74\x72\76" . $x26 . "\x3c\x2f\x74\162\76" . $x24; elseif($x25 != null) $x24 .= "<\x74\x72\76" . $x25 . "\x3c\x2f\x74\162\76";
		return $x24;
	}

	public function xb7($x11, $x2a, $x2b, $x2c = true) {
		$x8d = "\x70\x72\145\x67_\163\160\x6c\151\164";
		$x8e = "i\x6d\160\x6c\157\144\145";
		$x8f = "\x73\x74r\137\x72\145\160l\x61c\145";
		$x90 = "\165\164f\70_e\156\x63\157d\145";
		$x91 = "p\162\x65g_ma\164\x63\x68\137\141\x6c\x6c";
		$x92 = "\160r\145\x67\x5f\155a\164ch";
		$x93 = "\x72\164\x72\x69\x6d";
		$x94 = "\x69s\x5fn\x75l\154";
		$x95 = "s\164rto\164\151\x6d\145";
		$x96 = "t\x72i\x6d";
		$x97 = "\x69\163_n\x75\155\x65ri\143";
		$x98 = "\x73\x74\162\154e\156";
		$x99 = "\160\162\x65g\x5f\x72e\160\154\x61c\x65";
		$x9a = "\x6as\x6f\156\x5f\x64\145\143o\144\145";
		$x9b = "s\x74rs\164\x72";
		$x9c = "ht\155\x6ce\156\164i\164i\145\163";
		$x9d = "h\164ml_\145\x6e\x74ity\x5f\x64\145\x63\x6f\144e";
		$x9e = "\151\163\137\x61\162\162a\x79";
		$x9f = "\145\x78\x70lod\145";
		$xa0 = "\151s\x5fst\x72\151\156\x67";
		$xa1 = "tim\x65";
		$xa2 = "\x6c\x6fg";
		$xa3 = "\160\162\151\156\x74_\x72";
		$xa4 = "\x73\164\x72\x70\x6f\x73";
		$xa5 = "\x75\143w\x6fr\144s";
		$xa6 = "\x69\x6e\137\x61\x72\162a\x79";
		$xa7 = "\151\x73\x5fbo\157\154";
		$xa8 = "s\165\142\x73tr";
		$xa9 = "\163trr\160\157s";
		$xaa = "\x73\x74r\x69\160\137\164\141g\x73";
		$xab = "h\164\x6d\x6c\163p\145cia\x6c\x63har\163";
		$xac = "n\165\x6d\x62\145\162\x5f\x66o\162m\x61\x74";
		$xad = "m\x62\x5f\x73\164\x72\164\157\154\157\x77\145\162";
		$xae = "\155\142\137\x73\x74\x72t\x6f\165\160\160\145r";
		$xaf = "\x73\x75\142\163\164\x72\137\143\157\x75\156t";
		$xb0 = "\160\x72\145g_q\x75\x6f\164\145";
		$xb1 = "\x61\162\162\141y_u\156\151\x71u\x65";
		$x11 = $x99('/(\r\n|\n|\r|\r\n)/s', '', $x11);
		$x11 = "\133" . $x11 . "\x5d";
		$x23 = $x9a($x11);
		$x21 = null;
		$x2d = 0;
		foreach ($x23 as $x28) {
			$x2e = false;
			$x25 = null;
			$x26 = null;
			$x27 = 0;
			if($x2c || $x2d > 0) $x21 .= "\x0d\x0a";
			if($x2a == '\t') $x2a = "\t";
			if(isset($x28->header)) {
				$x28 = $x28->header;
				$x2f = true;
				if($this->_incrementialColumn) $x21 .= $x2b . $this->xb8($this->_incrementialColumnName, $x2b) . $x2b . $x2a;
			} else {
				if(!$x9a($x11)) return "";
				$x28 = $x28->order;
				$x2f = false;
				if($this->_incrementialColumn) $x21 .= $this->_inc++ . $x2a;
			}
			$x30 = 0;
			foreach ($x28 as $x13 => $value) {
				if($x27 > 0) $x27 = 2;
				if($x9b($value, "\57\x62\162\145\x61kli\156\145/")) $x27 = 1;
				if($x30 > 0 && $x27 < 2) {
					if($x9b($value, "\x2f\x68ea\144\154\151\x6e\x65\x2f")) {
						if(!$x2f && $x26 != null) $x26 .= $x2a; else $x26 .= null;
					} elseif($x9b($value, "\x2f\142a\x73elin\145\x2f")) {
						if(!$x2f && $x25 != null) $x25 .= $x2a; else $x25 .= null;
					} else if(($x2e)) $x21 .= $x2a;
				}
				if($x27 > 1) $x27 = 0;
				if($x2b != "") {
					if($x9b($value, "\x2f\x68ea\144\154\151\x6e\x65\x2f")) if(!$x2f) {
						$x26 .= $x2b . $this->xb8($x8f("\x2f\x68ea\144\154\151\x6e\x65\x2f", "", $value), $x2b) . $x2b;
					} else $x26 .= null; elseif($x9b($value, "\x2f\142a\x73elin\145\x2f")) if(!$x2f) $x25 .= $x2b . $this->xb8($x8f("\x2f\142a\x73elin\145\x2f", "", $value), $x2b) . $x2b; else $x25 .= null;
					else {
						$x2e = true;
						$x21 .= $x2b . $this->xb8($x8f("\57\x62\162\145\x61kli\156\145/", "", $value), $x2b) . $x2b;
					}
					if($x9b($value, "\57\x62\162\145\x61kli\156\145/")) {
						$x21 .= "\x0d\x0a";
					}
				} else {
					$value = $x8f("\57\x62\162\145\x61kli\156\145/", "\x0d\x0a", $value);
					if($x9b($value, "\x2f\x68ea\144\154\151\x6e\x65\x2f")) {
						if(!$x2f) {
							$x26 .= $this->xb8($x8f("\x2f\x68ea\144\154\151\x6e\x65\x2f", "", $value), $x2a);
						} else $x26 .= null;
					} elseif($x9b($value, "\x2f\142a\x73elin\145\x2f")) {
						if(!$x2f) $x25 .= $this->xb8($x8f("\x2f\142a\x73elin\145\x2f", "", $value), $x2a); else $x25 .= null;
					} else {
						$x21 .= $this->xb8($value, $x2a);
						$x2e = true;
					}
				}
				$x30++;
			}
			if($x2a == "\x5b\174\135") $x21 .= "\x5b\72]";
			$x2d++;
		}
		if($x26 != null) {
			$x21 = $x26 . "\x0d\x0a" . $x21 . "\x0d\x0a";
			$x21 = $x8f("\x0d\x0a\x0d\x0a", "\x0d\x0a", $x21);
		} elseif($x25 != null) $x21 .= "\x0d\x0a" . $x25;
		return $x21;
	}

	public function xb8($x11, $x31 = '"') {
		$x8d = "\160\x72\x65\x67_\163\160\x6c\151t";
		$x8e = "\151mp\x6co\x64\145";
		$x8f = "\x73tr_\x72\x65p\x6c\x61\143\145";
		$x90 = "\x75\164\146\70_\145n\x63\x6f\144\145";
		$x91 = "\160r\145g_\x6d\x61t\x63h\x5fa\154l";
		$x92 = "\x70\162e\x67\137\155atc\150";
		$x93 = "r\x74\x72i\155";
		$x94 = "\151\163\x5f\156ul\154";
		$x95 = "\x73\x74\x72\164o\x74\151\x6d\x65";
		$x96 = "\164rim";
		$x97 = "\x69\x73\137\x6e\x75me\x72\x69c";
		$x98 = "s\164\x72l\x65\x6e";
		$x99 = "p\162\145g_rep\x6c\x61\x63e";
		$x9a = "j\x73\157\x6e\137d\x65\143o\x64\145";
		$x9b = "st\162\x73\x74\x72";
		$x9c = "\150\x74\x6d\x6c\145nt\151ti\145s";
		$x9d = "h\x74\155l\137\145\x6e\164\151\164\x79\137\x64e\143o\x64\145";
		$x9e = "is_ar\162a\171";
		$x9f = "e\170\x70\x6c\157\x64\145";
		$xa0 = "i\x73\x5f\x73\164ri\x6eg";
		$xa1 = "\164\x69me";
		$xa2 = "\x6c\x6f\147";
		$xa3 = "pr\x69n\164\137r";
		$xa4 = "\x73\x74\162\160\157s";
		$xa5 = "\165\x63w\157\162\x64s";
		$xa6 = "\x69n_\x61\x72\x72a\x79";
		$xa7 = "\x69\x73\137\x62oo\x6c";
		$xa8 = "\x73\x75\x62\x73\164r";
		$xa9 = "\163\x74r\x72\x70\157s";
		$xaa = "\163\164ri\160\137tags";
		$xab = "h\x74m\154\163p\x65c\x69\x61\x6c\143ha\x72s";
		$xac = "\156\x75mbe\162\137f\x6fr\x6d\x61\164";
		$xad = "\x6d\x62\137\163tr\x74o\x6cow\x65r";
		$xae = "\x6d\x62_\x73t\x72\164o\x75\160\x70e\x72";
		$xaf = "\163\165\142s\x74r_\143\x6f\165\156\x74";
		$xb0 = "\x70\162\x65\x67_\x71\x75ot\145";
		$xb1 = "arr\141\x79\x5fun\151\x71\165e";
		$x11 = $x8f($x31, '\\' . $x31, $x11);
		return $x11;
	}

	public function unxb8($x11, $x31 = '"') {
		$x8d = "\x70r\145g\x5fs\160lit";
		$x8e = "\151\x6dp\x6c\x6f\x64\x65";
		$x8f = "s\164r_\162\x65\x70lac\x65";
		$x90 = "\x75\164f\70\x5f\x65\156c\157\x64\145";
		$x91 = "\x70\x72\x65g\x5fma\x74c\x68_\x61ll";
		$x92 = "\160\x72e\147\x5fm\141\164\x63\150";
		$x93 = "\162\164r\151m";
		$x94 = "\x69s\x5f\x6eul\x6c";
		$x95 = "st\162\164o\164i\155\x65";
		$x96 = "\164rim";
		$x97 = "i\163\137\x6eume\x72\151\143";
		$x98 = "s\164\162le\156";
		$x99 = "p\x72\x65\147\137r\x65plac\x65";
		$x9a = "\152s\x6f\156\137\144\145\x63\x6f\144\x65";
		$x9b = "st\x72\163\x74\x72";
		$x9c = "\x68\164m\x6c\145\x6et\151\164\151\x65\163";
		$x9d = "\150\164m\154\137\145n\x74it\x79\x5f\x64\x65\x63\x6f\144\x65";
		$x9e = "\x69s_a\x72\162\x61y";
		$x9f = "ex\x70l\x6fd\x65";
		$xa0 = "i\x73_\x73tr\x69n\x67";
		$xa1 = "\164i\x6d\145";
		$xa2 = "log";
		$xa3 = "\x70r\151nt\x5f\x72";
		$xa4 = "\163trpos";
		$xa5 = "u\x63w\x6f\x72\x64s";
		$xa6 = "i\x6e_\x61r\162\141\171";
		$xa7 = "\151\163\137\142\x6f\x6f\154";
		$xa8 = "\x73\x75b\163\x74\162";
		$xa9 = "\163t\x72\162\x70o\163";
		$xaa = "\x73\x74\162\x69\160\x5f\164\x61gs";
		$xab = "\150\164\x6dl\x73\160\x65c\151\x61\154\x63\x68ar\x73";
		$xac = "\x6e\x75\155\x62\145r\x5f\x66\x6f\162\x6d\141\164";
		$xad = "\x6d\142\x5f\163t\x72t\x6f\x6c\157w\145r";
		$xae = "m\142\137st\162t\x6fu\160\x70e\162";
		$xaf = "\x73\x75b\163tr\x5f\x63\157u\x6e\x74";
		$xb0 = "\x70\162eg_\161u\157\x74\145";
		$xb1 = "\141r\162a\171_u\x6e\151q\165\x65";
		$x11 = $x8f('\\' . $x31, $x31, $x11);
		return $x11;
	}

	public function xba($x32) {
		$x8d = "\160\x72\x65\147\x5fs\x70\154i\x74";
		$x8e = "\x69mp\x6c\x6fde";
		$x8f = "\x73\x74\x72\x5f\162e\160\154\141c\x65";
		$x90 = "\x75\x74\146\70_\145n\x63o\144\x65";
		$x91 = "\160\162\x65g\x5f\x6da\x74c\150\137\x61ll";
		$x92 = "p\162\x65\147_\x6d\141\x74\143\x68";
		$x93 = "r\x74r\x69\x6d";
		$x94 = "\x69\x73\137n\165\x6cl";
		$x95 = "s\x74\x72toti\155\145";
		$x96 = "tri\x6d";
		$x97 = "is_\x6e\165\x6d\x65\162i\x63";
		$x98 = "\163\x74\162\x6cen";
		$x99 = "\160\162e\147_\162\145\160\x6cac\x65";
		$x9a = "j\163\x6fn\137\x64\x65c\x6f\x64\x65";
		$x9b = "s\164r\x73tr";
		$x9c = "ht\155\154\145n\x74i\x74i\x65\x73";
		$x9d = "\150\x74\x6d\x6c\137e\156\164i\x74\171\x5f\144\145c\157\144e";
		$x9e = "\151\163\137a\x72\x72a\x79";
		$x9f = "\x65\x78p\154\x6f\144\145";
		$xa0 = "\x69\163\x5f\x73\x74\162i\156\x67";
		$xa1 = "\x74\x69me";
		$xa2 = "\154\157\147";
		$xa3 = "pr\x69\156\x74\137\x72";
		$xa4 = "\163\164\x72\160o\163";
		$xa5 = "u\143\167\157\162d\163";
		$xa6 = "\x69\156_\x61rr\x61\171";
		$xa7 = "\151\163\x5f\x62\157\157l";
		$xa8 = "\163u\x62s\x74\162";
		$xa9 = "\x73\x74r\x72\160\157\163";
		$xaa = "s\x74\x72ip\x5f\x74\141\x67\x73";
		$xab = "\x68\164m\154s\x70eci\141\x6cch\141\x72s";
		$xac = "\156\x75\x6d\x62e\x72\137\x66\x6f\162\x6d\x61\x74";
		$xad = "\x6d\x62\x5fst\162t\x6f\154\157we\162";
		$xae = "mb\x5fs\164rtoup\x70\145r";
		$xaf = "\x73ub\x73t\x72\137\x63\x6f\165\156t";
		$xb0 = "p\x72\145g_\x71\165o\x74\x65";
		$xb1 = "\141\x72r\141y\137\165\156\x69\161\x75\x65";
		$x32 = $x9c($x32, ENT_NOQUOTES, 'UTF-8');
		$x32 = $x9d($x32, ENT_NOQUOTES, $this->_file_encoding);
		return $x32;
	}

	public function skipOptions($x33) {
		$x8d = "p\x72\x65\147\x5f\163p\154\x69\164";
		$x8e = "\151m\x70\154o\144\145";
		$x8f = "\x73tr\x5f\162\x65\x70\x6ca\143\145";
		$x90 = "\165tf\70\x5fe\x6e\143o\144\145";
		$x91 = "\160\162\x65\x67\x5f\155a\x74\x63\x68\x5fa\x6c\154";
		$x92 = "\160\x72\145\147_\x6d\x61\164ch";
		$x93 = "\162\164r\x69\155";
		$x94 = "\x69s_nul\x6c";
		$x95 = "\x73t\x72\x74o\164ime";
		$x96 = "\x74\x72\151m";
		$x97 = "\x69\163\x5f\156\x75m\x65ri\x63";
		$x98 = "\x73\x74\x72l\x65n";
		$x99 = "p\x72\x65\147\137\162\145\x70\x6c\141\x63\145";
		$x9a = "\152\163\157\156_\144\x65\x63\157\x64\x65";
		$x9b = "\x73\164\x72\x73\164\x72";
		$x9c = "\x68\164\x6d\154\145n\x74i\x74\x69\x65\163";
		$x9d = "\150t\x6dl\x5fenti\x74\x79\x5f\x64\145\143\157de";
		$x9e = "\151\x73\137a\162r\141y";
		$x9f = "ex\x70l\x6f\144e";
		$xa0 = "\151\163\x5f\x73\x74r\x69\x6e\x67";
		$xa1 = "\x74\151\155\145";
		$xa2 = "l\x6f\147";
		$xa3 = "\x70\x72int\137\x72";
		$xa4 = "s\164\x72p\157\x73";
		$xa5 = "\165\x63wo\162ds";
		$xa6 = "\151n\x5f\141r\162\x61\171";
		$xa7 = "\x69\163_\142\157\157\x6c";
		$xa8 = "\163\x75\142\x73\164\162";
		$xa9 = "str\x72\x70\157s";
		$xaa = "\163\164ri\160_\164\141\147\163";
		$xab = "h\164m\154s\160\x65\x63i\141l\x63\x68\141\x72\x73";
		$xac = "\x6e\165\x6db\145r\137\x66or\x6d\x61\x74";
		$xad = "\155b_\x73t\162\x74\x6fl\x6f\x77\x65\x72";
		$xae = "\155\142\137\163\164\162t\157\165\x70\160e\162";
		$xaf = "\x73\165\142\163t\x72\137\143\157\x75\x6e\164";
		$xb0 = "\160\x72eg\x5fq\x75\157\164e";
		$xb1 = "\x61r\162a\171_\x75\x6e\x69\161ue";
		$this->option = $this->option + $x33;
	}

	public function generateFile() {
		$x8d = "\x70\162\x65\147\x5f\163p\154\x69\x74";
		$x8e = "\151\x6d\x70l\x6f\144\145";
		$x8f = "\163\x74\162\137r\x65p\154\x61\x63\145";
		$x90 = "ut\146\70_\145\156\143\157d\x65";
		$x91 = "p\x72\x65\x67\x5f\x6da\x74c\150\137al\x6c";
		$x92 = "\160reg\x5fm\141\x74ch";
		$x93 = "r\x74\162\x69m";
		$x94 = "\x69\163\137\156\165l\154";
		$x95 = "str\164\x6f\x74\151m\x65";
		$x96 = "tr\x69m";
		$x97 = "\x69\x73\x5f\x6eu\x6d\x65\x72\151\143";
		$x98 = "str\154\145\156";
		$x99 = "\x70r\145g\137\x72\x65p\154\x61\x63\145";
		$x9a = "\x6a\163\x6f\x6e\137\144\145\143od\145";
		$x9b = "\163\164\162\163\164r";
		$x9c = "h\x74\x6dl\145\x6e\x74i\x74\x69\145\x73";
		$x9d = "\150t\x6dl_\145\156\164\x69t\x79_\144\145\143ode";
		$x9e = "is\x5fa\162ray";
		$x9f = "\145\x78\x70l\x6f\144\145";
		$xa0 = "\151\163\137\x73t\x72\x69\156\x67";
		$xa1 = "\x74\x69m\145";
		$xa2 = "\x6co\147";
		$xa3 = "p\162\151n\x74\x5fr";
		$xa4 = "strp\157\x73";
		$xa5 = "\x75\x63\167\157r\144\163";
		$xa6 = "in_ar\x72a\x79";
		$xa7 = "\x69\163_b\x6f\157l";
		$xa8 = "\x73\165\142\x73\x74\162";
		$xa9 = "st\162\x72\x70\x6fs";
		$xaa = "st\x72\151\160\x5f\164\x61\x67\x73";
		$xab = "\150\x74m\x6c\x73\x70\145c\x69\x61\154\x63\150a\x72\163";
		$xac = "\156\x75\155\142\x65\x72\x5f\x66or\x6d\x61t";
		$xad = "\x6d\142\x5f\x73\x74\162\164\157\x6c\x6f\167\145r";
		$xae = "mb_\x73\x74\162\164ou\160p\x65\162";
		$xaf = "\163\x75\142str\x5f\x63\x6f\165n\164";
		$xb0 = "pre\147\x5f\161\165\x6f\164\145";
		$xb1 = "\141rr\x61y\x5f\x75\x6eiq\x75\145";
		$x34 = new Wyomind_Ordersexporttool_Model_MyCustomOptions;
		$x35 = new Wyomind_Ordersexporttool_Model_MyCustomAttributes;
		$x36 = new Wyomind_Ordersexporttool_Model_MyCustomScripts;
		$this->_debug = (isset($_GET['debug']) || $this->_debug) ? true : false;
		if($this->_debug) {
			echo "--\x2d\x2d\55\55\55\55\x2d\55\x2d-\55\x2d\55\55\x2d-\x2d-\x2d--\x2d\x2d--\55\x2d\x2d\x2d-\x2d\55\x2d\55--\x2d\x2d\x2d\x2d--\55\x2d\74b\x72\76\55\55\55\55\55-\x2d\x2d\55\55\55\55\x20DE\102\x55G\x20\x4dO\x44\105\40\x2d--\55\55-\x2d\x2d\x2d\55\55-\x2d-\x2d\55\x3c\142\x72\76\55\x2d-\55\x2d---\x2d\55\55\55\x2d\55--\55--\55\55\x2d\55-\x2d\55\55\x2d\x2d\55\55\55-\55\x2d-\x2d\x2d-\55\55\55--\x2d-\74\142\162\76<br\76";
		}
		$x37 = array("\x61c" => "a\x63\x74\x69v\141\164\151\x6fn\137\143o\144e", "\x61\x6b" => "a\x63\x74\151\166\141\x74\x69\157n_key", "bu" => "ba\163\x65\137\x75\162\x6c", "\x6d\144" => "\x6d\144\65", "\164\150" => "\164\x68\151s", "d\x6d" => "\x5fd\x65mo", "\x65x\164" => "o\145\x74", "\166\145\162" => "\63.\63\x2e\62");
		$x38 = Mage::getSingleton('core/date')->gmtDate('Y-m-d');
		$x9e(Mage::app()->getRequest()->getParam("f\x69\x6c\145_\x73\x74\x6f\162e\137\x69\144")) ? $x39 = Mage::app()->getRequest()->getParam("f\x69\x6c\145_\x73\x74\x6f\162e\137\x69\144") : $x39 = $x9f(',', $this->getFileStoreId());
		$xa0(Mage::app()->getRequest()->getParam("\146il\x65_b\157d\x79")) ? $x3a = Mage::app()->getRequest()->getParam("\146il\x65_b\157d\x79") : $x3a = $this->getFile_body();
		$xa0(Mage::app()->getRequest()->getParam("\146i\154\145\x5f\x68\x65\141\144\x65\162")) ? $x3b = Mage::app()->getRequest()->getParam("\146i\154\145\x5f\x68\x65\141\144\x65\162") : $x3b = $this->getFile_header();
		$xa0(Mage::app()->getRequest()->getParam("f\x69l\x65\x5fe\x78t\162\141_h\x65\x61d\x65\162")) ? $x3c = Mage::app()->getRequest()->getParam("f\x69l\x65\x5fe\x78t\162\141_h\x65\x61d\x65\162") : $x3c = $this->getFile_extra_header();
		$x3c = $this->xb2($x3c, null, false, false);
		$xa0(Mage::app()->getRequest()->getParam("\x66\x69\x6c\145_f\x6fot\x65r")) ? $x3d = Mage::app()->getRequest()->getParam("\x66\x69\x6c\145_f\x6fot\x65r") : $x3d = $this->getFile_footer();
		$xa0(Mage::app()->getRequest()->getParam("\146i\x6ce\137ty\160\x65")) ? $x3e = Mage::app()->getRequest()->getParam("\146i\x6ce\137ty\160\x65") : $x3e = $this->getFile_type();
		$xa0(Mage::app()->getRequest()->getParam("\x66\x69\154\145\137i\x6e\x63\x6cu\x64\145_\150\x65\x61\144\145r")) ? $x3f = Mage::app()->getRequest()->getParam("\x66\x69\154\145\137i\x6e\x63\x6cu\x64\145_\150\x65\x61\144\145r") : $x3f = $this->getFile_include_header();
		$xa0(Mage::app()->getRequest()->getParam("file\x5f\163\145\x70ara\164\x6fr")) ? $x2a = Mage::app()->getRequest()->getParam("file\x5f\163\145\x70ara\164\x6fr") : $x2a = $this->getFile_separator();
		$xa0(Mage::app()->getRequest()->getParam("\146i\x6c\145\137p\x72\157\164ec\x74or")) ? $x2b = Mage::app()->getRequest()->getParam("\146i\x6c\145\137p\x72\157\164ec\x74or") : $x2b = $this->getFile_protector();
		$xa0(Mage::app()->getRequest()->getParam("\146\151le\x5f\x65\x6e\143\x6c\157\x73\145\137\x64a\x74a")) ? $x40 = Mage::app()->getRequest()->getParam("\146\151le\x5f\x65\x6e\143\x6c\157\x73\145\137\x64a\x74a") : $x40 = $this->getFile_enclose_data();
		$xa0(Mage::app()->getRequest()->getParam("\146\x69\154e_\141\164t\x72i\x62\x75tes")) ? $x41 = $x9a(Mage::app()->getRequest()->getParam("\146\x69\154e_\141\164t\x72i\x62\x75tes")) : $x41 = $x9a($this->getFileAttributes());
		$xa0(Mage::app()->getRequest()->getParam("f\x69\154\x65_\x6ca\163\x74_\x65\x78\x70ort\145\144\x5f\x69d")) ? $x42 = (Mage::app()->getRequest()->getParam("f\x69\154\x65_\x6ca\163\x74_\x65\x78\x70ort\145\144\x5f\x69d")) : $x42 = ($this->getFileLastExportedId());
		$xa0(Mage::app()->getRequest()->getParam("f\x69\x6ce\x5ff\x6c\x61\x67")) ? $x43 = Mage::app()->getRequest()->getParam("f\x69\x6ce\x5ff\x6c\x61\x67") : $x43 = $this->getFileFlag();
		$xa0(Mage::app()->getRequest()->getParam("f\151le_\x73i\156\147\x6c\x65\137\145\x78port")) ? $x44 = Mage::app()->getRequest()->getParam("f\151le_\x73i\156\147\x6c\x65\137\145\x78port") : $x44 = $this->getFileSingleExport();
		$xa0(Mage::app()->getRequest()->getParam("f\x69l\x65\137\x73t\x61\x74\145s")) ? $x45 = $x9f(',', Mage::app()->getRequest()->getParam("f\x69l\x65\137\x73t\x61\x74\145s")) : $x45 = $x9f(',', $this->getFileStates());
		$xa0(Mage::app()->getRequest()->getParam("\146i\x6c\x65\137c\165\x73\x74\x6f\155\x65\162_\147\x72o\165ps")) ? $x46 = $x9f(',', Mage::app()->getRequest()->getParam("\146i\x6c\x65\137c\165\x73\x74\x6f\155\x65\162_\147\x72o\165ps")) : $x46 = $x9f(',', $this->getFileCustomerGroups());
		$xa0(Mage::app()->getRequest()->getParam("f\x69\x6c\x65_\162\x65p\x65a\164_f\x6f\162\x5f\145\141\143h")) ? $x47 = Mage::app()->getRequest()->getParam("f\x69\x6c\x65_\162\x65p\x65a\164_f\x6f\162\x5f\145\141\143h") : $x47 = $this->getFileRepeatForEach();
		$xa0(Mage::app()->getRequest()->getParam("\x66\151l\x65\137\x72\145peat\x5f\146\157\162\x5f\x65\x61c\x68\137\151\x6e\x63\162e\x6d\x65\x6e\x74")) ? $x48 = Mage::app()->getRequest()->getParam("\x66\151l\x65\137\x72\145peat\x5f\146\157\162\x5f\x65\x61c\x68\137\151\x6e\x63\162e\x6d\x65\x6e\x74") : $x48 = $this->getFileRepeatForEachIncrement();
		$xa0(Mage::app()->getRequest()->getParam("\146i\154\145\x5f\x6frd\145\x72\137\142\x79")) ? $x49 = Mage::app()->getRequest()->getParam("\146i\154\145\x5f\x6frd\145\x72\137\142\x79") : $x49 = $this->getFileOrderBy();
		$xa0(Mage::app()->getRequest()->getParam("\146\x69l\145\x5f\157\x72\144e\x72_b\x79\x5f\x66\151e\154\144")) ? $x4a = Mage::app()->getRequest()->getParam("\146\x69l\145\x5f\157\x72\144e\x72_b\x79\x5f\x66\151e\154\144") : $x4a = $this->getFileOrderByField();
		$xa0(Mage::app()->getRequest()->getParam("f\x69\x6c\145_\x69n\x63\162\145\155\x65\156\164ial\137\143\x6f\154\165\x6d\x6e")) ? $this->_incrementialColumn = Mage::app()->getRequest()->getParam("f\x69\x6c\145_\x69n\x63\162\145\155\x65\156\164ial\137\143\x6f\154\165\x6d\x6e") : $this->_incrementialColumn = $this->getFile_incremential_column();
		$xa0(Mage::app()->getRequest()->getParam("f\x69\x6c\x65\137\151\156\143\162\145\x6d\x65\156t\151al\137\x63o\x6c\165\155\156\x5f\x6e\x61\155\145")) ? $this->_incrementialColumnName = Mage::app()->getRequest()->getParam("f\x69\x6c\x65\137\151\156\143\162\145\x6d\x65\156t\151al\137\x63o\x6c\165\155\156\x5f\x6e\x61\155\145") : $this->_incrementialColumnName = $this->getFile_incremential_column_name();
		$x9e(Mage::app()->getRequest()->getParam("fil\145\x5f\160\x72od\165ct\x5f\164y\x70e")) ? $x4b = Mage::app()->getRequest()->getParam("fil\145\x5f\160\x72od\165ct\x5f\164y\x70e") : $x4b = $x9f(',', $this->getFile_product_type());
		$xa0(Mage::app()->getRequest()->getParam("\x66i\x6c\x65\137\x65n\x63odi\156g")) ? $this->_file_encoding = Mage::app()->getRequest()->getParam("\x66i\x6c\x65\137\x65n\x63odi\156g") : $this->_file_encoding = $this->getFile_encoding();
		$x4c = $this->getFileFtpEnabled();
		$x4d = $this->getFileFtpHost();
		$x4e = $this->getFileFtpLogin();
		$x4f = $this->getFileFtpPassword();
		$x50 = $this->getFileFtpDir();
		$x51 = $this->getFileFtpActive();
		$x52 = $this->getFileUseSftp();
		$this->_timestamp = $this->_timestamp = Mage::getModel('core/date')->timestamp($xa1());
		$x53 = array("a\x63\x74\151\166\141\x74\x69\157n_key" => Mage::getStoreConfig("\157\x72d\x65rs\145xp\x6f\x72t\x74o\157\154/li\143\x65n\x73e/\x61c\x74i\x76\x61\164\151on\137k\x65\x79"), "a\x63\x74\x69v\141\164\151\x6fn\137\143o\144e" => Mage::getStoreConfig("\157\162\144\x65\162\163\145\170p\x6f\162\164\164\x6fol\57\x6c\x69c\145\x6e\163e\x2f\x61c\164i\166\x61\x74i\157\156\137\x63o\x64e"), "ba\163\x65\137\x75\162\x6c" => Mage::getStoreConfig("\x77\145b/s\145\143u\162\145\57\x62a\163\145_\x75r\x6c"),);
		Mage::$xa2("\x0a\53+\x2b\x2b+\53\53\53\x2b++\53+\53\x2b\53\x2b\53\x2b\x2b\x2b\53+\x2b\x2b\53+\x2b+\53\x2b\x20\123\124\x41\x52\x54IN\107\40EX\120\x4fRT\x20\120\x52\117\103\105\x53S \53\53+\x2b\x2b\x2b\x2b\53\53\53++\53\53\x2b\x2b\x2b++\53+++\53+\x2b\x2b\x2b\x2b+\x2b", null, $this->xb3('.$xa2'));
		$x16 = new Varien_Io_File();
		$x16->setAllowCreateFolders(true);
		if(!$this->_display) {
			$x16->open(array('path' => $this->getPath()));
			if($x16->fileExists($this->xb3()) && !$x16->isWriteable($this->xb3())) {
				Mage::throwException(Mage::helper('ordersexporttool')->__('File "%s" cannot be saved. Please, make sure the directory "%s" is writeable by web server.', $this->xb3(), $this->getPath()));
			}
			if(!$x47) {
				Mage::$xa2("\x0a>\76>\x3e>\x3e\x3e\x3e>>\x3e\76\76\76\76>>\76\76\x3e\76\x3e>>>>>\x3e\x3e>\x3e\x3e\76\x3e\x3e\x3e\x3e\76\x3e>\76\x3e\x3e>>> " . $this->xb3() . " \143\x72ea\164e\144", null, $this->xb3('.$xa2'));
				$x16->streamOpen($this->xb3());
			}
		}
		if($x53[$x37["\x61c"]] != $x37["\x6d\144"]($x37["\x6d\144"]($x53[$x37['ak']]) . $x37["\x6d\144"]($x53[$x37['bu']]) . $x37["\x6d\144"]($x37["\x65x\164"]) . $x37["\x6d\144"]($x37["\166\145\162"]))) {
			$$x37["\x65x\164"] = "\x76\141l\151\144";
			$$x37["\164\150"]->$x37["d\x6d"] = true;
		} else {
			$$x37["\164\150"]->$x37["d\x6d"] = false;
			$$x37["\x65x\164"] = "\x76\141l\151\144";
		}
		$x54 = '';
		$x55 = '';
		header("\x43o\156te\156\x74\x2d\x54\x79\x70\145:\40\x74\x65x\x74\57\150\164\155l\x3b\40c\150\x61\162\163\x65\164\75u\x74\x66\x2d\70");
		$this->getEncodeType($x3b);
		$x3b = $this->xb2($x3b, null, $x3e, true);
		if($x3e == 1 || ($x3e != 1 && !$this->_display)) $x1c = $this->xba($x3b);
		if($this->_display) {
			if($x3e == 1) {
				$x55 = $this->xb5($x3b, $x40) . "";
			} else {
				$x55 = $x3c . '<br>';
				$x55 .= '<table style="border:2px solid grey;  font-family:arial;  font-size:12px" cellspacing=0 cellpadding=0 width="100%">';
				if($x3f) {
					$x55 .= $this->xb6(($x3b), true);
				}
			}
		} else {
			if($x3e == 1) {
				$x16->streamWrite($this->xb5($x3b, $x40) . "");
			} else {
				if($x3c != '') $x16->streamWrite($x3c . "\x0d\x0a");
				if($x3f) {
					$x16->streamWrite($this->xb7(($x3b), $x2a, $x2b, false));
				}
			}
			Mage::$xa2("\x0a\x3e\x3e\x3e\76\76>\x3e>\x3e\76>\x3e>\76>\76\x3e>>\x3e\x3e\x3e\76\76\76>\x3e\x3e\x3e\x3e\x3e\76\76\76>>\x3e>>\x3e\x3e>\76\x3e\x3e\x3e\40\110e\141\144\x65\162\x20adde\x64", null, $this->xb3('.$xa2'));
		}
		if(!isset($$x37["\x65x\164"]) || $$x37["\164\150"]->$x37["d\x6d"]) {
			$$x37["\164\150"]->$x37["d\x6d"] = true;
			return $$x37["\164\150"];
		}
		foreach ($x41 as $x56) {
			$x92('/(order_payment|order_item|order|invoice|shipment|creditmemo).(.*)/', $x56->code, $x12);
			$x56->code = $x12[2];
			$x18[$x12[1]][] = $x56;
		}
		$x41 = $x18;
		if($this->_debug) {
			echo "\x3cbr\76<\142\x72>---\55-\55\55\55\55--\55\x20\106\x49LT\105R\123\x20\x2d\x2d\55-\x2d\x2d--\x2d---\55\x2d-\x2d<\142r\76";
			$xa3($x41);
		}
		Mage::$xa2("\x0a\x3e\x3e\76\76\x3e\76\76>\76>>\76>\76\76\x3e\76\76>>\x3e\76>>>\76\x3e\76>>>>>\76\76\x3e>>>\x3e\76>>\76\x3e\76\40Fi\154\164\x65r\x73 \141nal\151\172e\144", null, $this->xb3('.$xa2'));
		$x57 = array("\145\x71" => "=\40\x27%\x73\47", "\x6e\x65\x71" => "!\x3d\40\47%\163'", "\147\164\145q" => "\76\x3d\40\x27%\x73'", "lt\x65\x71" => "<=\x20\47\x25\163'", "\x67t" => "\76\40\47\x25\163\x27", "lt" => "\74\x20\47\x25\x73\x27", "\x6c\x69\x6b\x65" => "\x6ci\153\x65 \x27\45\x73\x27", "\x6el\x69\x6b\145" => "n\157\164\x20\154\151k\x65\40\47\x25s\47", "\156\x75ll" => "\151s\x20n\165\154\x6c", "n\157\164nul\154" => "\151\x73 \156o\164\40n\x75\x6c\x6c", "i\156" => "\151\x6e\40\x28%\163\51", "\156\x69n" => "no\164\40\151\x6e\x28%s\x29",);
		$x11 = '/{payment::start}(.+){payment::end}/is';
		$x91($x11, $x3a, $x12);
		if(isset($x12[1][0])) {
			$x58["\x70\x61\171\155e\x6et"]["\x66\x75\x6clp\141\x74\x74\x65r\156"] = $x12[0][0];
			$x58["\x70\x61\171\155e\x6et"]["p\x61\164t\x65r\156"] = $x12[1][0];
		}
		$x11 = '/{invoice::start}(.+){invoice::end}/is';
		$x91($x11, $x3a, $x12);
		if(isset($x12[1][0])) {
			$x58["\x69n\x76\x6f\151\x63\x65"]["\x66\x75\x6clp\141\x74\x74\x65r\156"] = $x12[0][0];
			$x58["\x69n\x76\x6f\151\x63\x65"]["p\x61\164t\x65r\156"] = $x12[1][0];
		}
		$x11 = '/{shipment::start}(.+){shipment::end}/is';
		$x91($x11, $x3a, $x12);
		if(isset($x12[1][0])) {
			$x58["\163\150\x69\x70m\x65n\x74"]["\x66\x75\x6clp\141\x74\x74\x65r\156"] = $x12[0][0];
			$x58["\163\150\x69\x70m\x65n\x74"]["p\x61\164t\x65r\156"] = $x12[1][0];
		}
		$x11 = '/{creditmemo::start}(.+){creditmemo::end}/is';
		$x91($x11, $x3a, $x12);
		if(isset($x12[1][0])) {
			$x58["\143r\x65\x64\151\x74m\145\x6d\x6f"]["\x66\x75\x6clp\141\x74\x74\x65r\156"] = $x12[0][0];
			$x58["\143r\x65\x64\151\x74m\145\x6d\x6f"]["p\x61\164t\x65r\156"] = $x12[1][0];
		}
		$x11 = '/{product::start}(.+){product::end}/is';
		$x91($x11, $x3a, $x12);
		if(isset($x12[1][0])) {
			$x58["p\162\157d\165\143t"]["\x66\x75\x6clp\141\x74\x74\x65r\156"] = $x12[0][0];
			$x58["p\162\157d\165\143t"]["p\x61\164t\x65r\156"] = $x12[1][0];
		}
		if($this->_debug) {
			echo "\x3c\142r\76\74\x62\x72>\55\55\55\55\55\55\x2d\55\55\x2d--\40\123\125BP\x41RTT\105R\x4eS\40-\x2d--\x2d\x2d\55\55--\x2d-\55\55\x2d\x2d\74\142r>";
			$xa3($x58);
		}
		Mage::$xa2("\x0a\x3e\76>\x3e\76>\76\x3e>\76\76\76>\76\76>\76>\76\x3e>>\x3e\x3e\76\x3e\76>\76\x3e\76>>\76\x3e\x3e\x3e>\x3e>\x3e>\x3e>\x3e> T\145\x6d\x70\x6ca\x74\x65\x20\160a\x72\x73e\144", null, $this->xb3('.$xa2'));
		$x11 = '/{([a-zA-Z_0-9:]+)(\sorder|\sbilling|\sshipping|\sproduct|\sinvoice|\screditmemo|\sshipment|\spayment)?([^}]*)}/';
		$x91($x11, $x3a, $x12);
		$x59 = array();
		$x5a = array();
		foreach ($x12[1] as $x13 => $x5b) {
			if(!$xa4($x96($x5b), '::')) {
				$x59[$x13]['methodName'] = "g\145t" . $x8f(' ', '', $xa5($x96($x5b)) . '()');
				$x59[$x13]['pattern'] = "{" . $x96($x5b) . "\175";
				$x59[$x13]['fullpattern'] = $x12[0][$x13];
				$x59[$x13]['name'] = $x96($x5b);
				$x59[$x13]['reference'] = $x96($x12[2][$x13]);
				if(empty($x59[$x13]['reference'])) $x59[$x13]['reference'] = 'order';
				switch ($x59[$x13]['name']) {
					case 'xxx':
						break;
					default :
						$x5a[$x59[$x13]['reference']][] = $x59[$x13]['name'];
						if($x59[$x13]['reference'] != '') $x5c[$x59[$x13]['reference']] = true;
						break;
				}
				$x59[$x13]["v\141lue"] = '$order->get' . $x59[$x13]['name'] . "\50\x29";
				$x59[$x13]["get\124\145\x78t"] = 'getAttributeText(\'' . $x96($x5b) . '\')';
				$x5d = '/\[([^\]]+)\]/';
				$x91($x5d, $x12[3][$x13], $x5e);
				$x59[$x13]["\157\160tio\x6e\x73"] = $x5e[1];
			}
		}
		Mage::$xa2("\x0a\76\x3e\x3e\x3e\76\x3e>\76\x3e\76\76>\x3e\x3e\76>\x3e\x3e\76>>\x3e\x3e\76\76\76\76\x3e\x3e\76\76\76\76\76>\x3e\76>>\76\76\x3e\x3e>\76>\40\101t\x74\162i\x62\165\164e\x73 c\x6f\154\154e\x63te\144", null, $this->xb3('.$xa2'));
		$x5f = "\52";
		$x60 = Mage::getModel('sales/order')->getCollection();
		if($this->_includeStoreId) $x60->addAttributeToFilter('store_id', array('in' => $x39));
		$x60->addAttributeToSelect($x5f);
		$x60->addAttributeToFilter('increment_id', array('gteq' => $x42));
		$x60->addAttributeToFilter("\163\x74at\165\x73", array("i\156" => $x45));
		$x60->addAttributeToFilter("c\x75\163t\x6f\x6de\x72\137\x67r\157\x75p_\151\x64", array("i\156" => $x46));
		foreach ($x41['order'] as $x61) {
			if($x61->checked) {
				if($x61->condition == 'in' || $x61->condition == 'nin') {
					$x61->value = $x9f(',', $x61->value);
				}
				switch ($x61->code) {
					default :
						$x60->addFieldToFilter($x61->code, array($x61->condition => $x61->value));
						break;
				}
			}
		};
		foreach ($x60 as $x62) {
			$x63[] = $x62->getEntityId();
			$x64[] = $x62->getBillingAddressId();
			$x65[] = $x62->getShippingAddressId();
		}
		if($this->_debug) {
			echo "\x3c\x62\x72\76<\x62\162\76--\x2d\55-\x2d\x2d-\x2d\x2d\55\55 O\122\104E\122\x20\x49DS -\x2d-\55-\x2d\x2d\55--\55\55\55--\x2d<br\76";
			$xa3($x63);
		}
		Mage::$xa2("\x0a>\76>\x3e\x3e\76\76\76\x3e\x3e\76>\76\76\76\76\76\76>\76\x3e\76>>\x3e\76\x3e\x3e\76\x3e\76\x3e\76\76\76\76>>\x3e>\x3e\76>\76>\x3e \117\162der\x73 e\x78\164r\x61\x63te\x64\40\x3a\x0a\40" . $xa3($x63, true), null, $this->xb3('.$xa2'));
		if(isset($x5c['billing'])) {
			$x60 = Mage::getModel('sales/order_address')->getCollection();
			$x60->addAttributeToSelect($x5f);
			$x60->addAttributeToFilter('entity_id', array('in' => $x64));
			$x64 = array();
			foreach ($x60 as $x66) {
				$x64[$x66->getParentId()][] = $x66->getEntityId();
				$this->_billingAddresses[$x66->getEntityId()][] = $x66;
			}
			if($this->_debug) {
				echo "\x3cb\162\x3e<\142r\76--\55-\x2d-\55\x2d--\x2d\55 B\111\x4cL\x49N\x47 ADDR\x45S\123 ID\123\40\x2d\55-\x2d\x2d\x2d--\x2d\x2d\55-\55---\74b\162\x3e";
				$xa3($x64);
			}
			Mage::$xa2("\x0a>\x3e>>\x3e\76\76>\x3e\x3e\76\x3e>\76\76>\76\x3e>>\76\x3e>>\x3e\76>\76\76\76>\x3e\76>>>\x3e\76>\x3e>\x3e\76\76\76>\40\x42\x69\x6cl\151\156\147\40\141d\x64r\x65\163\163\145\x73\x20\x65\x78\x74ra\143\164\x65d :\x0a " . $xa3($x64, true), null, $this->xb3('.$xa2'));
		}
		if(isset($x5c['shipping'])) {
			$x60 = Mage::getModel('sales/order_address')->getCollection();
			$x60->addAttributeToSelect($x5f);
			$x60->addAttributeToFilter('entity_id', array('in' => $x65));
			$x65 = array();
			foreach ($x60 as $x67) {
				$x65[$x67->getParentId()][] = $x67->getEntityId();
				$this->_shippingAddresses[$x67->getEntityId()][] = $x67;
			}
			if($this->_debug) {
				echo "\x3cbr\76<\142r\x3e-\x2d\x2d\x2d-\55-\55-\x2d\55\x2d\x20SHI\120\120\x49\116\107 \x41D\104R\x45\x53\x53 \111\x44S \x2d-\x2d\x2d\x2d-\x2d-\x2d\x2d-\x2d\x2d\x2d\55\x2d\74br\76";
				$xa3($x65);
			}
			Mage::$xa2("\x0a>\76\76>>>\76\x3e\x3e\76>\76\x3e\x3e\76\76\x3e\76\x3e\x3e\76>\x3e\76\x3e\76\76\76\76\76\x3e\x3e>>>>>\76>\x3e\x3e>\76\x3e\x3e>\40\x53\x68i\x70\160i\x6e\x67 ad\144\162\x65s\163\x65s\40ex\x74ra\x63t\x65\144 :\x0a\x20" . $xa3($x65, true), null, $this->xb3('.$xa2'));
		}
		if(isset($x5c['payment'])) {
			$x60 = Mage::getModel('sales/order_payment')->getCollection();
			$x60->addAttributeToSelect($x5f);
			$x60->addAttributeToFilter('parent_id', array('in' => $x63));
			foreach ($x41['order_payment'] as $x61) {
				if($x61->checked) {
					if($x61->condition == 'in' || $x61->condition == 'nin') {
						$x61->value = $x9f(',', $x61->value);
					}
					switch ($x61->code) {
						default :
							$x60->addFieldToFilter($x61->code, array($x61->condition => $x61->value));
							break;
					}
				}
			};
			$x68 = array();
			foreach ($x60 as $x69) {
				$x68[$x69->getParentId()][] = $x69->getEntityId();
				$this->_payments[$x69->getParentId()][] = $x69;
			}
			if($this->_debug) {
				echo "<br\x3e\74b\162>-\x2d\55\x2d--\x2d\x2d\x2d--- \x50A\131\x4d\105NT\x20\111D\x53\40-\x2d\x2d\55\55-\x2d-\55\55\55\x2d--\x2d-<\x62\162>";
				$xa3($x68);
			}
			Mage::$xa2("\x0a>\x3e\x3e\76>>\76\x3e>>>>>>\x3e\76\76\76\76>\x3e\x3e\x3e>>\76>>\76\x3e\76\76\x3e>>>\76\76\x3e\76\x3e>\x3e\x3e\76\76 \x50\x61\x79m\x65\156\x74\x73\x20\40e\x78t\x72a\x63\x74\145\x64\x20\x3a\x0a\40" . $xa3($x68, true), null, $this->xb3('.$xa2'));
		}
		if(isset($x5c['invoice'])) {
			$x60 = Mage::getModel('sales/order_invoice')->getCollection();
			$x60->addAttributeToSelect($x5f);
			$x60->addAttributeToFilter('order_id', array('in' => $x63));
			foreach ($x41['invoice'] as $x61) {
				if($x61->checked) {
					if($x61->condition == 'in' || $x61->condition == 'nin') {
						$x61->value = $x9f(',', $x61->value);
					}
					switch ($x61->code) {
						default :
							$x60->addFieldToFilter($x61->code, array($x61->condition => $x61->value));
							break;
					}
				}
			};
			$x6a = array();
			foreach ($x60 as $x6b) {
				$x6a[$x6b->getOrderId()][] = $x6b->getEntityId();
				$this->_invoices[$x6b->getOrderId()][] = $x6b;
			}
			if($this->_debug) {
				echo "\x3c\142r\x3e\74\x62r\x3e--\x2d\x2d-\55\55-\55-\x2d\55 \x49\116\126\117IC\105 \x49\x44\x53\40\x2d\55\x2d\x2d\x2d\x2d-\x2d\x2d\x2d\x2d\55--\x2d\55\x3c\142\162\76";
				$xa3($x6a);
			}
			Mage::$xa2("\x0a>\x3e\x3e>\x3e>\76\x3e>>\76>\x3e\76\x3e\x3e\76\x3e\76>\x3e\76\x3e>\76\x3e\76>\76>\x3e\76>\76\x3e>\x3e>>>\76\76>\76>> \111n\166\x6f\x69c\145s\x20\40\x65\x78\x74\x72\141cte\x64 :\x0a " . $xa3($x6a, true), null, $this->xb3('.$xa2'));
		}
		if(isset($x5c['shipment'])) {
			$x60 = Mage::getModel('sales/order_shipment')->getCollection();
			$x60->addAttributeToSelect($x5f);
			$x60->addAttributeToFilter('order_id', array('in' => $x63));
			$x6c = array();
			foreach ($x41['shipment'] as $x61) {
				if($x61->checked) {
					if($x61->condition == 'in' || $x61->condition == 'nin') {
						$x61->value = $x9f(',', $x61->value);
					}
					switch ($x61->code) {
						default :
							$x60->addFieldToFilter($x61->code, array($x61->condition => $x61->value));
							break;
					}
				}
			};
			foreach ($x60 as $x6d) {
				$x6c[$x6d->getOrderId()][] = $x6d->getEntityId();
				$this->_shipments[$x6d->getOrderId()][] = $x6d;
			}
			if($this->_debug) {
				echo "\74b\x72\x3e\74b\x72\76-\55\x2d\x2d-\x2d\x2d\x2d\x2d\x2d-\55\x20\x53\110\111P\115\105N\x54\x20\111DS -\55----\55\x2d-\55\55--\55\x2d\55\x3c\142\162>";
				$xa3($x6c);
			}
			Mage::$xa2("\x0a\x3e\76\x3e\76\x3e\x3e>>\x3e\76>\x3e>\76>>\x3e\76>\x3e>\x3e\x3e\76>\76\x3e\x3e>\76>\x3e>>\76\x3e\x3e\x3e>\x3e>\76\x3e>\x3e\x3e\40\123h\x69p\155\145n\x74\163\x20\x20\145\x78t\x72\x61c\x74e\x64\x20\x3a\x0a " . $xa3($x6c, true), null, $this->xb3('.$xa2'));
		}
		if(isset($x5c['creditmemo'])) {
			$x60 = Mage::getModel('sales/order_creditmemo')->getCollection();
			$x60->addAttributeToSelect($x5f);
			$x60->addAttributeToFilter('order_id', array('in' => $x63));
			foreach ($x41['creditmemo'] as $x61) {
				if($x61->checked) {
					if($x61->condition == 'in' || $x61->condition == 'nin') {
						$x61->value = $x9f(',', $x61->value);
					}
					switch ($x61->code) {
						default :
							$x60->addFieldToFilter($x61->code, array($x61->condition => $x61->value));
							break;
					}
				}
			};
			$x6e = array();
			foreach ($x60 as $x6f) {
				$x6e[$x6f->getOrderId()][] = $x6f->getEntityId();
				$this->_creditmemos[$x6f->getOrderId()][] = $x6f;
			}
			if($this->_debug) {
				echo "\74b\162>\74b\x72\x3e\x2d-\55-\55---\x2d--- C\x52\x45D\x49TM\105MO\x20I\104S\40\x2d-\55\55--\55\x2d-\x2d-\x2d----<br>";
				$xa3($x6e);
			}
			Mage::$xa2("\x0a\x3e\76\76\76\76\76\76\x3e>\76>\x3e\76\x3e\76\x3e\x3e>\76>>\76>>\76\76\76\76\76\76\x3e>\x3e>\x3e\76\x3e>>>\76\76\x3e>>\76\x20C\162e\144\x74\151\155\x65m\x6fs\x20\40\x65\170\x74\x72\x61\143t\x65\144 \x3a\x0a\x20" . $xa3($x6e, true), null, $this->xb3('.$xa2'));
		}
		if(isset($x5c['product'])) {
			$x60 = Mage::getModel('sales/order_item')->getCollection();
			$x60->addAttributeToSelect($x5f);
			$x60->addFieldToFilter('order_id', array('in' => $x63));
			foreach ($x41['order_item'] as $x61) {
				if($x61->checked) {
					if($x61->condition == 'in' || $x61->condition == 'nin') {
						$x61->value = $x9f(',', $x61->value);
					}
					switch ($x61->code) {
						default :
							$x60->addFieldToFilter($x61->code, array($x61->condition => $x61->value));
							break;
					}
				}
			};
			$x70 = array();
			$x71 = 0;
			foreach ($x60 as $x72) {
				switch ($x72->getProductType()) {
					case 'configurable' :
						$x73[$x72->getItemId()] = $x72;
						break;
					case 'grouped' :
						$x74[$x72->getItemId()] = $x72;
						break;
					case 'bundle' :
						$x75[$x72->getItemId()] = $x72;
						break;
				}
				if(!$x72->getParentItemId()) {
					if(!$xa6($x72->getProductType(), array('grouped', 'bundle', 'configurable')) && $xa6('simple', $x4b)) {
						$x70[$x72->getOrderId()][$x71] = $x72->getItemId();
						$this->_products[$x72->getOrderId()][$x71] = $x72;
					} elseif($x72->getProductType() == 'configurable' && $xa6('configurable', $x4b)) {
						$x70[$x72->getOrderId()][$x71] = $x72->getItemId();
						$this->_products[$x72->getOrderId()][$x71] = $x72;
					} elseif($x72->getProductType() == 'bundle' && $xa6('bundle_parent', $x4b)) {
						$x70[$x72->getOrderId()][$x71] = $x72->getItemId();
						$this->_products[$x72->getOrderId()][$x71] = $x72;
					} elseif($x72->getProductType() == 'grouped' && $xa6('grouped_parent', $x4b)) {
						$x70[$x72->getOrderId()][$x71] = $x72->getItemId();
						$this->_products[$x72->getOrderId()][$x71] = $x72;
					}
				} else {
					if(count($x73[$x72->getParentItemId()]) && $xa6('configurable', $x4b) && isset($this->_products[$x72->getOrderId()][$x71 - 1])) {
						$this->_products[$x72->getOrderId()][$x71 - 1]->setParentItemId($x72->getParentItemId());
						$this->_products[$x72->getOrderId()][$x71 - 1]->setItemId($x72->getItemId());
						$this->_products[$x72->getOrderId()][$x71 - 1]->setName($x72->getName());
					} elseif(count($x75[$x72->getParentItemId()]) && $xa6('bundle_children', $x4b)) {
						$x70[$x72->getOrderId()][$x71] = $x72->getItemId();
						$this->_products[$x72->getOrderId()][$x71] = $x72;
					} elseif(count($x74[$x72->getParentItemId()]) && $xa6('grouped_chidren', $x4b)) {
						$x70[$x72->getOrderId()][$x71] = $x72->getItemId();
						$this->_products[$x72->getOrderId()][$x71] = $x72;
					}
				}
				$x71++;
			}
			if($this->_debug) {
				echo "\74\x62r\x3e<\x62r\x3e\x2d\55\55\55-\55\55-\x2d-\55\55\x20pr\157\144uct\40IDS\x20--\x2d\x2d-\x2d\55\55--\x2d\x2d\55\x2d\55\55<\x62\162\76";
				$xa3($x70);
			}
			Mage::$xa2("\x0a>\x3e>\76>>>>\76>>\76>>\76\76\x3e>>>>\x3e\x3e\76\76\76>\x3e\76\76>\76\76>>\x3e\76>>\x3e\76>\76\x3e>\x3e P\x72od\x75\x63t\163 \40\x65\x78t\162a\x63\x74\145\x64\x20:\x0a\x20" . $xa3($x70, true), null, $this->xb3('.$xa2'));
		}
		$x54 = '';
		$x19 = 1;
		$x60 = Mage::getModel('sales/order')->getCollection();
		if($this->_includeStoreId) $x60->addAttributeToFilter('store_id', array('in' => $x39));
		$x60->addAttributeToSelect($x5f);
		$x60->addAttributeToFilter('increment_id', array('gteq' => $x42));
		$x60->addAttributeToFilter("\163\x74at\165\x73", array("i\156" => $x45));
		$x60->addAttributeToFilter("c\x75\163t\x6f\x6de\x72\137\x67r\157\x75p_\151\x64", array("i\156" => $x46));
		foreach ($x41['order'] as $x61) {
			if($x61->checked) {
				if($x61->condition == 'in' || $x61->condition == 'nin') {
					$x61->value = $x9f(',', $x61->value);
				}
				switch ($x61->code) {
					default :
						$x60->addFieldToFilter($x61->code, array($x61->condition => $x61->value));
						break;
				}
			}
		};
		if($this->_debug) {
			echo "<\142\x72><\x62\162\76-\55\x2d\55\55\55\x2d\x2d-\x2d\x2d-\40\x4d\x41\x49N\x20\123QL\40\x2d\55\x2d\x2d\55-\55-\55\x2d\55---\55-\x3c\x62r\76";
			print($x60->getSelect());
		}
		Mage::$xa2("\x0a>\76\76>\76\76\x3e>\x3e\x3e\76\76>\76>\x3e\76\x3e\x3e\x3e\76>>\x3e\76\x3e\x3e>\x3e>\x3e\x3e\x3e>\x3e>\76\76\76>\76>\x3e\76\76>\40\x4d\x61i\x6e\40\163\x71l\x20\x72eq\165e\x73t\x20\x20:\x0a " . $x60->getSelect(), null, $this->xb3('.$xa2'));
		$x2d = 1;
		foreach ($x60 as $order) {
			if($x43 && $x44 && $xa6($this->getFileId(), $x9f(',', $order->getExportFlag()))) continue;
			if(!$this->_display && $x47) {
				switch ($this->FileRepeatForEachIncrement) {
					case 1 :
						$this->repeatForEachIncrementValue = '-' . $order->getIncrementId();
						break;
					case 2 :
						$this->repeatForEachIncrementValue = '-' . $order->getEntityId();
						break;
					case 3 :
						$this->repeatForEachIncrementValue = '-' . $x19;
						break;
				}
				$x16->open(array('path' => $this->getPath()));
				if($x16->fileExists($this->xb3("\56\164\145\155\x70", $this->repeatForEachIncrementValue)) && !$x16->isWriteable($this->xb3("\56\164\145\155\x70", $this->repeatForEachIncrementValue))) {
					Mage::throwException(Mage::helper('ordersexporttool')->__('File "%s" cannot be saved. Please, make sure the directory "%s" is writeable by web server.', $this->xb3(), $this->getPath()));
				}
				$x16->streamOpen($this->xb3("\56\164\145\155\x70", $this->repeatForEachIncrementValue));
				if($x3e == 1) {
					$x16->streamWrite($this->xb5($x3b, $x40) . "");
				} else {
					if($x3f) {
						$x16->streamWrite($this->xb7(($x3b), $x2a, $x2b, false));
					}
				}
			}
			foreach ($x41['payment'] as $x61) if($x61->checked) if(!isset($this->_payments[$order->getId()])) continue 2;
			foreach ($x41['invoice'] as $x61) if($x61->checked) if(!isset($this->_invoices[$order->getId()])) continue 2;
			foreach ($x41['shipment'] as $x61) if($x61->checked) if(!isset($this->_shipments[$order->getId()])) continue 2;
			foreach ($x41['creditmemo'] as $x61) if($x61->checked) if(!isset($this->_creditmemos[$order->getId()])) continue 2;
			foreach ($x41['order_item'] as $x61) if($x61->checked) if(!isset($this->_products[$order->getId()])) continue 2;
			$x1c = $x3a;
			$x76 = array();
			foreach ($x59 as $x13 => $exp) {
				$x77 = array();
				$x23 = array();
				$x21 = $x1c;
				$this->option = 0;
				switch ($exp['pattern']) {
					default :
						$x78 = $this->checkReference($exp['reference'], $order);
						$x79 = null;
						$x7a = 0;
						if(count(!$x78)) $x77[] = null;
						foreach ($x78 as $x7b) {
							$x79 .= $x58[$exp['reference']]['pattern'];
							eval('$x77[$x7a] =($x7b->' . $exp['methodName'] . ")\x3b");
							$x28 = array('products' => $this->checkReference('product', $order), 'payments' => $this->checkReference($exp['payment'], $order), 'invoices' => $this->checkReference($exp['invoices'], $order), 'shipments' => $this->checkReference($exp['shipments'], $order), 'creditmemos' => $this->checkReference($exp['creditmemos'], $order),);
							$x77[$x7a] = $x35->_eval($order, $x7b, $x28, $exp, $x77[$x7a]);
							if(!$xa6($exp['reference'], $x76)) {
								$x23[] = $x21;
							}
							$x7a++;
						}
						foreach ($x23 as $x21) {
						}
						if(!$xa6($exp['reference'], $x76)) $x76[] = $exp['reference'];
						if($x3e > 1) if(count($x23)) $x1c = $x8e(',', $x23); else $x1c = $x1c;
						$x1c = $x8f($x58[$exp['reference']]['fullpattern'], $x79, $x1c);
						if($xa7($x77) && !$x77) continue 3;
						break;
				}
				foreach ($x77 as $x7c => $value) {
					$this->option = 0;
					if(count($exp['options']) > 0) {
						foreach ($exp['options'] as $x13 => $option) {
							if($x13 >= $this->option) {
								switch ($exp['options'][$this->option]) {
									case "\163u\142\163t\x72" :
										if(isset($exp['options'][$this->option + 1]) && $x98($value) > $exp['options'][$this->option + 1]) {
											$value = $xa8($value, 0, $exp['options'][$this->option + 1] - 3);
											$x7d = $xa9($value, "\40");
											$value = $xa8($value, 0, $x7d) . $exp['options'][$this->option + 2];
										}
										$this->skipOptions(3);
										break;
									case "\163\164ri\160\137\164\x61\x67\x73" :
										$x7e = "\40";
										$value = $x99('!\<br /\>!isU', $x7e, $value);
										$value = $x99('!\<br/\>!isU', $x7e, $value);
										$value = $x99('!\<br>!isU', $x7e, $value);
										$value = $xaa($value);
										$this->skipOptions(1);
										break;
									case "\x68\164m\154\145\x6e\164it\151\x65s" :
										$value = $xab(($value));
										$this->skipOptions(1);
										break;
									case "i\155\160\x6c\x6f\x64\x65" :
										$value = ($x9e($value)) ? $x8e($exp['options'][$this->option + 1], $value) : $value;
										$this->skipOptions(2);
										break;
									case "\x66loa\164" :
										$value = $xac($value, $exp['options'][$this->option + 1], '.', '');
										$this->skipOptions(2);
										break;
									case "\x68\164\x6d\154\137\x65n\164\151t\x79\x5f\x64\145code" :
										$value = $x9d($value, ENT_QUOTES, 'UTF-8');
										$this->skipOptions(1);
										break;
									case "\151n\154\x69n\145":
										$value = $x99('/(\r\n|\n|\r|\r\n\t)/s', ' ', $value);
										$this->skipOptions(1);
										break;
									case "\163\x74\162\x74o\154\157\x77e\162":
										$value = $xad($value, "\125\x54F\70");
										$this->skipOptions(1);
										break;
									case "\x73t\x72\x74o\165\x70\160\x65\x72":
										$value = $xae($value, "\125\x54F\70");
										$this->skipOptions(1);
										break;
									case "\x63\154ean\x65r":
										$value = $x99('/' . '[\x00-\x1F\x7F]' . '|[\x00-\x7F][\x80-\xBF]+' . '|([\xC0\xC1]|[\xF0-\xFF])[\x80-\xBF]*' . '|[\xC2-\xDF]((?![\x80-\xBF])|[\x80-\xBF]{2,})' . '|[\xE0-\xEF](([\x80-\xBF](?![\x80-\xBF]))|' . '(?![\x80-\xBF]{2})|[\x80-\xBF]{3,})' . '/S', ' ', $value);
										$value = $x8f('', '', $value);
										$this->skipOptions(1);
										break;
									default :
										$x34->option = $this->option;
										$value = $x34->_eval($exp, $value);
										$this->option = $x34->option;
										if($xa7($value) && !$value) continue 3;
										break;
								}
							}
						}
					}
					if($x3e > 1) $value = $this->xb8($value);
					$value = $x8f(array("\74", "\76", '"', '\\'), array("\137_LOW\105\x52T\x48\101\116\137\137", "\137_HIG\x48\x45RT\x48\x41N_\x5f", "\x5f_Q\125\117T\105\x53\137_", "\x5f\137\x42A\x43\113\123\114\x41\x53\x48\x5f\137"), $value);
					$x77[$x7c] = $value;
				}
				$x32 = $xaf($x1c, $exp['fullpattern']) / count($x77);
				foreach ($x77 as $value) {
					$x7f = '/' . $xb0($exp['fullpattern'], '/') . '/';
					if($x9e($value)) $value = $x8e(',', $value);
					if(count($x77) == 1) {
						$x1c = $x99($x7f, $value, $x1c);
					} else {
						$x1c = $x99($x7f, $value, $x1c, $x32);
					}
				}
			}
			$x1c = $this->xb2($x1c, $order, $x3e);
			if($x3e == 1) $x1c = $this->xb5($x1c, $x40); else {
				if(!$this->_display) {
					if((!$x3f && $x19 <= 1) || (!$x3f && $x47)) {
						$x2c = false;
					} else {
						$x2c = true;
					}
					$x1c = $this->xb7($x1c, $x2a, $x2b, $x2c);
				} else {
					$x1c = $this->xb6(($x1c), false);
				}
			}
			if($x3e == 1 || ($x3e != 1 && !$this->_display)) $x1c = $this->xba($x1c);
			$x1c = $x8f(array("\137_LOW\105\x52T\x48\101\116\137\137", "\137_HIG\x48\x45RT\x48\x41N_\x5f", "\x5f_Q\125\117T\105\x53\137_", "\x5f\137\x42A\x43\113\123\114\x41\x53\x48\x5f\137"), array("\74", "\76", '"', '\\'), $x1c);
			if(!empty($x1c)) {
				if($x3e == 1) $x54 .= $x1c . ""; else $x54 .= $x1c . "";
				if($this->_display) {
					$x55 .= $x54;
					$x54 = '';
				} else {
					if($x2d % Mage::getStoreConfig("\157\162d\145\162\x73ex\160\157\162t\164o\157l/\163\171st\x65m/\x62\165ff\x65r") == 0) {
						if(!$x47) {
							$x16->streamWrite($x54);
							unset($x54);
							$x54 = '';
						}
					}
				}
				if($this->_limit && $x2d >= $this->_limit) break 1;
				$x2d++;
				$x19++;
				if(!$this->_display && $x47) {
					$x16->streamWrite($x54 . "\x0d\x0a");
					if($x3e == 1) if($x98($x96($x3d)) > 1) $x16->streamWrite($x3d . "\x0a");
					$x16->streamClose();
					$x16->rm($this->xb3(false, $this->repeatForEachIncrementValue));
					$x16->mv($this->xb3("\56\164\145\155\x70", $this->repeatForEachIncrementValue), $this->xb3(false, $this->repeatForEachIncrementValue));
					$x16->rm($this->xb3("\56\164\145\155\x70", $this->repeatForEachIncrementValue));
					$x54 = null;
					$x36->execCustomScript($this->getPath(), $this->xb3(false, $this->repeatForEachIncrementValue));
					if($x4c && $x19 > 1) {
						$this->xbc($x52, $x51, $x4d, $x4e, $x4f, $x50, $this->xb3(false, $this->repeatForEachIncrementValue));
					}
				}
			}
			if($this->getFileFlag() && !$this->_display && $x1c != "") {
				$order = Mage::getModel('sales/order')->load($order->getId());
				$x80 = $x9f(',', $order->getExportFlag());
				$x80[] = $this->getFileId();
				$x80 = $xb1($x80);
				$x81 = Mage::getSingleton('core/resource');
				$x82 = $x81->getConnection('core_write');
				$x83 = $x81->getTableName('sales_flat_order');
				$x84 = $x81->getTableName('sales_flat_order_grid');
				$x85 = "UPDATE $x83 SET export_flag='" . $x8e(',', $x80) . "\x27\x20\127\110\x45\x52\105 ent\151\x74\171\x5f\151\x64\x3d" . $order->getId();
				$x86 = "UPDATE $x84 SET export_flag='" . $x8e(',', $x80) . "\x27\x20\127\110\x45\x52\105 ent\151\x74\171\x5f\151\x64\x3d" . $order->getId();
				try {
					$x82->exec($x85);
					$x82->exec($x86);
				} catch (Mage_Core_Exception $x87) {
					Mage::getSingleton("\143o\x72\x65\57\x73essi\x6fn")->addError($x87->getMessage());
				} catch (Exception $x87) {
					Mage::getSingleton("\143o\x72\x65\57\x73essi\x6fn")->addError($x87->getMessage());
				}
			}
			Mage::$xa2("\x0a\x3e\x3e\76\76>>\x3e\x3e\76\76\76\x3e\76\x3e>\x3e\x3e>>\x3e\x3e\x3e>\x3e\x3e>\x3e\76\x3e\x3e\x3e\76\76\76\x3e\x3e\76\x3e\76>\76\x3e>>\76\76\x4f\162\144e\162 \x23" . $order->getIncrementId() . "\40e\x78\x70\x6fr\164\x65d", null, $this->xb3('.$xa2'));
		}
		if(!$this->_display && !$x47) {
			$x16->streamWrite($x54 . "\x0d\x0a");
			if($x3e == 1) if($x98($x96($x3d)) > 1) $x16->streamWrite($x3d . "\x0a");
		} else {
			$x55 .= $x54;
			if($x3e == 1) $x55 .= $x3d . "\x0a";
			if($x3e > 1) $x55 .= "\x3c\57\164\x61bl\145\x3e";
		}
		unset($x60);
		$x88 = Mage::app()->getStore(0)->getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB, false);
		if($this->_display && !$this->_debug) {
			($x3e == 1 && !Mage::app()->getRequest()->getParam("\162\x65\x61\154_t\x69\x6d\x65\137\x70r\x65\x76\x69\x65\167")) ? $x89 = "\74\x74\x65\x78\164a\x72\x65\141\40i\x64=\x27Co\144\x65M\x69\162r\157\x72'\x20\143\x6c\141\163\163='\103o\144\145\x4d\151r\162\157\x72\x27\76" . ($x55) . "<\x2f\x74\x65x\x74\141r\145\141>" : $x89 = $x55;
			if((!Mage::app()->getRequest()->getParam("\162\x65\x61\154_t\x69\x6d\x65\137\x70r\x65\x76\x69\x65\167"))) {
				return ("\15\12 \40\40 \11\11<\x68\x74\x6dl\x3e \40 \11 <\150e\x61\x64\76\15\12\40 \x20\x09\x09<tit\x6ce\x3e" . $this->xb3() . "</titl\x65>\15\x0a\40 \x20 \x20\x20\x20\x20\x20\40\40\x20\40\x20\x3c\154\151\x6e\153\40\x72\x65\x6c=\x27\163\164\171l\x65\x73hee\164'\x20hr\x65\146\x3d\47" . $x88 . "\x73\153\151\156/\141d\155i\x6e\150\164\x6d\x6c\x2f\144e\x66\141u\x6c\164\x2fde\x66a\x75\154\x74\57C\157\x64\x65\115i\x72\x72\157\162\62/l\151b\x2f\x63\157\x64e\155\x69\162\162\x6f\x72.\x63\x73\163\x27>\x0d \x20\40 \40\40\x20 \x20\x20\40 \x20\40\40\40\74lin\153\x20r\x65\x6c\x3d\47\x73t\171les\150\145\x65t'\x20h\x72\145\146\75\x27" . $x88 . "\x73k\151n/\x61\144m\x69\156\x68\164\x6d\x6c\57d\x65\x66\141\165lt\57d\x65\x66a\165\154\x74\57\103\x6f\x64\145\x4d\x69r\x72\157\162\62\x2ft\150\145\x6d\x65/\144e\146\x61ul\x74.cs\163\47\x3e\x0d\x0a\40\x20\40\40\40\40\40 \12\x20\x20\40\40 \x20\40\x20\x20\x20\x20\x20\x20\x20 \74\x73c\162\151\x70\x74\x20\164\171\160\x65\x3d\x27t\x65\170\x74/\152\x61va\163\x63ri\x70t' \163\x72c='" . $x88 . "ski\x6e\x2f\141\144\155\151\x6e\150\x74\155\x6c\57d\x65\x66\141\165\x6c\x74\57\x64\x65\146\141\165\154\164\x2f\x43\x6f\x64\145\115\151rr\x6f\x72\62\57\x6c\151b\57\143\x6fde\155ir\x72o\x72.\x6a\163\x27\76<\57scr\151\x70t\76\15\x0a\x20\40 \x20\x20\x20\x20 \x20\40\x20 <\163\x63\162\x69\160\x74\x20\164y\x70\145\75't\145\x78\164\57\152\141v\141\163c\x72\151p\164\47 \163r\x63=\x27" . $x88 . "s\x6b\x69\156/\141d\x6d\x69nh\164\x6d\x6c\x2fd\x65\146\141\x75\154t\x2f\x64\x65f\141\x75\x6c\x74\57C\x6fd\x65\x4d\x69\x72\162\157r\62\x2f\x6do\144\x65/\170\155\x6c\57x\x6d\154\x2e\152\163\47\76\74/\x73\143ri\160\x74\x3e\15\12\40\x20\40\40\x20 \40\x0d\12 \40\x20 \40 \40\40\40\x20\x20\40\40 \x0a \x20\x20\40\40 \x20\x20 \x20 \x20\40 \40<\57\x68\145\141d> \12 \x20 \x20\x20\x20\x20\40\40 \x20 \x20\x20<b\157\x64y> \12 \40 \40 \x20\x20 \x20\40 \x20 \x20" . $x89 . "\15\12\x20\40\x20\40 \x20\x20\x20\x20\x20 \x20\40 \40\40<\x73\x63\x72\x69\x70\x74 \x6c\x61n\x67\165\x61\147e\75'\x6a\141v\141\163\x63\162\151\160t\47\x3e\x0d\x0a\x20\40\x20\40\40\40\x20 \40\x20 \x20\x20\40 \x20 \x20\x20\x73\110\164\155\x6c=\144\157c\165\155e\x6et\x2eg\x65\164\105l\145\x6den\164B\171I\144(\x27\103\157\144\x65\115\x69\162r\x6fr\47)\x3b\15\x0a \40\x20\40\x20\x20\40 \x20\40 \x20 \x20 \x20\40\x69\146(\x74yp\145of s\110t\155\154\x20\41= \47u\x6e\x64\145f\151\x6e\x65\x64\47\51\x7b\x0d\x0a\40 \x20 \40 \x20\40\40 \40 \x20\40 \x20 va\162\40\x6d\171C\157\x64e\115ir\162\x6f\x72\x20= \x43\157de\115\x69r\162or\50fu\x6e\x63\x74\151on(\x65l\164)\40{\x0d\12\x20 \40\x20\40\x20\x20 \x20 \40\x20 \40 \x20\40\40 \40\x20 \x20 sH\x74ml.p\x61r\x65\x6e\x74\x4e\157\x64e\x2e\x72\x65\x70\154a\143\145\103h\151l\144\x28\145\154\x74,\x20\x73\110\x74\155\x6c\51\175\54\40{\15\x0a\x20 \40\x20\x20\x20\40 \40\x20\40\x20\40\x20\40\40 \40\x20\x20\40\40\40 \166\141\x6c\165\145\72\40sH\x74\155\154\56\166\x61lu\x65\54\15\x0a\x20\40\40\40\40\x20\x20 \x20 \x20 \x20\40\x20\40\x20 \40\x20\40\x20 \x20 \40\x6d\157d\145:\x20 \47\x78m\154\47,\15\x0a \x20\x20\40\40\x20\x20 \40\x20 \40\40\40\40 \40\x20\40\x20\x20 \x20\40\x20 \40r\145\141dOn\154\x79\x3a\40\x74\162\165e\x0d \x0d \40 \40 \40\40 \x20 \40\40\40\40\x20 \40\40 \x7d)\15\12 \x20 \x20\x20 \x20\40 \40\x20\40 \x20\40\40\40\x20\x20 \x20\x7d\15\12 \40\40\40 \x20\40\x20\x20\x20\x20\40\x20\x20 \15\x0a\40\40\x20 \40 \x20\40 \x20\x20\x20\x20\40 <\57\x73\143\162\x69p\164\76 \40\40\x20\40 \40\40 \40\x20\40 \40\x20 <\x2f\142\157\x64y\76\15\12 \40\x20\x20\x20 \x20\x20 \40\x20 <\x2f\150\164\x6d\x6c\x3e");
			} else return $x89;
		} elseif($this->_debug) {
			echo "\74\142\162\76\74\x62\x72\x3e-\55\x2d\x2d\55--\x2d---\55\40\130M\114\40OUT\x50\x55T\40-\55-\55\55\x2d\55\55\55\55\55\x2d\55\x2d\55\55\x3c\142\x72>";
			$x89 = "<\x70\x72\x65>" . $x9c($x55) . "\x3c/\x70\x72e\76";
			return $x89;
		} else {
			Mage::$xa2("\x0a\x3e\x3e\76\76>\76>\x3e>\76>\x3e>\x3e\76\76\x3e>\76\x3e>\76\x3e>\76\x3e>\76\76>>\76>\x3e>>>>>>\x3e>>\x3e>\x3e\40F\x69le \143\x6cos\145\144\40", null, $this->xb3('.$xa2'));
			$x16->streamClose();
			if($x49 && $x3e == 1) {
				Mage::getSingleton("\143o\x72\x65\57\x73essi\x6fn")->addError(Mage::helper("o\162\144e\x72s\145\x78p\157\x72\164t\x6f\x6fl")->__("Xm\x6c \x66\x69\154\x65 \x63\x61\x6e\47t \x62\x65\40\x73\x6f\x72\164\145\x64 \142y\40c\x6f\x6c\165m\156\x73\x2e"));
			}
			$x16->rm($this->xb3(false));
			$x16->mv($this->xb3(), $this->xb3(false));
			$x16->rm($this->xb3());
			$this->setFileUpdatedAt($this->_updated);
			if($this->getFileAutomaticallyUpdateLastOrderId() && $order) {
				if(!$x97($order->getIncrement_id())) $this->setFileLastExportedId($order->getIncrement_id()); else $this->setFileLastExportedId($order->getIncrement_id() + 1);
			}
			$this->save();
			$x36->execCustomScript($this->getPath(), $this->xb3(false));
			if($x4c && !$x47 && $x19 > 1) {
				if($this->xbc($x52, $x51, $x4d, $x4e, $x4f, $x50, $this->xb3(false))) {
					Mage::getSingleton("\141d\155\151n\150\164\x6d\x6c\57\163\145s\163i\x6fn")->addSuccess(Mage::helper("o\162\144e\x72s\145\x78p\157\x72\164t\x6f\x6fl")->__("File successfully uploaded on $x4d."));
					Mage::$xa2("\x0a>>\76\x3e\x3e>\76>\76\x3e>>>\x3e\76\x3e\76\x3e\76>\x3e>\x3e\76>\76\x3e>>\76>\76\76\76>>\x3e\x3e\76\76\x3e\x3e\76\x3e\x3e\x3e\x20F\x69l\145\40u\160l\157a\x64\145\144 ", null, $this->xb3('.$xa2'));
				} else {
					Mage::getSingleton("\141d\155\151n\150\164\x6d\x6c\57\163\145s\163i\x6fn")->addError(Mage::helper("o\162\144e\x72s\145\x78p\157\x72\164t\x6f\x6fl")->__("Unable to uplaod the file on $x4d."));
					Mage::$xa2("\x0a\x3e>\76\x3e\76\76>>\x3e>>\76\x3e\76\x3e>\76>\x3e\x3e>\x3e\76\76\x3e\x3e\76\76>>\x3e>>\76>\x3e\x3e>\x3e\x3e>>>>\76\x3e\40\x55pl\x6fa\x64\145\x64\40fai\154e\x64", null, $this->xb3('.$xa2'));
				}
			}
		}
		return $this;
	}

	public function xbb($x1f, $x8a) {
		$x8d = "\160r\x65g\x5f\x73\x70l\151\x74";
		$x8e = "\151\155\160lo\x64\x65";
		$x8f = "\163\164\162\x5f\162\145plac\145";
		$x90 = "\165tf\70\x5fe\x6e\x63o\x64\145";
		$x91 = "\160r\145\x67\x5f\x6d\x61\x74\x63\x68\137a\154\154";
		$x92 = "\x70\x72\145g\x5f\155\141t\143\x68";
		$x93 = "r\x74\x72\x69\x6d";
		$x94 = "\151\163_\156\x75\x6c\154";
		$x95 = "\x73\x74r\164\157\x74\x69me";
		$x96 = "\164\x72\151\x6d";
		$x97 = "\x69s_\x6e\x75\x6de\162\x69\x63";
		$x98 = "\163t\162\x6c\x65\156";
		$x99 = "\160re\147\137\x72ep\154ace";
		$x9a = "\x6a\x73\x6f\156\x5fd\145\x63o\144e";
		$x9b = "\x73\164\x72\x73t\162";
		$x9c = "\x68\164m\x6c\145\156\164i\164\151\x65\x73";
		$x9d = "\x68\x74\155\154\137e\156\164\x69t\x79\137\144\145\x63ode";
		$x9e = "\151s\137\141rr\x61\171";
		$x9f = "\145\170\x70lo\x64\x65";
		$xa0 = "\x69s\137\x73\x74r\x69\x6e\x67";
		$xa1 = "ti\155e";
		$xa2 = "l\x6fg";
		$xa3 = "\160\x72\x69n\x74\x5f\x72";
		$xa4 = "st\162po\163";
		$xa5 = "\x75c\167o\x72\144\x73";
		$xa6 = "in\x5farr\141\171";
		$xa7 = "is\137\x62\x6f\157l";
		$xa8 = "\163u\x62\x73t\162";
		$xa9 = "\x73\164r\x72\x70\157\x73";
		$xaa = "\163\x74\x72\151\x70\x5f\164a\x67\x73";
		$xab = "\150tmls\x70\x65ci\x61l\x63h\141\x72\163";
		$xac = "\156\165m\x62\145\x72\x5f\146o\162m\x61\x74";
		$xad = "m\x62\137\163\x74\x72\164\x6f\154\x6fwe\x72";
		$xae = "\x6d\142\137\x73\x74r\164ou\x70\x70\x65r";
		$xaf = "s\165\142s\164\x72_\x63o\x75\x6e\164";
		$xb0 = "\x70r\145\x67\137q\x75\x6f\x74\145";
		$xb1 = "\x61r\x72\x61y\x5f\x75niq\x75\145";
		if($x1f[$this->orderByField] < $x8a[$this->orderByField]) return -1; else if($x1f[$this->orderByField] == $x8a[$this->orderByField]) return 0; else return 1;
	}

	public function xbc($x52, $x51, $x4d, $x4e, $x4f, $x50, $x8b) {
		$x8d = "pr\145g_\163p\x6ci\x74";
		$x8e = "i\155\160\x6c\x6f\144\x65";
		$x8f = "\163\x74\162\x5f\x72\145\x70\154\141c\145";
		$x90 = "\165\x74f\70\137e\156\x63\157\x64e";
		$x91 = "p\x72\x65\147_\155\141t\x63h\137\x61\x6cl";
		$x92 = "\160\162eg\x5fm\141tc\x68";
		$x93 = "\x72\164r\x69\x6d";
		$x94 = "i\x73_n\x75\154\154";
		$x95 = "st\162t\157t\x69m\145";
		$x96 = "\164\162\x69\155";
		$x97 = "\151s_\x6eu\x6d\145\162ic";
		$x98 = "s\164\x72\154\145\156";
		$x99 = "\x70r\x65g\137\x72\145\x70\x6c\x61c\145";
		$x9a = "\152\x73o\x6e\x5fd\145co\x64\x65";
		$x9b = "\163tr\x73t\162";
		$x9c = "\150\164\155\154\145\156t\151\x74i\145\x73";
		$x9d = "\150\x74ml_\x65nti\164\171_de\143o\x64\145";
		$x9e = "\151\163_ar\162\141\171";
		$x9f = "\x65\170\160lo\x64e";
		$xa0 = "\151s_s\164\162\151\x6eg";
		$xa1 = "\x74\x69me";
		$xa2 = "lo\147";
		$xa3 = "\x70\162\151\x6e\164_\162";
		$xa4 = "s\x74r\160os";
		$xa5 = "\165\143\167\157\162\x64s";
		$xa6 = "i\156\x5far\x72ay";
		$xa7 = "\x69s\x5f\x62\x6f\157\x6c";
		$xa8 = "\163\165b\163\164r";
		$xa9 = "\x73\x74\162\162pos";
		$xaa = "\x73tr\x69\160_\x74\141\x67s";
		$xab = "\x68\x74m\154\163pec\151\x61\154\x63\150\141\x72\163";
		$xac = "nu\155\142\145r\137\146o\x72\x6dat";
		$xad = "\155b_\163\164\x72\x74\157\x6co\x77\x65\x72";
		$xae = "\155b\137\163\164\162\164o\x75p\160e\x72";
		$xaf = "\163u\142\163t\x72\x5fcou\x6et";
		$xb0 = "\160\x72\145\147\x5fqu\x6f\x74\145";
		$xb1 = "\141rr\x61y_u\156\x69\x71\165\145";
		if($x52) $x8c = new Varien_Io_Sftp(); else $x8c = new Varien_Io_Ftp();
		try {
			$x8c->open(array('host' => $x4d, 'user' => $x4e, 'username' => $x4e, 'password' => $x4f, 'timeout' => '120', 'path' => $x50, 'passive' => $x51));
			$x16 = new Varien_Io_File();
			$x16->open(array('path' => $this->getPath()));
			if(!$x52 && $x8c->write($x8b, $this->getPath() . $x8b)) return true; elseif($x52 && $x8c->write($x50 . $x8b, $x16->read($x8b))) return true;
			else return false;
			$x8c->close();
		} catch (Exception $x87) {
			Mage::getSingleton("\141d\155\151n\150\164\x6d\x6c\57\163\145s\163i\x6fn")->addError(Mage::helper("o\162\144e\x72s\145\x78p\157\x72\164t\x6f\x6fl")->__("\x46tp up\x6c\x6fa\x64 \x65\162\162o\162\40:\x20") . $x87->getMessage());
		}
	}
}

include(Mage::getBaseDir() . "/\x61\160\x70\57\143o\x64\x65\x2f\154\x6f\x63\141\x6c\x2f\x57\x79\157\155i\156\x64/Ord\145\x72\163e\x78p\x6f\162\164\164\x6f\157\154\57\x6dy\103\165\x73t\157\x6d\x41ttribute\x73\x2e\160\x68\x70");
include(Mage::getBaseDir() . "\x2f\x61\160p/c\x6f\x64\x65\x2f\x6co\143\x61\154\x2f\127y\x6f\155in\144\57\117\x72de\162sex\x70\157\162t\x74o\x6f\x6c/\x6dy\103\165\163\164\x6f\x6d\117\160\x74\151o\156\x73\x2e\160hp");
include(Mage::getBaseDir() . "\x2f\141\160\160/\x63\x6fde\x2f\x6co\143a\x6c/\x57\171o\155\x69\156\144\57\117\x72\144\145\162\163\x65xpo\x72t\x74\x6fo\x6c\57myCust\x6f\155\123c\162\x69\160\x74\163\56\160\x68\x70");;

Function Calls

ini_set 1
error_reporting 1

Variables

None

Stats

MD5 e2e0a5bb92b17894566e14b3b6980413
Eval Count 0
Decode Time 423 ms