<div id="wrapper">
    <div id="wrapper-header">
        <%include include_header.html~%>
    </div>
    <div id="wrapper-content">
        <form id="myform" action="<%cfg.cgi_url%>" method="post">
            <div id="hiddens" class="hide"><%hidden_objects%></div>
            <input type="hidden" id="cmd" name="cmd" value="" />
            <div id="contentheader">
                <%~if noauth or $session.user.type or $session.user.permission.search%>
                <div id="cmd-search" class="hide">
                    <div class="row clear">
                        <label for="search_input" class="name">Search</label>
                        <div class="value">
                            <select id="search_scope" name="search_scope">
                                <option value="0" selected="selected">All</option>
                                <option value="1">Selected Files</option>
                            </select>
                            <input type="text" id="search_input" name="search_input" value="" class="text longtext" />
                            <input type="submit" name="bsearch" value="Search" class="submit" />
                            <a href="<%cfg.cgi_url%>?<%hidden_query%>;page=help_search.html" rel="<%cfg.cgi_url%>?<%hidden_query%>;page=help_search.html" title="Search" class="help"><img src="<%GT::FileMan::image_url('question-mark.gif')%>" alt="Question" /></a>
                            <a href="#" rel="advance-search">Advanced Search</a>
                        </div>
                    </div>
                    <div class="row clear">
                        <label class="name">Options</label>
                        <div class="value">
                            <input type="checkbox" id="search_case" name="search_case" value="1" />
                            <label for="search_case">Case Sensitive</label>
                            <input type="checkbox" id="search_exp" name="search_exp" value="2" />
                            <label for="search_exp">Regular Expression</label>
                            <input type="checkbox" id="search_content" name="search_content" value="3" />
                            <label for="search_content">Search Contents</label>
                        </div>
                    </div>
                </div>
                <%endif~%>
                <%~if noauth or $session.user.type or $session.user.permission.replace%>
                <div id="cmd-replace" class="hide">
                    <div class="row clear">
                        <label class="name">Replace</label>
                        <div class="value">
                            <select id="replace_scope" name="replace_scope">
                                <option value="0" selected="selected">All</option>
                                <option value="1">Selected Files</option>
                            </select>
                            <input type="text" id="replace_input" name="replace_input" value="" class="text" />
                            <label>with</label>
                            <input type="text" name="replace_with" value="" class="text" />
                            <input type="submit" name="breplace" value="Replace" class="submit" />
                            <a href="<%cfg.cgi_url%>?<%hidden_query%>;page=help_replace.html" rel="<%cfg.cgi_url%>?<%hidden_query%>;page=help_replace.html" title="Replace" class="help"><img src="<%GT::FileMan::image_url('question-mark.gif')%>" alt="Question" /></a>
                        </div>
                    </div>
                    <div class="row clear">
                        <label class="name">Options</label>
                        <div class="value">
                            <input type="checkbox" id="replace_case" name="replace_case" value="1" />
                            <label for="replace_case">Case Sensitive</label>
                            <input type="checkbox" id="replace_exp" name="replace_exp" value="2" />
                            <label for="replace_exp">Regular Expression</label>
                            <input type="checkbox" id="replace_wholeword" name="replace_wholeword" value="3" />
                            <label for="replace_wholeword">Whole Word</label>
                            <input type="checkbox" id="replace_bak" name="replace_bak" value="3" />
                            <label for="replace_bak">Create Backup</label>
                        </div>
                    </div>
                </div>
                <%endif~%>
                <%~if noauth or $session.user.type or $session.user.permission.command%>
                <%~ifnot mswin%>
                <div id="cmd-command" class="hide">
                    <div class="row">
                        <label for="command_input">Enter a command below:</label>
                        <span class="longrun">
                            <input type="checkbox" id="opt_long" name="opt_long" value="1" /><label for="opt_long">Long Running</label>
                        </span>
                    </div>
                    <div class="row">
                        <input type="hidden" name="working_dir" value="" />
                        <input type="text" id="command_input" name="command_input" value="" class="text longtext" onkeydown="//fm.loadCommand(this, event)" />
                        <input type="submit" name="button-command" value=" Execute " class="submit" />
                        <a href="<%cfg.cgi_url%>?<%hidden_query%>;page=help_command.html" rel="<%cfg.cgi_url%>?<%hidden_query%>;page=help_command.html" title="Command" class="help"><img src="<%GT::FileMan::image_url('question-mark.gif')%>" alt="Question" /></a>
                    </div>
                </div>
                <%endif~%>
                <%endif~%>
                <%~if noauth or $session.user.type or $session.user.permission.upload%>
                <div id="cmd-upload" class="hide">
                    <div class="row clear">
                        <label for="upload_input" class="name">File</label>
                        <div class="value">
                            <input type="file" id="upload_input" name="upload_input" size="50" class="file" />
                            <input type="submit" name="button-upload" value="Upload" class="submit" />
                            <a href="<%cfg.cgi_url%>?<%hidden_query%>;page=help_upload.html" rel="<%cfg.cgi_url%>?<%hidden_query%>;page=help_upload.html" title="Upload File" class="help"><img src="<%GT::FileMan::image_url('question-mark.gif')%>" alt="Question" /></a>
                            <a href="#" rel="upload-multiple">Upload Files</a>
                        </div>
                    </div>
                    <div class="row clear">
                        <label class="name">Options</label>
                        <div class="value">
                            <select name="upload_mode" title="Upload mode">
                                <option value="auto">Auto</option>
                                <option value="ascii">ASCII</option>
                                <option value="binary">Binary</option>
                            </select>
                            <input type="checkbox" name="opt_overwrite" id="opt_overwrite" value="1" /><label for="opt_overwrite">Overwrite existing file</label>
                        </div>
                    </div>
                </div>
                <%endif~%>
                <div id="cmd-edit" class="hide">
                    <label for="edit_input">File Name:</label><br />
                    <input type="button" name="switchmode" value="Switch To HTML" class="submit switch-mode" />
                    <div class="row">
                        <input type="text" id="edit_input" name="edit_input" value="" class="text longtext" />
                        <input type="submit" id="edit_save" name="edit_save" value="Save" class="submit" />
                        <a href="<%cfg.cgi_url%>?<%hidden_query%>;page=help_file.html" rel="<%cfg.cgi_url%>?<%hidden_query%>;page=help_file.html" title="Edit a File" class="help"><img src="<%GT::FileMan::image_url('question-mark.gif')%>" alt="Question" /></a>
                    </div>
                </div>
                <%~if noauth or $session.user.type or $session.user.permission.newfile%>
                <div id="cmd-file" class="hide">
                    <label for="file_input">File Name:</label><br />
                    <input type="button" name="switchmode" value="Switch To HTML" class="submit switch-mode" />
                    <div class="row">
                        <input type="text" id="file_input" name="file_input" value="" class="text longtext" />
                        <input type="submit" id="file_save" name="file_save" value="Save" class="submit" />
                        <a href="<%cfg.cgi_url%>?<%hidden_query%>;page=help_file.html" rel="<%cfg.cgi_url%>?<%hidden_query%>;page=help_file.html" title="New File" class="help"><img src="<%GT::FileMan::image_url('question-mark.gif')%>" alt="Question" /></a>
                    </div>
                </div>
                <%endif~%>
                <%~if noauth or $session.user.type or $session.user.permission.makedir%>
                <div id="cmd-makedir" class="hide">
                    <div>Enter directory name below:</div>
                    <div>
                        <input type="text" id="makedir_input" name="makedir_input" value="" class="text longtext" />
                        <input type="submit" name="bmakedir" value=" Create " class="submit" />
                        <a href="<%cfg.cgi_url%>?<%hidden_query%>;page=help_makedir.html" rel="<%cfg.cgi_url%>?<%hidden_query%>;page=help_makedir.html" title="Makedir" class="help"><img src="<%GT::FileMan::image_url('question-mark.gif')%>" alt="Question" /></a>
                    </div>
                </div>
                <%endif~%>
                <%~if noauth or $session.user.type or $session.user.permission.protect%>
                <div id="cmd-protect" class="hide">
                    <div class="row clear">
                        <label class="name">Existing Users</label>
                        <div class="value">
                            <select id="protect_user" name="protect_user" disabled="disabled"></select>
                            <input type="button" name="button-delete" value="Delete User" class="submit" disabled="disabled" />
                            <input type="button" name="button-delete-all" value="Delete All Users" class="submit" disabled="disabled" />
                        </div>
                    </div>
                    <div class="row clear">
                        <label class="name">Username/Password</label>
                        <div class="value">
                            <input type="text" id="protect_input" name="protect_username" value="" class="text" />
                            <input type="password" id="protect_passwd" name="protect_password" value="" class="text" />
                            <input type="checkbox" id="protect_overwrite" name="opt_protect_overwrite" value="1" /><label for="protect_overwrite">Overwrite</label>
                            <input type="hidden" name="protect" value="1" />
                            <%if apache_server%><input type="checkbox" id="protect_apache" name="opt_protect_apache" value="1" /><label for="protect_apache">MD5 Password</label><%endif%>
                            <input type="submit" name="button-add" value=" Add User " class="submit" />
                            <a href="<%cfg.cgi_url%>?<%hidden_query%>;page=help_protect.html" rel="<%cfg.cgi_url%>?<%hidden_query%>;page=help_protect.html" title="Protect" class="help"><img src="<%GT::FileMan::image_url('question-mark.gif')%>" alt="Question" /></a>
                        </div>
                    </div>
                </div>
                <%endif~%>
            </div>
            <div id="ocwrapper" class="clear">
                <div id="contentmessage" class="hide"></div>
                <div id="icwrapper" class="clear">
                    <div id="contentwrapper" class="shadowleft">
                        <div class="shadowtop"><div class="shadowtopleft"></div><div class="shadowtopright"></div></div>
                        <div class="shadowright">
                            <div id="content">
                                <div id="listfiles">
                                    <div class="toolbar clear">
                                        <div class="paging"></div>
                                        <select id="fm_action" name="fm_action" class="action">
                                            <option value="">More Actions...</option>
                                            <%~if noauth or $session.user.type or $session.user.permission.download%><option value="download">Download</option><%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.symlink%><option value="symlink">Symlink</option><%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.copy%><option value="copy">Copy</option><%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.move%><option value="move">Move</option><%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.rename%><option value="rename">Rename</option><%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.delete%><option value="delete">Delete</option><%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.compress%><option value="compress">Compress</option><%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.chmod%><%~ifnot mswin%><option value="chmod">Chmod</option><%endif~%><%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.tail%><option value="tail">Tail</option><%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.perl%><option value="perl">Perl Check</option><%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.diff%><option value="diff">Diff</option><%endif~%>
                                            <option value="print">Print</option>
                                        </select>
                                        <div class="action-form">
                                            <%~if noauth or $session.user.type or $session.user.permission.download%>
                                            <div id="cmd-download" class="hide">
                                                <label>Compressed Type</label>
                                                <select name="download_compress">
                                                    <option value="0">None (a file)</option>
                                                    <option value="1">.tar</option>
                                                    <%if have_gzip%><option value="2">.tar.gz</option><%endif~%>
                                                    <%if have_azip%><option value="3">.zip</option><%endif~%>
                                                </select>
                                                <label>Mode</label>
                                                <select name="download_mode">
                                                    <option value="auto">Auto</option>
                                                    <option value="ascii">ASCII</option>
                                                    <option value="binary" selected="selected">Binary</option>
                                                </select>
                                                <input type="submit" name="bdownload" value="Download" class="submit" />
                                                <a href="<%cfg.cgi_url%>?<%hidden_query%>;page=help_download.html" rel="<%cfg.cgi_url%>?<%hidden_query%>;page=help_download.html" title="Download" class="help"><img src="<%GT::FileMan::image_url('/icons/question-mark2.gif')%>" alt="Question" /></a>
                                            </div>
                                            <%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.symlink%>
                                            <div id="cmd-symlink" class="hide">
                                                <label>To</label>
                                                <input type="text" id="symlink_input" name="symlink_input" value="<%if in.symlink_input and $message.linked eq ''%><%in.symlink_input%><%endif%>" class="text" />
                                                <input type="button" name="button-browse" value="Browse..." class="button" />
                                                <input type="submit" name="bsymlink" value=" Create Symlink " class="submit" />
                                                <a href="<%cfg.cgi_url%>?<%hidden_query%>;page=help_symlink.html" rel="<%cfg.cgi_url%>?<%hidden_query%>;page=help_symlink.html" title="Symlink" class="help"><img src="<%GT::FileMan::image_url('/icons/question-mark2.gif')%>" alt="Question" /></a>
                                            </div>
                                            <%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.copy%>
                                            <div id="cmd-copy" class="hide">
                                                <label>To</label>
                                                <input type="text" id="copy_input" name="copy_input" value="" class="text" />
                                                <input type="button" name="button-browse" value="Browse..." class="button" />
                                                <input type="submit" name="button-copy" value=" Copy " class="submit" />
                                                <a href="<%cfg.cgi_url%>?<%hidden_query%>;page=help_copy.html" rel="<%cfg.cgi_url%>?<%hidden_query%>;page=help_copy.html" title="Copy" class="help"><img src="<%GT::FileMan::image_url('/icons/question-mark2.gif')%>" alt="Question" /></a>
                                            </div>
                                            <%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.move%>
                                            <div id="cmd-move" class="hide">
                                                <label>To</label>
                                                <input type="text" id="move_input" name="move_input" value="<%if in.move_input and message.copied eq ''%><%in.move_input%><%endif%>" class="text" />
                                                <input type="button" name="button-browse" value="Browse..." class="button" />
                                                <input type="submit" name="button-move" value=" Move " class="submit" />
                                                <a href="<%cfg.cgi_url%>?<%hidden_query%>;page=help_move.html" rel="<%cfg.cgi_url%>?<%hidden_query%>;page=help_move.html" title="Move" class="help"><img src="<%GT::FileMan::image_url('/icons/question-mark2.gif')%>" alt="Question" /></a>
                                            </div>
                                            <%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.rename%>
                                            <div id="cmd-rename" class="hide">
                                                <label>To</label>
                                                <input type="text" id="rename_input" name="rename_input" value="<%if in.rename_input and message.renamed eq ''%><%in.rename_input%><%endif%>" class="text" />
                                                <input type="submit" name="bmove" value=" Rename " class="submit" />
                                                <a href="<%cfg.cgi_url%>?<%hidden_query%>;page=help_rename.html" rel="<%cfg.cgi_url%>?<%hidden_query%>;page=help_rename.html" title="Rename" class="help"><img src="<%GT::FileMan::image_url('/icons/question-mark2.gif')%>" alt="Question" /></a>
                                            </div>
                                            <%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.compress%>
                                            <div id="cmd-compress" class="hide">
                                                <label>To</label>
                                                <input type="text" id="compress_input" name="compress_input" value="" class="text" />
                                                <select name="compress_mode">
                                                    <option value="1">.tar</option>
                                                    <%if have_gzip%><option value="2">.tar.gz</option><%endif~%>
                                                    <%if have_azip%><option value="3">.zip</option><%endif~%>
                                                </select>
                                                <input type="submit" name="bcompress" value=" Create File " class="submit" />
                                                <a href="<%cfg.cgi_url%>?<%hidden_query%>;page=help_compress.html" rel="<%cfg.cgi_url%>?<%hidden_query%>;page=help_compress.html" title="Compress" class="help"><img src="<%GT::FileMan::image_url('/icons/question-mark2.gif')%>" alt="Question" /></a>
                                            </div>
                                            <%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.chmod%>
                                            <%~ifnot mswin%>
                                            <div id="cmd-chmod" class="hide">
                                                <div id="group" class="clear">
                                                    <div class="group">
                                                        <span>User: </span>
                                                        <input type="checkbox" id="ur" name="ur" value="r" class="checkbox" /> <label for="ur" title="read">r</label>
                                                        <input type="checkbox" id="uw" name="uw" value="w" class="checkbox" /> <label for="uw" title="write">w</label>
                                                        <input type="checkbox" id="ux" name="ux" value="x" class="checkbox" /> <label for="ux" title="execute">x</label>
                                                    </div>
                                                    <div class="group">
                                                        <span>Group: </span>
                                                        <input type="checkbox" id="gr" name="gr" value="r" class="checkbox" /> <label for="gr" title="read">r</label>
                                                        <input type="checkbox" id="gw" name="gw" value="w" class="checkbox" /> <label for="gw" title="write">w</label>
                                                        <input type="checkbox" id="gx" name="gx" value="x" class="checkbox" /> <label for="gx" title="execute">x</label>
                                                    </div>
                                                    <div class="group">
                                                        <span>Other: </span>
                                                        <input type="checkbox" id="or" name="or" value="r" class="checkbox" /> <label for="or" title="read">r</label>
                                                        <input type="checkbox" id="ow" name="ow" value="w" class="checkbox" /> <label for="ow" title="write">w</label>
                                                        <input type="checkbox" id="ox" name="ox" value="x" class="checkbox" /> <label for="ox" title="execute">x</label>
                                                    </div>
                                                    <div class="label">
                                                        <b>Or</b><br /><span style="font-size: 9px">(in octal notation)</span>
                                                    </div>
                                                    <div>
                                                        <input type="text" id="chmod_input" name="chmod_input" value="" maxlength="4" class="text" />
                                                        <input type="checkbox" id="opt_recursive" name="chmod_recursive" value="1" class="chmod-recursive" /><label for="opt_recursive">Recursive</label>
                                                        <input type="submit" name="bchmod" value="Chmod" class="submit" />
                                                        <a href="<%cfg.cgi_url%>?<%hidden_query%>;page=help_chmod.html" rel="<%cfg.cgi_url%>?<%hidden_query%>;page=help_chmod.html" title="Chmod" class="help"><img src="<%GT::FileMan::image_url('/icons/question-mark2.gif')%>" alt="Question" /></a>
                                                    </div>
                                                </div>
                                            </div>
                                            <%endif~%>
                                            <%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.tail%>
                                            <div id="cmd-tail" class="hide">
                                                <label>Lines</label>
                                                <input type="text" id="tail_input" name="tail_input" value="<%if in.tail_input%><%in.tail_input%><%else%>25<%endif%>" class="text short-text" />
                                                <select name="tail_retime">
                                                    <option value="">Refresh</option>
                                                    <option value="2"<%if in.tail_retime == 2%> selected="selected"<%endif%>>2</option>
                                                    <option value="5"<%if in.tail_retime == 5%> selected="selected"<%endif%>>5</option>
                                                    <option value="10"<%if in.tail_retime == 10%> selected="selected"<%endif%>>10</option>
                                                    <option value="30"<%if in.tail_retime == 30%> selected="selected"<%endif%>>30</option>
                                                    <option value="50"<%if in.tail_retime == 50%> selected="selected"<%endif%>>50</option>
                                                    <option value="60"<%if in.tail_retime == 60%> selected="selected"<%endif%>>60</option>
                                                </select>
                                                <input type="submit" name="btail" value="Tail" class="submit" />
                                                <a href="<%cfg.cgi_url%>?<%hidden_query%>;page=help_tail.html" rel="<%cfg.cgi_url%>?<%hidden_query%>;page=help_tail.html" title="Tail" class="help"><img src="<%GT::FileMan::image_url('/icons/question-mark2.gif')%>" alt="Question" /></a>
                                            </div>
                                            <%endif~%>
                                            <%~if noauth or $session.user.type or $session.user.permission.diff%>
                                            <div id="cmd-diff" class="hide">
                                                <label>With file</label>
                                                <input type="text" id="diff_input" name="diff_input" value="<%if in.diff_input%><%in.diff_input%><%endif%>" class="text" />
                                                <input type="button" name="button-browse" value="Browse..." class="button" />
                                                <input type="submit" name="bdiff" value="Diff" class="submit" />
                                                <a href="<%cfg.cgi_url%>?<%hidden_query%>;page=help_diff.html" rel="<%cfg.cgi_url%>?<%hidden_query%>;page=help_diff.html" title="Diff" class="help"><img src="<%GT::FileMan::image_url('/icons/question-mark2.gif')%>" alt="Question" /></a>
                                            </div>
                                            <%endif~%>
                                        </div>
                                    </div>

                                    <table class="foldertab">
                                        <tr>
                                            <th class="selectbox"><input type="checkbox" name="checkall" value="checkall" /></th>
                                            <th class="icon"></th>
                                            <th class="name"><a href="#" rel="name">NAME</a></th>
                                            <th class="size"><a href="#" rel="size">SIZE</a></th>
                                            <th class="type"><a href="#" rel="desc">TYPE</a></th>
                                            <th class="modified"><a href="#" rel="date">MODIFIED</a></th>
                                            <%~ifnot mswin%><th class="owner"><a href="#" rel="owner">Owner</a></th><%endif~%>
                                            <%~ifnot mswin%><th class="permission"><a href="#" rel="perm">Permissions</a></th><%endif~%>
                                            <th class="scrollbar"></th>
                                        </tr>
                                    </table>
                                    <div class="contentframe">
                                        <table class="foldertab">
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="shadowbottom"><div class="shadowbottomleft"></div><div class="shadowbottomright"></div></div>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <div id="wrapper-footer">
        <div id="contentfooter" class="clear">
            <%~if session.user.allowed_space and space.usage > 0%>
            <div id="usage">
                <%~if space.usage > 0 and $space.usage <= 100%>
                <div class="bar" title="You are using <%space.usage%>% of your <%GT::FileMan::Commands::friendly_size($space.allowed)%> limit">
                    <div class="<%if space.usage >=80%>used<%else%>waring<%endif%>" style="width: <%space.usage%>%"></div>
                </div>
                <%endif~%>
            </div>
            <%endif~%>
            <div class="summary"></div>
            <div class="status">&nbsp;</div>
        </div>
        <%include include_footer.html%>
    </div>
    <div id="modal-dialog" class="modal-dialog"></div>
    <div id="waiting-dialog" class="modal-dialog"></div>
    <ul id="primarynav" class="primarynav">
        <%~if noauth or $session.user.type or $session.user.permission.search%><li class="navitem"><a href="#" rel="search" class="navlink">Search</a></li><%endif~%>
        <%~if noauth or $session.user.type or $session.user.permission.replace%><li class="navitem"><a href="#" rel="replace" class="navlink">Replace</a></li><%endif~%>
        <%~if noauth or $session.user.type or $session.user.permission.command%><%~ifnot mswin%><li class="navitem"><a href="#" rel="command" class="navlink">Command</a></li><%endif~%><%endif~%>
        <%~if noauth or $session.user.type or $session.user.permission.upload%><li class="navitem"><a href="#" rel="upload" class="navlink">Upload</a></li><%endif~%>
        <%~if noauth or $session.user.type or $session.user.permission.newfile%><li class="navitem"><a href="#" rel="file" class="navlink">New File</a></li><%endif~%>
        <%~if noauth or $session.user.type or $session.user.permission.makedir%><li class="navitem"><a href="#" rel="makedir" class="navlink">New Folder</a></li><%endif~%>
        <%~if noauth or $session.user.type or $session.user.permission.protect%><li class="navitem"><a href="#" rel="protect" class="navlink">Protect</a></li><%endif~%>
        <li class="navitem">
          <a href="#" class="navlink sublink">Settings</a>
          <ul>
              <%~if $session.user.type or $cfg.fversion eq 'single'%><li><a href="#" rel="setup">Setup</a></li><%endif~%>
              <%~ifnot noauth%><li><a href="#" rel="password">Change Password</a></li><%endif~%>
              <li><a href="#" rel="preferences">Preferences</a></li><%~%>
              <%~if $session.user.type~%>
              <li><hr /></li><%~%>
              <li><a href="#" rel="user">User Management</a></li><%~%>
              <li><a href="#" rel="log">Browser Logs</a></li><%~%>
              <%~endif~%>
              <li><hr /></li><%~%>
              <li><a href="#" rel="env">Environment</a></li><%~%>
          </ul>
        </li>
        <li class="navitem">
          <a href="#" class="navlink sublink">Help</a>
          <ul>
              <li><a href="#" rel="help">Help Contents</a></li><%~%>
              <li><a href="http://www.gossamer-threads.com/perl/gforum/gforum.cgi" target="GForum">Forum Suport</a></li><%~%>
              <li><hr /></li><%~%>
              <li><a href="#" rel="about">About FileMan</a></li><%~%>
              <li><a href="http://www.gossamer-threads.com" target="GT">Gossamer Threads Inc.</a></li><%~%>
          </ul>
        </li>
    </ul>
    <ul id="breadcrumbsnav" class="primarynav">
        <%~if $session.user.accesses_loop.length > 1%>
        <li class="navitem">
          <a href="#"><img src="<%GT::FileMan::image_url('/icons/arrow.gif')%>" alt="Accesses" /></a>
          <ul id="uaccess">
              <%~loop session.user.accesses_loop~%>
              <li><a href="#" rel="<%disp%>"><%disp%></a></li><%~%>
              <%endloop~%>
          </ul>
        </li>
        <%endif~%>
        <li id="bread-crumbs" class="navitem"></li>
    </ul>
</div>
