EVOLUTION-NINJA
Edit File: region_header.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Power Pik</title> <script type="text/javascript" src="<?php echo base_url('assets/js/jquery-3.6.0.min.js');?>"></script> <link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url('assets/css/jquery-ui.css'); ?>" /> <!-- The link to the CSS that the grid needs --> <link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url('jqgrid/css/ui.jqgrid.css'); ?>" /> <!-- Bootstrap Core CSS --> <link href="<?php echo base_url('admin_assets/css/bootstrap.min.css');?>" rel="stylesheet"> <!-- Custom CSS --> <link href="<?php echo base_url('admin_assets/css/sb-admin.css');?>" rel="stylesheet"> <!-- Morris Charts CSS --> <link href="<?php echo base_url('admin_assets/css/plugins/morris.css');?>" rel="stylesheet"> <!-- Custom Fonts --> <link href="<?php echo base_url('admin_assets/font-awesome/css/font-awesome.min.css');?>" rel="stylesheet" type="text/css"> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--> <script type="text/ecmascript" src="<?php echo base_url('jqgrid/js/jquery.jqGrid.js'); ?>"></script> <!-- This is the Javascript file of jqGrid --> <script type="text/ecmascript" src="<?php echo base_url('jqgrid/js/i18n/grid.locale-en.js'); ?>"></script> <script type="text/ecmascript" src="<?php echo base_url('jqgrid/js/jquery.jqGrid.min.js'); ?>"></script> <script src="<?php echo base_url('assets/js/jquery-ui.js'); ?>" type="text/javascript"></script> <style> .right { text-transform: uppercase; font-family:Roboto; font-weight:bold; color:#00a859; } </style> <style type="text/css"> .form-control:focus, input[type="Submit"]:focus, input[type="button"]:focus { border-color: #FF0000; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.6); } #editmodlist2 { //height: 232px !important; width: 326px !important; } #FrmGrid_list2 { width: 100% !important; } .ui-jqdialog .ui-jqdialog-titlebar { height: 29px !important; background-color:#2A4474 !important; color: white; padding-left: 10px; } .fm-button { height: 21px !important; padding: 1px; margin-right: 10px !important; height: 21px !important; width: 43%; margin-top: -7px !important; } .ui-jqdialog-content td.navButton { padding-top: 12px !important; } .ui-jqgrid .ui-jqgrid-titlebar { height: 27px !important; background-color: #2A4474!important; color:white !important; } .ui-jqgrid-bdiv { height: 232px !important; } .ui-widget-overlay { z-index:0 !important; } .nav li .active { background: gray !important; } .nav .active a { background: gray !important; } </style> </head> <body> <div id="wrapper"> <!-- Navigation --> <nav class="navbar navbar-inverse navbar-fixed-top menu-a" role="navigation"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand my_logo" href="#"><img class="img-responsive" src="<?php echo base_url('assets/images/PPF.svg');?>"></a> </div> <!-- Top Menu Items --> <ul class="nav navbar-right top-nav"> <li class="dropdown"> <a href="#" style="cursor: context-menu;" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> Regional Manager</a> <li> <a href="<?php echo site_url('controller/logout');?>"><i class="fa fa-fw fa-power-off"></i> Log Out</a> </li> </li> </ul> <!-- Sidebar Menu Items - These collapse to the responsive navigation menu on small screens --> <div class="collapse navbar-collapse navbar-ex1-collapse"> <ul class="nav navbar-nav side-nav my-nav"> <!-- <li class="active"> <a href="index.html"><i class="fa fa-fw fa-dashboard"></i> Dashboard</a> </li> --> <li class=""> <a href="javascript:;" data-toggle="collapse" data-target="#demo1"> Manage Users <i class="fa fa-fw fa-caret-down"></i></a> <ul id="demo1" class="collapse <?php if($this->uri->segment(2)=="reg_supervisor_view" || $this->uri->segment(2)=="reg_abp_view"){echo "in";}?>"> <li class="<?php if($this->uri->segment(2)=="reg_supervisor_view"){echo "active";}?>"> <a href="<?php echo site_url('controller/reg_supervisor_view');?>">Supervisor</a> </li> <li class="<?php if($this->uri->segment(2)=="reg_abp_view"){echo "active";}?>"> <a href="<?php echo site_url('controller/reg_abp_view');?>">ABP</a> </li> </ul> </li> <li> <a href="javascript:;" data-toggle="collapse" data-target="#demo2"> Information <i class="fa fa-fw fa-caret-down"></i></a> <ul id="demo2" class="collapse <?php if($this->uri->segment(2)=="reg_stock_updates_view" || $this->uri->segment(2)=="reg_po_view"){echo "in";}?>"> <li class="<?php if($this->uri->segment(2)=="reg_stock_updates_view"){echo "active";}?>"> <a href="<?php echo site_url('controller/reg_stock_updates_view');?>">Stock Updates</a> </li> <li class="<?php if($this->uri->segment(2)=="reg_po_view"){echo "active";}?>"> <a href="<?php echo site_url('controller/reg_po_view');?>">PO Acknowledgemets</a> </li> </ul> </li> <li> <a href="javascript:;" data-toggle="collapse" data-target="#demo3"> Financials<i class="fa fa-fw fa-caret-down"></i></a> <ul id="demo3" class="collapse <?php if($this->uri->segment(2)=="reg_outstanding_view" || $this->uri->segment(2)=="reg_overdue_view" || $this->uri->segment(2)=="reg_cform_view"){echo "in";}?>"> <li class="<?php if($this->uri->segment(2)=="reg_outstanding_view"){echo "active";}?>"> <a href="<?php echo site_url('controller/reg_outstanding_view');?>">Outstanding Statement</a> </li> <li class="<?php if($this->uri->segment(2)=="reg_overdue_view"){echo "active";}?>"> <a href="<?php echo site_url('controller/reg_overdue_view');?>">Overdue Statement</a> </li> <li class="<?php if($this->uri->segment(2)=="reg_cform_view"){echo "active";}?>"> <a href="<?php echo site_url('controller/reg_cform_view');?>">C forms</a> </li> </ul> </li> <li> <a href="javascript:;" data-toggle="collapse" data-target="#demo4"> Technical Support<i class="fa fa-fw fa-caret-down"></i></a> <ul id="demo4" class="collapse <?php if($this->uri->segment(2)=="reg_drive_catalogues_view" || $this->uri->segment(2)=="reg_case_stories_view" || $this->uri->segment(2)=="reg_appreciation_letter_view"|| $this->uri->segment(2)=="reg_application_notes_view" || $this->uri->segment(2)=="reg_technical_notes_view" || $this->uri->segment(2)=="reg_training_presentation_view" || $this->uri->segment(2)=="reg_software_view" || $this->uri->segment(2)=="reg_projects_view" || $this->uri->segment(2)=="reg_others_view"){echo "in";}?>"> <li class="<?php if($this->uri->segment(2)=="reg_drive_catalogues_view"){echo "active";}?>"> <a href="<?php echo site_url('controller/reg_drive_catalogues_view');?>">Drive Catalogues</a> </li> <li class="<?php if($this->uri->segment(2)=="reg_case_stories_view"){echo "active";}?>"> <a href="<?php echo site_url('controller/reg_case_stories_view');?>">Case Stories</a> </li> <li class="<?php if($this->uri->segment(2)=="reg_appreciation_letter_view" ){echo "active";}?>"> <a href="<?php echo site_url('controller/reg_appreciation_letter_view');?>">Appreciation Letters</a> </li> <li class="<?php if($this->uri->segment(2)=="reg_application_notes_view" ){echo "active";}?>"> <a href="<?php echo site_url('controller/reg_application_notes_view');?>">Application Notes</a> </li> <li class="<?php if($this->uri->segment(2)=="reg_technical_notes_view" ){echo "active";}?>"> <a href="<?php echo site_url('controller/reg_technical_notes_view');?>">Technical Notes</a> </li> <li class="<?php if($this->uri->segment(2)=="reg_training_presentation_view" ){echo "active";}?>"> <a href="<?php echo site_url('controller/reg_training_presentation_view');?>">Training Presentations</a> </li> <li class="<?php if($this->uri->segment(2)=="reg_software_view" ){echo "active";}?>"> <a href="<?php echo site_url('controller/reg_software_view');?>">Softwares</a> </li> <li class="<?php if($this->uri->segment(2)=="reg_projects_view" ){echo "active";}?>"> <a href="<?php echo site_url('controller/reg_projects_view');?>">Projects</a> </li> <li class="<?php if($this->uri->segment(2)=="reg_others_view" ){echo "active";}?>"> <a href="<?php echo site_url('controller/reg_others_view');?>">Others</a> </li> </ul> </li> <!--<li class="<?php if($this->uri->segment(2)=="reg_news_view" ){echo "active";}?>">--> <!-- <a href="<?php echo site_url('controller/reg_news_view');?>">News</a>--> <!--</li>--> <li class="divider"></li> <li class="<?php if($this->uri->segment(2)=="regional_add_product" ){echo "active";}?>"> <a href="<?php echo site_url('controller/regional_add_product');?>">Add New Product</a> </li> <li class="divider"></li> <li class="<?php if($this->uri->segment(2)=="reg_product_list" ){echo "active";}?>"> <a href="<?php echo site_url('controller/reg_product_list');?>">Product List</a> </li> <!-- <li class="divider"></li> --> <!-- <li class="<?php if($this->uri->segment(2)=="po_list" ){echo "active";}?>">--> <!-- <a href="<?php echo site_url('controller/po_list');?>">View All PO</a>--> <!--</li>--> </ul> </div> <!-- /.navbar-collapse --> </nav>