<html>
<head>
<title>::{$SITE_NAME}:: {strip_tags str=$page_title}</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<link type="text/css" rel="stylesheet" href="{$PARTNER_URL}/admin.css">
</head>
<body leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
{$js_functions}
<table width="100%" border="0" cellpadding="0" cellspacing="0" height="100%">
  <tr>
    <td width="210" height="56" align="right" bgcolor="#336699">&nbsp;</td>
    <td valign="middle" bgcolor="#336699" class="rubr_head" style="padding-left:30; font-size:14px;" align="center">Панель управления партнерской программой</td>
  </tr>
  <tr>
    <td valign="top" bgcolor="#EFEFEF">{include file="partner_lmenu.tpl"}</td>
    <td valign=top>
	<table width="100%" border="0" cellpadding="0" cellspacing="1">
	{if $top_menu_tpl}
	  <tr>
	   <td height="25" bgcolor="#407BB7" class="mainmenu">{include file=$top_menu_tpl}</td>
	  </tr>
        {/if}
	  <tr>
	   <td>
		<br>
		<p class="zagl">{$page_title}</p>
	    <blockquote>
	    <br>
		{if $status neq "" || $error neq ""}
                <strong>
		<font color="#006600" size=2px>{$status}</font>
		<font color="#FF0000" size=2px>{$error}</font>
		</strong>
	    </blockquote>

		{/if}
	{if $filter_tpl}
	   {include file=$filter_tpl}
        {/if}

		{include file=$main_tpl}
	   </td>
	  </tr>
        </table>
    </td>
  </tr>
  <tr bgcolor="#999999">
    <td height="1" valign="middle" colspan=2></td>
  </tr>
  <tr>
    <td height="70" valign="middle" class="copyr"><a href="http://www.businessmedia.ru" target="_blank"><img src="{$DOCUMENT_ROOT}/img/bm.gif" width="128" height="50" border="0"></a></td>
    <td valign="top">&nbsp;</td>
  </tr>
</table>
</body>
</html>