Location: PHPKode > projects > HB-NS > hb-ns/head.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" lang="en" xml:lang="en">
<head>
<title><?php
// IMPORTANT NOTE FOR UPGRADERS:
// the way the headerfile works has changed a bit
// it is highly recommended to start with a fresh headerfile
// otherwise copy the php code in this file to your existing head.php file

if ($include_script == "yes")
{
	echo $admin_title;
}
else
{
	echo $visitor_title;
}
?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="MSSmartTagsPreventParsing" content="true" />
<meta http-equiv="cache-control" content="no-cache, must-revalidate" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="Sun, 01 Mar 1970 09:00:00 GMT" />
<link rel="home" href="<?php echo $base_url; ?>" />
<link rel="made" href="mailto:<?php echo $email; ?>" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<?php
if ((isset($article)) && ($action != "comment"))
{
	echo "<meta name=\"robots\" content=\"index, follow\" />\n";
}
else
{
	echo "<meta name=\"robots\" content=\"noindex, follow\" />\n";
}

echo "<meta name=\"generator\" content=\"$scriptname $version, $script_homepage\" />\n";
if ($include_script != "yes")
{
	echo "<link rel=\"prev\" rev=\"alternate\" href=\"$news_base?action=list\" title=\"".SHOW_ALL."\" />\n";
	echo "<link rel=\"next\" rev=\"alternate\" href=\"$news_base?action=normal\" title=\"".READ_ALL."\" />\n";
}
if ($include_script == "yes")
{
	echo "<link rel=\"prev\" href=\"index.php\" />\n";
}

// include "lang/bbcode$language.js";
echo "<script src=\"". $news_base . "lang/bbcode" . $language . ".js\" type=\"text/javascript\" language=\"javascript\"></script>\n";

// customise section below
// don't forget foot.php and style.css
// and certainly not configuration.php!!!!

// if you can't make the rss.xml file writeable for the webserver use rss.php in the link below
?>
<link rel="alternate" type="application/rss+xml" href="<?php echo "$news_base"; ?>rss.xml" title="RSS Feed" />
<link rel="stylesheet" type="text/css" href="<?php echo "$news_base"; ?>style.css" title="In style" />
<script type="text/javascript">
function goLastMonth(month, year)
{
	// If the month is January, decrement the year
	if (month == 1)
	{
		--year;
		month = 13;
	}
	document.location.href = '?action=calender&month='+(month-1)+'&year='+year;
}

function goNextMonth(month, year)
{
	// If the month is December, increment the year
	if (month == 12)
	{
		++year;
		month = 0;
	}
	document.location.href = '?action=calender&month='+(month+1)+'&year='+year;
}
</script>
</head>
<body>
<div class="mainnews">
Return current item: HB-NS