<?
include "funlib.inc";
/*
possible values for $debug:
0 - no debugging (default)
1 - show debug lines at top
2 - show experimental menu options
*/
$debug=0;
outHeadTop("Leafwa - ".$_SERVER['HTTP_HOST'], "web-based administration for Leafnode", 1);
/*
add any additional lines of debugging output here...
this is placed *after* the outHeadTop function to avoid problems
if the PHP output_buffering setting is switched off
*/
if ($debug >= 1) {
debugOutput("Leafnode version ".getLeafnodeVersion2());
}
?>
<span class="plainred">This is an alpha release of Leafwa</span>
<hr noshade>
<h3>Manage Leafnode</h3>
<ul>
<li>View <a href="newsq.php">queued news</a> <? echo "(<em>".getNewsqDepthStr()."</em>)"; ?>
<li>Manage <a href="subun.php">newsgroup subscriptions</a>
<!-- TODO filter this out when using leafnode < 2.x -->
<li>View/edit <a href="localng.php">local newsgroups</a>
<li>View <a href="viewsettings.php">Leafwa settings</a>
</ul>
<?
/* display additional experimental pages */
if ($debug >= 2) {
echo "<ul>\n";
echo "<li><a href=\"experiment.php\">Experimental pages</a>\n";
echo "<li><a href=\"editconf.php\">Edit Leafnode config</a>\n";
echo "</ul>\n";
}
?>
<hr width="80%">
<h3>Documentation</h3>
<ul>
<li><a href="helpinstall.html">Installation and setup</a>
<li><a href="help.html">Using Leafwa</a>
<li><a href="helpdevelop.html">Developer notes</a>
<li><a href="credits.php">Credits</a>
<li><a href="gpl.php">License</a> (the <em><a href="http://www.gnu.org/">GNU</a>
General Public License</em>)
</ul>
<hr width="80%">
<ul>
<li>Fill in the Leafwa <a href="survey.php">Users' Survey</a>
<li>Subscribe to the
<a href="maillist.php">Leafnode mailing list</a>
</ul>
<p>Further information is available on the web pages for <a href="http://www.leafnode.org/">Leafnode</a> and <a href="<?echo $leafwaWeb;?>">Leafwa</a>:</p>
<table bgcolor="#cccccc" width="100%" align="center">
<tr>
<td>
<table cellpadding="2">
<tr>
<td>
<a href="http://www.leafnode.org/"><img src="images/ln_logo.png" border=0 alt="Leafnode logo"></a>
</td>
<td>
<a href="http://www.leafnode.org/"><span class="appname">Leafnode</span></a> is an NNTP server for small sites, or "leaf nodes".
</td>
</tr>
</table>
</td>
<td>
<table cellpadding="2">
<tr>
<td>
<a href="<? echo $leafwaWeb; ?>"><img src="images/logo6b.png" border=0 alt="Leafwa logo"></a>
</td>
<td>
<a href="<? echo $leafwaWeb; ?>"><span class="appname">Leafwa</span></a> is a tool for administering Leafnode.
</td>
</tr>
</table>
</td>
</tr>
</table>
<hr noshade>
<table border="0" align="center">
<tr><td>
<div class="copy">
Version <? echo $version; ?>, Copyright © 2000-2002 Philip Hunt and others
</div>
</td></tr>
</table>
</body>
</html>