<?php
$html = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<if criteria="$allowadmin">
<title>Admin Area</title>
$headinclude
	<script type="text/javascript">
	<!--
	// get out of any containing frameset
	if (self.parent.frames.length != 0)
	{
		self.parent.location.replace(document.location.href);
	}
	// -->
	</script>	
	
</head>
<body class="skin-blue sidebar-mini">
    <div class="wrapper">
      
      $header
	  
      $navbar

      <!-- Content Wrapper. Contains page content -->
      <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
            Dashboard
            <small>Control panel</small>
          </h1>
          
        </section>

        <!-- Main content -->
        <section class="content">
		
          <!-- Small boxes (Stat box) -->
          <div class="row">
			<div class="col-md-12" align="center">
				<h4><b>Welcome to Administrator Area</b></h4>
			<div>
            
          </div><!-- /.row -->
          
        </section><!-- /.content -->
      </div><!-- /.content-wrapper -->
	  $footer
    </div><!-- ./wrapper -->
</body>
<else>
<title>404 - File Not Found</title>
	<meta http-equiv="Content-Language" content="en-us">
	<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
	<link media="all" href="css/styles.css" type="text/css" rel="stylesheet" />
	<script type="text/javascript">
	<!--
	// get out of any containing frameset
	if (self.parent.frames.length != 0)
	{
		self.parent.location.replace(document.location.href);
	}
	// -->
	</script>
	<script type="text/javascript" src="js/jquery-pack.js"></script>
	<script type="text/javascript" src="js/jquery-latest.js"></script>
	<script type="text/javascript" src="js/script-pack.js"></script>
</head>
<body onload="$(\'#username\').focus();">
<div id="cont">
	<div id="formbase">
	</div>
	<div align="center">
		<table border="0" width="529" cellspacing="0" cellpadding="0">
		<tr>
			<td width="529" height="75"></td>
		</tr>
		<tr>
			<td width="529">
			<div align="center">
			<table border="0" width="218" cellspacing="0" cellpadding="0">
			<tr>
				<td width="218" height="247">
				<img border="0" src="img/image_404.jpg" width="218" height="247"></td>
			</tr>
			</table>
			</div></td>
		</tr>
		<tr>
			<td width="529" height="10"></td>
		</tr>
		<tr>
			<td width="529" height="34" align="center">
			<img border="0" src="img/text_filenotfound.gif" width="231" height="34"></td>
		</tr>
		<tr>
			<td width="529" height="10"></td>
		</tr>
		<tr>
			<td width="529" height="3">
			<img border="0" src="img/line_text.gif" width="529" height="3"></td>
		</tr>
		<tr>
			<td width="529" height="10" class="text_bg"></td>
		</tr>
		<tr>
			<td width="529" class="text_bg">
			<div align="center">
			<table border="0" width="429" cellspacing="0" cellpadding="0">
			<tr>
				<td width="529" align="left" valign="top" style="color: white"><i><b>Sorry for the 
				inconvenience.</b></i><br>
				The URL of the file you&#39;ve typed is not available</td>
			</tr>
			</table>
			</div></td>
		</tr>
		<tr>
			<td width="529" height="10" class="text_bg"></td>
		</tr>
		<tr>
			<td width="529" height="3">
			<img border="0" src="img/line_text.gif" width="529" height="3"></td>
		</tr>
		<tr>
			<td width="529">&nbsp;</td>
		</tr>
		<tr>
			<td width="529">&nbsp;</td>
		</tr>
		</table>
	</div>
	<div id="loginform" class="box form" style="display: block;">
	<h2>LOGIN<a href="" class="close">Close it</a></h2>
	<div class="formcont">
	<fieldset id="signin_menu">
		<span class="message" id="message">Please enter email and password below</span>
		<label class="error" id="error"></label>
		<form method="post" id="signin" action="login.php">
		<p>
			<label for="username">Email</label>
			<input id="username" name="username" value="" title="username" class="required" tabindex="4" type="text">
		</p>
		<p>
			<label for="password" style="padding-right:3px;">Password</label>
			<input id="password" name="password" value="" title="password" class="required" tabindex="5" type="password">
		</p>
		<p class="clear"></p>		
		<p class="remember">
			<input id="signin_submit" value="Login" tabindex="6" type="submit">
			<input id="cancel_submit" value="Cancel" tabindex="7" type="button">
			<input type="hidden" name="frLogin" value="true">		  
		</p>
		</form>
	</fieldset>
	</div>
	<div class="formfooter"></div>
	</div>
</div>
</body>
</if>
</html>';
?>