<?php
header('Content-type: text/html; charset=utf-8');
$template = '
<!DOCTYPE html>
<!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" class="inner">
<head>
	<title>'.$TITLE.' - UBAR</title>

	<link rel="icon" href="'.$ROOT.'favicon.ico" type="image/x-icon">
	<link rel="shortcut icon" href="'.$ROOT.'favicon.ico" type="image/x-icon">
	<link rel="stylesheet" type="text/css" media="screen" href="'.$ROOT.'css/two-tiers.css">
    <link rel="stylesheet" type="text/css" media="screen" href="'.$ROOT.'css/inner.css">
    <link rel="stylesheet" type="text/css" media="screen" href="'.$ROOT.'css/footer.css">
	<link rel="stylesheet" type="text/css" media="screen" href="'.$ROOT.'css/nt.css">
	<link rel="stylesheet" type="text/css" media="print" href="'.$ROOT.'css/print.css">
	<link rel="stylesheet" type="text/css" media="screen" href="'.$ROOT.'css/default.css">
	
	<style type="text/css">#ubarnav,#ubar,#ubarContent{width:100%}#ubarnav li,#ubarnav li.li1{width:10%}</style>
	<link rel="stylesheet" type="text/css" media="print" href="'.$ROOT.'css/ubarp.css" />

	<script type="text/javascript">/* no frames */ if(top.location != self.location) top.location.replace(self.location);</script>
	<script type="text/javascript" src="'.$ROOT.'js/nt2.js"></script>
</head>

<body class="inner">
<div id="page-1">
	<div id="page-2">
		<h1 id="page-title">UBAR<small> '.$TITLE.' The Unofficial Battlefield 2 Awards and Ranks Guide</small></h1>
		<div id="page-3">
			<div id="content"><div id="content-id"><!-- template header end == begin content below -->

		<ul id="navitems">
			<li>|<a href="'.$ROOT.'">'.$lang['Home'].'</a>|</li>
            <li><a href="'.$ROOT.'?go=forum">'.$lang['forum'].'</a>|</li>
            <li><a href="'.$ROOT.'?go=stats">'.$lang['top'].'</a>|</li>
            <li><a href="'.$ROOT.'?go=currentranking">'.$lang['Rankings'].'</a>|</li>
            <li><a href="'.$ROOT.'?go=lastrounds">'.$lang['lastrounds'].'</a>|</li>
            <li><a href="'.$ROOT.'?go=banlist">'.$lang['banlist'].'</a>|</li>
            <li><a href="'.$ROOT.'?go=monitor">'.$lang['monetor'].'</a>|</li>
			<li><a href="'.$ROOT.'?go=faq">'.$lang['FAQ'].'</a>|</li>
            <li><a href="'.$ROOT.'?go=ubar">'.$lang['UBAR'].'</a>|</li>
			<li><a href="http://wiki.bf2s.com/">'.$lang['Wiki'].'</a>|</li>
		</ul>
	
		<form action="'.$ROOT.'?go=search" method="post" id="getstats">
			<label for="pid">'.$lang['search'].':</label>
			<input type="text" name="searchvalue" id="pid" value="" />
			<input type="submit" class="btn" value="Go" />
		</form>

				<div id="ubar"> 
					<ul id="ubarnav">
						<li class="li1"><a href="'.$ROOT.'?go=ubar" class="current">'.$lang['Home'].'</a></li>
						<li><a href="'.$ROOT.'?go=ubar&p=ribbons">'.$lang['Ribbons'].'</a></li>
						<li><a href="'.$ROOT.'?go=ubar&p=ribbons-sf">'.$lang['SFRibbons'].'</a></li>
						<li><a href="'.$ROOT.'?go=ubar&p=badges">'.$lang['Badges'].'</a></li>
						<li><a href="'.$ROOT.'?go=ubar&p=badges-sf">'.$lang['SFBadges'].'</a></li>
						<li><a href="'.$ROOT.'?go=ubar&p=medals">'.$lang['Medals'].'</a></li>
						<li><a href="'.$ROOT.'?go=ubar&p=medals-sf">'.$lang['SFMedals'].'</a></li>
						<li><a href="'.$ROOT.'?go=ubar&p=ranks">'.$lang['Ranks'].'</a></li>
						<li><a href="'.$ROOT.'?go=ubar&p=unlocks">'.$lang['Unlocks'].'</a></li>
						<li><a href="'.$ROOT.'?go=ubar&p=kits">'.$lang['Kits'].'</a></li>
					</ul>
					<div style="clear:both"> </div>

					<div id="ubarContent"> 
						
						<table width="100%" class="basic-stat" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<th><h3>Welcome!</h3></th>
							</tr>

							<tr>
								<td>
									'.$lang['UBARmain1'].'
								</td>
							</tr>
						</table>
						
						<table width="75%" border="0" cellspacing="0" cellpadding="0" align="center">
							<tr align="center">
								<td><a style="border: 0" href="'.$ROOT.'?go=ubar&p=ribbons"><img src="'.$ROOT.'images/game-images/awards/ubar/3242303.png" width="96" height="96" alt="" /> <br />
									'.$lang['Ribbons'].'</a>
									<br />
									<i>-or-</i>
									<br />
									<a style="border: 0" href="'.$ROOT.'?go=ubar&p=ribbons-sf">'.$lang['SFRibbons'].'</a></td>
								<td><a style="border: 0" href="'.$ROOT.'?go=ubar&p=badges"><img src="'.$ROOT.'images/game-images/awards/ubar/1190601_2.png" width="96" height="96" alt="" /> <br />
									'.$lang['Badges'].'</a>
									<br />
									<i>-or-</i>
									<br />
									<a style="border: 0" href="'.$ROOT.'?go=ubar&p=badges-sf">'.$lang['SFBadges'].'</a></td>
								<td><a style="border: 0" href="'.$ROOT.'?go=ubar&p=medals"><img src="'.$ROOT.'images/game-images/awards/ubar/2020913.png" width="96" height="96" alt="" /> <br />
									'.$lang['Medals'].'</a>
									<br />
									<i>-or-</i>
									<br />
									<a style="border: 0" href="'.$ROOT.'?go=ubar&p=medals-sf">'.$lang['SFMedals'].'</a></td>
								<td><a style="border: 0" href="'.$ROOT.'?go=ubar&p=ranks"><img src="'.$ROOT.'images/game-images/ranks/ubar/rank_3.jpg" width="96" height="96" alt="" /> <br />
									'.$lang['Ranks'].'</a></td>
								<td><a style="border: 0" href="'.$ROOT.'?go=ubar&p=unlocks"><img src="'.$ROOT.'images/site-images/ubar/l96unlockiconci3.png" width="96" height="96" alt="" /> <br />
									'.$lang['Unlocks'].'</a></td>
								<td><a style="border: 0" href="'.$ROOT.'?go=ubar&p=kits"><img src="'.$ROOT.'images/site-images/ubar/kitantitankac6.jpg" width="96" height="96" alt="" /> <br />
									'.$lang['Kits'].'</a></td>
							</tr>
						</table>
						
						<table width="100%" class="basic-stat" border="0" cellspacing="0" cellpadding="0">
							<tr>

								<th><h3>Reading The Guide</h3></th>
							</tr>
							<tr>
								<td>
									'.$lang['UBARmain2'].'
								</td>
							</tr>
						</table>
						
						<table width="100%" class="basic-stat" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<th><h3>Special Thanks:</h3></th>
							</tr>

							<tr>
								<td>
									<ul>
										<li>blue60007</li>
										<li>phusioN</li>
										<li>-=Scott=-</li>
										<li>TheDude</li>
                                        <li><a href="http://bf2s.com/">bf2s.com</a></li>
									</ul>
								</td>
							</tr>
						</table>
						
					</div>

				</div><!-- /ubar -->

				<!-- end content == footer below -->
				<hr class="clear" />

			</div></div> <!-- content-id --><!-- content -->
		</div>	<!-- Page 3 -->

	</div><!-- page 2 -->

<div id="footer"><!-- footer -->
<div class="footer_mod">
    <div class="footer_mod_left"><!-- Language -->
        <form method="post" id="content">
            '.$lang['select'].'
            <select name="lang">
            <option value="ru">'.$lang['Russian'].'</option>
            <option value="en">'.$lang['English'].'</option>
            <option value="jp">'.$lang['Japanese'].'</option>
            </select>
            <input type="submit" value="'.$lang['selectsave'].'" />
        </form>
    </div><!-- / Language -->
    <div class="footer_mod_right">
    <a href="#top">'.$lang['UpPage'].'</a><br/>
    <!--&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<br/>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp-->
    </div>
    <div class="footer_mod_center">'.$lang['footerLASTUPDATE'].'. '.$lang['footerNEXTUPDATE'].'.<br>
	'.$lang['footerPROCESSED'].'.<br><br/>
    '.$lang['copyrightProject'].'<br/>
    <!-- Уважайте мою работу - не трогайте нижнюю строчку... (^ω^)/ -->
    '.$lang['copyrightBF2REW'].'<br/>
    '.$lang['copyrightShark'].'<br/></div>
</div>
</div><!-- footer -->

</div>';
$template .= '</body></html>';
?>