OpenTable(); echo "<center><font class=\"title\"><b>" . _MASSEMAIL . "</b></font></center>"; CloseTable(); echo "<br>"; OpenTable(); echo "<center><font class=\"content\"><b>" . _MASSEMAIL . "</b></font><br><br>"; echo "<b>" . _MASSEMAILSENT . "</b></center>"; CloseTable(); include "footer.php"; } switch ($op) { case "newsletter": newsletter(); break; case "newsletter_send": newsletter_send($title, $content); break; case "newsletter_sent": newsletter_sent(); break; case "massmail_send": massmail_send($title, $content); break; case "massmail_sent": massmail_sent(); break; case "check_type": check_type($subject, $content, $type); break; } } else {
* the same folder or the closest folder above for complete license terms. * - If you have received this file individually (e-g: from http://evocms.cvs.sourceforge.net/) * then you must choose one of the following licenses before using the file: * - GNU General Public License 2 (GPL) - http://www.opensource.org/licenses/gpl-license.php * - Mozilla Public License 1.1 (MPL) - http://www.opensource.org/licenses/mozilla1.1.php * }} * * {@internal Open Source relicensing agreement: * The Evo Factory grants Francois PLANQUE the right to license * The Evo Factory's contributions to this file and the b2evolution project * under any OSI approved OSS license (http://www.opensource.org/licenses/). * }} * * @package evocore * * {@internal Below is a list of authors who have contributed to design/coding of this file: }} * @author fplanque: Francois PLANQUE. * * @version $Id: _newsletter_report.view.php 988 2012-03-06 06:10:41Z yura $ */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } global $admin_url; $Form = new Form(NULL, 'newsletter'); $Form->begin_form('fform'); $Form->begin_fieldset(T_('Report')); // Send newsletter and print out the report newsletter_send(); $Form->end_fieldset(); $Form->end_form(array(array('button', '', T_('Go to users list'), 'SaveButton', 'location.href=\'' . $admin_url . '?ctrl=users\''), array('button', '', T_('Back'), 'ResetButton', 'location.href=\'' . $admin_url . '?ctrl=newsletter\'')));