Location: PHPKode > projects > DoTBit.Net Web Portal System > dotbit-v0.61/p_header.php
<?php
$start = utime(); // for calculate parse-time


// send ob_gzhandler before send cookies in included login.php further in the code

ob_start();

if(isset($page[language])) {
	$language_file = "language/".$page[language].".php";
	include_once("$language_file");

} else {
	include_once($page[dept].'language/english.php');
}

// make connection with database for the following handles in the page
$link = connect_db();
select_db($db[name], $link);

$site[users_online] = users_online();
if($site[users_online] > 1) {
	$users = "users";
} else {
	$users = "user";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html lang="eng">
<head>

<script language="Javascript" type="text/javascript">
now = new Date();
var BEGIN = now.getTime();
</script>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="The ultimate programming place for open source projects, gathered here!" />
<meta name="keywords" content="dotbit, whois, programming, php, mysql, apache, open-source, source, open, php4, free, scripts, web, design, portal" /> 
<meta name="Owner" content="Wai Yi Leung" />
<meta name="Copyright" content="© 2002 doTBit.Net" />
<meta name="Identifier-URL" content="http://www.dotbit.net" />
<meta name="Rating" content="general" />
<meta name="Robots" content="all" />

<title><?php echo($pagetitle." --- ".$site[users_online]." ".$users." online");?></title>

<link href="<?php echo($page[css]);?>" rel="stylesheet" />
</head>
<body>
Return current item: DoTBit.Net Web Portal System