|
' . $l["ListName"] . ' |
' . $l["WebmasterName"] . ' |
' . DisplayDate($l["CreatedOn"]) . ' |
' . $subscriber_count . ' |
';
$AllLists .= MakeConfirmBox("lists?Delete=AllSubscribers&ListID=".$l['ListID'], "Delete All Subscribers", 'Are you sure you wish to delete all subscribers from this mailing list?') . " ";
// Are there any bounces that we can handle for this list?
$numBounces = mysql_result(mysql_query("SELECT COUNT(*) FROM " . $TABLEPREFIX . "sends WHERE EmailsSent > 0 AND ListID=" . addslashes($l['ListID'])), 0, 0);
if($numBounces > 0) {
$AllLists .= MakeLink("lists?Action=GetBounceLogin&ListID=".$l["ListID"], "Process Bounces") . " ";
} else {
$numAutoresponders = mysql_result(mysql_query("SELECT COUNT(*) FROM " . $TABLEPREFIX . "autoresponders WHERE ListID=" . addslashes($l['ListID'])), 0, 0);
if ($numAutoresponders > 0) {
$AllLists .= MakeLink("lists?Action=GetBounceLogin&ListID=".$l["ListID"], "Process Bounces") . " ";
} else {
$AllLists .= "Process Bounces ";
}
}
$AllLists .= MakeLink("lists?Edit=List&ListID=".$l["ListID"], "Edit") . " ";
$AllLists .= MakeConfirmBox("lists?Delete=List&ListID=".$l["ListID"], "Delete","Are you sure you wish to delete this mailing list? \\n(This will also delete newsletter archives)");
$AllLists .= '
|
';
}
$AllLists .= '