<!DOCTYPE html>
<html>
<head>
<title><?PHP $this->position('title');?> | admin</title>
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="description" content="<?PHP $this->position('meta_description');?>"/>
<meta name="keywords" content="<?PHP $this->position('meta_keywords');?>"/>
<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />

<link rel="icon" href="/templates/default/images/favicon.gif" type="image/gif"/>
<link rel="shortcut icon" href="/templates/default/images/favicon.gif" type="image/gif"/>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css" type="text/css" />
<link rel="stylesheet" href="<?=_HostTemplate?>/css/form.css" type="text/css"/>
<link rel="stylesheet" href="<?=_HostTemplate?>/css/backstyle.css" type="text/css"/>
<?=$this->css();?>

<script type="text/javascript">
var _window = {
       location: {canonical : '<?PHP ECHO addslashes(_FULL_URL);?>', main : '<?PHP ECHO addslashes(_RootUrl);?>', basic : '?model=<?PHP ECHO $_GET[model];?>&page=<?PHP ECHO $_GET[page];?>', loc : 'admin'}
};
var _template = {
		name : '<?PHP ECHO _Template;?>'
};
</script>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>
<script type="text/javascript" src="http://crypto-js.googlecode.com/svn/tags/3.0.2/build/rollups/md5.js"></script>
<script type="text/javascript" src="<?=_RootUrl?>/scripts/js/jquery.tablednd.js"></script>
<?
if(is_file(_RootFolder.'/tmp/script/language.js')) echo '<script type="text/javascript" src="'._RootUrl.'/tmp/script/language.js"></script>'."\n";
if(is_file(_RootFolder.'/tmp/script/link.js')) echo '<script type="text/javascript" src="'._RootUrl.'/tmp/script/link.js"></script>'."\n";
?>
<script type="text/javascript" src="<?=_RootUrl?>/scripts/js/project.filter.js"></script>
<script type="text/javascript" src="<?=_RootUrl?>/scripts/js/project.js"></script>
<?=$this->script();?>

</head>
<body>

<div id="dialog_modal" title=""></div>
<div class="popup_menu" id="popup_menu"></div>

<div class="master">

	<div class="header">
		
		<div class="menu-bar">
			<?PHP $this->position('header');?>
		</div>
		<div class="header-wrapper">

			<div class="logo"><a href="<?=_RootUrl;?>/admin"><img src="<?=_HostTemplate?>/images/admin/logo.png"/></a></div>
			<div class="login-bar">
				<?PHP $this->position('login');?>
			</div>
		</div>
	</div>

	<div class="background">
		<div class="background_content"><?PHP $this->position('content');?></div>
	</div>

	<div style="clear: both; height: 19px;"><!--clear--></div>
	<div class="footer">IT Project Partner OÜ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		Retke tee 30, Tallinn 13419&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<a href="mailto:info@projectpartner.ee">info@projectpartner.ee</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<a href="<?=_RootUrl?>" target="_blank">www.projectpartner.ee</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	</div>
	<div style="height: 10px;"><!--space--></div>
</div>


</body>
</html>