<HTML>

<TITLE>Admin zone</TITLE>

<link rel=stylesheet href="static/admin.css">

<BODY>
<CENTER>
{if:is_logged}
    <TABLE width="100%" border="0">
    <TR>
        <TD width=200 valign=top>
        <flexy:include src="admin/box.tpl" body="admin/catalogs.tpl" title="Catalogs">
        <br>
        <flexy:include src="admin/box.tpl" body="admin/modules_menu.tpl" title="Modules settings">
        <br>
        <flexy:include src="admin/box.tpl" body="admin/common_menu.tpl" title="Common">
        </TD>

        <TD valign=top>
        <flexy:include src="admin/box.tpl" body="admin/home.tpl" title="Home" if:target="">
        <flexy:include src="admin/box.tpl" body="admin/categories/index.tpl" title="Categories manager" if:target="categories">
        <flexy:include src="admin/box.tpl" body="admin/feeds/index.tpl" title="Feeds manager" if:target="feeds">
        <flexy:include src="admin/box.tpl" body="admin/sendmail/index.tpl" title="Mail sender" if:target="sendmail">
        <flexy:include src="admin/box.tpl" body="admin/custompages/index.tpl" title="Custom pages" if:target="custompages">

        <flexy:include src="admin/box.tpl" body="admin/flash_categories/index.tpl" title="Flash categories manager" if:target="flash_categories">
        <flexy:include src="admin/box.tpl" body="admin/flash/index.tpl" title="Flash games manager" if:target="flash">

        <flexy:include src="admin/box.tpl" body="admin/websearch/index.tpl" title="Web Search servers" if:target="websearch">
        <flexy:include src="admin/box.tpl" body="admin/htmlwidgets/index.tpl" title="HTML Widgets" if:target="htmlwidgets">

        <flexy:include src="admin/box.tpl" body="admin/master/index.tpl" title="Master Account" if:target="master">
        <flexy:include src="admin/box.tpl" body="admin/backup.tpl" title="Backup DB" if:target="backup">
        <flexy:include src="admin/box.tpl" body="admin/feedback/index.tpl" title="Feedbacks manager" if:target="feedback">
        <flexy:include src="admin/box.tpl" body="admin/tpl_editor/index.tpl" title="Templates manager" if:target="templates">

        <flexy:include src="admin/box.tpl" body="admin/users/index.tpl" title="Users Manager" if:target="users">

        <flexy:include src="admin/box.tpl" body="admin/import/index.tpl" title="Import Users" if:target="import">
        </TD>

        <TD width=200 valign=top>
        <flexy:include src="admin/box.tpl" body="admin/auth.tpl" title="Auth">
        </TD>
    </TR>
    </TABLE>
{else:}
    <div style="position: absolute; width: 40%; height: 50%; left: 30%; top: 25%;">
    <flexy:include src="admin/box.tpl" body="admin/login_form.tpl" title="Login">
    </DIV>
{end:}
</CENTER>
</BODY>
</HTML>