<?php
/**
 * Manually Developed CI View - token_verify_response.php
 *
 * @package			AIR\views
 * @version			2.7
 * @uses
 * @see
 * @copyright		2015, BizyCorp Internal Systems Development
 * @license			private, All rights reserved
 * @author			Mohamed Roshan <roshan@ekwa.com>
 *
 */
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * Manually Developed CI View
 *
 * This is to view responce token verification data as XML feed
 *
 * @package			AIR\views
 * @version			2.7
 * @uses
 * @see
 * @copyright		2015, BizyCorp Internal Systems Development
 * @license			private, All rights reserved
 * @author			Mohamed Roshan <roshan@ekwa.com>
 * @created			Jul 18, 2014
 * @modified
 * @modification
 *
*/
class dummy_cls{
	// Just a dummy clas for phpdoc to catch the doc header.
}

header("Content-type:text/xml");
echo "<AR>";
echo "<TOKENVALIDITY>$validity</TOKENVALIDITY>";
if (!empty($errors)) {
	echo "<ERRORCODE>$code</ERRORCODE>";
	echo "<ERROR>$errors</ERROR>";	
}
if(!empty($debug)){
	echo "<DEBUG>".trim($debug)."</DEBUG>";
}
echo "</AR>";
?>