View file magmail/dispadmin.php

File size: 557B
<?

require("functionChat.ssp");
 
openDB();

if (!isset($pass) or (md5($pass)!="ea2b2676c28c0db26d39331a336c6b92")) die("Bad pass");
$sqlSel="select messtime,fromnick,messtype,messtext,num from letters where tonick='admin' order by num asc";
$result=mysql_query($sqlSel) or die(mysql_error());

while ($row=mysql_fetch_row($result))
{
  echo "------------------------------------<br>\n";
  echo "nick=$row[1]<br>\n";
  echo "date=".date("d/m H:i ",$row[0])."<br>\n";
  echo "text=".UnReplaceChar($row[3])."<br>\n";
}  

mysql_close();
?>