MOON
Server: Apache
System: Linux nserver.cafsindia.com 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: cafsindia (1002)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: /home/cafsindia/.trash/backup/application/views/home.php
<?php
$this->load->view("partial/header"); ?>
<style type="text/css">
	.form-group{
		margin-top:4px;
		display: inline-block;
	}
</style>
<?php
$company_name = $this->config->item('company');
//Get Financial Year
	$year  = date('Y');
	$year1 = date('Y')-1;
	$year2 = date('Y')+1;
	if (date('m') > 03){
		$fin_start_month = $year."-"."04"."-"."01";        
		$fin_end_month   = $year2."-"."03"."-"."31";
		$fin_start_date = "01"."-"."01"."-".$year;
		$fin_end_date   = "31"."-"."12"."-".$year;
	}else{    
		$fin_start_month = $year1."-"."01"."-"."01";
		$fin_end_month   = $year."-"."01"."-"."31";
		$fin_start_date = "01"."-"."01"."-".$year;
		$fin_end_date   = "31"."-"."12"."-".$year;
	}
	$logged_user_role    = $this->session->userdata('logged_user_role');
	if((int)$logged_user_role === 1){
			include('admin_dashboard.php');
	}else{
		echo "<h3>Welcome</h3>";
	}
?>

<?php
$this->load->view('partial/footer');
?>