Location: PHPKode > projects > MembersGear > membersgear/config/email_configuration.php
<?php 
     
        require_once PHYSICAL_DIR."/includes/system_get_set_options_class.php";
        $option_obj=new system_get_set_options_class();
        
        if(!isset($_SESSION[SESSION_PREFIX.'PHPMAILER_HOST']))
          {
             DEFINE('PHPMAILER_HOST',trim(stripslashes($option_obj->get_option('PHPMAILER_HOST'))));
             $_SESSION[SESSION_PREFIX.'PHPMAILER_HOST']=PHPMAILER_HOST;
          }
        else
           DEFINE('PHPMAILER_HOST',trim(stripslashes($_SESSION[SESSION_PREFIX.'PHPMAILER_HOST'])));
       
        if(!isset($_SESSION[SESSION_PREFIX.'PHPMAILER_SMTPAUTH']))
          {
 
              DEFINE('PHPMAILER_SMTPAUTH',stripslashes($option_obj->get_option('PHPMAILER_SMTPAUTH')));
             $_SESSION[SESSION_PREFIX.'PHPMAILER_SMTPAUTH']=PHPMAILER_SMTPAUTH;
          }
         else
           DEFINE('PHPMAILER_SMTPAUTH',stripslashes($_SESSION[SESSION_PREFIX.'PHPMAILER_SMTPAUTH']));
          
          
          if(!isset($_SESSION[SESSION_PREFIX.'PHPMAILER_USERNAME']))
          {
              DEFINE('PHPMAILER_USERNAME',trim(stripslashes($option_obj->get_option('PHPMAILER_USERNAME'))));
              $_SESSION[SESSION_PREFIX.'PHPMAILER_USERNAME']=PHPMAILER_USERNAME;
          }
         else
           DEFINE('PHPMAILER_USERNAME',trim(stripslashes($_SESSION[SESSION_PREFIX.'PHPMAILER_USERNAME'])));
           
          
        if(!isset($_SESSION[SESSION_PREFIX.'PHPMAILER_PASSWORD']))
          {
              DEFINE('PHPMAILER_PASSWORD',trim(stripslashes($option_obj->get_option('PHPMAILER_PASSWORD'))));
              $_SESSION[SESSION_PREFIX.'PHPMAILER_PASSWORD']=PHPMAILER_PASSWORD;
          }
         else
           DEFINE('PHPMAILER_PASSWORD',trim(stripslashes($_SESSION[SESSION_PREFIX.'PHPMAILER_PASSWORD'])));
          
         if(!isset($_SESSION[SESSION_PREFIX.'PHPMAILER_PORT']))
          {
               DEFINE('PHPMAILER_PORT',trim(stripslashes($option_obj->get_option('PHPMAILER_PORT'))));
              $_SESSION[SESSION_PREFIX.'PHPMAILER_PORT']=PHPMAILER_PORT;
          }
         else
           DEFINE('PHPMAILER_PORT',trim(stripslashes($_SESSION[SESSION_PREFIX.'PHPMAILER_PORT'])));
          
           if(!isset($_SESSION[SESSION_PREFIX.'PHPMAILER_EMAIL_FROM']))
          {
             DEFINE('PHPMAILER_EMAIL_FROM',stripslashes($option_obj->get_option('PHPMAILER_EMAIL_FROM')));
             $_SESSION[SESSION_PREFIX.'PHPMAILER_EMAIL_FROM']=PHPMAILER_EMAIL_FROM;
          }
         else
           DEFINE('PHPMAILER_EMAIL_FROM',stripslashes($_SESSION[SESSION_PREFIX.'PHPMAILER_EMAIL_FROM']));
          
        
          if(!isset($_SESSION[SESSION_PREFIX.'PHPMAILER_EMAIL_FROM_NAME']))
          {
                DEFINE('PHPMAILER_EMAIL_FROM_NAME',stripslashes($option_obj->get_option('PHPMAILER_EMAIL_FROM_NAME')));
                $_SESSION[SESSION_PREFIX.'PHPMAILER_EMAIL_FROM_NAME']=PHPMAILER_EMAIL_FROM_NAME;
          }
         else
           DEFINE('PHPMAILER_EMAIL_FROM_NAME',stripslashes($_SESSION[SESSION_PREFIX.'PHPMAILER_EMAIL_FROM_NAME']));
      
          
          if(!isset($_SESSION[SESSION_PREFIX.'ADMINISTRATOR_EMAIL_ADDRESS']))
          {
                DEFINE('ADMINISTRATOR_EMAIL_ADDRESS',stripslashes($option_obj->get_option('ADMINISTRATOR_EMAIL_ADDRESS')));
                $_SESSION[SESSION_PREFIX.'ADMINISTRATOR_EMAIL_ADDRESS']=ADMINISTRATOR_EMAIL_ADDRESS;
          }
         else
           DEFINE('ADMINISTRATOR_EMAIL_ADDRESS',stripslashes($_SESSION[SESSION_PREFIX.'ADMINISTRATOR_EMAIL_ADDRESS']));
          
          
          if(!isset($_SESSION[SESSION_PREFIX.'SEND_EMAIL_METHOD']))
          {
                 DEFINE('SEND_EMAIL_METHOD',stripslashes($option_obj->get_option('SEND_EMAIL_METHOD')));
                 $_SESSION[SESSION_PREFIX.'SEND_EMAIL_METHOD']=SEND_EMAIL_METHOD;
          }
         else
           DEFINE('SEND_EMAIL_METHOD',stripslashes($_SESSION[SESSION_PREFIX.'SEND_EMAIL_METHOD']));
          
        
        if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_ACCOUNT_LOCKED']))
          {
                                                                   
               DEFINE('EMAIL_ACCOUNT_LOCKED',stripslashes($option_obj->get_option('EMAIL_ACCOUNT_LOCKED')));
               $_SESSION[SESSION_PREFIX.'EMAIL_ACCOUNT_LOCKED']=EMAIL_ACCOUNT_LOCKED;
          }
         else
           DEFINE('EMAIL_ACCOUNT_LOCKED',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_ACCOUNT_LOCKED']));
          
          if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_ACCOUNT_LOCKED_TEMPLATE_ID']))
          {
                DEFINE('EMAIL_ACCOUNT_LOCKED_TEMPLATE_ID',stripslashes($option_obj->get_option('EMAIL_ACCOUNT_LOCKED_TEMPLATE_ID')));
               $_SESSION[SESSION_PREFIX.'EMAIL_ACCOUNT_LOCKED_TEMPLATE_ID']=EMAIL_ACCOUNT_LOCKED_TEMPLATE_ID;
          }
         else
           DEFINE('EMAIL_ACCOUNT_LOCKED_TEMPLATE_ID',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_ACCOUNT_LOCKED_TEMPLATE_ID']));
          
          if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_ACCOUNT_LOCKED_TEMPLATE_NAME']))
          {
               DEFINE('EMAIL_ACCOUNT_LOCKED_TEMPLATE_NAME',stripslashes($option_obj->get_option('EMAIL_ACCOUNT_LOCKED_TEMPLATE_NAME')));
               $_SESSION[SESSION_PREFIX.'EMAIL_ACCOUNT_LOCKED_TEMPLATE_NAME']=EMAIL_ACCOUNT_LOCKED_TEMPLATE_NAME;
          }
         else
           DEFINE('EMAIL_ACCOUNT_LOCKED_TEMPLATE_NAME',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_ACCOUNT_LOCKED_TEMPLATE_NAME']));
          
        
          if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_PAYMENT_COMPLETED']))
          {
               DEFINE('EMAIL_PAYMENT_COMPLETED',stripslashes($option_obj->get_option('EMAIL_PAYMENT_COMPLETED')));
               $_SESSION[SESSION_PREFIX.'EMAIL_PAYMENT_COMPLETED']=EMAIL_PAYMENT_COMPLETED;
          }
         else
           DEFINE('EMAIL_PAYMENT_COMPLETED',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_PAYMENT_COMPLETED']));
          
        
         if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_PAYMENT_COMPLETED_TEMPLATE_ID']))
          {
                                                                                                                              
               DEFINE('EMAIL_PAYMENT_COMPLETED_TEMPLATE_ID',stripslashes($option_obj->get_option('EMAIL_PAYMENT_COMPLETED_TEMPLATE_ID')));
               $_SESSION[SESSION_PREFIX.'EMAIL_PAYMENT_COMPLETED_TEMPLATE_ID']=EMAIL_PAYMENT_COMPLETED_TEMPLATE_ID;
          }
         else
           DEFINE('EMAIL_PAYMENT_COMPLETED_TEMPLATE_ID',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_PAYMENT_COMPLETED_TEMPLATE_ID']));
          
        
         if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_PAYMENT_COMPLETED_TEMPLATE_NAME']))
          {
                                                                    
                DEFINE('EMAIL_PAYMENT_COMPLETED_TEMPLATE_NAME',stripslashes($option_obj->get_option('EMAIL_PAYMENT_COMPLETED_TEMPLATE_NAME')));
                $_SESSION[SESSION_PREFIX.'EMAIL_PAYMENT_COMPLETED_TEMPLATE_NAME']=EMAIL_PAYMENT_COMPLETED_TEMPLATE_NAME;
          }
         else
           DEFINE('EMAIL_PAYMENT_COMPLETED_TEMPLATE_NAME',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_PAYMENT_COMPLETED_TEMPLATE_NAME']));
          
         if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_SIGNUP']))
          {
                DEFINE('EMAIL_PRODUCT_SIGNUP',stripslashes($option_obj->get_option('EMAIL_PRODUCT_SIGNUP')));
                $_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_SIGNUP']=EMAIL_PRODUCT_SIGNUP;
          }
         else
           DEFINE('EMAIL_PRODUCT_SIGNUP',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_SIGNUP']));
          
        if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_SIGNUP_DAYS']))
          {
                 DEFINE('EMAIL_PRODUCT_SIGNUP_DAYS',stripslashes($option_obj->get_option('EMAIL_PRODUCT_SIGNUP_DAYS')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_SIGNUP_DAYS']=EMAIL_PRODUCT_SIGNUP_DAYS;
          }
         else
           DEFINE('EMAIL_PRODUCT_SIGNUP_DAYS',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_SIGNUP_DAYS']));
       
          
        if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_SIGNUP_TEMPLATE_ID']))
          {
                 DEFINE('EMAIL_PRODUCT_SIGNUP_TEMPLATE_ID',stripslashes($option_obj->get_option('EMAIL_PRODUCT_SIGNUP_TEMPLATE_ID')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_SIGNUP_TEMPLATE_ID']=EMAIL_PRODUCT_SIGNUP_TEMPLATE_ID;
          }
         else
           DEFINE('EMAIL_PRODUCT_SIGNUP_TEMPLATE_ID',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_SIGNUP_TEMPLATE_ID']));
          
      
        if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_SIGNUP_TEMPLATE_NAME']))
          {
                  DEFINE('EMAIL_PRODUCT_SIGNUP_TEMPLATE_NAME',stripslashes($option_obj->get_option('EMAIL_PRODUCT_SIGNUP_TEMPLATE_NAME')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_SIGNUP_TEMPLATE_NAME']=EMAIL_PRODUCT_SIGNUP_TEMPLATE_NAME;
          }
         else
           DEFINE('EMAIL_PRODUCT_SIGNUP_TEMPLATE_NAME',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_SIGNUP_TEMPLATE_NAME']));
          
       
        if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_CHANGE_PROFILE']))
          {
                  DEFINE('EMAIL_CHANGE_PROFILE',stripslashes($option_obj->get_option('EMAIL_CHANGE_PROFILE')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_CHANGE_PROFILE']=EMAIL_CHANGE_PROFILE;
          }
         else
           DEFINE('EMAIL_CHANGE_PROFILE',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_CHANGE_PROFILE']));
          
        if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_CHANGE_PROFILE_TEMPLATE_ID']))
          {
                 DEFINE('EMAIL_CHANGE_PROFILE_TEMPLATE_ID',stripslashes($option_obj->get_option('EMAIL_CHANGE_PROFILE_TEMPLATE_ID')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_CHANGE_PROFILE_TEMPLATE_ID']=EMAIL_CHANGE_PROFILE_TEMPLATE_ID;
          }
         else
           DEFINE('EMAIL_CHANGE_PROFILE_TEMPLATE_ID',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_CHANGE_PROFILE_TEMPLATE_ID']));
          
         if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_CHANGE_PROFILE_TEMPLATE_NAME']))
          {
                  DEFINE('EMAIL_CHANGE_PROFILE_TEMPLATE_NAME',stripslashes($option_obj->get_option('EMAIL_CHANGE_PROFILE_TEMPLATE_NAME')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_CHANGE_PROFILE_TEMPLATE_NAME']=EMAIL_CHANGE_PROFILE_TEMPLATE_NAME;
          }
         else
           DEFINE('EMAIL_CHANGE_PROFILE_TEMPLATE_NAME',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_CHANGE_PROFILE_TEMPLATE_NAME']));
          
          if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED']))
          {
                  DEFINE('EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED',stripslashes($option_obj->get_option('EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED']=EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED;
          }
         else
           DEFINE('EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED']));
          
          if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_DAYS']))
          {
                  DEFINE('EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_DAYS',stripslashes($option_obj->get_option('EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_DAYS')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_DAYS']=EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_DAYS;
          }
         else
           DEFINE('EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_DAYS',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_DAYS']));
          
          if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_ID']))
          {
                  DEFINE('EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_ID',stripslashes($option_obj->get_option('EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_ID')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_ID']=EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_ID;
          }
         else
           DEFINE('EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_ID',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_ID']));
          
          
         if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_NAME']))
          {
                  DEFINE('EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_NAME',stripslashes($option_obj->get_option('EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_NAME')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_NAME']=EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_NAME;
          }
         else
           DEFINE('EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_NAME',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_NAME']));
          
         if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_FORGOT_PASSWORD']))
          {
                  DEFINE('EMAIL_FORGOT_PASSWORD',stripslashes($option_obj->get_option('EMAIL_FORGOT_PASSWORD')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_FORGOT_PASSWORD']=EMAIL_FORGOT_PASSWORD;
          }
         else
           DEFINE('EMAIL_FORGOT_PASSWORD',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_FORGOT_PASSWORD']));
          
         if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_FORGOT_PASSWORD_TEMPLATE_ID']))
          {
                  DEFINE('EMAIL_FORGOT_PASSWORD_TEMPLATE_ID',stripslashes($option_obj->get_option('EMAIL_FORGOT_PASSWORD_TEMPLATE_ID')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_FORGOT_PASSWORD_TEMPLATE_ID']=EMAIL_FORGOT_PASSWORD_TEMPLATE_ID;
          }
         else
           DEFINE('EMAIL_FORGOT_PASSWORD_TEMPLATE_ID',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_FORGOT_PASSWORD_TEMPLATE_ID']));
          
           if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_FORGOT_PASSWORD_TEMPLATE_NAME']))
          {
                  DEFINE('EMAIL_FORGOT_PASSWORD_TEMPLATE_NAME',stripslashes($option_obj->get_option('EMAIL_FORGOT_PASSWORD_TEMPLATE_NAME')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_FORGOT_PASSWORD_TEMPLATE_NAME']=EMAIL_FORGOT_PASSWORD_TEMPLATE_NAME;
          }
         else
           DEFINE('EMAIL_FORGOT_PASSWORD_TEMPLATE_NAME',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_FORGOT_PASSWORD_TEMPLATE_NAME']));
          
           if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_IS_EXPIRED']))
          {
                  DEFINE('EMAIL_SUBSCRIPTION_IS_EXPIRED',stripslashes($option_obj->get_option('EMAIL_SUBSCRIPTION_IS_EXPIRED')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_IS_EXPIRED']=EMAIL_SUBSCRIPTION_IS_EXPIRED;
          }
         else
           DEFINE('EMAIL_SUBSCRIPTION_IS_EXPIRED',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_IS_EXPIRED']));
          
           if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_IS_EXPIRED_DAYS']))
          {
                  DEFINE('EMAIL_SUBSCRIPTION_IS_EXPIRED_DAYS',stripslashes($option_obj->get_option('EMAIL_SUBSCRIPTION_IS_EXPIRED_DAYS')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_IS_EXPIRED_DAYS']=EMAIL_SUBSCRIPTION_IS_EXPIRED_DAYS;
          }
         else
           DEFINE('EMAIL_SUBSCRIPTION_IS_EXPIRED_DAYS',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_IS_EXPIRED_DAYS']));
          
                                                              
           if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_ID']))
          {
                  DEFINE('EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_ID',stripslashes($option_obj->get_option('EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_ID')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_ID']=EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_ID;
          }
         else
           DEFINE('EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_ID',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_ID']));
        
         if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_NAME']))
          {
                  DEFINE('EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_NAME',stripslashes($option_obj->get_option('EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_NAME')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_NAME']=EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_NAME;
          }
         else
           DEFINE('EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_NAME',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_NAME']));
          
         if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_PENDING']))
          {
                  DEFINE('EMAIL_PRODUCT_PAYMENT_PENDING',stripslashes($option_obj->get_option('EMAIL_PRODUCT_PAYMENT_PENDING')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_PENDING']=EMAIL_PRODUCT_PAYMENT_PENDING;
          }
         else
           DEFINE('EMAIL_PRODUCT_PAYMENT_PENDING',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_PENDING']));
          
         if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_PENDING_DAYS']))
          {
                  DEFINE('EMAIL_PRODUCT_PAYMENT_PENDING_DAYS',stripslashes($option_obj->get_option('EMAIL_PRODUCT_PAYMENT_PENDING_DAYS')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_PENDING_DAYS']=EMAIL_PRODUCT_PAYMENT_PENDING_DAYS;
          }
         else
           DEFINE('EMAIL_PRODUCT_PAYMENT_PENDING_DAYS',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_PENDING_DAYS']));
          
         if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_ID']))
          {
                  DEFINE('EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_ID',stripslashes($option_obj->get_option('EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_ID')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_ID']=EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_ID;
          }
         else
           DEFINE('EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_ID',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_ID']));
          
         if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_NAME']))
          {
                  DEFINE('EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_NAME',stripslashes($option_obj->get_option('EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_NAME')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_NAME']=EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_NAME;
          }
         else
           DEFINE('EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_NAME',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_NAME']));
          
           if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_FAILED']))
          {
                  DEFINE('EMAIL_PRODUCT_PAYMENT_FAILED',stripslashes($option_obj->get_option('EMAIL_PRODUCT_PAYMENT_FAILED')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_FAILED']=EMAIL_PRODUCT_PAYMENT_FAILED;
          }
         else
           DEFINE('EMAIL_PRODUCT_PAYMENT_FAILED',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_FAILED']));
          
           if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_FAILED_DAYS']))
          {
                  DEFINE('EMAIL_PRODUCT_PAYMENT_FAILED_DAYS',stripslashes($option_obj->get_option('EMAIL_PRODUCT_PAYMENT_FAILED_DAYS')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_FAILED_DAYS']=EMAIL_PRODUCT_PAYMENT_FAILED_DAYS;
          }
         else
           DEFINE('EMAIL_PRODUCT_PAYMENT_FAILED_DAYS',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_FAILED_DAYS']));
          
           if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_ID']))
          {
                  DEFINE('EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_ID',stripslashes($option_obj->get_option('EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_ID')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_ID']=EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_ID;
          }
         else
           DEFINE('EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_ID',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_ID']));
          
              
         if(!isset($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_NAME']))
          {
                  DEFINE('EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_NAME',stripslashes($option_obj->get_option('EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_NAME')));
                 $_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_NAME']=EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_NAME;
          }
         else
           DEFINE('EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_NAME',stripslashes($_SESSION[SESSION_PREFIX.'EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_NAME']));
          
              
        $smarty->assign  ('PHPMAILER_HOST',PHPMAILER_HOST);  

        $smarty->assign  ('PHPMAILER_SMTPAUTH',PHPMAILER_SMTPAUTH);  
         
        $smarty->assign  ('PHPMAILER_USERNAME',PHPMAILER_USERNAME);  
         
        $smarty->assign  ('PHPMAILER_PASSWORD',PHPMAILER_PASSWORD);  
         
        $smarty->assign  ('PHPMAILER_PORT',PHPMAILER_PORT);  
         
        $smarty->assign  ('PHPMAILER_EMAIL_FROM',PHPMAILER_EMAIL_FROM);
         
        $smarty->assign  ('PHPMAILER_EMAIL_FROM_NAME',PHPMAILER_EMAIL_FROM_NAME);  
         
        $smarty->assign  ('ADMINISTRATOR_EMAIL_ADDRESS',ADMINISTRATOR_EMAIL_ADDRESS);  
         
        $smarty->assign  ('SEND_EMAIL_METHOD',SEND_EMAIL_METHOD);  
         
        $smarty->assign  ('EMAIL_ACCOUNT_LOCKED',EMAIL_ACCOUNT_LOCKED);  

        $smarty->assign  ('EMAIL_ACCOUNT_LOCKED_TEMPLATE_ID',EMAIL_ACCOUNT_LOCKED_TEMPLATE_ID);  

        $smarty->assign  ('EMAIL_ACCOUNT_LOCKED_TEMPLATE_NAME',EMAIL_ACCOUNT_LOCKED_TEMPLATE_NAME);  

        $smarty->assign  ('EMAIL_PAYMENT_COMPLETED',EMAIL_PAYMENT_COMPLETED);  

        $smarty->assign  ('EMAIL_PAYMENT_COMPLETED_TEMPLATE_ID',EMAIL_PAYMENT_COMPLETED_TEMPLATE_ID);  

        $smarty->assign  ('EMAIL_PAYMENT_COMPLETED_TEMPLATE_NAME',EMAIL_PAYMENT_COMPLETED_TEMPLATE_NAME);  
          
        $smarty->assign  ('EMAIL_PRODUCT_SIGNUP',EMAIL_PRODUCT_SIGNUP);  
          
        $smarty->assign  ('EMAIL_PRODUCT_SIGNUP_DAYS',EMAIL_PRODUCT_SIGNUP_DAYS);  
          
        $smarty->assign  ('EMAIL_PRODUCT_SIGNUP_TEMPLATE_ID',EMAIL_PRODUCT_SIGNUP_TEMPLATE_ID);  
          
        $smarty->assign  ('EMAIL_PRODUCT_SIGNUP_TEMPLATE_NAME',EMAIL_PRODUCT_SIGNUP_TEMPLATE_NAME);  
          
        $smarty->assign  ('EMAIL_CHANGE_PROFILE',EMAIL_CHANGE_PROFILE);  
          
        $smarty->assign  ('EMAIL_CHANGE_PROFILE_TEMPLATE_ID',EMAIL_CHANGE_PROFILE_TEMPLATE_ID);  
          
        $smarty->assign  ('EMAIL_CHANGE_PROFILE_TEMPLATE_NAME',EMAIL_CHANGE_PROFILE_TEMPLATE_NAME);  
          
        $smarty->assign  ('EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED',EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED);  
          
        $smarty->assign  ('EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_DAYS',EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_DAYS);  
          
        $smarty->assign  ('EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_ID',EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_ID);  
          
        $smarty->assign  ('EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_NAME', EMAIL_SUBSCRIPTION_ABOUT_TO_EXPIRED_TEMPLATE_NAME);  
          
        $smarty->assign  ('EMAIL_FORGOT_PASSWORD',EMAIL_FORGOT_PASSWORD);  
          
        $smarty->assign  ('EMAIL_FORGOT_PASSWORD_TEMPLATE_ID',EMAIL_FORGOT_PASSWORD_TEMPLATE_ID);  
          
        $smarty->assign  ('EMAIL_FORGOT_PASSWORD_TEMPLATE_NAME',EMAIL_FORGOT_PASSWORD_TEMPLATE_NAME);  
          
        $smarty->assign  ('EMAIL_SUBSCRIPTION_IS_EXPIRED',EMAIL_SUBSCRIPTION_IS_EXPIRED);  
          
        $smarty->assign  ('EMAIL_SUBSCRIPTION_IS_EXPIRED_DAYS',EMAIL_SUBSCRIPTION_IS_EXPIRED_DAYS);  
          
        $smarty->assign  ('EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_ID',EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_ID);  
          
        $smarty->assign  ('EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_NAME',EMAIL_SUBSCRIPTION_IS_EXPIRED_TEMPLATE_NAME);  
          
        $smarty->assign  ('EMAIL_PRODUCT_PAYMENT_PENDING',EMAIL_PRODUCT_PAYMENT_PENDING);  
          
        $smarty->assign  ('EMAIL_PRODUCT_PAYMENT_PENDING_DAYS',EMAIL_PRODUCT_PAYMENT_PENDING_DAYS);  
          
        $smarty->assign  ('EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_ID',EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_ID);  
            
        $smarty->assign  ('EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_NAME',  EMAIL_PRODUCT_PAYMENT_PENDING_TEMPLATE_NAME);  
          
        $smarty->assign  ('EMAIL_PRODUCT_PAYMENT_FAILED',EMAIL_PRODUCT_PAYMENT_FAILED);  
          
        $smarty->assign  ('EMAIL_PRODUCT_PAYMENT_FAILED_DAYS',EMAIL_PRODUCT_PAYMENT_FAILED_DAYS);  
          
        $smarty->assign  ('EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_ID',EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_ID);  
          
        $smarty->assign  ('EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_NAME',EMAIL_PRODUCT_PAYMENT_FAILED_TEMPLATE_NAME);  
         
 ?>
Return current item: MembersGear