'); $xml->addChild('status', $api_status); $xml->addChild('key', $api_key); XMLsave($xml, $thisdatafile); } # if the api file does not exist if (!file_exists($thisdatafile)) { $xml = new SimpleXMLExtended(''); $xml->addChild('status', 'false'); $xml->addChild('key', strtoupper(substr(md5(uniqid(rand(), true)),0,10)) ); XMLsave($xml, $thisdatafile); } # get data to show in control panel $api=getXML($thisdatafile); $enabled_status = null; if ($api->status == 'true') { $enabled_status = 'checked'; } ?>

GetSimple

key; ?>   


*