Просмотр файла clan/members.php

Размер файла: 990B
<?php
include "config.php";
echo "<HTML>";
echo "<HEAD>";
echo "<TITLE>";
echo"$clan\n";
echo "Clan - Administration</TITLE>";
echo "<link rel=\"stylesheet\" href=\"$css\">";
echo "<meta HTTP-EQUIV=\"Content-Type\" Content=\"text-html; charset=Windows-1251\">";
echo "</head><BODY bgcolor=\"$bgcolor\" text=\"#cccccc\">";

echo "<table cellpadding=2 cellspacing=1 bgcolor=#cccccc>
<tr><td border=0 bgcolor=#454545><center>Член клана</center></td><td bgcolor=#454545>Зарегистрирован:</td></tr><tr><td bgcolor=#838383>";
$file = "members.dat";
$open = fopen ($file, "r");
$login = file($file);
$count2 = count($login);
      if ($count2>0){
for ($n=0; $n<$count2; $n++) {
list( $fid,$fmail,$fcity,$fcountry,$fname,$flastname,$fnick,$fage,$ficq,$fgame, $fstaus, $fdate ) = split("\|", "$login[$n]");
echo "$fstaus $fnick</td><td bgcolor=#838383>$fdate";
}
fclose($open);   }  else {echo "<center>никого</center>";}



echo"</td></tr></table>";

?>
</BODY>
</HTML>