<!-- #include file="header.inc" -->

<div id="content">

<%news%>

<fieldset id="notesField" title="Here you can leave some notes. They will be stored on the server so other administrators can see and edit them.">
<legend>Notes</legend>
<form action="<%page.fulluri%>" method="post" id="notesForm">
<div>
<textarea id="notes" name="notes" rows="5" cols="80" style="width:100%;"><%notes%></textarea>
</div>
<div id="notectrl">
<button type="submit" name="action" value="save">Save</button>
</div>
</form>
</fieldset>

<table width="100%" id="currentinfo">
<colgroup>
    <col width="25%"/>
    <col width="25%"/>
    <col width="50%"/>
</colgroup>
<tr>
<td>

<h3>Current Game</h3>

<div class="section">
<dl id="currentGame">
    <dt>Server Name</dt>
    <dd><%server.name%></dd>
    <dt>Cheat Protection</dt>
    <dd><%server.anticheat%></dd>
    <dt>Game type</dt>
    <dd title="<%game.type%>"><%game.name%></dd>
    <dt>Map</dt>
    <dd title="<%map.name%>"><%map.title.safe%></dd>
    <dt>Mutators</dt>
    <dd><%rules.mutators%></dd>
</dl>
</div>
</td>
<td>

<h3>Rules</h3>
<div class="section">
<dl id="currentRules">
<%rules%>
</dl>
</div>
</td>

<td>
<h3>Players</h3>
<div class="section narrow">
<table id="players" class="grid" width="100%">
<thead>
<tr>
    <th>&#160;</th>
    <th><a href="<%page.fulluri%>?sortby=name&amp;reverse=<%reverse.name%>" class="sortable <%sorted.name%>">Name</a></th>
    <th><a href="<%page.fulluri%>?sortby=perk&amp;reverse=<%reverse.perk%>" class="sortable <%sorted.perk%>">Perk</th>
    <th><a href="<%page.fulluri%>?sortby=score&amp;reverse=<%reverse.score%>" class="sortable <%sorted.score%>">Dosh</a></th>
    <th>Health</th>
    <th><a href="<%page.fulluri%>?sortby=kills&amp;reverse=<%reverse.kills%>" class="sortable <%sorted.kills%>">Kills</a></th>
    <th><a href="<%page.fulluri%>?sortby=ping&amp;reverse=<%reverse.ping%>" class="sortable <%sorted.ping%>">Ping</a></th>
    <th>Admin</th>
</tr>
</thead>
<tbody>
<%players%>
</tbody>
</table>

<%spectators%>
</div>
</td>
</tr>
</table>


<script type="text/javascript">
//<![CDATA[
var pageUri = '<%page.fulluri%>';
//]]>
</script>
<script type="text/javascript" src="/images/current.js?gzip"></script>

</div>

<!-- #include file="navigation.inc" -->
<!-- #include file="footer.inc" -->
