?
Current Path : /home1/savoy/www/savoyglobal.net/hr/application/views/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/www/savoyglobal.net/hr/application/views/leftbar.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <style type="text/css"> .arrowlistmenu{ width: 150px; /*width of accordion menu*/ } .arrowlistmenu .menuheader{ /*CSS class for menu headers in general (expanding or not!)*/ font: bold 14px Arial; color: white; background: black url(image/titlebar.png) repeat-x center left; margin-bottom: 20px; /*bottom spacing between header and rest of content*/ text-transform: uppercase; padding: 5px 1px 5px 10px; /*header text is indented 10px*/ cursor: hand; cursor: pointer; } .arrowlistmenu .openheader{ /*CSS class to apply to expandable header when it's expanded*/ background-image: url(image/titlebar-active.png); } .arrowlistmenu ul{ /*CSS for UL of each sub menu*/ list-style-type: none; margin: 0; padding: 0; margin-bottom: 20px; /*bottom spacing between each UL and rest of content*/ background-color: #F3F3F3; } .arrowlistmenu ul li{ padding-bottom: 10px; /*bottom spacing between menu items*/ } .arrowlistmenu ul li a{ color: #A70303; background:url(../../../../assets/images/arrow.gif) no-repeat 0 4px; display: block; padding: 2px 0; padding-left: 19px; /*link text is indented 19px*/ text-decoration: none; font-weight: bold; border-bottom: 1px solid #dadada; font-size: 90%; } .arrowlistmenu ul li a:visited{ color: #A70303; } .arrowlistmenu ul li a:hover{ /*hover state CSS*/ color: #A70303; background-color: #F3F3F3; text-decoration: underline; } </style> <div id="left-column"> <?php if($modname != "Settings" && $modname != "Timesheet" && $modname != "Payroll") { if($modname == "Exits") $modname="Employee Exit"; ?> <h3><?php echo $modname; ?></h3> <ul class="nav"> <?php foreach($menus as $list) { ?> <li> <span><span><?=anchor('master/index/'.$list['menu_id'].'/'.$list['module_id'].'', $list['caption'])?></span></span> </li> <?php } ?> </ul> <?php } if($modname == "Timesheet") { ?> <h3>External Job</h3> <ul class="nav"> <?php foreach($menus as $list) { if($list['sort'] >= 1 && $list['sort'] <= 4) { ?> <li><span><span><?=anchor('master/index/'.$list['menu_id'].'/'.$list['module_id'].'', $list['caption'])?></span></span></li> <?php } } ?> </ul> <h3>Internal Job</h3> <ul class="nav"> <?php foreach($menus as $list) { if($list['sort'] >= 5 && $list['sort'] <= 7) { ?> <li><span><span><?=anchor('master/index/'.$list['menu_id'].'/'.$list['module_id'].'', $list['caption'])?></span></span></li> <?php } } ?> </ul> <div class="arrowlistmenu"> <h3 class="menuheader expandable">Reports</h3> <ul class="categoryitems"> <?php foreach($menus as $list) { if($list['sort'] >= 8 && $list['sort'] <= 10) { ?> <li><span><span><?=anchor('master/index/'.$list['menu_id'].'/'.$list['module_id'].'', $list['caption'])?></span></span></li> <?php } } ?> </ul> </div> <div class="arrowlistmenu"> <h3 class="menuheader expandable">Master</h3> <ul class="categoryitems"> <?php foreach($menus as $list) { if($list['sort'] >= 11 && $list['sort'] <= 12) { ?> <li><span><span><?=anchor('master/index/'.$list['menu_id'].'/'.$list['module_id'].'', $list['caption'])?></span></span></li> <?php } } ?> </ul> </div> <?php } if($modname == "Payroll") { ?> <h3><?php echo $modname; ?></h3> <ul class="nav"> <?php foreach($menus as $list) { if($list['sort'] >= 1 && $list['sort'] <= 2) { ?> <li><span><span><?=anchor('master/index/'.$list['menu_id'].'/'.$list['module_id'].'', $list['caption'])?></span></span></li> <?php } } ?> </ul> <div class="arrowlistmenu"> <h3 class="menuheader expandable">Reports</h3> <ul class="categoryitems"> <?php foreach($menus as $list) { if($list['sort'] >= 3 && $list['sort'] <= 4) { ?> <li><span><span><?=anchor('master/index/'.$list['menu_id'].'/'.$list['module_id'].'', $list['caption'])?></span></span></li> <?php } } ?> </ul> </div> <div class="arrowlistmenu"> <h3 class="menuheader expandable">Master</h3> <ul class="categoryitems"> <?php foreach($menus as $list) { if($list['sort'] >= 5 && $list['sort'] <= 11) { ?> <li><span><span><?=anchor('master/index/'.$list['menu_id'].'/'.$list['module_id'].'', $list['caption'])?></span></span></li> <?php } } ?> </ul> </div> <?php } if($modname == "Settings") { ?> <h3><?php echo $modname; ?></h3> <ul class="nav"> <?php foreach($menus as $list) { if($list['sort'] >= 1 && $list['sort'] <= 4) { ?> <li><span><span><?=anchor('master/index/'.$list['menu_id'].'/'.$list['module_id'].'', $list['caption'])?></span></span></li> <?php } } ?> </ul> <?php } if($modname == "Settings" && $_SESSION['login_type']==1) { ?> <h3><?php echo "Alerts"; ?></h3> <ul class="nav"> <?php foreach($menus as $list) { if($list['sort'] >= 5 && $list['sort'] <= 6) { ?> <li><span><span><?=anchor('master/index/'.$list['menu_id'].'/'.$list['module_id'].'', $list['caption'])?></span></span></li> <?php } } ?> </ul> <?php } ?> </div>