<!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" dir="rtl">
<head>
<base href="{$smarty_object->url_base()}">
<link rel="stylesheet" type="text/css" href="index.php?act=css&id={$templateid}" media="screen" />

<meta http-equiv="Content-Type" content="text/html; charset=windows-1256" />

<title>{$pagename}</title>
{if $global_set.metatag}<meta name="keywords" content="{$global_set.metatag}" />{/if}

{if $global_set.descraption}<meta name="description" content="{$global_set.descraption}" />{/if}

<meta name="author" content="Eng Ayman Elarian" />

<meta name="copyright" content="aymax.Net Al-Motamiz Portal V2" />
<meta name="robots" content="index,follow">


<script language="javascript" src="static/js/fValConfig.js"></script>
<script language="javascript" src="static/js/fValidate.js"></script>
<script language="javascript" src="static/js/global_js.js"></script>
<script language="javascript" src="static/js/resize.js"></script>
<script type="text/javascript" src="static/js/swfobject.js"></script>
<script type="text/javascript" src="static/js/fsmenu.js"></script>



<script language="javascript" src="static/js/calendar.js"></script>
<script language="javascript" src="static/js/calendar-en.js"></script>
<script language="javascript" src="static/js/calendar-setup.js"></script>

</head>
<body>
	<!-- Site Outline Start -->
	<div id="outer">
{include file="./header.tpl"}
		<!-- Body Block Start -->
		
<div id="bodyblock" style="height:100%;">
    {include file="./menu.tpl"}
<!-- Content Start -->
{if $layout_inside==home}
{foreach from=$up_blocks_get key=myId item=up name=foo}
{include file=$up.id}
{/foreach}
{/if}
			<div id="cont" style="height:100%;">
    {include file="./$layout_inside.tpl"}
    
    
<!-- Content End -->
			</div>
		<!-- Body Block End -->
		</div>
		
		
	<!-- Site Outline End -->
	<div id="ftrsep">
		
	</div>

	
</div>
<!-- Footer Start -->
	<div align=center id="ftr">
{$smarty_object->create_footer()}
<br>
{$smarty_object->copyright_motamiz()}
	</div>
	<div id="ftr2">
		<div class="counter">{$totalvisit}</div>
		جميع الحقوق محفوظه 2010<img src="{$DIMAGEPATH}/rss.gif"/>
	</div>
	
	<!-- Footer End --></body>
	<div style='display:none' ><img src='{$smarty_object->url_base()}cron.php' alt='' width='1' height='1'></div>

</html>   
 