<?xml version="1.0" encoding="{lang mkey='ENCODING'}"?>
<!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">
{strip}
<head>

<script type="text/javascript">
/* <![CDATA[ */
var loadingTag = "{lang mkey='loading'}";
{if $config.use_popups == 'N'}
var use_popups = false;
{else}
var use_popups = true;
{/if}
{if $config.use_profilepopups == 'N'}
var use_profilepopups = false;
{else}
var use_profilepopups = true;
{/if}
var alphanumeric_chars = "{lang mkey='alphanumeric'}";
var alphanum_chars = "{lang mkey='alphanum'}";
var text_chars = "{lang mkey='text'}";
var full_chars = "{lang mkey='full_chars'}";

/* ]]> */
</script>

	<title>{$config.title}</title>
	<link href="{$css_path}default.css?{$smarty.now}" rel="stylesheet" type="text/css" />
	{$additional_css}
	<script type="text/javascript" src="{$DOC_ROOT}javascript/functions.js"></script>
 	<script type="text/javascript" src="{$DOC_ROOT}javascript/validate.js"></script>
	{$additional_javascript}
 	<meta http-equiv="Content-Type" content="text/html; charset={lang mkey='ENCODING'}" />
</head>
<body  dir="{lang mkey='DIRECTION'}">
<center>
<div style="width:779px;" >
	<table width="100%" border="0" cellpadding="0" cellspacing="0" class="loginbarbg">
		<tr>
			<td height="33" width="154"><img src="{$image_dir}big_arrow.jpg?{$smarty.now}" alt="" /></td>
			<td height="33" width="625">
				<span class="admin_head">{lang mkey='admin_login_title'}  / <a href="{$docroot}index.php">{lang mkey='home_title'}</a></span>
			</td>
		</tr>
	</table>
{if $smarty.session.AdminId == '' }
		{include file="admin/admin_login.tpl"}
{else}
	<div style="margin-top: 6px;">
		<div style="float:left; vertical-align:top; width: 182px;">
			{include file="admin/panelmenu.tpl"}
		</div>
		<div style="float:left; text-align:left; vertical-align:top; width: 592px; padding-left: 5px;">
			{$rendered_page}
		</div>
		<div style="clear:both;"></div>
	</div>
{/if}
	<div align="center" style="margin-top: 12px;">
		<a href="http://www.tufat.com/osdate.php" target="_blank" class='copyright'>{$config.copyright}</a>
	</div>
</div>
</center>
{closedb}
</body>
</html>
{/strip}
