CDROM Request deletion has been canceled!
\n";
echo "
Back to CDROM request queue.\n";
PAGEFOOTER();
return;
}
if (!$confirmed) {
PAGEHEADER("CDROM Deletion Request");
echo "
Are you REALLY sure you want to delete this CDROM request?
\n";
echo "\n";
echo "\n";
echo "\n";
echo "
$name |
$email |
$when |
\n";
echo "
\n";
PAGEFOOTER();
return;
}
DBQueryFatal("delete from cdroms where cdkey='$deletekey'");
header("Location: cdromqueue.php3");
}
#
# Get the list and show it.
#
#
# Standard Testbed Header, now that we know what we want to say.
#
PAGEHEADER("CDROM Request Queue");
$query_result =
DBQueryFatal("select * from cdroms order by requested DESC");
if (! mysql_num_rows($query_result)) {
USERERROR("There are no requests in the queue!\n", 1);
}
echo "\n";
echo "
Delete? |
Name |
Email |
Key |
When |
\n";
while ($row = mysql_fetch_array($query_result)) {
$name = $row[user_name];
$email = $row[user_email];
$when = $row[requested];
$cdkey = $row[cdkey];
echo "
| $name |
$email |
$cdkey |
$when |
\n";
}
echo "
\n";
#
# Standard Testbed Footer
#
PAGEFOOTER();
?>