Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: thefoneshop_getcodes.php
<?php require_once(APPPATH . 'libraries/cron/thefoneshop.api.class.php'); function TheFoneShopGetOrder($refid, $apiKey, $accountId, $serverURL) { $datarr = array(); $datarr['REFERENCE_ID'] = $refid; $api = new TheFoneShop(); $api->action('GET_IMEI_ORDER', $apiKey, $accountId, $serverURL, $datarr); $api->XmlToArray(base64_decode($api->getResult())); $arrResponse = $api->createArray(); $returnarr = array(); if (strtolower(trim($arrResponse['message']['status'])) == "ok") { if(isset($arrResponse['message']['order_status'])) $returnarr['order_status'] = strtolower(trim($arrResponse['message']['order_status'])); if(isset($arrResponse['message']['reaply_txt'])) $returnarr['unlockdata'] = strtolower(trim($arrResponse['message']['reaply_txt'])); } return $returnarr; } ?>