Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


Show other level

	${
	"GLOBALS"
}
["hddljdoxnm"]="starting";
	${
	"GLOBALS"
}
["cnxppnuha"]="now";
	${
	"GLOBALS"
}
["ncrpwccok"]="ending";
	${
	"GLOBALS"
}
["twhtidwcvem"]="booster_id";
	${
	"GLOBALS"
}
["vhbbtlhys"]="ammo_id";
	${
	"GLOBALS"
}
["ipxvgbup"]="ammo_type";
	${
	"GLOBALS"
}
["vuhwlryhl"]="item_type";
	${
	"GLOBALS"
}
["nruonytos"]="quantity";
	${
	"GLOBALS"
}
["zqoowac"]="user_id";
	${
	"GLOBALS"
}
["ynfjxfpvyu"]="items";
	${
	"GLOBALS"
}
["mfyjwxckpo"]="req";
	${
	"GLOBALS"
}
["rnuiixj"]="amount";
	${
	"GLOBALS"
}
["kctkbcofdkjm"]="itemId";
	${
	"GLOBALS"
}
["ocdjbgt"]="item";
	${
	"GLOBALS"
}
["kozdxcdn"]="shop_items";
	${
	"GLOBALS"
}
["vrbfrycr"]="items_array";
	${
	"GLOBALS"
}
["jwrrsnui"]="key";
	${
	"GLOBALS"
}
["iymntgnv"]="bid_items_array";
	${
	"GLOBALS"
}
["lbidpumqdhm"]="value";
	${
	"GLOBALS"
}
["burugnebkx"]="bid_items";
	${
	"GLOBALS"
}
["hbxbvimnnv"]="db";
	${
	"GLOBALS"
}
["yuuppdar"]="order";
	${
	"GLOBALS"
}
["fkdajzlf"]="v2";
	${
	"GLOBALS"
}
["gyhiwse"]="k";
	${
	"GLOBALS"
}
["pxqavbwpltn"]="sortable_array";
	${
	"GLOBALS"
}
["kckwitqvpun"]="k2";
	${
	"GLOBALS"
}
["tkfyadyzvk"]="v";
	${
	"GLOBALS"
}
["leuidymc"]="array";
	${
	"GLOBALS"
}
["pfqnhmfiad"]="new_array";
	class Auction{
		private static function array_sort($array,$on,$order=SORT_ASC){
			${
			"GLOBALS"
		}
		["dwnmpgfdzs"]="sortable_array";
			${
				${
				"GLOBALS"
			}
			["pfqnhmfiad"]
		}
		=array();
		$wspnibi="new_array";
			${
				${
				"GLOBALS"
			}
			["dwnmpgfdzs"]
		}
		=array();
			if(count(${
				${
				"GLOBALS"
			}
			["leuidymc"]
		}
			)>0){
				${
				"GLOBALS"
			}
			["mfdwlqdw"]="k";
				foreach(${
					${
					"GLOBALS"
				}
				["leuidymc"]
			}
				 as${
					${
					"GLOBALS"
				}
				["mfdwlqdw"]
			}
				=>${
					${
					"GLOBALS"
				}
				["tkfyadyzvk"]
			}
				){
					if(is_array(${
						${
						"GLOBALS"
					}
					["tkfyadyzvk"]
				}
					)){
					$psirls="v2";
						foreach(${
							${
							"GLOBALS"
						}
						["tkfyadyzvk"]
					}
						 as${
							${
							"GLOBALS"
						}
						["kckwitqvpun"]
					}
						=>${
						$psirls
					}
						){
							${
							"GLOBALS"
						}
						["sdvcacvhjy"]="on";
							if(${
								${
								"GLOBALS"
							}
							["kckwitqvpun"]
						}
							==${
								${
								"GLOBALS"
							}
							["sdvcacvhjy"]
						}
							){
								${
									${
									"GLOBALS"
								}
								["pxqavbwpltn"]
							}
								[${
									${
									"GLOBALS"
								}
								["gyhiwse"]
							}
								]=${
									${
									"GLOBALS"
								}
								["fkdajzlf"]
							};
						}
					}
				}
					else{
						${
						"GLOBALS"
					}
					["qxpcqmfg"]="k";
						${
							${
							"GLOBALS"
						}
						["pxqavbwpltn"]
					}
						[${
							${
							"GLOBALS"
						}
						["qxpcqmfg"]
					}
						]=${
							${
							"GLOBALS"
						}
						["tkfyadyzvk"]
					};
				}
			}
			$ogpqiwqyha="k";
				switch(${
					${
					"GLOBALS"
				}
				["yuuppdar"]
			}
				){
					case SORT_ASC:asort(${
						${
						"GLOBALS"
					}
					["pxqavbwpltn"]
				}
				);
				break;
					case SORT_DESC:arsort(${
						${
						"GLOBALS"
					}
					["pxqavbwpltn"]
				}
				);
				break;
			}
				foreach(${
					${
					"GLOBALS"
				}
				["pxqavbwpltn"]
			}
				 as${
				$ogpqiwqyha
			}
				=>${
					${
					"GLOBALS"
				}
				["tkfyadyzvk"]
			}
				){
					${
					"GLOBALS"
				}
				["wsrlykyixur"]="array";
				$btmkxrhj="k";
					${
						${
						"GLOBALS"
					}
					["pfqnhmfiad"]
				}
					[${
					$btmkxrhj
				}
					]=${
						${
						"GLOBALS"
					}
					["wsrlykyixur"]
				}
					[${
						${
						"GLOBALS"
					}
					["gyhiwse"]
				}
				];
			}
		}
			return${
			$wspnibi
		};
	}
		public static function getItems(){
			${
			"GLOBALS"
		}
		["ikxlhqpx"]="value";
		$dyxzlfmsyi="bid_items";
			${
			"GLOBALS"
		}
		["hjsltjshrgti"]="bid_items_array";
		$hdgaldofp="items_array";
		$lbjntt="items_array";
		$nneabvkqoma="shop_items";
		$ajnnmeldp="key";
		$tdtibjor="bid_items_array";
			${
				${
				"GLOBALS"
			}
			["hbxbvimnnv"]
		}
		=new Database(DB_TYPE,DB_HOST,DB_NAME,DB_USER,DB_PASS);
			${
			$dyxzlfmsyi
		}
		=$db->select("SELECT id, item_id, quantity, bider_id FROM auction_item WHERE 1");
		$filwqee="items_array";
			${
				${
				"GLOBALS"
			}
			["hjsltjshrgti"]
		}
		=array();
			foreach(${
				${
				"GLOBALS"
			}
			["burugnebkx"]
		}
			 as${
			$ajnnmeldp
		}
			=>${
				${
				"GLOBALS"
			}
			["lbidpumqdhm"]
		}
			){
			$zhtaxs="key";
				${
				"GLOBALS"
			}
			["eiubldtibp"]="bid_items";
				${
					${
					"GLOBALS"
				}
				["iymntgnv"]
			}
				[${
					${
					"GLOBALS"
				}
				["eiubldtibp"]
			}
				[${
				$zhtaxs
			}
				]["item_id"]]=${
					${
					"GLOBALS"
				}
				["burugnebkx"]
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
			];
		}
			${
			$hdgaldofp
		}
			=${
			$tdtibjor
		};
		$pxlgrhrxmp="shop_items";
			${
			"GLOBALS"
		}
		["grgjrkv"]="key";
			foreach(${
				${
				"GLOBALS"
			}
			["vrbfrycr"]
		}
			 as${
				${
				"GLOBALS"
			}
			["grgjrkv"]
		}
			=>${
				${
				"GLOBALS"
			}
			["ikxlhqpx"]
		}
			){
				${
				"GLOBALS"
			}
			["sksaoiqvy"]="key";
				${
					${
					"GLOBALS"
				}
				["vrbfrycr"]
			}
				[${
					${
					"GLOBALS"
				}
				["sksaoiqvy"]
			}
				]="\"".${
					${
					"GLOBALS"
				}
				["vrbfrycr"]
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
			]["item_id"].""";
		}
			${
				${
				"GLOBALS"
			}
			["vrbfrycr"]
		}
			=implode(",",${
			$lbjntt
		}
		);
			${
				${
				"GLOBALS"
			}
			["kozdxcdn"]
		}
			=$db->select("SELECT * FROM shop_item WHERE item_id IN(".${
			$filwqee
		}
		.") ORDER BY id ASC");
			foreach(${
			$pxlgrhrxmp
		}
			 as${
				${
				"GLOBALS"
			}
			["jwrrsnui"]
		}
			=>${
				${
				"GLOBALS"
			}
			["lbidpumqdhm"]
		}
			){
			$wngxagch="shop_items";
			$yrnzreoeca="shop_items";
				${
				"GLOBALS"
			}
			["eajrisqp"]="bid_items_array";
				${
				"GLOBALS"
			}
			["mhrkjjcws"]="key";
				${
				"GLOBALS"
			}
			["ichkeysw"]="bid_items_array";
			$qezsuzztybi="key";
			$ibjilegoiyp="shop_items";
				${
				"GLOBALS"
			}
			["hwfukdjc"]="key";
				${
				$yrnzreoeca
			}
				[${
					${
					"GLOBALS"
				}
				["hwfukdjc"]
			}
				]["id"]=${
					${
					"GLOBALS"
				}
				["ichkeysw"]
			}
				[${
					${
					"GLOBALS"
				}
				["kozdxcdn"]
			}
				[${
				$qezsuzztybi
			}
			]["item_id"]]["id"];
				${
				$wngxagch
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
				]["quantity"]=${
					${
					"GLOBALS"
				}
				["iymntgnv"]
			}
				[${
					${
					"GLOBALS"
				}
				["kozdxcdn"]
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
			]["item_id"]]["quantity"];
				${
				$ibjilegoiyp
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
				]["bider_id"]=${
					${
					"GLOBALS"
				}
				["eajrisqp"]
			}
				[${
					${
					"GLOBALS"
				}
				["kozdxcdn"]
			}
				[${
					${
					"GLOBALS"
				}
				["mhrkjjcws"]
			}
			]["item_id"]]["bider_id"];
		}
			return self::array_sort(${
			$nneabvkqoma
		}
		,"id",SORT_ASC);
	}
		public static function getInfos(){
			${
			"GLOBALS"
		}
		["lxacdopg"]="infos";
			${
			"GLOBALS"
		}
		["bjhkbfu"]="db";
			${
			"GLOBALS"
		}
		["pdrrajvbl"]="infos";
			${
				${
				"GLOBALS"
			}
			["bjhkbfu"]
		}
		=new Database(DB_TYPE,DB_HOST,DB_NAME,DB_USER,DB_PASS);
			${
				${
				"GLOBALS"
			}
			["pdrrajvbl"]
		}
		=$db->select("SELECT * FROM auction WHERE finished=0");
			return${
				${
				"GLOBALS"
			}
			["lxacdopg"]
		};
	}
		public static function bid($itemId,$amount){
		$xrjkcb="amount";
			${
			"GLOBALS"
		}
		["pmxlhogq"]="itemId";
			${
				${
				"GLOBALS"
			}
			["hbxbvimnnv"]
		}
		=new Database(DB_TYPE,DB_HOST,DB_NAME,DB_USER,DB_PASS);
			${
				${
				"GLOBALS"
			}
			["ocdjbgt"]
		}
			=$db->select("SELECT * FROM auction_item WHERE item_id=:itemId",array("itemId"=>${
				${
				"GLOBALS"
			}
			["kctkbcofdkjm"]
		}
		));
			${
			"GLOBALS"
		}
		["fhqwpvmi"]="amount";
			if(count(${
				${
				"GLOBALS"
			}
			["ocdjbgt"]
		}
			)==0){
			return array(false,"Unknown item");
		}
			${
			"GLOBALS"
		}
		["swuxygqrujh"]="item";
			if(${
				${
				"GLOBALS"
			}
			["fhqwpvmi"]
		}
			<10000){
			return array(false,"Your bid must be at least of 10,000 credits");
		}
			if(User::current("credits")<${
				${
				"GLOBALS"
			}
			["rnuiixj"]
		}
			){
			return array(false,"Not enough credits");
		}
			if(${
				${
				"GLOBALS"
			}
			["pmxlhogq"]
		}
			=="iris"){
				if(Drone::getDronesCount("standard")==8){
				return array(false,"You already have 8 drones");
			}
		}
			if(User::current("premium")==1){
				Giver::addCredits(-${
					${
					"GLOBALS"
				}
				["rnuiixj"]
			}
			*0.95,Session::get("id"));
		}
			else{
				${
				"GLOBALS"
			}
			["ehtkxptkes"]="amount";
				Giver::addCredits(-${
					${
					"GLOBALS"
				}
				["ehtkxptkes"]
			}
			,Session::get("id"));
		}
			if(${
				${
				"GLOBALS"
			}
			["swuxygqrujh"]
		}
			[0]["highest_bid"]<${
			$xrjkcb
		}
			){
			$tnkkzxgd="itemId";
			$fbjvyxurzg="req";
			$kjbpgcuxkiut="amount";
				${
				$fbjvyxurzg
			}
			=$db->prepare("UPDATE auction_item SET highest_bid=:highest_bid, bider_id=:bider_id WHERE item_id=:item_id");
				$req->bindValue(":highest_bid",${
				$kjbpgcuxkiut
			}
			);
				$req->bindValue(":item_id",${
				$tnkkzxgd
			}
			);
			$req->bindValue(":bider_id",Session::get("id"));
			$req->execute();
		}
		return array(true,"Success");
	}
		public static function end(){
			${
				${
				"GLOBALS"
			}
			["hbxbvimnnv"]
		}
		=new Database(DB_TYPE,DB_HOST,DB_NAME,DB_USER,DB_PASS);
			${
			"GLOBALS"
		}
		["lhkvddtq"]="items";
			${
				${
				"GLOBALS"
			}
			["mfyjwxckpo"]
		}
		=$db->prepare("UPDATE auction SET finished=1");
		$req->execute();
		self::start();
			${
				${
				"GLOBALS"
			}
			["ynfjxfpvyu"]
		}
		=$db->select("SELECT * FROM auction_item WHERE 1");
			foreach(${
				${
				"GLOBALS"
			}
			["lhkvddtq"]
		}
			 as${
				${
				"GLOBALS"
			}
			["jwrrsnui"]
		}
			=>${
				${
				"GLOBALS"
			}
			["lbidpumqdhm"]
		}
			){
				${
				"GLOBALS"
			}
			["zvlmqavky"]="item_type";
				${
				"GLOBALS"
			}
			["pvhtzpu"]="user_id";
			$pkqcikzfgqql="key";
			$xstivetl="ammo_id";
				${
				"GLOBALS"
			}
			["xmgoftmw"]="user_id";
				${
				"GLOBALS"
			}
			["eujxtjb"]="items";
				${
				"GLOBALS"
			}
			["iarujwhlk"]="key";
			$vukhwq="key";
				${
				"GLOBALS"
			}
			["osaqprhobqk"]="user_id";
				${
				"GLOBALS"
			}
			["acwweys"]="key";
			$moooypmpr="key";
			$nbnoxghn="key";
				${
				"GLOBALS"
			}
			["adxihmj"]="items";
				${
				"GLOBALS"
			}
			["okbpor"]="key";
			$lwravstr="items";
				${
					${
					"GLOBALS"
				}
				["zvlmqavky"]
			}
			="undefined";
				${
				"GLOBALS"
			}
			["fmwpqxwfxf"]="ammo_type";
				${
					${
					"GLOBALS"
				}
				["fmwpqxwfxf"]
			}
			="undefined";
			$mzhedtxw="item_type";
				${
					${
					"GLOBALS"
				}
				["zqoowac"]
			}
				=${
					${
					"GLOBALS"
				}
				["eujxtjb"]
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
			]["bider_id"];
				${
					${
					"GLOBALS"
				}
				["nruonytos"]
			}
				=${
					${
					"GLOBALS"
				}
				["ynfjxfpvyu"]
			}
				[${
					${
					"GLOBALS"
				}
				["okbpor"]
			}
			]["quantity"];
			$xpikbmspqoa="ammo_id";
				${
				"GLOBALS"
			}
			["sjgxvohs"]="ammo_id";
			$lwdjmf="user_id";
				if(${
					${
					"GLOBALS"
				}
				["zqoowac"]
			}
				==0){
				echo"UserId = 0 : ignore<br/>";
				continue;
			}
				if(substr(${
					${
					"GLOBALS"
				}
				["ynfjxfpvyu"]
			}
				[${
					${
					"GLOBALS"
				}
				["acwweys"]
			}
				]["item_id"],0,4)=="ammo"){
				$miakiqiqlci="ammo_type";
					${
						${
						"GLOBALS"
					}
					["vuhwlryhl"]
				}
				="ammo";
					${
					$miakiqiqlci
				}
				="laser";
			}
				if(substr(${
					${
					"GLOBALS"
				}
				["adxihmj"]
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
				]["item_id"],0,6)=="rocket"){
				$krdcdvbcogy="item_type";
					${
					$krdcdvbcogy
				}
				="ammo";
					${
						${
						"GLOBALS"
					}
					["ipxvgbup"]
				}
				="rocket";
			}
				${
				"GLOBALS"
			}
			["uikusoiqcu"]="user_id";
				if(substr(${
					${
					"GLOBALS"
				}
				["ynfjxfpvyu"]
			}
				[${
				$vukhwq
			}
				]["item_id"],0,9)=="hellstorm"){
					${
						${
						"GLOBALS"
					}
					["vuhwlryhl"]
				}
				="ammo";
					${
					"GLOBALS"
				}
				["rkajlvnbd"]="ammo_type";
					${
						${
						"GLOBALS"
					}
					["rkajlvnbd"]
				}
				="hellstorms";
			}
				if(substr(${
					${
					"GLOBALS"
				}
				["ynfjxfpvyu"]
			}
				[${
					${
					"GLOBALS"
				}
				["iarujwhlk"]
			}
				]["item_id"],0,7)=="special"){
					${
						${
						"GLOBALS"
					}
					["vuhwlryhl"]
				}
				="ammo";
					${
					"GLOBALS"
				}
				["srojfenfvw"]="ammo_type";
					${
						${
						"GLOBALS"
					}
					["srojfenfvw"]
				}
				="special";
			}
			$qffenqymkvqx="key";
				${
				"GLOBALS"
			}
			["fcvqqvhppnd"]="ammo_id";
				if(${
					${
					"GLOBALS"
				}
				["ynfjxfpvyu"]
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
				]["item_id"]=="logfile"){
					${
					"GLOBALS"
				}
				["nnovrjj"]="item_type";
					${
						${
						"GLOBALS"
					}
					["nnovrjj"]
				}
				="logfile";
			}
			$jmsqbke="ammo_id";
				if(substr(${
					${
					"GLOBALS"
				}
				["ynfjxfpvyu"]
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
				]["item_id"],0,7)=="booster"){
					${
						${
						"GLOBALS"
					}
					["vuhwlryhl"]
				}
				="booster";
			}
				${
				"GLOBALS"
			}
			["lwwdpeiduk"]="quantity";
				if(${
				$lwravstr
			}
				[${
				$pkqcikzfgqql
			}
				]["item_id"]=="iris"){
					${
						${
						"GLOBALS"
					}
					["vuhwlryhl"]
				}
				="drone";
			}
				if(substr(${
					${
					"GLOBALS"
				}
				["ynfjxfpvyu"]
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
				]["item_id"],0,4)=="ship"){
					${
						${
						"GLOBALS"
					}
					["vuhwlryhl"]
				}
				="ship";
			}
				switch(${
				$mzhedtxw
			}
				){
					case"ammo":${
						${
						"GLOBALS"
					}
					["vhbbtlhys"]
				}
					=${
						${
						"GLOBALS"
					}
					["ynfjxfpvyu"]
				}
					[${
					$qffenqymkvqx
				}
				]["item_id"];
					${
						${
						"GLOBALS"
					}
					["vhbbtlhys"]
				}
					=str_replace("ammo_","",${
						${
						"GLOBALS"
					}
					["vhbbtlhys"]
				}
				);
					${
						${
						"GLOBALS"
					}
					["vhbbtlhys"]
				}
					=str_replace("rocket_","",${
					$xstivetl
				}
				);
					${
						${
						"GLOBALS"
					}
					["vhbbtlhys"]
				}
					=str_replace("hellstorm_","",${
					$jmsqbke
				}
				);
					${
						${
						"GLOBALS"
					}
					["vhbbtlhys"]
				}
					=str_replace("special_","",${
						${
						"GLOBALS"
					}
					["fcvqqvhppnd"]
				}
				);
					${
					$xpikbmspqoa
				}
					=str_replace("-","",${
						${
						"GLOBALS"
					}
					["sjgxvohs"]
				}
				);
					Giver::addAmmo(${
						${
						"GLOBALS"
					}
					["ipxvgbup"]
				}
					,${
						${
						"GLOBALS"
					}
					["vhbbtlhys"]
				}
					,${
						${
						"GLOBALS"
					}
					["nruonytos"]
				}
					,${
					$lwdjmf
				}
				);
					WebSocket::refresh("ammo",${
						${
						"GLOBALS"
					}
					["zqoowac"]
				}
				);
				break;
					case"logfile":Giver::addLogfile(${
						${
						"GLOBALS"
					}
					["lwwdpeiduk"]
				}
					,${
						${
						"GLOBALS"
					}
					["xmgoftmw"]
				}
				);
				break;
					case"booster":${
						${
						"GLOBALS"
					}
					["twhtidwcvem"]
				}
					=str_replace("booster_","",${
						${
						"GLOBALS"
					}
					["ynfjxfpvyu"]
				}
					[${
					$moooypmpr
				}
				]["item_id"]);
					Giver::addBooster(${
						${
						"GLOBALS"
					}
					["twhtidwcvem"]
				}
					,${
						${
						"GLOBALS"
					}
					["nruonytos"]
				}
					,${
						${
						"GLOBALS"
					}
					["osaqprhobqk"]
				}
				);
				break;
					case"drone":if(Drone::getUserDronesCount("standard",${
						${
						"GLOBALS"
					}
					["zqoowac"]
				}
					)>=8){
					continue;
				}
					Giver::addDrone("iris",${
						${
						"GLOBALS"
					}
					["pvhtzpu"]
				}
				);
					WebSocket::refresh("drones",${
						${
						"GLOBALS"
					}
					["zqoowac"]
				}
				);
				break;
					case"ship":Giver::addShip(${
						${
						"GLOBALS"
					}
					["ynfjxfpvyu"]
				}
					[${
						${
						"GLOBALS"
					}
					["jwrrsnui"]
				}
					]["ship_id"],${
						${
						"GLOBALS"
					}
					["zqoowac"]
				}
				);
				break;
			}
				$db->insert("users_log",array("playerid"=>${
					${
					"GLOBALS"
				}
				["zqoowac"]
			}
				,"message"=>"<b class="fg-green">Auction won (".${
					${
					"GLOBALS"
				}
				["ynfjxfpvyu"]
			}
				[${
				$nbnoxghn
			}
			]["item_id"].")</b>"));
				echo${
					${
					"GLOBALS"
				}
				["vuhwlryhl"]
			}
				.":".${
					${
					"GLOBALS"
				}
				["uikusoiqcu"]
			}
			."<br/>";
		}
			${
				${
				"GLOBALS"
			}
			["mfyjwxckpo"]
		}
		=$db->prepare("UPDATE auction_item SET bider_id=0, highest_bid=0");
		$req->execute();
	}
		public static function start(){
		$zfwzjto="now";
			${
			"GLOBALS"
		}
		["omrrokiebsk"]="db";
		$fvnnqy="now";
			${
				${
				"GLOBALS"
			}
			["omrrokiebsk"]
		}
		=new Database(DB_TYPE,DB_HOST,DB_NAME,DB_USER,DB_PASS);
			${
			$zfwzjto
		}
		=time();
			${
			"GLOBALS"
		}
		["lxupxzj"]="db";
			${
				${
				"GLOBALS"
			}
			["ncrpwccok"]
		}
			=strtotime(date(DATE_ATOM,${
			$fvnnqy
		}
			+(3600-${
				${
				"GLOBALS"
			}
			["cnxppnuha"]
		}
		%3600)));
			${
				${
				"GLOBALS"
			}
			["hddljdoxnm"]
		}
			=strtotime(date(DATE_ATOM,${
				${
				"GLOBALS"
			}
			["cnxppnuha"]
		}
			-(${
				${
				"GLOBALS"
			}
			["cnxppnuha"]
		}
		%3600)));
			$db->insert("auction",array("starting_at"=>${
				${
				"GLOBALS"
			}
			["hddljdoxnm"]
		}
			,"ending_at"=>${
				${
				"GLOBALS"
			}
			["ncrpwccok"]
		}
		));
			${
				${
				"GLOBALS"
			}
			["lxupxzj"]
		}
		=null;
	}
}

	${
	"GLOBALS"
}
["hddljdoxnm"]="starting";
	${
	"GLOBALS"
}
["cnxppnuha"]="now";
	${
	"GLOBALS"
}
["ncrpwccok"]="ending";
	${
	"GLOBALS"
}
["twhtidwcvem"]="booster_id";
	${
	"GLOBALS"
}
["vhbbtlhys"]="ammo_id";
	${
	"GLOBALS"
}
["ipxvgbup"]="ammo_type";
	${
	"GLOBALS"
}
["vuhwlryhl"]="item_type";
	${
	"GLOBALS"
}
["nruonytos"]="quantity";
	${
	"GLOBALS"
}
["zqoowac"]="user_id";
	${
	"GLOBALS"
}
["ynfjxfpvyu"]="items";
	${
	"GLOBALS"
}
["mfyjwxckpo"]="req";
	${
	"GLOBALS"
}
["rnuiixj"]="amount";
	${
	"GLOBALS"
}
["kctkbcofdkjm"]="itemId";
	${
	"GLOBALS"
}
["ocdjbgt"]="item";
	${
	"GLOBALS"
}
["kozdxcdn"]="shop_items";
	${
	"GLOBALS"
}
["vrbfrycr"]="items_array";
	${
	"GLOBALS"
}
["jwrrsnui"]="key";
	${
	"GLOBALS"
}
["iymntgnv"]="bid_items_array";
	${
	"GLOBALS"
}
["lbidpumqdhm"]="value";
	${
	"GLOBALS"
}
["burugnebkx"]="bid_items";
	${
	"GLOBALS"
}
["hbxbvimnnv"]="db";
	${
	"GLOBALS"
}
["yuuppdar"]="order";
	${
	"GLOBALS"
}
["fkdajzlf"]="v2";
	${
	"GLOBALS"
}
["gyhiwse"]="k";
	${
	"GLOBALS"
}
["pxqavbwpltn"]="sortable_array";
	${
	"GLOBALS"
}
["kckwitqvpun"]="k2";
	${
	"GLOBALS"
}
["tkfyadyzvk"]="v";
	${
	"GLOBALS"
}
["leuidymc"]="array";
	${
	"GLOBALS"
}
["pfqnhmfiad"]="new_array";
	class Auction{
		private static function array_sort($array,$on,$order=SORT_ASC){
			${
			"GLOBALS"
		}
		["dwnmpgfdzs"]="sortable_array";
			${
				${
				"GLOBALS"
			}
			["pfqnhmfiad"]
		}
		=array();
			${
				${
				"GLOBALS"
			}
			["dwnmpgfdzs"]
		}
		=array();
			if(count(${
				${
				"GLOBALS"
			}
			["leuidymc"]
		}
			)>0){
				${
				"GLOBALS"
			}
			["mfdwlqdw"]="k";
				foreach(${
					${
					"GLOBALS"
				}
				["leuidymc"]
			}
				 as${
					${
					"GLOBALS"
				}
				["mfdwlqdw"]
			}
				=>${
					${
					"GLOBALS"
				}
				["tkfyadyzvk"]
			}
				){
					if(is_array(${
						${
						"GLOBALS"
					}
					["tkfyadyzvk"]
				}
					)){
						foreach(${
							${
							"GLOBALS"
						}
						["tkfyadyzvk"]
					}
						 as${
							${
							"GLOBALS"
						}
						["kckwitqvpun"]
					}
						=>${
						"v2"
					}
						){
							${
							"GLOBALS"
						}
						["sdvcacvhjy"]="on";
							if(${
								${
								"GLOBALS"
							}
							["kckwitqvpun"]
						}
							==${
								${
								"GLOBALS"
							}
							["sdvcacvhjy"]
						}
							){
								${
									${
									"GLOBALS"
								}
								["pxqavbwpltn"]
							}
								[${
									${
									"GLOBALS"
								}
								["gyhiwse"]
							}
								]=${
									${
									"GLOBALS"
								}
								["fkdajzlf"]
							};
						}
					}
				}
					else{
						${
						"GLOBALS"
					}
					["qxpcqmfg"]="k";
						${
							${
							"GLOBALS"
						}
						["pxqavbwpltn"]
					}
						[${
							${
							"GLOBALS"
						}
						["qxpcqmfg"]
					}
						]=${
							${
							"GLOBALS"
						}
						["tkfyadyzvk"]
					};
				}
			}
				switch(${
					${
					"GLOBALS"
				}
				["yuuppdar"]
			}
				){
					case SORT_ASC:asort(${
						${
						"GLOBALS"
					}
					["pxqavbwpltn"]
				}
				);
				break;
					case SORT_DESC:arsort(${
						${
						"GLOBALS"
					}
					["pxqavbwpltn"]
				}
				);
				break;
			}
				foreach(${
					${
					"GLOBALS"
				}
				["pxqavbwpltn"]
			}
				 as${
				"k"
			}
				=>${
					${
					"GLOBALS"
				}
				["tkfyadyzvk"]
			}
				){
					${
					"GLOBALS"
				}
				["wsrlykyixur"]="array";
					${
						${
						"GLOBALS"
					}
					["pfqnhmfiad"]
				}
					[${
					"k"
				}
					]=${
						${
						"GLOBALS"
					}
					["wsrlykyixur"]
				}
					[${
						${
						"GLOBALS"
					}
					["gyhiwse"]
				}
				];
			}
		}
			return${
			"new_array"
		};
	}
		public static function getItems(){
			${
			"GLOBALS"
		}
		["ikxlhqpx"]="value";
			${
			"GLOBALS"
		}
		["hjsltjshrgti"]="bid_items_array";
			${
				${
				"GLOBALS"
			}
			["hbxbvimnnv"]
		}
		=new Database(DB_TYPE,DB_HOST,DB_NAME,DB_USER,DB_PASS);
			${
			"bid_items"
		}
		=$db->select("SELECT id, item_id, quantity, bider_id FROM auction_item WHERE 1");
			${
				${
				"GLOBALS"
			}
			["hjsltjshrgti"]
		}
		=array();
			foreach(${
				${
				"GLOBALS"
			}
			["burugnebkx"]
		}
			 as${
			"key"
		}
			=>${
				${
				"GLOBALS"
			}
			["lbidpumqdhm"]
		}
			){
				${
				"GLOBALS"
			}
			["eiubldtibp"]="bid_items";
				${
					${
					"GLOBALS"
				}
				["iymntgnv"]
			}
				[${
					${
					"GLOBALS"
				}
				["eiubldtibp"]
			}
				[${
				"key"
			}
				]["item_id"]]=${
					${
					"GLOBALS"
				}
				["burugnebkx"]
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
			];
		}
			${
			"items_array"
		}
			=${
			"bid_items_array"
		};
			${
			"GLOBALS"
		}
		["grgjrkv"]="key";
			foreach(${
				${
				"GLOBALS"
			}
			["vrbfrycr"]
		}
			 as${
				${
				"GLOBALS"
			}
			["grgjrkv"]
		}
			=>${
				${
				"GLOBALS"
			}
			["ikxlhqpx"]
		}
			){
				${
				"GLOBALS"
			}
			["sksaoiqvy"]="key";
				${
					${
					"GLOBALS"
				}
				["vrbfrycr"]
			}
				[${
					${
					"GLOBALS"
				}
				["sksaoiqvy"]
			}
				]="\"".${
					${
					"GLOBALS"
				}
				["vrbfrycr"]
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
			]["item_id"].""";
		}
			${
				${
				"GLOBALS"
			}
			["vrbfrycr"]
		}
			=implode(",",${
			"items_array"
		}
		);
			${
				${
				"GLOBALS"
			}
			["kozdxcdn"]
		}
			=$db->select("SELECT * FROM shop_item WHERE item_id IN(".${
			"items_array"
		}
		.") ORDER BY id ASC");
			foreach(${
			"shop_items"
		}
			 as${
				${
				"GLOBALS"
			}
			["jwrrsnui"]
		}
			=>${
				${
				"GLOBALS"
			}
			["lbidpumqdhm"]
		}
			){
				${
				"GLOBALS"
			}
			["eajrisqp"]="bid_items_array";
				${
				"GLOBALS"
			}
			["mhrkjjcws"]="key";
				${
				"GLOBALS"
			}
			["ichkeysw"]="bid_items_array";
				${
				"GLOBALS"
			}
			["hwfukdjc"]="key";
				${
				"shop_items"
			}
				[${
					${
					"GLOBALS"
				}
				["hwfukdjc"]
			}
				]["id"]=${
					${
					"GLOBALS"
				}
				["ichkeysw"]
			}
				[${
					${
					"GLOBALS"
				}
				["kozdxcdn"]
			}
				[${
				"key"
			}
			]["item_id"]]["id"];
				${
				"shop_items"
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
				]["quantity"]=${
					${
					"GLOBALS"
				}
				["iymntgnv"]
			}
				[${
					${
					"GLOBALS"
				}
				["kozdxcdn"]
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
			]["item_id"]]["quantity"];
				${
				"shop_items"
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
				]["bider_id"]=${
					${
					"GLOBALS"
				}
				["eajrisqp"]
			}
				[${
					${
					"GLOBALS"
				}
				["kozdxcdn"]
			}
				[${
					${
					"GLOBALS"
				}
				["mhrkjjcws"]
			}
			]["item_id"]]["bider_id"];
		}
			return self::array_sort(${
			"shop_items"
		}
		,"id",SORT_ASC);
	}
		public static function getInfos(){
			${
			"GLOBALS"
		}
		["lxacdopg"]="infos";
			${
			"GLOBALS"
		}
		["bjhkbfu"]="db";
			${
			"GLOBALS"
		}
		["pdrrajvbl"]="infos";
			${
				${
				"GLOBALS"
			}
			["bjhkbfu"]
		}
		=new Database(DB_TYPE,DB_HOST,DB_NAME,DB_USER,DB_PASS);
			${
				${
				"GLOBALS"
			}
			["pdrrajvbl"]
		}
		=$db->select("SELECT * FROM auction WHERE finished=0");
			return${
				${
				"GLOBALS"
			}
			["lxacdopg"]
		};
	}
		public static function bid($itemId,$amount){
			${
			"GLOBALS"
		}
		["pmxlhogq"]="itemId";
			${
				${
				"GLOBALS"
			}
			["hbxbvimnnv"]
		}
		=new Database(DB_TYPE,DB_HOST,DB_NAME,DB_USER,DB_PASS);
			${
				${
				"GLOBALS"
			}
			["ocdjbgt"]
		}
			=$db->select("SELECT * FROM auction_item WHERE item_id=:itemId",array("itemId"=>${
				${
				"GLOBALS"
			}
			["kctkbcofdkjm"]
		}
		));
			${
			"GLOBALS"
		}
		["fhqwpvmi"]="amount";
			if(count(${
				${
				"GLOBALS"
			}
			["ocdjbgt"]
		}
			)==0){
			return array(false,"Unknown item");
		}
			${
			"GLOBALS"
		}
		["swuxygqrujh"]="item";
			if(${
				${
				"GLOBALS"
			}
			["fhqwpvmi"]
		}
			<10000){
			return array(false,"Your bid must be at least of 10,000 credits");
		}
			if(User::current("credits")<${
				${
				"GLOBALS"
			}
			["rnuiixj"]
		}
			){
			return array(false,"Not enough credits");
		}
			if(${
				${
				"GLOBALS"
			}
			["pmxlhogq"]
		}
			=="iris"){
				if(Drone::getDronesCount("standard")==8){
				return array(false,"You already have 8 drones");
			}
		}
			if(User::current("premium")==1){
				Giver::addCredits(-${
					${
					"GLOBALS"
				}
				["rnuiixj"]
			}
			*0.95,Session::get("id"));
		}
			else{
				${
				"GLOBALS"
			}
			["ehtkxptkes"]="amount";
				Giver::addCredits(-${
					${
					"GLOBALS"
				}
				["ehtkxptkes"]
			}
			,Session::get("id"));
		}
			if(${
				${
				"GLOBALS"
			}
			["swuxygqrujh"]
		}
			[0]["highest_bid"]<${
			"amount"
		}
			){
				${
				"req"
			}
			=$db->prepare("UPDATE auction_item SET highest_bid=:highest_bid, bider_id=:bider_id WHERE item_id=:item_id");
				$req->bindValue(":highest_bid",${
				"amount"
			}
			);
				$req->bindValue(":item_id",${
				"itemId"
			}
			);
			$req->bindValue(":bider_id",Session::get("id"));
			$req->execute();
		}
		return array(true,"Success");
	}
		public static function end(){
			${
				${
				"GLOBALS"
			}
			["hbxbvimnnv"]
		}
		=new Database(DB_TYPE,DB_HOST,DB_NAME,DB_USER,DB_PASS);
			${
			"GLOBALS"
		}
		["lhkvddtq"]="items";
			${
				${
				"GLOBALS"
			}
			["mfyjwxckpo"]
		}
		=$db->prepare("UPDATE auction SET finished=1");
		$req->execute();
		self::start();
			${
				${
				"GLOBALS"
			}
			["ynfjxfpvyu"]
		}
		=$db->select("SELECT * FROM auction_item WHERE 1");
			foreach(${
				${
				"GLOBALS"
			}
			["lhkvddtq"]
		}
			 as${
				${
				"GLOBALS"
			}
			["jwrrsnui"]
		}
			=>${
				${
				"GLOBALS"
			}
			["lbidpumqdhm"]
		}
			){
				${
				"GLOBALS"
			}
			["zvlmqavky"]="item_type";
				${
				"GLOBALS"
			}
			["pvhtzpu"]="user_id";
				${
				"GLOBALS"
			}
			["xmgoftmw"]="user_id";
				${
				"GLOBALS"
			}
			["eujxtjb"]="items";
				${
				"GLOBALS"
			}
			["iarujwhlk"]="key";
				${
				"GLOBALS"
			}
			["osaqprhobqk"]="user_id";
				${
				"GLOBALS"
			}
			["acwweys"]="key";
				${
				"GLOBALS"
			}
			["adxihmj"]="items";
				${
				"GLOBALS"
			}
			["okbpor"]="key";
				${
					${
					"GLOBALS"
				}
				["zvlmqavky"]
			}
			="undefined";
				${
				"GLOBALS"
			}
			["fmwpqxwfxf"]="ammo_type";
				${
					${
					"GLOBALS"
				}
				["fmwpqxwfxf"]
			}
			="undefined";
				${
					${
					"GLOBALS"
				}
				["zqoowac"]
			}
				=${
					${
					"GLOBALS"
				}
				["eujxtjb"]
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
			]["bider_id"];
				${
					${
					"GLOBALS"
				}
				["nruonytos"]
			}
				=${
					${
					"GLOBALS"
				}
				["ynfjxfpvyu"]
			}
				[${
					${
					"GLOBALS"
				}
				["okbpor"]
			}
			]["quantity"];
				${
				"GLOBALS"
			}
			["sjgxvohs"]="ammo_id";
				if(${
					${
					"GLOBALS"
				}
				["zqoowac"]
			}
				==0){
				echo"UserId = 0 : ignore<br/>";
				continue;
			}
				if(substr(${
					${
					"GLOBALS"
				}
				["ynfjxfpvyu"]
			}
				[${
					${
					"GLOBALS"
				}
				["acwweys"]
			}
				]["item_id"],0,4)=="ammo"){
					${
						${
						"GLOBALS"
					}
					["vuhwlryhl"]
				}
				="ammo";
					${
					"ammo_type"
				}
				="laser";
			}
				if(substr(${
					${
					"GLOBALS"
				}
				["adxihmj"]
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
				]["item_id"],0,6)=="rocket"){
					${
					"item_type"
				}
				="ammo";
					${
						${
						"GLOBALS"
					}
					["ipxvgbup"]
				}
				="rocket";
			}
				${
				"GLOBALS"
			}
			["uikusoiqcu"]="user_id";
				if(substr(${
					${
					"GLOBALS"
				}
				["ynfjxfpvyu"]
			}
				[${
				"key"
			}
				]["item_id"],0,9)=="hellstorm"){
					${
						${
						"GLOBALS"
					}
					["vuhwlryhl"]
				}
				="ammo";
					${
					"GLOBALS"
				}
				["rkajlvnbd"]="ammo_type";
					${
						${
						"GLOBALS"
					}
					["rkajlvnbd"]
				}
				="hellstorms";
			}
				if(substr(${
					${
					"GLOBALS"
				}
				["ynfjxfpvyu"]
			}
				[${
					${
					"GLOBALS"
				}
				["iarujwhlk"]
			}
				]["item_id"],0,7)=="special"){
					${
						${
						"GLOBALS"
					}
					["vuhwlryhl"]
				}
				="ammo";
					${
					"GLOBALS"
				}
				["srojfenfvw"]="ammo_type";
					${
						${
						"GLOBALS"
					}
					["srojfenfvw"]
				}
				="special";
			}
				${
				"GLOBALS"
			}
			["fcvqqvhppnd"]="ammo_id";
				if(${
					${
					"GLOBALS"
				}
				["ynfjxfpvyu"]
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
				]["item_id"]=="logfile"){
					${
					"GLOBALS"
				}
				["nnovrjj"]="item_type";
					${
						${
						"GLOBALS"
					}
					["nnovrjj"]
				}
				="logfile";
			}
				if(substr(${
					${
					"GLOBALS"
				}
				["ynfjxfpvyu"]
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
				]["item_id"],0,7)=="booster"){
					${
						${
						"GLOBALS"
					}
					["vuhwlryhl"]
				}
				="booster";
			}
				${
				"GLOBALS"
			}
			["lwwdpeiduk"]="quantity";
				if(${
				"items"
			}
				[${
				"key"
			}
				]["item_id"]=="iris"){
					${
						${
						"GLOBALS"
					}
					["vuhwlryhl"]
				}
				="drone";
			}
				if(substr(${
					${
					"GLOBALS"
				}
				["ynfjxfpvyu"]
			}
				[${
					${
					"GLOBALS"
				}
				["jwrrsnui"]
			}
				]["item_id"],0,4)=="ship"){
					${
						${
						"GLOBALS"
					}
					["vuhwlryhl"]
				}
				="ship";
			}
				switch(${
				"item_type"
			}
				){
					case"ammo":${
						${
						"GLOBALS"
					}
					["vhbbtlhys"]
				}
					=${
						${
						"GLOBALS"
					}
					["ynfjxfpvyu"]
				}
					[${
					"key"
				}
				]["item_id"];
					${
						${
						"GLOBALS"
					}
					["vhbbtlhys"]
				}
					=str_replace("ammo_","",${
						${
						"GLOBALS"
					}
					["vhbbtlhys"]
				}
				);
					${
						${
						"GLOBALS"
					}
					["vhbbtlhys"]
				}
					=str_replace("rocket_","",${
					"ammo_id"
				}
				);
					${
						${
						"GLOBALS"
					}
					["vhbbtlhys"]
				}
					=str_replace("hellstorm_","",${
					"ammo_id"
				}
				);
					${
						${
						"GLOBALS"
					}
					["vhbbtlhys"]
				}
					=str_replace("special_","",${
						${
						"GLOBALS"
					}
					["fcvqqvhppnd"]
				}
				);
					${
					"ammo_id"
				}
					=str_replace("-","",${
						${
						"GLOBALS"
					}
					["sjgxvohs"]
				}
				);
					Giver::addAmmo(${
						${
						"GLOBALS"
					}
					["ipxvgbup"]
				}
					,${
						${
						"GLOBALS"
					}
					["vhbbtlhys"]
				}
					,${
						${
						"GLOBALS"
					}
					["nruonytos"]
				}
					,${
					"user_id"
				}
				);
					WebSocket::refresh("ammo",${
						${
						"GLOBALS"
					}
					["zqoowac"]
				}
				);
				break;
					case"logfile":Giver::addLogfile(${
						${
						"GLOBALS"
					}
					["lwwdpeiduk"]
				}
					,${
						${
						"GLOBALS"
					}
					["xmgoftmw"]
				}
				);
				break;
					case"booster":${
						${
						"GLOBALS"
					}
					["twhtidwcvem"]
				}
					=str_replace("booster_","",${
						${
						"GLOBALS"
					}
					["ynfjxfpvyu"]
				}
					[${
					"key"
				}
				]["item_id"]);
					Giver::addBooster(${
						${
						"GLOBALS"
					}
					["twhtidwcvem"]
				}
					,${
						${
						"GLOBALS"
					}
					["nruonytos"]
				}
					,${
						${
						"GLOBALS"
					}
					["osaqprhobqk"]
				}
				);
				break;
					case"drone":if(Drone::getUserDronesCount("standard",${
						${
						"GLOBALS"
					}
					["zqoowac"]
				}
					)>=8){
					continue;
				}
					Giver::addDrone("iris",${
						${
						"GLOBALS"
					}
					["pvhtzpu"]
				}
				);
					WebSocket::refresh("drones",${
						${
						"GLOBALS"
					}
					["zqoowac"]
				}
				);
				break;
					case"ship":Giver::addShip(${
						${
						"GLOBALS"
					}
					["ynfjxfpvyu"]
				}
					[${
						${
						"GLOBALS"
					}
					["jwrrsnui"]
				}
					]["ship_id"],${
						${
						"GLOBALS"
					}
					["zqoowac"]
				}
				);
				break;
			}
				$db->insert("users_log",array("playerid"=>${
					${
					"GLOBALS"
				}
				["zqoowac"]
			}
				,"message"=>"<b class="fg-green">Auction won (".${
					${
					"GLOBALS"
				}
				["ynfjxfpvyu"]
			}
				[${
				"key"
			}
			]["item_id"].")</b>"));
				echo${
					${
					"GLOBALS"
				}
				["vuhwlryhl"]
			}
				.":".${
					${
					"GLOBALS"
				}
				["uikusoiqcu"]
			}
			."<br/>";
		}
			${
				${
				"GLOBALS"
			}
			["mfyjwxckpo"]
		}
		=$db->prepare("UPDATE auction_item SET bider_id=0, highest_bid=0");
		$req->execute();
	}
		public static function start(){
			${
			"GLOBALS"
		}
		["omrrokiebsk"]="db";
			${
				${
				"GLOBALS"
			}
			["omrrokiebsk"]
		}
		=new Database(DB_TYPE,DB_HOST,DB_NAME,DB_USER,DB_PASS);
			${
			"now"
		}
		=time();
			${
			"GLOBALS"
		}
		["lxupxzj"]="db";
			${
				${
				"GLOBALS"
			}
			["ncrpwccok"]
		}
			=strtotime(date(DATE_ATOM,${
			"now"
		}
			+(3600-${
				${
				"GLOBALS"
			}
			["cnxppnuha"]
		}
		%3600)));
			${
				${
				"GLOBALS"
			}
			["hddljdoxnm"]
		}
			=strtotime(date(DATE_ATOM,${
				${
				"GLOBALS"
			}
			["cnxppnuha"]
		}
			-(${
				${
				"GLOBALS"
			}
			["cnxppnuha"]
		}
		%3600)));
			$db->insert("auction",array("starting_at"=>${
				${
				"GLOBALS"
			}
			["hddljdoxnm"]
		}
			,"ending_at"=>${
				${
				"GLOBALS"
			}
			["ncrpwccok"]
		}
		));
			${
				${
				"GLOBALS"
			}
			["lxupxzj"]
		}
		=null;
	}
}



© 2023 Quttera Ltd. All rights reserved.