Submitted links";
if (!count($data)) {
echo "
No links have been submitted.
";
return;
}
echo "";
foreach ($data as $link => $entries) {
echo "- Link to " . utf8entities($link) . ":
";
foreach ($entries as $entry) {
echo "- Submitted by {$entry['submitter']} as {$entry['title']}
";
if ($entry['description'] != '') {
echo "Description: {$entry['description']}";
} else {
echo "No description";
}
echo "
Accept entry ";
}
echo "- Delete entry
";
}
echo "
";
?>