<?php
/**
 * Manually Developed CI View - js-css-loader.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 file contains necessary JS, CSS file to run AIR 
 *
 * @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.
}

?>
<!--Begin DHTMLX related files -->

<!-- FOR JQUERY -->	
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>	

<!-- FOR LAYOUT -->
<link href="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxLayout/codebase/dhtmlxlayout.css" type="text/css" rel="STYLESHEET"></link>
<link href="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxLayout/codebase/skins/dhtmlxlayout_dhx_skyblue.css" type="text/css" rel="STYLESHEET"></link>

<!-- FOR TABBAR -->    
<link href="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxTabbar/codebase/dhtmlxtabbar.css" rel="STYLESHEET" type="text/css" ></link>

<!-- FOR GRID -->
<link href="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxGrid/codebase/dhtmlxgrid.css" type="text/css" rel="STYLESHEET"></link>
<link href="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxGrid/codebase/dhtmlxgrid_skins.css" type="text/css" rel="STYLESHEET"></link>
<link href="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxGrid/codebase/skins/dhtmlxgrid_dhx_skyblue.css" type="text/css" rel="STYLESHEET"></link>

<!-- FOR ACCORDION -->
<link href="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxAccordion/codebase/skins/dhtmlxaccordion_dhx_skyblue.css" type="text/css" rel="STYLESHEET"></link>

<!-- FOR WINDOWS -->
<link href="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxWindows/codebase/skins/dhtmlxwindows_dhx_skyblue.css" type="text/css" rel="STYLESHEET"></link>

<!-- FOR FORMS -->
<link href="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxForm/codebase/skins/dhtmlxform_dhx_skyblue.css" type="text/css" rel="stylesheet"></link>

<!-- FOR TOOLBAR -->
<link href="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxToolbar/codebase/skins/dhtmlxtoolbar_dhx_skyblue.css" type="text/css" rel="stylesheet" ></link>

<!-- FOR EDITOR 
<link href="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxEditor/codebase/skins/dhtmlxeditor_dhx_blue.css" rel="stylesheet" type="text/css" ></link>

<!-- FOR TREE 
<link href="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxTree/codebase/dhtmlxtree.css" rel="stylesheet" type="text/css" ></link>
-->

<!-- FOR CALANDER -->
<link rel="stylesheet" type="text/css" href="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxCalendar/codebase/dhtmlxcalendar.css"></link>
<link rel="stylesheet" type="text/css" href="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxCalendar/codebase/skins/dhtmlxcalendar_dhx_skyblue.css"></link>
<!-- 
<script  src="<?php echo $this->config->item('dhtmlx_lib_url')?>codebase/dhtmlx.js"></script>
<link rel="stylesheet" type="text/css" href="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxCalendar/codebase/dhtmlxcalendar.css"></link>
<link rel="stylesheet" type="text/css" href="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxCalendar/codebase/skins/dhtmlxcalendar_dhx_skyblue.css"></link>
-->
<script src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxCalendar/codebase/dhtmlxcalendar.js"></script>
		


<!-- FOR LAYOUT -->
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxLayout/codebase/dhtmlxcommon.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxLayout/codebase/dhtmlxlayout.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxLayout/codebase/patterns/dhtmlxlayout_pattern4e.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxLayout/codebase/dhtmlxcontainer.js"></script>
    
<!-- FOR TABBAR -->    
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxTabbar/codebase/dhtmlxtabbar_start.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxTabbar/codebase/dhtmlxtabbar.js"></script>

<!-- FOR GRID -->
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxGrid/codebase/dhtmlxgrid.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxGrid/codebase/dhtmlxgridcell.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxGrid/codebase/ext/dhtmlxgrid_srnd.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxGrid/codebase/ext/dhtmlxgrid_filter.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxGrid/codebase/ext/dhtmlxgrid_start.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxGrid/codebase/ext/dhtmlxgrid_pgn.js" ></script>

<!-- FOR ACCORDION -->
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxAccordion/codebase/dhtmlxaccordion.js"></script>

<!-- FOR WINDOWS -->
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxWindows/codebase/dhtmlxwindows.js"></script>

<!-- FOR FORMS -->
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxForm/codebase/dhtmlxcommon.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxForm/codebase/dhtmlxform.js"></script>     

<!-- FOR TOOLBAR -->
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxToolbar/codebase/dhtmlxtoolbar.js"></script>

<!-- FOR EDITOR 
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxEditor/codebase/dhtmlxeditor.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxEditor/codebase/dhtmlxcommon.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('dhtmlx_lib_url')?>../ckeditor_3.6.3/ckeditor/ckeditor.js"></script>
--> 

<!-- FOR TREE 
<script src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxTree/codebase/dhtmlxcommon.js"></script>
<script src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxTree/codebase/dhtmlxtree.js"></script>   
<script src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxTree/codebase/ext/dhtmlxtree_start.js"></script>
-->

<!-- FOR CALANDER -->
<script src="<?php echo $this->config->item('dhtmlx_lib_url')?>dhtmlxCalendar/codebase/dhtmlxcalendar.js"></script>

<!--End DHTMLX related files -->

<!--Begin Help tour related files -->

<!-- FOR HELP TOUR -->  
<!-- 
<script type="text/javascript" src="<?php echo $this->config->item('framework_url')?>zurb-joyride-1d1cb89/jquery-1.8.3.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('framework_url')?>zurb-joyride-1d1cb89/jquery.cookie.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('framework_url')?>zurb-joyride-1d1cb89/modernizr.mq.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('framework_url')?>zurb-joyride-1d1cb89/jquery.joyride-2.0.3.js"></script>
-->
<!--End Help tour related files -->	



<!--Begin Workbech related files -->

<script src="<?php echo $this->config->item('wb_url')?>searchobject.js"></script>
<script src="<?php echo $this->config->item('wb_url')?>toolbarobject.js"></script>   
<script src="<?php echo $this->config->item('wb_url')?>formobject.js"></script>
<script src="<?php echo $this->config->item('wb_url')?>workbenchobject.js"></script>

<!--End of Workbech related files -->


<style>
body{ margin:0;}
</style>


<script>
<?php @session_start()?>
//uaacs mood
var UAACS_mood = <?php echo (UAACS_MOOD == true)? 1:0;?>;

var canaddconnection = 1;
var canviewlog = <?php echo (isset($_SESSION['functions_'.$this->config->item('UAACS_APPID')][577]))? 1:0;?>;
/*
<?php var_dump($_SESSION['functions_'.$this->config->item('UAACS_APPID')]);;?>;
*/

</script>