?
Current Path : /home1/savoy/public_html/savoyglobal.net/cocorico/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/public_html/savoyglobal.net/cocorico/application/views/top.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $logo=$this->mastermodel->get_single_field_value('nursery','logo','nursery_id','1'); ?> <!-- BEGIN HEADER --> <div class="header navbar navbar-inverse navbar-fixed-top" style="height: 50px;"> <!-- BEGIN TOP NAVIGATION BAR --> <div class="navbar-inner"> <div class="container-fluid" style="height: 50px;"> <!-- BEGIN LOGO --> <a class="brand" href=""> <img src="<?=base_url();?>assets/logo/<?=$logo;?>" alt="logo" style="max-height: 39px;" /> </a> <!-- END LOGO --> <!-- BEGIN RESPONSIVE MENU TOGGLER --> <a href="javascript:;" class="btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse"> <img src="<?=base_url();?>assets/img/menu-toggler.png" alt="" /> </a> <!-- BEGIN HORIZANTAL MENU --> <!-- <div class="navbar hor-menu hidden-phone hidden-tablet"> <div class="navbar-inner"> <ul class="nav"> <?php foreach($modules as $key => $list) { $menus=$this->mastermodel->build_menu($list['module_id']); ?> <li <?php if($_SESSION['module_name']==$list['module_name']){ ?> class="active" <?php }?>> <a data-hover="dropdown" data-close-others="true" class="dropdown-toggle" <?php if($list['module_name']=='home'){ ?> href="<?=site_url();?>" <?php } else { ?> href="javascript:;" <?php } ?>> <span class="selected"></span> <?=$list['module_title'];?> <?php if(count($menus)>0){?> <span class="arrow"></span> <?php } ?> </a> <?php if(count($menus)>0) { ?> <ul class="dropdown-menu"> <?php foreach($menus as $menulist) { ?> <li > <a href="<?=site_url('master/index/'.$menulist['menu_id'].'/'.$menulist['module_id'].'')?>" ><?=$menulist['caption']?></a> </li> <?php } ?> </ul> <?php } } ?> </ul> </div> </div>--> <!-- END HORIZANTAL MENU --> <!-- BEGIN TOP NAVIGATION MENU --> <ul class="nav pull-right"> <li class="dropdown user"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true"> <img alt="" src="<?=base_url()?>assets/img/avatar.png" /> <span class="username"><?=$_SESSION['user_name'];?></span> <i class="icon-angle-down"></i> </a> <ul class="dropdown-menu"> <li> <a href="#" onclick="displayformdata('settings','single_page','<?=$_SESSION['user_id'];?>','user','user_id','single_user')" ><i class="icon-user"></i> My Profile</a></li> <li><a href="<?=site_url();?>/sessions/logout"><i class="icon-key"></i> Log Out</a></li> </ul> </li> <!-- END USER LOGIN DROPDOWN --> </ul> <!-- END TOP NAVIGATION MENU --> </div> </div> <!-- END TOP NAVIGATION BAR --> </div> <!-- END HEADER --> <div class="messages" style="opacity: 1;display: none;width: 200px;margin-left: 500px;" id="success-panel"> </div>