Preview: other_header.php
Size: 2.53 KB
/home/jambtst2015/public_html/giraffeng.com/admin/includes/other_header.php
<?php session_start();
ob_start();
include("lib/conn.php");
$currentFile = $_SERVER["PHP_SELF"];
$parts = Explode('/', $currentFile);
$pageName = $parts[count($parts) - 1];
/*if(empty($_SESSION['sat_login_id'])){$_SESSION['sat_login_id']='';}
if($pageName != 'forgotpass.php'){
if($_SESSION['sat_login_id'] != ''){
header('location:index.php');
exit();
}
}
if($pageName == 'forgotpass.php'){
if($_SESSION['sat_login_id'] == ''){
header('location:login.php');
exit();
}
}*/
include("lib/conn.php");
include("functions.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>American Business Solution, INC. - SAT</title>
<link href="css/style.css?rend=<?php echo rand(100,500); ?>" rel="stylesheet" type="text/css" />
<!--for calender-->
<link rel="stylesheet" href="calender/jquery-ui.css" />
<script src="calender/jquery-1.8.3.js"></script>
<script src="calender/jquery-ui.js"></script>
<!--end-->
<!--jquery validation-->
<link rel="stylesheet" href="css/validationEngine.jquery.css" type="text/css"/>
<link rel="stylesheet" href="css/template.css" type="text/css"/>
<script src="js/jquery-1.8.2.min.js" type="text/javascript"></script>
<script src="js/jquery.validationEngine-en.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery.validationEngine.js" type="text/javascript" charset="utf-8"></script>
<!--end-->
<script type="text/javascript">
<!--load rightpanel-->
function changeDateTime(){
$('#date_time').load('<?php echo $site_path; ?>currentdatetime.php');
}
setInterval('changeDateTime();',60000);
<!--end-->
</script>
</head>
<body>
<div class="wrapper">
<div class="header_section">
<div class="header_container">
<div class="logo_section"><a href="javascript:void(0);"><img src="images/logo.png" width="205" height="59" /></a></div>
<div class="quick_submit_section">
<div class="clock_section_left">
<img src="images/clock.png" width="16" height="16" style="margin-left:373px;" />
<p><span id="date_time"><?php echo date("d M, Y | g:i a", time()+3600); //echo getTime(); ?> EST</span></p>
<div class="clear"></div>
</div>
<div class="submit_section">
<!--<p>QUICK SUBMIT:<span> Login</span></p>-->
<div class="clear"></div>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<div class="body_section">
<div class="body_container">
Directory Contents
Dirs: 0 × Files: 11