{if $SESS_LOGGED == true}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
<head>
<title>{$smarty.const.SITE_NAME} Administration</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
</head>
<frameset rows="*" cols="255,*" style="border: 0;">
<frame name="leftFrame" id="leftFrame" scrolling="auto" src="?_page=core:leftFrameBlue&_escape=1"/>
<frame name="mainFrame" id="mainFrame" src="{if $mainFrameUrl != ''}{$mainFrameUrl}{else}?_page=core:admin{/if}"/>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</noframes>
</frameset>
</html>
{else}
<script type="text/javascript">parent.location.href = '{$URL}?_page=account:account';</script>
{/if}