Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: blueunlock_getcodes.php
<?php require_once(APPPATH . 'libraries/blueunlock/api.php'); function BLUEUNLOCK_GetOrder($refid, $apiKey, $serverURL) { $api=new GFM_API(); $api->sendCommand('IMEI_STATUS', $apiKey, $serverURL, array('id' => $refid)); $resultArray = $api->parse2Array($api->getResult()); $total = count($resultArray['RESULT']); for($count=1; $count<= $total; $count++) { $operator = $resultArray['RESULT']['ORDER' . $count]; $returnarr = array(); $returnarr['order_status'] = $operator['STATUS']; $returnarr['unlockdata'] = $operator['UNLOCK_CODE']; return $returnarr; } } ?>