[Turn on line numbering]
arg @args;
var page, l;
// this is your home page, change it as you whim may direct you
page = $directories.build_header(#[], #[], #[]);
if ((l = $directories.get_server_name_img()))
page += [l];
else
page += ["<h1>" + server_name + "</h1>"];
page += ["<p align=center><i><tt>"] + $code_lib.random_quote() + ["</tt></i>"];
if (server_title)
page += ["<h3>" + server_title + "</h3>"];
if (notes) {
page += ["<table align=center border=0><tr><td bgcolor=\"#cccccc\">"];
page += [notes.affix("<br/>")];
page += ["</td></tr></table>"];
}
page += ["<p><b>Things to do from here:</b>"];
page += ["<ul>"];
page += ["<li>Login <a href=\"/file/jlogin/index.html\">Interactively</a> or "];
page += ["<a href=\"/desktop/\">Non-Interactively</a><br>"];
page += ["<li>See <a href=\"/bin/who\">Who is Online</a><br>"];
page += ["<li>Browse <a href=\"/bin/describe\">the VR World</a>,"];
page += ["<a href=\"/bin/object\">ColdC Objects</a>"];
page += [" or <a href=\"/ar\">Action Requests</a><br>"];
page += ["<li>Read documentation: <a href=\"/bin/help\">Help Files</a>,"];
page += [" <a href=\"/bin/describe?target=introtut_start\">Introductory Tutorial</a>"];
page += [" or <a href=\"/bin/help?node=help_coldc\">the ColdC Manual</a>"];
page += ["</ul>"];
page += ["<p align=left>", "<table border=0>"];
page += ["<tr><th valign=top align=left>Administrators:</th>"];
page += ["<td>" + $sys.admins().mmap('hname).to_english() + "</td></tr>"];
page += ["<tr><th valign=top align=left>Current Users:</th>"];
page += ["<td>" + $user_db.total_connected() + " (<a href=\"/bin/who\">Get List</a>)</td></tr>"];
page += ["<tr><th valign=top align=left>Server Lag:</th>"];
page += ["<td>" + $lag_watcher.lag() + " seconds.</td></tr>"];
page += ["<tr><th valign=top align=left>Driver: </th>"];
page += ["<td><a href=\"http://www.cold.org/Software/Genesis/\">Genesis</a> " + $sys.server_info('driver_version) + "</td></tr>"];
page += ["<tr><th valign=top align=left>Core:</th>"];
page += ["<td>" + $sys.server_info('core_version, 'long) + "</td></tr>"];
page += ["</body>"];
return page;
// $#Edited: 28 Sep 25 09:20 $user_celthric
// Created 27-Mar-1995 as a part of ColdCore, see: @help Credit