?
Current Path : /home1/savoy/public_html/savoyglobal.net/simsdemo/school/application/views/Dashboard/ |
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/simsdemo/school/application/views/Dashboard/index.php |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $logo=$this->mastermodel->getsinglefieldvalue('schoolsetup','logo','id',0); ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <?php $this->load->view('header'); ?> <script type="text/javascript"> function showHideTab(divid) { if(document.getElementById(divid).style.display!="none") { document.getElementById(divid).style.display = "none"; $("."+divid).attr({ 'src': '<?=base_url()?>assets/images/downarrow.png', 'alt': 'minimize' }); } else { document.getElementById(divid).style.display = "block"; $("."+divid).attr({ 'src': '<?=base_url()?>assets/images/uparrow.png', 'alt': 'minimize' }); } } </script> </head> <body> <!--[if !IE]>start wrapper<![endif]--> <div id="wrapper"> <?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"> <span id="header_main_menu_bg"></span> <!--[if !IE]>start header<![endif]--> <div id="header"> <div class="inner"> <div class="logo_div"> <img src="<?=base_url().$logo?>" alt="School Image" style="float:left"/> <img src="<?=base_url()?>assets/css/layout/white/edu-plus.jpg" alt="Savoy Edu Plus" style="float:right"/> </div> <!--[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]--> </div> <!--[if !IE]>end header main menu<![endif]--> <div id="content"> <div class="inner"> <!--[if !IE]>start section<![endif]--> <div class="section"> <!--[if !IE]>start title wrapper<![endif]--> <div class="title_wrapper"> <span class="title_wrapper_top"></span> <div class="title_wrapper_inner"> <span class="title_wrapper_middle"></span> <div class="title_wrapper_content"> <h2>Home</h2> <ul class="section_menu right"> <!--li><a href="#" class="selected_lk"><span class="l"><span></span></span><span class="m"><em>Routine Tasks</em><span></span></span><span class="r"><span></span></span></a></li> <li><a href="#"><span class="l"><span></span></span><span class="m"><em>To Do</em><span></span></span><span class="r"><span></span></span></a></li> <li><a href="#"><span class="l"><span></span></span><span class="m"><em>Products</em><span></span></span><span class="r"><span></span></span></a></li--> </ul> </div> </div> <span class="title_wrapper_bottom"></span> </div> </div> <!--[if !IE]>end title wrapper<![endif]--> <!--[if !IE]>start section content<![endif]--> <div class="section_content"> <span class="section_content_top"></span> <div class="section_content_inner"> <!--[if !IE]>start dashboard menu<![endif]--> <div class="dashboard_menu_wrapper"> <?php $viewinfo=$this->mastermodel->getmoduledata(); $slno=1; $tabs_id =-1; foreach ($viewinfo as $row) { if($row['tab_id']!=1) { if($row['tab_id']!=$tabs_id) { if( $tabs_id!=-1) { ?> </ul> </div> </div> <?php } ?> <div style="width: 100%;height: auto;margin: 5px;"> <div class="title_wrapper_inner"> <span class="title_wrapper_middle"></span> <div class="title_wrapper_content" > <h4> <?php echo $row['tab_caption']; ?> </h4> <img class='Tabs_<?php echo $row['tab_id'] ?>' src="<?=base_url()?>assets/images/downarrow.png" style="float: right" onclick="showHideTab('Tabs_<?php echo $row['tab_id'] ?>')" /> </div> </div> <div id="Tabs_<?php echo $row['tab_id'] ?>" style="width: 100%;height: auto;display: none"> <ul class="dashboard_menu"> <?php $tabs_id = $row['tab_id']; } ?> <li><a href="<?=site_url();?>/master/index/<?=$row['module_id'];?>/<?=$row['tab_id'];?>" class="d<?=$slno++;?>"><span><?=$row['module_caption'];?></span></a></li> <?php } } ?> </div> <!--[if !IE]>end dashboard menu<![endif]--> </div> <span class="section_content_bottom"></span> </div> <!--[if !IE]>end section content<![endif]--> </div> <!--[if !IE]>end section<![endif]--> </div> <!--[if !IE]>end content<![endif]--> </div> <!--[if !IE]>end wrapper<![endif]--> <?php $this->load->view('footer'); ?> </body> </html>