Fix failure to load the schema on read-only DB.
[ira/wip.git] / swat / nbt_server / index.esp
1 <% page_header("columns", "NBT Server", "nbt_server"); 
2
3   libinclude("base.js");
4   libinclude("management.js");
5 %>
6
7 <h1>NBT Server</h1>
8
9 <%
10 writefln("The NBT server is: %s\n", server_status("nbt"));
11 %>
12
13 <h2>Packet statistics</h2>
14 <%
15
16 var stats = nbtd_statistics();
17 if (stats == undefined) {
18         writefln("nbt server not running");
19 } else {
20         simple_table(stats);
21 }
22 %>
23
24 <% page_footer(); %>