0 || $maxLists == 0)
$canCreateList = true;
else
$canCreateList = false;
}
ob_start();
?>
Control Panel
|
 Mailing Lists
- Manage Mailing Lists';
else
echo 'Manage Mailing Lists';
?>
- Create Mailing List';
else
echo 'Create Mailing List';
?>
|
|
 Subscribers
- Manage Subscribers';
else
echo 'Manage Subscribers';
?>
-
Add Subscriber';
else
echo 'Add Subscriber';
?>
|
|
|
'".addslashes($yesterday)."'";
$newWeek_query = "SELECT COUNT(*) FROM " . $TABLEPREFIX . "members WHERE SubscribeDate > '".addslashes($thisWeek)."'";
$newMonth_query = "SELECT COUNT(*) FROM " . $TABLEPREFIX . "members WHERE SubscribeDate > '".addslashes($thisMonth)."'";
$newYear_query = "SELECT COUNT(*) FROM " . $TABLEPREFIX . "members WHERE SubscribeDate > '".addslashes($thisYear)."'";
}
if ($CURRENTADMIN['Manager'] != 1) {
$totalLists = 0;
$lResult = mysql_query("SELECT * FROM " . $TABLEPREFIX . "lists");
$list_check = array();
while($lRow = mysql_fetch_assoc($lResult))
{
$lRow = stripslashes_array($lRow);
if(AllowList($lRow['ListID']))
{
$list_check[] = $lRow['ListID'];
}
}
if (sizeof($list_check) > 0) {
$list_ids = implode(',', $list_check);
$totalLists_query = "SELECT COUNT(*) FROM " . $TABLEPREFIX . "lists WHERE ListID IN (" . $list_ids . ")";
$totalSubs_query = "SELECT COUNT(*) FROM " . $TABLEPREFIX . "members WHERE ListID IN (" . $list_ids . ")";
$newToday_query = "SELECT COUNT(*) FROM " . $TABLEPREFIX . "members WHERE ListID IN (" . $list_ids . ") AND SubscribeDate > '".addslashes($yesterday)."'";
$newWeek_query = "SELECT COUNT(*) FROM " . $TABLEPREFIX . "members WHERE ListID IN (" . $list_ids . ") AND SubscribeDate > '".addslashes($thisWeek)."'";
$newMonth_query = "SELECT COUNT(*) FROM " . $TABLEPREFIX . "members WHERE ListID IN (" . $list_ids . ") AND SubscribeDate > '".addslashes($thisMonth)."'";
$newYear_query = "SELECT COUNT(*) FROM " . $TABLEPREFIX . "members WHERE ListID IN (" . $list_ids . ") AND SubscribeDate > '".addslashes($thisYear)."'";
} else {
$totalSubs = 0;
$totalSubs_query = $newToday_query = $newWeek_query = $newMonth_query = $newYear_query = $totalLists_query = "SELECT 0";
$newToday = $newWeek = $newMonth = $newYear = 0;
}
}
if ($CURRENTADMIN['DisplaySummaries'] == 1) {
$totalSubs = number_format(mysql_result(mysql_query($totalSubs_query), 0, 0), 0);
$totalLists = number_format(mysql_result(mysql_query($totalLists_query), 0, 0), 0);
$newToday = number_format(mysql_result(mysql_query($newToday_query), 0, 0), 0);
$newWeek = number_format(mysql_result(mysql_query($newWeek_query), 0, 0), 0);
$newMonth = number_format(mysql_result(mysql_query($newMonth_query), 0, 0), 0);
$newYear = number_format(mysql_result(mysql_query($newYear_query), 0, 0), 0);
} else {
$totalSubs = 'View';
$totalLists = 'View';
$newToday = 'View';
$newWeek = 'View';
$newMonth = 'View';
$newYear = 'View';
}
?>
- Total subscribers:
- Total mailing lists:
- New subscribers today:
- New subscribers this week:
- New subscribers this month:
- New subscribers this year:
|
|
 Newsletters
- Manage Newsletters';
else
echo 'Manage Newsletters';
?>
- Create Newsletter';
else
echo 'Create Newsletter';
?>
-
Send Newsletter';
else
echo 'Send Newsletter';
?>
|
|
 Templates
- Manage Templates';
else
echo 'Manage Templates';
?>
- Create Template';
else
echo 'Create Template';
?>
|
|
|
 Autoresponders
- Manage autoresponders';
else
echo 'Manage Autoresponders';
?>
- Create Autoresponder';
else
echo 'Create Autoresponder';
?>
|
|
 Forms
- Manage Forms';
else
echo 'Manage Form';
?>
- Create Form';
else
echo 'Create Form';
?>
|
|
|