<?php
@session_start();
//text colors
$green='<div style="font-weight:bold; color:green;">';
$endgreen='</div>';
$red='<div style="font-weight:bold; color:red;">';
$endred='</div>';
$purple='<div style="font-weight:bold; color:purple;">';
$endpurple='</div>';
$wheat='<div style="font-weight:bold; color:#f6c01d;">';
$endwheat='</div>';
$blue='<div style="font-weight:bold; color:blue;">';
$endblue='</div>';
$maroon='<div style="font-weight:bold; color:red;">';
$endmaroon='</div>';
$inputvalues='<div style="font-weight:bold; color:#c6c6c6;">';
$endinput='</div>';

//application base /root folder
$baseurl = 'http://'.$_SERVER['HTTP_HOST'].'/qp/';
$htmlheaders='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />';
$js='<script type="text/javascript" src="js/jquery-1.9.1.js"></script>';

$jquery='<script type="text/javascript" src="js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="js/ui/jquery-ui.js"></script> 
<script type="text/javascript" src="js/ui/jquery.ui.core.js"></script>
<script src="js/ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="js/ui/jquery.ui.position.js"></script>
<script type="text/javascript" src="js/ui/jquery.ui.tabs.js"></script>
<script type="text/javascript" src="js/ui/jquery.ui.menu.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.10.4.custom.js"></script>
<link rel="stylesheet" href="css/jquery-ui-1.10.4.custom.css" type="text/css" />';

//for use in inputforms
$inputformcss='<link rel="stylesheet" type="text/css" media="screen" href="'.$baseurl.'css/jquery-ui-git.css" />';
$scriptscr='<script src="'.$baseurl.'js/jquery-1.9.1.js"></script>
<script src="'.$baseurl.'js/jquery.validate.js" type="text/javascript"></script>
<script src="'.$baseurl.'js/jquery-ui-git.js"></script>';


$recss='<link rel="stylesheet" href="'.$baseurl.'css/allcss.css" type="text/css" />';
 //logo
$logopath='<img src="'.$baseurl.'images/logo.png'.'"></img>';
$userlogd = '<img src="'.$baseurl.'images/users.png'.'" onclick="userslogd();"></img>';
$hr='<img src="'.$baseurl.'images/hr.png'.'"></img>';
//html spacer
$spacer='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';

//js loader
$loader='$(window).load(function(){
  $(\'#dvLoading\').fadeOut(2000);
});';
//icons
$home='<img src="'.$baseurl.'images/home.png'.'"></img>';
$trajc='<img src="'.$baseurl.'images/trajc.png'.'"></img>';
$trainv='<img src="'.$baseurl.'images/trainv.png'.'"></img>';
$recp='<img src="'.$baseurl.'images/recps.png'.'"></img>';
$trackr='<img src="'.$baseurl.'images/trackr.png'.'"></img>';
$tracki='<img src="'.$baseurl.'images/tracki.png'.'"></img>';
$cust='<img src="'.$baseurl.'images/cust.png'.'"></img>';
$ipaym='<img src="'.$baseurl.'images/paym.png'.'"></img>';
$insr='<img src="'.$baseurl.'images/insr.png'.'"></img>';
$inssa='<img src="'.$baseurl.'images/inssa.png'.'"></img>';
$insdet='<img src="'.$baseurl.'images/insdet.png'.'"></img>';
$accounts='<img src="'.$baseurl.'images/accounts.png'.'"></img>';
$sysad='<img src="'.$baseurl.'images/sysa.png'.'"></img>';
$loggedin='<img src="'.$baseurl.'images/loggedin.png'.'"></img>';
$logout='<img src="'.$baseurl.'images/logout.png'.'"></img>';
$clock='<img src="'.$baseurl.'images/clock.png'.'"></img>'; 
$srch='<img src="'.$baseurl.'images/search.png'.'"></img>';
$repo='<img src="'.$baseurl.'images/repom.png'.'"></img>';
$repoof='<img src="'.$baseurl.'images/repoor.png'.'"></img>';
$repoexp='<img src="'.$baseurl.'images/repoexp.png'.'"></img>';

@$currentyear=date("Y");//year
date_default_timezone_set('Africa/Nairobi'); //time
@$time = date('h:i A');



$inputcss='<style type="text/css">


body { font-size: 62.5%; }
label { display: inline-block; width: 100px; }
legend { padding: 0.5em; }
fieldset fieldset label { display: block; }
#commentForm { width: 800px; margin-left:250px; margin-top:-400px }
#commentForm label { width: 150px; }
#commentForm label.error, #commentForm button.submit { margin-left: 253px; }
#signupForm { width: 670px; }
#signupForm label.error {
	margin-left: 10px;
	width: auto;
	display: inline;
}
#newsletter_topics label.error {
	display: none;
	margin-left: 103px;
}
</style>';

$updatecss='<style type="text/css">

label { display: inline-block; width: 100px; }
legend { padding: 0.5em; }
fieldset fieldset label { display: block; }
#commentForm { width: 600px;  margin:-400px auto 0 auto;}

#commentForm label { width: 250px; }
#commentForm label.error, #commentForm button.submit { margin-left: 253px; }
#signupForm { width: 670px; }
#signupForm label.error {
	margin-left: 10px;
	width: auto;
	display: inline;
}
#newsletter_topics label.error {
	display: none;
	margin-left: 103px;
}
</style><style type="text/css">
body { font-size: 62.5%; }
label { display: inline-block; width: 100px; }
legend { padding: 0.5em; }
fieldset fieldset label { display: block; }
#commentForm { width: 900px; margin-left:30px; margin-top:-70px; }
#commentForm label { width: auto; }
#commentForm label.error, #commentForm button.submit { margin-left: 253px; }
#signupForm { width: 670px; }
#signupForm label.error {
	margin-left: 10px;
	width: auto;
	display: inline;
}
#newsletter_topics label.error {
	display: none;
	margin-left: 103px;
}
#buttons {
border:1px solid #ccc;
-moz-border-radius: 15px;
border-radius: 15px;
background: #f6efef;
height:43px;
}


   
</style>';

?>
