?
Current Path : /home1/savoy/public_html/savoyglobal.net/sims/school/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/sims/school/application/views/topmenu.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <script type="text/javascript"> function change_password() { $("#password_details").empty().html('<CENTER><img src="<?=base_url()?>assets/images/loading.gif" class="loading"/></CENTER>'); $("#password_details").load("<?=site_url() ?>/master/change_password/"); $(".inliexample2").colorbox({width:"35%",height:"35%", inline:true, href:"#password_details"}); } function passwordsubmit() { $.fn.colorbox.close(); var password = $("#password").val(); $("#password_details").load("<?=site_url() ?>/master/passwordsubmit/"+password); } </script> <div id="header_main_menu"> <?php $logo=$this->mastermodel->getsinglefieldvalue('schoolsetup','logo','id','1'); ?> <span id="header_main_menu_bg"></span> <!--[if !IE]>start header<![endif]--> <div id="header"> <div class="inner"> <h1 id="logo"><a href="<?=site_url();?>"><?php if($logo!=""){ ?> <img src="<?=base_url().$logo;?>" alt="Logo"/> <?php } ?> </a></h1> <!--[if !IE]>start user details<![endif]--> <div id="user_details"> <ul id="user_details_menu"> <li class="welcome"> <a class="inliexample2" href="#" onclick="change_password();"><img title="Change Password" alt="Change Password" src="<?=base_url()?>assets/images/change_password.jpg"/></a> <a href="<?=site_url()?>/sessions/logout" title="Logout"><img title="Logout" alt="Logout" src="<?=base_url()?>assets/images/logout.jpg"/></a> </li> </ul> <div style="display:none;"> <div id="password_details"> </div> </div> </div> <!--[if !IE]>end user details<![endif]--> </div> </div> <!--[if !IE]>end header<![endif]--> <!--[if !IE]>start main menu<![endif]--> <div id="main_menu"> <div class="inner"> <ul> <?php if(count($tabs)) { $rmenu=0; foreach($tabs as $key => $list) { $modules=$this->mastermodel->get_data_module($list['tab_id']); foreach($modules as $modulelist) { $rmenu=$modulelist['module_id']; if($rmenu) { break; } } ?> <li> <a href="<?=site_url();?>/master/index/<?=$rmenu;?>/<?=$list['tab_id']?>" <?php if(strcasecmp($tabname,$list['tab_name'])) { echo "class='selected_lk'";} ?>><span class="l"><span></span></span><span class="m"><em><?=$list['tab_caption']?></em><span></span></span><span class="r"><span></span></span></a> <ul> <?php $modules=$this->mastermodel->get_data_module($tabid); foreach($modules as $modulelist) { $lmodule=$modulelist['module_id']; $ltab=$modulelist['tab_id']; if($lmodule!="1") { ?> <li><a href="<?=site_url();?>/master/index/<?=$lmodule;?>/<?=$ltab;?>" <?php if($_SESSION['current_mode']==$lmodule) { echo "class='selected_lk'";} ?>><span class="l"><span></span></span><span class="m"><em><?=$modulelist['module_caption'];?></em><span></span></span><span class="r"><span></span></span></a></li> <?php } } ?> </ul> </li> <?php } } ?> </ul> <span class="sub_bg"></span> </div> </div> <!--[if !IE]>end main menu<![endif]--> </div> <!--[if !IE]>end header main menu<![endif]-->