File: /home/awaldron/public_html/archive/ressyn/_header.php
<!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" lang="en" xml:lang="en">
<head>
<title>Ressyn : <?=(isset($page_title)?$page_title:'Resume Syndication')?></title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="Description" content="Resume Syndication by Ressyn enables job seekers to simultaneously publish a resume to any number of subscribed employers or recruiting firms." />
<link rel="stylesheet" type="text/css" href="/style_default.css" />
<script src="/include/javascript/jquery-1.2.5.min.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
function getHeight() {
if (window.innerWidth) { heightAvail = window.innerHeight; }
else if (document.documentElement && document.documentElement.clientWidth) { heightAvail = document.documentElement.clientHeight; }
else if (document.body) { heightAvail = document.body.clientHeight; }
return heightAvail;
}
$(document).ready(function() {
// Set 'title' attribute = to alt
$('img').attr('alt', function() { return this.alt; } ).attr('title', function() { return this.alt } );
if ( $.browser.msie ) { $('#mainlogo').attr({ src: "/gui/ressyn_logo.gif" }); }
var rand = Math.floor(Math.random()*3)+1;
$('.fp-splash').attr('id','fp-splash-'+rand);
$('.fp-verts').attr('id','fp-verts-'+rand);
$('.bubble-off').hover(
function () { $(this).addClass("bubble-on"); },
function () { $(this).removeClass("bubble-on"); }
);
$('#header-login-username').focus(function() {
$(this).val("");
});
$('#header-login-password').hide();
$('#header-login-password-dummy').focus(function() {
$(this).hide();
$(this).attr('disabled','true');
$('#header-login-password').show();
$('#header-login-password').focus();
});
$('#icon-home').hover(
function () { $(this).attr("src","/gui/icon_home_on.gif"); },
function () { $(this).attr("src","/gui/icon_home.gif"); }
);
$('#icon-contact').hover(
function () { $(this).attr("src","/gui/icon_contact_on.gif"); },
function () { $(this).attr("src","/gui/icon_contact.gif"); }
);
$('#icon-register').hover(
function () { $(this).attr("src","/gui/icon_register_on.gif"); },
function () { $(this).attr("src","/gui/icon_register.gif"); }
);
$('#tn-seekers').hover(
function () { $(this).attr("src","/gui/topnav_seekers_on.gif"); },
function () { $(this).attr("src","/gui/topnav_seekers.gif"); }
);
$('#tn-employers').hover(
function () { $(this).attr("src","/gui/topnav_employers_on.gif"); },
function () { $(this).attr("src","/gui/topnav_employers.gif"); }
);
$('#tn-recruiters').hover(
function () { $(this).attr("src","/gui/topnav_recruiters_on.gif"); },
function () { $(this).attr("src","/gui/topnav_recruiters.gif"); }
);
var ch = getHeight();
var fpHeight = ch - 681;
var spHeight = ch - 320;
$('.fp-content').css({ height:fpHeight });
$('.sp-content').css({ height:spHeight });
$('.sp-content2').css({ height:spHeight });
});
-->
</script>
</head>
<body<?=($_SERVER[REQUEST_URI]==='/home'?' class="home"':'')?>>
<div id="main">
<div id="header"<?=($_SERVER[REQUEST_URI]!=='/home'?' class="sub"':'')?>>
<div id="info">
<?php
echo '<p class="right">'.EOL;
echo tab(4).'<a href="/home" title="Ressyn Home"><img src="/gui/icon_home.gif" id="icon-home" alt="Home" /></a>'.EOL;
echo tab(4).'<a href="/contact" title="Contact Ressyn"><img src="/gui/icon_contact.gif" id="icon-contact" alt="Contact" /></a>'.EOL;
if (!$u->is_logged()) echo tab(4).'<a href="/account/register" title="Register for an Account"><img src="/gui/icon_register.gif" id="icon-register" alt="Register for an Account" /></a>'.EOL;
echo tab(3).'</p>'.EOL;
if ($u->is_logged()) {
echo tab(3).'<p class="welcome"><b class="gold">'.$u->fullname().'</b> <span class="white">[ <a href="/account" class="header" title="My Account">My Account</a> | <a href="/account/sign-out" class="header" title="Sign Out">Sign Out</a> ]</span></p>'.EOL;
} else {
echo tab(3).'<p><form id="loginform" action="/account/sign-in" method="post"><b class="login-title">Login:</b>'.EOL;
echo tab(4).'<input type="text" name="username" value="Email Address" id="header-login-username" class="header-login" />'.EOL;
echo tab(4).'<input type="password" name="password" value="" id="header-login-password" class="header-login" />'.EOL;
echo tab(4).'<input type="text" name="password-dummy" value="Password" id="header-login-password-dummy" class="header-login" />'.EOL;
echo tab(4).'<input type="submit" value="GO" name="submit_login" class="submit-login" />'.EOL;
echo tab(3).'</form></p>'.EOL;
}
?>
</div>
<div id="logo"><a href="/home"><img src="/gui/ressyn_logo.png" alt="Ressyn : Resume Syndication" id="mainlogo" /></a></div>
</div>
<?php
if ($_SERVER[REQUEST_URI] !== '/home') {
echo tab(1).'<div id="top-nav">'.EOL;
echo tab(2).'<a href="/for/job-seekers" title="Ressyn for Job Seekers"><img src="/gui/topnav_seekers.gif" id="tn-seekers" /></a><a href="/for/employers" title="Ressyn for Employers"><img src="/gui/topnav_employers.gif" id="tn-employers" /></a><a href="/for/recruiters" title="Ressyn for Recruiters"><img src="/gui/topnav_recruiters.gif" id="tn-recruiters" /></a>';
echo tab(1).'</div>'.EOL;
}
?>