Location: PHPKode > projects > Php Site Manager > template/overall_header.tpl
<!-- START overall_header.tpl -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset={[$L__COMMON__CHARSET]}" />
	<meta name="Description" content="{[$config.meta_description]}" />
	<meta name="Keywords" content="{[$config.meta_keywords]}" />
	<meta name="Robots" content="index,follow" />
	<meta name="Generator" content="phpSiteManager" />
	
	<title>{[$config.site_name]} - {[$PAGE_NAME]}</title>

	<link rel="stylesheet" href="http://{[$SERVER_URL]}/{[$TEMPLATE_DIR]}/style.css" type="text/css" />
	<link rel="stylesheet" href="http://{[$SERVER_URL]}/{[$TEMPLATE_DIR]}/content.css" type="text/css" />
	
	<script type="text/javascript">
		/**
		* Set display of page element
		* s[-1,0,1] = hide,toggle display,show
		*/
		function sh(n, s)
		{
			var e = document.getElementById(n);
		
			if (!s)
			{
				s = (e.style.display == '' || e.style.display == 'block') ? -1 : 1;
			}
			e.style.display = (s == 1) ? 'block' : 'none';
		}
	</script>
</head>

<body>

	{[* START LAYOUT *]}
	<div id="wrap">
		<div id="logo">
			<h1>{[$config.site_name]} - {[$L__COMMON__VERSION]} {[$L__COMMON__LANGUAGE]} ({[$LANG]})</h1>
		</div>
	
		<div id="welcome">
			{[$L__COMMON__WELCOME_MSG]}
		</div>
		
		<br clear="all" />
		
		<div id="subheader">
			<div id="navigator">
				<a href="http://{[$SERVER_URL]}/index.php" title="{[$L__COMMON__HOME]}">{[$L__COMMON__HOME]}</a>
{[section name=b loop=$pages]}
{[if $pages[b].page_status == 1 and $pages[b].page_id > 1]}
				&nbsp;&bull;&nbsp;
				<a href="http://{[$SERVER_URL]}/page.php?id={[$pages[b].page_id]}&title={[$pages[b].page_seo_title]}" title="{[$pages[b].page_title]}">{[$pages[b].page_title]}</a>
{[/if]}
{[/section]}
			</div>
				
			<div id="search">
				<form id="search_engine" method="get" action="http://{[$SERVER_URL]}/search.php">
					<p>
						<input class="searchfield" name="search_text" type="text" id="keywords" value="{[$L__COMMON__SEARCH_KEYWORDS]}" onfocus="document.forms['search_engine'].keywords.value='';" onblur="if (document.forms['search_engine'].keywords.value == '') document.forms['search_engine'].keywords.value='{[$L__COMMON__SEARCH_KEYWORDS]}';" />
						<input class="searchbutton" type="submit" value="{[$L__COMMON__SEARCH_BUTTON]}" />
					</p>
				</form>
			</div>
		</div>		

		<div id="center">
{[if $LOGGED == TRUE]}
			<p id="admin_menu">
				<a href="http://{[$SERVER_URL]}/add_page.php" title="{[$L__COMMON__ADD_PAGE]}">{[$L__COMMON__ADD_PAGE]}</a>
			</p>
{[/if]}
		</div>
<!-- END overall_header.tpl -->
Return current item: Php Site Manager