| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/onesupportdemo.onesolution.hk/inc/ |
Upload File : |
<script type="text/javascript">
function full_navbar() {
if ($(window).width() < 1285 && $(window).width() > 960) {
$("#top_navbar").css("width", "1285px");
$("body").css("width", "1285px");
//$("body").css("overflow", "scroll");
}
else {
$("#top_navbar").css("width", "100%");
$("body").css("width", "100%");
}
}
full_navbar();
$(window).resize(function () {
full_navbar();
});
</script>
<div class="navbar navbar-inverse navbar-fixed-top" id="top_navbar">
<div class="navbar-inner">
<div class="container-fluid">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span>
</button>
<a class="brand" href="<?= Util::link(__DIR__ . '/../main.php') ?>">Teacher System</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li><a href="<?= Util::link(__DIR__ . '/../job/index.php') ?>?today=1">Today Jobs</a></li>
<?php $startdate = date("Y-m-d");
$enddate = Date('Y-m-d', strtotime($startdate . "+1 month")); ?>
<?php if (Util::isAdmin()): ?>
<!--<li><a href="<?= Util::link(__DIR__ . '/../job/index.php') ?>?show_all=1">Jobs</a></li>-->
<li>
<a href="<?= Util::link(__DIR__ . '/../job/index.php') ?>?start_date=<?= $startdate ?>&end_date=<?= $enddate ?>">Jobs</a>
</li>
<?php endif; ?>
<?php if (Util::isAdmin()): ?>
<li><a href="<?= Util::link(__DIR__ . '/../customer/index.php') ?>">Customers</a></li>
<?php endif; ?>
<?php if (Util::isAdmin()): ?>
<li><a href="<?= Util::link(__DIR__ . '/../user/index.php') ?>">Teachers</a></li>
<?php endif; ?>
</ul>
<ul class="nav pull-right">
<li class="divider-vertical"></li>
<li><a href="<?= Util::link(__DIR__ . '/../logout.php') ?>">Logout</a></li>
</ul>
<p class="navbar-text pull-right">
Logged in as
<a id="change_password_link" href="<?= Util::link(__DIR__ . '/../user/password.php') ?>" class="navbar-link"
title="Change password" data-toggle="tooltip" data-placement="bottom">
<?= $_SESSION['webadmin']['username'] ?>
</a>
<script type="text/javascript">
$(function () {
$('#change_password_link').tooltip();
});
</script>
</p>
</div>
<!--/.nav-collapse -->
</div>
</div>
</div>