?
Current Path : /home1/savoy/public_html/savoyglobal.net/eduplus1/application/views/home/ |
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/eduplus1/application/views/home/home_menu.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <script type="text/javascript" src="<?= base_url() ?>assets/js/jquery.colorbox.js"></script> <link type="text/css" media="screen" rel="stylesheet" href="<?= base_url() ?>assets/css/dashboard.css" /> <script type="text/javascript"> function change_psw(controller,controllerfunction,id,table,field,page) { $('#hme').css('display','none'); $("#inner_content").empty().html('<CENTER><img src="<?= base_url() ?>assets/images/loading.gif" class="loading"/></CENTER>'); $("#inner_content").load("<?= site_url() ?>/"+controller+'/'+controllerfunction+'/'+id+'/'+table+'/'+field+'/'+page); } function showHideTab(divid) { $('div[id^="Tabs_"]').each(function(){ if(this.id!=divid){ $(this).css('display','none'); $("."+this.id).attr({ 'src': '<?= base_url() ?>assets/images/down_arrow.png', 'alt': 'minimize' }); } else{ $('#'+divid).toggle('slow'); if(document.getElementById(divid).style.display=="none") { $("."+this.id).attr({ 'src': '<?= base_url() ?>assets/images/down_arrow.png', 'alt': 'minimize' }); } else { $("."+this.id).attr({ 'src': '<?= base_url() ?>assets/images/up_arrow.png', 'alt': 'maximize' }); } } }) } </script> <div id="header_toolbar_top"> <div class="container_12"> <div class="header_top_menu"> <div class="toolbar_large"> <div class="toolbutton" style="float: left; "> <div class="toolmenu"> <div class="toolicon"> <a href="<?= site_url(); ?>/sessions/logout"><img title="<?= $_SESSION['user_name']; ?> - Logout" src="<?= base_url() ?>assets/img/icons/16x16/locked-2.png" width="16" height="16" alt="user" ></a> </div> </div> <div class="toolcaption"> <span><?= $_SESSION['user_name']; ?></span> </div> <!--div class="toolcaption "> <img class="inliexample11" src="<?= base_url() ?>/assets/images/pref.png" title="Change Password" width="20" height="20" alt="Change Password" align = "right" class="" onclick="change_psw('master','edit_page','<?= $_SESSION['user_id']; ?>','user','user_id','changepassword')" /> </div--> <!-- Start of menu --> <div class="dropdown"> <ul> <li style="width:100px;"> <a href="#" onclick="change_psw('master','edit_page','<?= $_SESSION['user_id']; ?>','user','user_id','changepassword')">Change Password</a> </li> </ul> </div> </div> </div> </div> </div> </div> <div id="header_toolbar"> <div class="container_12"> <?php $nursery_logo = $this->mastermodel->get_single_field_value('nursery', 'logo', 'nursery_id', '1'); ?> <img src="<?= base_url() ?>assets/logo/<?= $nursery_logo; ?>" style="float:left; max-height: 80px;"/> <img src="<?= base_url(); ?>assets/images/savoy_eduplus.jpg" style="float:right; max-height: 60px;"/> </div> </div> <div id="main_content"> <div class="container_12"> <div id="inner_content"> <div class="box"> <div class="no-padding"> <?php $viewinfo = $this->mastermodel->getmodules(); $slno = 1; foreach ($viewinfo as $row) { ?> <div class="header main no-icon" style="height: 50px;margin-bottom: 5px;"> <span class="module_title"><?php echo $row['module_title']; ?> </span> <span class="image_arrow"> <img class='Tabs_<?php echo $row['module_id'] ?>' src="<?= base_url() ?>assets/images/down_arrow.png" onclick="showHideTab('Tabs_<?php echo $row['module_id'] ?>')" /> </span> </div> <div id="Tabs_<?php echo $row['module_id'] ?>" style="width: 100%;height: auto;display: none"> <ul class="dashboard_menu"> <?php $menu = $this->mastermodel->getmenus($row['module_id']); foreach ($menu as $list) { $num = $this->mastermodel->get_num_rows('menu', 'parent_menu_id', $list['menu_id']); if ($num == 0) { ?> <li><a href="<?= site_url(); ?>/master/index/<?= $list['menu_id']; ?>/<?= $row['module_id']; ?>" class="d<?= $slno++; ?>"><span><?= $list['caption']; ?></span></a></li> <?php } } ?> </ul> </div> <?php } ?> </div> <div id="dashboard_alert_div"> <?php $this->load->view('home/dashboard'); ?> </div> </div> </div> </div>