linea21-modules
[ class tree: linea21-modules ] [ index: linea21-modules ] [ all elements ]

Source for file subscribe.php

Documentation is available at subscribe.php

  1. <?php
  2. /**
  3.  * @package linea21.modules
  4.  * @subpackage newsletter
  5.  * @author linea21 <info@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  */
  10.  
  11. if(!isset($_REQUEST['newsletteremail'])) exit;
  12. else $email=$_REQUEST['newsletteremail'];
  13. include_once('../class/class.newsletter.php');
  14.  
  15. $newsletter_object new newsletter;
  16. if(!isset($_REQUEST['del_action'])) {
  17.   $msg=$newsletter_object->AddEmail($email$GLOBALS['sql_object']);
  18. }
  19. else {
  20.   $msg=$newsletter_object->DeleteEmail($email$GLOBALS['sql_object']);
  21. }
  22. ?>

Documentation generated on Thu, 03 May 2012 15:07:37 +0200 by phpDocumentor 1.4.1