Размер файла: 1.14Kb
<?php
header("Content-type: text/html; charset=ISO-8859-1");
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\n";
echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\"
\"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">\n";
echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n";
echo "<!-- MobiiliChat v1.11color -->\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=round(count($priva)/3);
$yht=$chatkpl+$privakpl;
echo "<head>\n";
echo "<title>AdminCheck</title>\n";
echo "</head>\n";
echo "<body bgcolor=\"#99CCFF\" link=\"#0000CC\" vlink=\"#0000CC\" alink=\"#0000CC\">";
echo "Encrypted passwords:".count($salsan)."<br/>";
echo "Nicks:".count($salnim)."<br/>";
echo "Public messages in file:".$chatkpl."<br/>";
echo "Private messages in file:".$privakpl."<br/>";
echo "Logins since install:".$kirjkpl."<br/>";
echo "<a href=\"admin.php\">linkki</a>";
echo "</body>\n";
echo "</html>\n";
?>