<html>
<head>
    <title>{$site_name} - Administration Panel</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <link href="{$relative_tpl}/css/style_admin.css" type="text/css" rel="stylesheet">
    <script type="text/javascript">
    var base_url = '{$baseurl}';
    </script>
    <script type="text/javascript" src="{$relative_tpl}/js/jquery-1.2.6.pack.js"></script>
    <script type="text/javascript" src="{$relative_tpl}/js/jquery.corner.js"></script>
    <script type="text/javascript" src="{$relative_tpl}/js/jquery.livequery.pack.js"></script>
    {if isset($crop)}<script type="text/javascript" src="{$relative_tpl}/js/jquery.album-0.1.js"></script>
    <script type="text/javascript" src="{$relative_tpl}/js/jquery.imgareaselect-0.6.1.min.js"></script>
    {/if}
    {if isset($editor)}
    <script type="text/javascript" src="{$baseurl}/addons/markitup/jquery.markitup.js"></script>
    <script type="text/javascript" src="{$baseurl}/addons/markitup/sets/{$editor_set}/set.js"></script>    
    <link rel="stylesheet" type="text/css" href="{$baseurl}/addons/markitup/skins/{$editor_skin}/style.css" />
    <link rel="stylesheet" type="text/css" href="{$baseurl}/addons/markitup/sets/{$editor_set}/style.css" />
    {/if}
    <script type="text/javascript" src="{$relative_tpl}/js/jquery.admin-0.1.js"></script>
    {literal}
    <script type="text/javascript">
    $(document).ready(function(){
        $("#menu a, #menu span").corner('top 5px');
    });
    </script>
    {/literal}
</head>
<div id="container">
    <div id="header">
        <h1>&nbsp; {$site_name} Administration Panel</h1>
        <div id="menu">
        <ul>
            <li>{if $active_menu eq 'index'}<span>Settings</span>{else}<a href="index.php">Settings</a>{/if}</li>
            <li>{if $active_menu eq 'videos'}<span>Videos</span>{else}<a href="videos.php">Videos</a>{/if}</li>
            <li>{if $active_menu eq 'albums'}<span>Albums</span>{else}<a href="albums.php">Albums</a>{/if}</li>
            <li>{if $active_menu eq 'blogs'}<span>Blogs</span>{else}<a href="blogs.php">Blogs</a>{/if}</li>
            <li>{if $active_menu eq 'games'}<span>Games</span>{else}<a href="games.php">Games</a>{/if}</li>
            <li>{if $active_menu eq 'users'}<span>Users</span>{else}<a href="users.php">Users</a>{/if}</li>
            <li>{if $active_menu eq 'channels'}<span>Categories</span>{else}<a href="channels.php">Categories</a>{/if}</li>
            <li>{if $active_menu eq 'notice'}<span>Notices</span>{else}<a href="notices.php">Notices</a>{/if}</li>
        </ul>
        </div>
    </div>
    <div id="content">