<?php
/**
 * Manually Developed CI View - add_new_app_form.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 display UAACS app information for given application id
 *
 * @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.
}

require_once('/home/kinderor/public_html/UAACS/API/functions.php');

$uid = (isset($_GET['uid']))?$_GET['uid']:null;
$appId = (isset($_GET['appid']))?$_GET['appid']:null;
$roleId = (isset($_GET['roleid']))?$_GET['roleid']:null;

if(!empty($uid) && !empty($appId) && !empty($roleId)){
	header("Content-type:text/xml");
	echo getACL($uid,$appId,$roleId);
}else{
	echo 'Please provide needed parameters';
}
?>