?
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/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/drafthr/system/application/views/topbar.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <script type="text/javascript"> $(function (){ $('#basiccalendar').datepick({dateFormat: 'dd-mm-yyyy'}); }); function opencalc() { mywindow = window.open ('<?=base_url()?>system/application/views/calculator.html', 'newwindow', config='height=310,width=220, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, directories=no, status=no'); mywindow.moveTo(900,270); } function showChangePass() { $("#changepass").colorbox({width:"40%",height:"45%", inline:true, href:"#ChangePassword"}); } function GotoReminder() { $(".viewrimd").colorbox({width:"60%",height:"60%", inline:true, href:"#viewTodayRim"}); $("#viewTodayRim").load("<?= site_url('master/Todaysreminder/') ?>"); } function Gotoactivities() { $(".viewactiv").colorbox({width:"60%",height:"60%", inline:true, href:"#viewTodayRim"}); $("#viewTodayRim").load("<?= site_url('master/todaysactivities/') ?>"); } function Gotopaymentschedule() { $(".viewpaysc").colorbox({width:"60%",height:"60%", inline:true, href:"#viewTodayRim"}); $("#viewTodayRim").load("<?= site_url('master/paymentschedule/') ?>"); } </script> <?php $time=explode(' ',$_SESSION['currentlogintime']); $leavecount=$this->hrmodel->checkforappliedleave(); ?> <div class="top-bar"> <!-- div for digital clock ......<div class="icons"><div class="jclock"></div></div>--> <div class="icons"><a href="<?=site_url('sessions/logout');?>" id="default"><img width="25" height="25" src="<?=base_url()?>/assets/images/logout.png" title="Logout" alt="Logout" align="right" /></a></div> <div class="icons"><img id="changepass" width="25" height="25" src="<?=base_url()?>/assets/images/pref.png" title="Change Password" alt="Change Password" align="right" class="clickimage" onclick="showChangePass()" /></div> <!--div class="icons" ><img width="25" height="25" src="<?=base_url()?>/assets/images/calendar.png" class="clickimage" id="basiccalendar" title="Calendar" alt="Calendar" border="0" align="right" /></div--> <div class="icons" ><img width="25" height="25" src="<?=base_url()?>/assets/images/calculator-icon.png" class="clickimage" title="Calculator" alt="Calculator" border="0" align="right" onclick="opencalc()" /> </div> <div class="icons" ><a href="#" class="viewpaysc"><img width="25" height="25" src="<?=base_url()?>/assets/images/payment shedule.png" class="clickimage" onclick="Gotopaymentschedule()" title="Payment Schedule" alt="Payment Schedule" border="0" align="right" /></a> </div> <div class="icons" ><a href="#" class="viewactiv"><img width="25" height="25" src="<?=base_url()?>/assets/images/activity.png" class="clickimage" onclick="Gotoactivities()" title="Activities" alt="Activities" border="0" align="right" /></a> </div> <div class="icons"><a href="#" class="viewrimd"><img width="25" height="25" src="<?=base_url()?>/assets/images/Button-Reminder-icon.png" title="Reminder" onclick="GotoReminder()" class="clickimage" alt="Reminder" align="right" /></a></div> <?php if($leavecount<1) { ?> <div class="icons" ><img width="25" height="25" src="<?=base_url()?>/assets/images/inactive.png" class="clickimage" title="Leave Application" alt="Leave Application" border="0" align="right" /> </div> <?php } else { ?> <div class="icons" ><?=anchor('master/index/48/11', '<img width="25" height="25" src="'.base_url().'/assets/images/active.png" class="clickimage" title="Leave Application" alt="Leave Application" border="0" align="right" />')?> </div> <?php } ?> <!--div style="float: right;"><div style="width:380px;float: right;padding: 5px 0px 0 5px;color:#038CD0;"><?php echo 'Last login : ' .$time[0].' at '.$time[1]. '<font color="#000"> | </font>'. $_SESSION['username']; ?></div></div--> <h1><?=$modname?></h1> <div class="breadcrumbs"><a href=""><?=$modname?></a> / <a href="#"><font color="#038CD0"><?=$menuname?></font></a></div> </div> <div id="backgrounddiv"></div> <div style='display:none'> <div id='ChangePassword' style='padding:10px; background:#fff;'> <?php $this->load->view('Settings/changepassword');?> </div> <div id="viewTodayRim" ></div> </div>