<?php session_start();?>
<?php
$timer_start = microtime(true);
$get_user_agent = $_SERVER['HTTP_USER_AGENT'];
if (strpos($get_user_agent,'MSIE') != false && strpos($get_user_agent,'Opera') === false){
if (strpos($get_user_agent,'Windows NT 5.2') != false){
if(strpos($get_user_agent,'.NET CLR') === false) return;
}
/*if (substr($get_user_agent,strpos($get_user_agent,'MSIE')+5,1) < 7){
header('Location: http://www.bohemiawebsites.com/');
}*/}
?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="<?php echo $description; ?>" />
<meta name="keywords" content="<?php echo $keywords; ?>" />
<link rel="stylesheet" type="text/css" href="style.css" />
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="ie6.css" />
<![endif]-->
<SCRIPT type= "text/javascript">
// function redireccionar() {
// setTimeout("location.href='http://www.bohemiawebsite.com/home/index.php/fixedwidth'", 5000);
// }
</SCRIPT>
<script type= "text/javascript">
if (screen.width >= 501 && screen.width <=779 ) {
document.location = "http://bohemianism.ca/index_fixed.php"
}
else if (screen.width <=500 ) {
document.location = "http://bohemianism.ca/mobile"
}
</script>
<script type= "text/javascript">
<!-- Original: Ronnie T. Moore, Editor -->
<!-- Web Site: http://javascriptsource.com -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
var refarray = new Array();
refarray['http://vancouver.en.craigslist.ca/'] = "clist.php";
//refarray['yahoo.com'] = "page.html?from=yahoo";
//refarray['lycos.com'] = "page.html?from=lycos";
//refarray['infoseek.com'] = "page.html?from=infoseek";
for (var i in refarray) {
if (document.referrer.indexOf(i) != -1) window.location.replace(refarray[i]);
}
// End -->
</script>
<script type="text/javascript">
function showstuff(){
document.getElementById("submenu").style.visibility="visible";
}
function hidestuff(){
document.getElementById("submenu").style.visibility="hidden";
}
</script>
<script type="text/javascript">
function showstuff2(){
document.getElementById("submenu2").style.visibility="visible";
}
function hidestuff2(){
document.getElementById("submenu2").style.visibility="hidden";
}
</script>
<title><?php echo $page_title; ?></title>
</head>
<?php
public_db_connect();
?>