<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html lang="{language}">
<!-- $Id: templates.sql,v 1.37 2003/07/06 12:50:43 glen Exp $ -->
<head>
<meta http-equiv="content-type" content="text/html; charset={charset}"/>
<meta name="generator" content="Siteframe {version}"/>
<title>{page_title}</title>
<link type="text/css" rel="stylesheet"
    href="{site_path}/themes/{theme}/print.css"
    media="print">
<link type="text/css" rel="stylesheet"
    href="{site_path}/themes/{theme}/screen.css"
    media="screen">
{head_content}
{rdf}
</head>

<body>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr><td colspan="2" id="title">
    {banner}
    {!if defined(logo)
        '<a href="{site_path}/"><img src="{logo}" alt="{site_name}" border="0"/></a>'
        '<h1>{site_name}</h1>'
    !}
    <div id="description">{site_description}</div>
    </td>
<tr><td colspan="2" id="menu">
        <table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td valign="bottom">
            <a href="{site_path}/">Home</a> | <a href="{site_path}/login.php">Login</a>
            {!if defined(user_id)
                '| <a href="{site_path}/user.php">My Page</a>
                 | <a href="{site_path}/prefs.php">Preferences</a>'
            !}
        </td><td align="right">
            <form action="{site_path}/search.php" method="post" class="searchform">
                Search: <input type="text" name="searchfor" size="12"/>
                <input type="hidden" name="submitted" value="1"/>
            </form>
        </td></tr></table>
    </td></tr>
<tr><td id="navigation" width="160px" rowspan="2" valign="top">
        {!if defined(navigation)

           '{navigation}'

           '<a href="{site_path}/register.php">Register</a><br/>
            <br/>
            <a href="{site_path}/search.php">Search</a><br/>
            <a href="{site_path}/users.php">Users</a><br/>
            <a href="{site_path}/folders.php">Folders</a><br/>
            <br/>
            <a href="{site_path}/editfolder.php">New folder</a><br/>
            <a href="{site_path}/edit.php">New document</a><br/>
            <br/>'
        !}
        <br/>
        {!if '{gen_rss}+0'
            '<p style="text-align:center;">
             <a href="{site_path}/rss.xml">
             <img src="{site_path}/images/xml.gif" border="0" alt="RSS">
             </a></p>'
        !}
    </td>
    <td id="content" valign="top">
        {folder_path}
        {!if defined(no_title) '' '<h2>{page_title}</h2>'!}
        {!if defined(error) '<p class="error">{error}</p>'!}
        {!if defined(recordset) '{recordset}'!}
        {body}
    </td></tr>
<tr><td id="footer">
    {!if defined(footer)
        '{footer}'
        'Copyright &copy;2002, {site_name}. All Rights Reserved.'
    !}
    </td></tr>
</table>
</body>

</html>
