// начало программы
if (empty($url)){
$url='';
}
$step=10;
if (empty($article_id)){
$article_id=0;
}
//print($next);
//include '../include/settings.inc';
include 'settings.inc';
$link = mysql_connect($Server,$Login, $Password)
or die("Could not connect");
mysql_select_db($DataBase)
or die("Could not select database");
$query = "SELECT E_MAIL,STATUS,DATE,IP,ID,PERSON FROM MAILLIST ORDER BY DATE desc";
$result = mysql_query($query)
or die("Query 1 failed");
print ("");
//Имя |
print '
Имя |
Е-mail |
Белый |
Ждем |
Черный |
Дата |
Del |
ОК |
';
while ($line = mysql_fetch_array($result)) {
print "";
print '");
print "
";
}
print('
');
// Free resultset
mysql_free_result($result);
mysql_close($link);
?>