{if $include_js}
	{foreach name=include_js_loop item=v from=$include_js}
		<script language="javascript" src={$v}></script>
	{/foreach}
{/if}
<html>
<head>
    <META http-equiv="Content-Type" content="text/html; charset={$STRING.lang_charset}">
    <title>{$application_name|htmlspecialchars} {$application_version|htmlspecialchars} - Administration - {$page_title}</title>
    <link rel="StyleSheet" href="../styles/blue2.css" type="text/css">
	<link rel="stylesheet" type"text/css" href="../styles/print.css" media="print">
    <META http-equiv="Content-Type" content="text/html; charset={$STRING.lang_charset}">
</head>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" {if $onUnload}onUnload="{$onUnload}"{/if}>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
	<td class="nav" valign="middle"><img name="title" src="{$template_path}/../{$ADMIN_LOGO}" border="0" alt="Memento Plus Administration" hspace="0" vspace="0"></td>
	<td align="right" valign="middle" class="nav">
		<form action="../bug.php">
		<input type="hidden" name="op" value="show">
		{$STRING.WRAP.FindBug}
		<input name="file_id" type="text" id="file_id" size="4">
		&nbsp;
		</form>
	</td>
  </tr>
  <tr>
	  <td class="navtitlebar" height="4" colspan="2"><img src="{$template_path}/../images/spacer.gif" height="1" width="1"></td>
  </tr>
  <tr>
	  <td class="navtitlebar" colspan="2">
	  <table border="0" cellspacing="0" cellpadding="4">
			<tr>
			  <td><a href="configure.php" class="navlink">{$TITLE.configuration|htmlspecialchars}</a></td>
			  <td>|</td>
			  <td><a href="project.php" class="navlink">{$TITLE.project|htmlspecialchars}</a></td>
			  <td>|</td>
			  <td><a href="user.php" class="navlink">{$TITLE.user|htmlspecialchars}</a></td>
			  <td>|</td>
			  <td><a href="group.php" class="navlink">{$TITLE.group|htmlspecialchars}</a></td>
			  <td>|</td>
			  <!-- <td><a href="status.php" class="navlink">{$TITLE.status}</a></td>
			  <td>|</td> -->
			  <!-- <td><a href="resolution.php" class="navlink">{$TITLE.resolution}</a></td> -->
			<!-- </tr><tr> -->
			  <!-- <td><a href="severity.php" class="navlink">{$TITLE.severity}</a></td>
			  <td>|</td>
			  <td><a href="os.php" class="navlink">{$TITLE.os}</a></td>
			  <td>|</td>
			  <td><a href="database.php" class="navlink">{$TITLE.database}</a></td>
			  <td>|</td>
			  <td><a href="site.php" class="navlink">{$TITLE.site}</a></td>
			  <td>|</td> -->
			  <td><a href="../docs/html/userguide.html" class="navlink">{$STRING.WRAP.Documentation|htmlspecialchars}</a></td>
			  <td>|</td>
			  <td><a href="../index.php" class="navlink">{$TITLE.usertools|htmlspecialchars}</a></td>
			</tr>
		</table>
	</td>
  </tr>
  <tr>
	  <td class="navtitlebar" height="4" colspan="2"><img src="{$template_path}/../images/spacer.gif" height="1" width="1"></td>
  </tr>
  <tr>
	  <td class="navborder" height="1" colspan="2"><img src="{$template_path}/../images/spacer.gif" height="1" width="1"></td>
  </tr>
	<tr>
	    <td colspan="2" height="20" class="bottomnav">
		<form method="post" action="{$smarty.server.SCRIPT_NAME}{if $smarty.request.QUERY_STRING}?{$smarty.request.QUERY_STRING}{/if}">
		&nbsp;
{if not $smarty.session.uid}
    {if EMAIL_IS_LOGIN}
	{assign var="loginlabel" value="Email"}
    {else}
	{assign var="loginlabel" value="Login"}
    {/if}
		{$loginerror}
		{$loginlabel}: <input type="text" name="username" class="bottomnavinput" value="{$smarty.cookies.phpbt_user}">
		Password: <input type="password" name="password" class="bottomnavinput">
		<input type="hidden" name="dologin" value="1">
		<input type="submit" value="Login" class="bottomnavinput">
		<input type="submit" name="sendpass" value="Email Password" class="bottomnavinput" title="Forgot your password?  Have it sent to you">
    {if RECALL_LOGIN}
		<input type="checkbox" name="savecookie" value="1" {if !empty($smarty.cookies.phpbt_user)}checked{/if} class="bottomnavinput" title="Remember {$loginlabel} for next time"> Remember me
    {/if}
{else}
	{$STRING.WRAP.BugsAssigned|htmlspecialchars} : 
				{if $owner_open}
					<a href="../{$owner_open}" title="Open">				 
					{$owner_open_nb}
					</a>
				{else}
					0
				{/if}
				/ 
				{if $owner_closed}
					<a href="../{$owner_closed}" title="Closed">
						{$owner_closed_nb}
					</a>
				{else}
					0
				{/if}
				| 
				{$STRING.WRAP.BugsReported|htmlspecialchars} : 
				{if $reporter_open}
					<a href="../{$reporter_open}" title="Open">
						{$reporter_open_nb}
					</a>
				{else}
					0
				{/if}
				/ 
				{if $reporter_closed}
					<a href="../{$reporter_closed}" title="Closed">
						{$reporter_closed_nb}
					</a>
				{else}
					0
				{/if}
				| <a href="../user.php">
					{$STRING.WRAP.PersonalPage|htmlspecialchars}
				</a>
				| <a href="../logout.php">
					{$STRING.WRAP.Logout|htmlspecialchars} {$smarty.session.uname}
				</a>
{/if}
		&nbsp;
		</form>
	    </td>
	</tr>
  <tr>
	  <td class="navborder" height="1" colspan="2"><img src="{$template_path}/../images/spacer.gif" height="1" width="1"></td>
  </tr>
  <tr>
	  <td class="navbotspacer" height="00" colspan="2"><img src="{$template_path}/../images/spacer.gif" height="1" width="1"></td>
  </tr>
</table>
{include file=$content_template}
</body>
</html>
