<!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" xml:lang="en" lang="en">
	<head>
		<? if (isset($_GET['tag'])): ?>
			<title><?=$_GET['tag']?> - <?=TITLE?></title>
			<meta name="description" content="Video Search, <?=$_GET['tag']?>" />
			<meta name="keywords" content="<?=$_GET['tag']?>, videos, search" />
		<? else: ?>
			<title><?=TITLE?></title>
			<meta name="description" content="Free PHP Video Search" />
			<meta name="keywords" content="free, video, search, php, script" />
		<? endif; ?>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link href="<?=BASE_URL?>/css/style.css" rel="stylesheet" type="text/css" />
	</head>
<body>

<div id="content">

	<div id="header">
	
		<h1><a href="<?=BASE_URL?>"><img src="<?=BASE_URL?>/images/logo.gif" alt="<?=TITLE?>" /></a></h1>
		<h2><?=SUBTITLE?></h2>	
		
		<div class="headerform">
			<form method="get" action="<?=BASE_URL?>/index.php" onsubmit="location.href='<?=BASE_URL?>/'+this.op.value+'/tag/'+encodeURIComponent(this.tag.value).replace(/%20/g, '+')+'.html'; return false;">
				<input name="op" type="hidden" id="op" value="<?=$op?>" />
				<label for="tag"><?=_SEARCH?>: </label> <input name="tag" type="text" id="tag" value="<?=$tag?>" size="40" />
		        <input name="Submit" type="submit" value="<?=_SEARCH?>" />
			</form>
		</div>
		
	</div> <!-- header -->