<?php /* Smarty version 2.3.0, created on 2015-10-22 15:06:52
         compiled from wrap.html */ ?>
<?php $this->_load_plugins(array(
array('modifier', 'htmlspecialchars', 'wrap.html', 5, false),
array('modifier', 'basename', 'wrap.html', 62, false),
array('function', 'assign', 'wrap.html', 69, false),)); ?><?php $this->_assign_smarty_interface(); ?>

<html>
<head>
    <META HTTP-EQUIV="Expires" CONTENT="-1">
    <title><?php echo $this->_run_mod_handler('htmlspecialchars', true, $this->_tpl_vars['application_name']); ?>
 <?php echo $this->_run_mod_handler('htmlspecialchars', true, $this->_tpl_vars['application_version']); ?>
 - <?php echo $this->_run_mod_handler('htmlspecialchars', true, $this->_tpl_vars['page_title']); ?>
</title>
    <link rel="StyleSheet" href="styles/blue2.css" type="text/css">
    <META http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['STRING']['lang_charset']; ?>
">
</head>
<?php if ($this->_tpl_vars['include_js']): ?>
	<?php if (isset($this->_foreach["include_js_loop"])) unset($this->_foreach["include_js_loop"]);
$this->_foreach["include_js_loop"]['name'] = "include_js_loop";
$this->_foreach["include_js_loop"]['total'] = count((array)$this->_tpl_vars['include_js']);
$this->_foreach["include_js_loop"]['show'] = $this->_foreach["include_js_loop"]['total'] > 0;
if ($this->_foreach["include_js_loop"]['show']):
$this->_foreach["include_js_loop"]['iteration'] = 0;
    foreach ((array)$this->_tpl_vars['include_js'] as $this->_tpl_vars['v']):
        $this->_foreach["include_js_loop"]['iteration']++;
        $this->_foreach["include_js_loop"]['first'] = ($this->_foreach["include_js_loop"]['iteration'] == 1);
        $this->_foreach["include_js_loop"]['last']  = ($this->_foreach["include_js_loop"]['iteration'] == $this->_foreach["include_js_loop"]['total']);
?>
		<script language="javascript" src=<?php echo $this->_tpl_vars['v']; ?>
></script>
	<?php endforeach; endif; ?>
<?php endif; ?>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" <?php if ($this->_tpl_vars['onUnload']): ?>onUnload="<?php echo $this->_tpl_vars['onUnload']; ?>
"<?php endif; ?>>
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="nav">
  <tr>
	<!-- <td class="nav" valign="middle"><img name="title" src="<?php echo $this->_tpl_vars['template_path']; ?>
/images/title.gif" width="500" height="50" border="0" alt="" hspace="0" vspace="0"></td> -->
	<!-- TODO : I should make the header more configurable -->
	<td class="nav" valign="middle">
		<img src="<?php echo $this->_tpl_vars['template_path']; ?>
/<?php echo $this->_tpl_vars['PRIMARY_LOGO']; ?>
" alt="Diamentis logo" />	
	</td>
	<td align="right" valign="middle" class="nav">
		<form action="bug.php"><p>
		<input type="hidden" name="op" value="show" />
			<?php echo $this->_run_mod_handler('htmlspecialchars', true, $this->_tpl_vars['STRING']['WRAP']['FindBug']); ?>

		<input name="file_id" type="text" id="file_id" size="4" value="" />
		&nbsp;</p>
		</form>
	</td>
  </tr>
   <tr>
	  <td class="navtitlebar" colspan="2">
	  <table border="0" cellspacing="0" cellpadding="3">
			<tr>
			  <td nowrap ><a href="index.php" class="navlink"><?php echo $this->_run_mod_handler('htmlspecialchars', true, $this->_tpl_vars['STRING']['WRAP']['Home']); ?>
</a></td>
			  <td>|</td>
			  <td nowrap ><a href="bug.php?op=add" class="navlink"><?php echo $this->_run_mod_handler('htmlspecialchars', true, $this->_tpl_vars['STRING']['WRAP']['AddNewBug']); ?>
</a></td>
			  <td>|</td>
			  <td nowrap ><a href="query.php?op=query" class="navlink"><?php echo $this->_run_mod_handler('htmlspecialchars', true, $this->_tpl_vars['STRING']['WRAP']['QueryBugs']); ?>
</a></td>
			  <!--
			  <td>|</td>			  :
				<td><a href="report.php" class="navlink"><?php echo $this->_tpl_vars['STRING']['WRAP']['ViewReports']; ?>
</a></td>
				-->
				<?php if (! NEW_ACCOUNTS_DISABLED && ! $GLOBALS['HTTP_SESSION_VARS']['uid']): ?>
			  <td>|</td>
			  <td nowrap ><a href="newaccount.php" class="navlink"><?php echo $this->_run_mod_handler('htmlspecialchars', true, $this->_tpl_vars['STRING']['WRAP']['CreateNewAccount']); ?>
</a></td>
				<?php endif; ?>
				<?php if (! NEW_ACCOUNTS_DISABLED && $GLOBALS['HTTP_SESSION_VARS']['uid']): ?>
			  <td>|</td>
			  <td nowrap ><a href="newdomain.php" class="navlink"><?php echo $this->_run_mod_handler('htmlspecialchars', true, $this->_tpl_vars['STRING']['WRAP']['CreateNewDomain']); ?>
</a></td>
				<?php endif; ?>
			  <td>|</td>
			  <td nowrap ><a href="<?php echo $this->_tpl_vars['doc_url']; ?>
" class="navlink"><?php echo $this->_run_mod_handler('htmlspecialchars', true, $this->_tpl_vars['STRING']['WRAP']['Documentation']); ?>
</a></td>
				<?php if (isset ( $this->_tpl_vars['perm'] ) && $this->_tpl_vars['perm']->have_perm ( 'AdminProject' )): ?>
			  <td>|</td>
			  <td nowrap ><a href="admin/project.php" class="navlink"><?php echo $this->_run_mod_handler('htmlspecialchars', true, $this->_tpl_vars['STRING']['WRAP']['AdminTools']); ?>
</a></td>
				<?php endif; ?>
			</tr>
		</table>
	</td>
  </tr>
  <?php if ($this->_run_mod_handler('basename', true, $GLOBALS['HTTP_SERVER_VARS']['SCRIPT_NAME']) != 'newaccount.php'): ?>
	<tr>
	    <td colspan="2" class="bottomnav">
		<?php if (! $GLOBALS['HTTP_SESSION_VARS']['uid']): ?>
		<form method="post" action="<?php echo $GLOBALS['HTTP_SERVER_VARS']['SCRIPT_NAME']; ?>
<?php if ($this->_smarty_vars['request']['QUERY_STRING']): ?>?<?php echo $this->_smarty_vars['request']['QUERY_STRING']; ?>
<?php endif; ?>">
		&nbsp;
		    <?php if (EMAIL_IS_LOGIN): ?>
			<?php $this->_plugins['function']['assign'][0](array('var' => "loginlabel",'value' => $this->_tpl_vars['STRING']['WRAP']['Email']), $this); if($this->_extract) { extract($this->_tpl_vars); $this->_extract=false; } ?>
		    <?php else: ?>
			<?php $this->_plugins['function']['assign'][0](array('var' => "loginlabel",'value' => $this->_tpl_vars['STRING']['WRAP']['Login']), $this); if($this->_extract) { extract($this->_tpl_vars); $this->_extract=false; } ?>
		    <?php endif; ?>
				<?php echo $this->_tpl_vars['loginerror']; ?>

				<?php echo $this->_tpl_vars['loginlabel']; ?>
: <input type="text" name="username" class="bottomnavinput" value="<?php echo $GLOBALS['HTTP_COOKIE_VARS']['phpbt_user']; ?>
"/>
				<?php echo $this->_run_mod_handler('htmlspecialchars', true, $this->_tpl_vars['STRING']['USER_PREF']['Password']); ?>
: <input type="password" name="password" class="bottomnavinput" value="<?php echo $GLOBALS['HTTP_COOKIE_VARS']['phpbt_user_pw']; ?>
"/>
				<input type="hidden" name="dologin" value="1"/>
				<input type="submit" value="<?php echo $this->_tpl_vars['STRING']['WRAP']['DoLogin']; ?>
" class="bottomnavinput"/>
		    <?php if (ENCRYPT_PASS==1): ?>
		    <?php else: ?>
				<input type="submit" name="sendpass" value="<?php echo $this->_tpl_vars['STRING']['WRAP']['EmailPassword']; ?>
" class="bottomnavinput" title="Forgot your password?  Have it sent to you"/>
		    <?php endif; ?>
		    <?php if (RECALL_LOGIN): ?>
				<input type="checkbox" name="savecookie" value="1" <?php if (!empty ( $GLOBALS['HTTP_COOKIE_VARS']['phpbt_user'] )): ?>checked<?php endif; ?> class="bottomnavinput" title="Remember <?php echo $this->_tpl_vars['loginlabel']; ?>
 for next time"/> <?php echo $this->_tpl_vars['STRING']['WRAP']['RememberMe']; ?>

		    <?php endif; ?>
		</form>
		<?php else: ?>
				<?php echo $this->_run_mod_handler('htmlspecialchars', true, $this->_tpl_vars['STRING']['WRAP']['BugsAssigned']); ?>
 : 
				<?php if ($this->_tpl_vars['owner_open']): ?>
					<a href="<?php echo $this->_tpl_vars['owner_open']; ?>
" title="Open">				 
					<?php echo $this->_tpl_vars['owner_open_nb']; ?>

					</a>
				<?php else: ?>
					0
				<?php endif; ?>
				 
				<?php if ($this->_tpl_vars['owner_closed']): ?>
				/	<a href="<?php echo $this->_tpl_vars['owner_closed']; ?>
" title="Closed">
						<?php echo $this->_tpl_vars['owner_closed_nb']; ?>

					</a>
				<?php else: ?>
				
				<?php endif; ?>
				| 
				<?php echo $this->_run_mod_handler('htmlspecialchars', true, $this->_tpl_vars['STRING']['WRAP']['BugsReported']); ?>
 : 
				<?php if ($this->_tpl_vars['reporter_open']): ?>
					<a href="<?php echo $this->_tpl_vars['reporter_open']; ?>
" title="Open">
						<?php echo $this->_tpl_vars['reporter_open_nb']; ?>

					</a>
				<?php else: ?>
					0
				<?php endif; ?>
				 
				<?php if ($this->_tpl_vars['reporter_closed']): ?>
				/	<a href="<?php echo $this->_tpl_vars['reporter_closed']; ?>
" title="Closed">
						<?php echo $this->_tpl_vars['reporter_closed_nb']; ?>

					</a>
				<?php else: ?>
				
				<?php endif; ?>
				| <a href="user.php">
					<?php echo $this->_run_mod_handler('htmlspecialchars', true, $this->_tpl_vars['STRING']['WRAP']['PersonalPage']); ?>

				</a>
				| <a href="logout.php">
					<?php echo $this->_run_mod_handler('htmlspecialchars', true, $this->_tpl_vars['STRING']['WRAP']['Logout']); ?>
 <?php echo $GLOBALS['HTTP_SESSION_VARS']['uname']; ?>

				</a>
		<?php endif; ?>
	    </td>
	</tr>
  <?php endif; ?>
  <tr>
	  <td class="navbotspacer" height="10" colspan="2"><img src="<?php echo $this->_tpl_vars['template_path']; ?>
/images/spacer.gif" height="1" width="1"></td>
  </tr>
</table>
<?php if ($this->_tpl_vars['adsense']): ?>
<table  width="100%" >
<tr>
<td valign="top">
<script type="text/javascript"><!--
google_ad_client = "pub-7860043105347404";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "F9DFF9";
google_color_bg = "F9DFF9";
google_color_link = "0000CC";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
<td>
<?php endif; ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include($this->_tpl_vars['content_template'], array());
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php if ($this->_tpl_vars['adsense']): ?>
</td>
<td valign="top">
<script type="text/javascript"><!--
google_ad_client = "pub-7860043105347404";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "F9DFF9";
google_color_bg = "F9DFF9";
google_color_link = "0000CC";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
</tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['adsense']): ?>
<tr>
<td></td>
<td align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-7860043105347404";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "F9DFF9";
google_color_bg = "F9DFF9";
google_color_link = "0000CC";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
	</td>
</tr>
</table>
<?php endif; ?>
</body>
</html>
