File size: 895B
<?php
header("Content-type: text/vnd.wap.wml; charset=ISO-8859-1");
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"
\"http://www.wapforum.org/DTD/wml_1.1.xml\">\n";
echo "<!-- MobiiliChat v1.07 -->\n";
echo "<!-- Copyright (C) 2004-2005 Keijo Kangas ([email protected]) -->\n";
$salnim=file('nims.txt');
$salsan=file('sals.txt');
$chat=file('chat.txt');
$priva=file('privnea.txt');
$kirj=file('kirjaus.txt');
$kirjkpl=count($kirj);
$chatkpl=count($chat);
$privakpl=count($priva);
$yht=$chatkpl+$privakpl;
echo "<wml>";
echo "<card title=\"AdminCheck\">";
echo "<p>";
echo "Passwords:".count($salsan)."<br/>";
echo "Nicks:".count($salnim)."<br/>";
echo "Public messages in file:".$chatkpl."<br/>";
echo "Logins since install:".$kirjkpl."<br/>";
echo "</p>";
echo "</card>";
echo "</wml>";
?>