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/uds.cafsinfotech.in/application/views_bk/home.php
<?php
$this->load->view("partial/header"); ?>
<style type="text/css">
.form-group{
	display: inline-block;
}
.single-menu-item {
    text-align: center;
    padding: 10px 0px;
}
.single-menu-item img {
	max-width: 80px;
	margin-bottom: 5px;
}
.single-menu-item p {
font-size: 14px;
color: #000000;	
padding: 10px;
}
p {
	word-wrap: break-word;
	text-decoration: none !important;
    cursor: pointer;
}
.pl-0 {
	padding-left: 0px !important;
	padding: 10px;
}
.title-1 {
    font-weight: bold;
    color: #2a333e;
}
.font-16{
    font-size: 16px !important;
}
.title-1 {
    font-weight: 500;
    font-size: 18px;
    color: #2a333e;
}
.pl-32{
    padding-left: 32px !important;
}
.single-menu-item .module-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background-color: #f8f8f8;
    border: solid 1px #dbe1e8;
    margin: 0 auto 5px;
    transition: all 0.5s ease;
    position: relative;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 10%);
    text-align: center;
}

/*.col-md-2 {
    width: 12%;
}*/

</style>
<nav class="main-navigation mt-x pb-50">
	<?php
	$user_role   = (int)$this->session->userdata('logged_user_role');
	// echo $user_role; die; 
	if($user_role === 7){
		echo "<div style='margin-bottom:70px;' >
				<div style='margin-left:500px; font-size:20px; line-height:300%;'>GENERAL TERMS</div>
				<div style='margin-left:170px;'>
				<ul>
					<li style='font-size:18px; line-height:200%;'>All employees must show integrity and professionalism in the workplace.</li>
					<li style='font-size:18px; line-height:200%;'>All employees must follow our dress code and personal appearance guidelines.</li>
					<li style='font-size:18px; line-height:200%;'>Employees ensure to maintain punctuality at workplace.</li>
					<li style='font-size:18px; line-height:200%;'>Employees need to serve 60 days notice period if intend to leave the job otherwise shortfall in notice period will be recovered from your F&F dues.</li>
					<li style='font-size:18px; line-height:200%;'>Company reserves the right to take disciplinary action against employees who wilfully violated the Code of Conduct.</li>
				</ul>
				</div>
			</div>";
	}
	?>
	
    <div class="container pt-24">	   
    	<?php    	
			$header_list = array();
			$report_list = array();
			foreach($quick_header_menu as $menu){
				$header_list[$menu->menu_name][] = array('module_id'=>$menu->module_id,'module_name'=>$menu->module_name,'menu_icon'=>$menu->menu_icon);
			}
			foreach($quick_report_menu as $menu){
				$report_list[$menu->report_menu][] = array('module_id'=>$menu->prime_report_setting_id,'module_name'=>$menu->report_name,'menu_icon'=>$menu->menu_icon);
			}
			$menu_data = "";			
			foreach ($header_list as $menu_name => $menu_list){
				$sub_list  = "";				
				foreach ($menu_list as $key => $value){
					$module_id   = $value['module_id'];
					$module_name = $value['module_name'];
					$menu_icon   = $value['menu_icon'];						
					$url         = site_url("$module_id");
					$img_url     = base_url("$menu_icon");
					$sub_list .= "<div class='col-md-2 col-sm-2 inBlock'>
				    	<div class='single-menu-item'>
					        <a href='$url'>
					            <div class='module-icon-wrapper'>
					                <img src='$img_url'>
					            </div>
					            <p>$module_name</p>
					        </a>
					    </div>
					</div>";
				}

				//$report_url  = site_url("$module_id/index")."/".$report_id;
				$menu_data .= "<div class='row'><div class='col-md-2 pl-0 desktopDisplay'>
                    <div class='title-1 font-16 ptb-8 pl-32 plx-0'>$menu_name</div>
                </div><div class='col-md-4 text-right text-center_x pr-32 plrx-12'>
                    </div></div><div class='row'>$sub_list</div>";  
			}
			
			$reportmenu_data = "";
			foreach ($quick_report_menu as $key => $report_menu_rslt){
				$report_list = "";
				foreach($report_menu_rslt as $sub_reports => $report_rslt){
					$report_id   = $report_rslt['prime_report_setting_id'];
					$report_name = $report_rslt['report_name'];
					$menu_icon   = $report_rslt['menu_icon'];
					$report_menu_name   = $report_rslt['menu_name'];
					$img_url     = base_url("$menu_icon");
					$report_url  = site_url("report/index")."/".$report_id;
					$report_list .= "<div class='col-md-2 col-sm-2 inBlock'>
						    	<div class='single-menu-item'>
							        <a href='$report_url'>
							            <div class='module-icon-wrapper'>
							                <img src='$img_url'>
							            </div>
							            <p>$report_name</p>
							        </a>
							    </div>
							</div>";
					}
					$reportmenu_data .= "<div class='row'><div class='col-md-4 pl-0 desktopDisplay'>
                    <div class='title-1 font-16 ptb-8 pl-32 plx-0'> Report Wizard </div>
                </div><div class='col-md-8 text-right text-center_x pr-32 plrx-12'>
                    </div></div><div class='row'>$report_list</div>";
				}				
			echo $menu_data.$reportmenu_data;
		?>			
	</div>
</div>
<?php
$this->load->view('partial/footer');
?>