Example #1
0
             //donot need to check captcha
         } else {
             $security_captcha_enter = JRequest::getVar('security_code');
             if ($_SESSION['captcha'] != strtolower($security_captcha_enter)) {
                 ob_end_clean();
                 echo "<script>alert('" . addslashes(_JNEWS_CAPTCHA_MSG) . "'); window.history.go(-1);</script>\n";
                 break;
             }
         }
     }
     JRequest::checkToken() or die('Invalid Token');
     $message = jnews::printYN(jNews_Subscribers::updateCBFESubscriber(), _JNEWS_UPDATED_SUCCESSFULLY, _JNEWS_ERROR);
     $showPanel = true;
     break;
 case 'log':
     jNews_ProcessMail::logStatistics($mailingId);
     break;
 case 'rendermod':
     require_once JNEWSPATH_CLASS . 'rendermod.php';
     $rendMod = new jnews_renderMod();
     $rendMod->renderModule();
     break;
 case 'updatesubscription':
     $message = frontEnd::updateFrontSubscription($subscriberId);
     if (!empty($redirectlink)) {
         jNews_Tools::redirect($redirectlink, $message);
     } else {
         $showPanel = true;
     }
     break;
 case 'module':