Location: PHPKode > projects > MembersGear > membersgear/config/signup_form_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.'MEMBER_GENERATE_USERNAME']))
        {
          DEFINE('MEMBER_GENERATE_USERNAME',stripslashes($option_obj->get_option('MEMBER_GENERATE_USERNAME')));
          $_SESSION[SESSION_PREFIX.'MEMBER_GENERATE_USERNAME']=MEMBER_GENERATE_USERNAME;
         }
        else
          DEFINE('MEMBER_GENERATE_USERNAME',stripslashes($_SESSION[SESSION_PREFIX.'MEMBER_GENERATE_USERNAME']));

        if(!isset($_SESSION[SESSION_PREFIX.'MEMBER_GENERATE_USERNAME_PREFIX']))
        {
          DEFINE('MEMBER_GENERATE_USERNAME_PREFIX',stripslashes($option_obj->get_option('MEMBER_GENERATE_USERNAME_PREFIX')));
          $_SESSION[SESSION_PREFIX.'MEMBER_GENERATE_USERNAME_PREFIX']=MEMBER_GENERATE_USERNAME_PREFIX;
         }
        else
          DEFINE('MEMBER_GENERATE_USERNAME_PREFIX',stripslashes($_SESSION[SESSION_PREFIX.'MEMBER_GENERATE_USERNAME_PREFIX']));

         if(!isset($_SESSION[SESSION_PREFIX.'MEMBER_LOGIN_MIN_LENGTH']))
        {
          DEFINE('MEMBER_LOGIN_MIN_LENGTH',stripslashes($option_obj->get_option('MEMBER_LOGIN_MIN_LENGTH')));
          $_SESSION[SESSION_PREFIX.'MEMBER_LOGIN_MIN_LENGTH']=MEMBER_LOGIN_MIN_LENGTH;
         }
        else
          DEFINE('MEMBER_LOGIN_MIN_LENGTH',stripslashes($_SESSION[SESSION_PREFIX.'MEMBER_LOGIN_MIN_LENGTH']));

         if(!isset($_SESSION[SESSION_PREFIX.'MEMBER_LOGIN_MAX_LENGTH']))
        {
          DEFINE('MEMBER_LOGIN_MAX_LENGTH',stripslashes($option_obj->get_option('MEMBER_LOGIN_MAX_LENGTH')));
          $_SESSION[SESSION_PREFIX.'MEMBER_LOGIN_MAX_LENGTH']=MEMBER_LOGIN_MAX_LENGTH;
         }
        else
          DEFINE('MEMBER_LOGIN_MAX_LENGTH',stripslashes($_SESSION[SESSION_PREFIX.'MEMBER_LOGIN_MAX_LENGTH']));         
          
        if(!isset($_SESSION[SESSION_PREFIX.'MEMBER_GENERATE_PASSWORD']))
        {
          DEFINE('MEMBER_GENERATE_PASSWORD',stripslashes($option_obj->get_option('MEMBER_GENERATE_PASSWORD')));
          $_SESSION[SESSION_PREFIX.'MEMBER_GENERATE_PASSWORD']=MEMBER_GENERATE_PASSWORD;
         }
        else
          DEFINE('MEMBER_GENERATE_PASSWORD',stripslashes($_SESSION[SESSION_PREFIX.'MEMBER_GENERATE_PASSWORD']));

       
        if(!isset($_SESSION[SESSION_PREFIX.'MEMBER_PASSWORD_MIN_LENGTH']))
        {
          DEFINE('MEMBER_PASSWORD_MIN_LENGTH',stripslashes($option_obj->get_option('MEMBER_PASSWORD_MIN_LENGTH')));
          $_SESSION[SESSION_PREFIX.'MEMBER_PASSWORD_MIN_LENGTH']=MEMBER_PASSWORD_MIN_LENGTH;
         }
        else
          DEFINE('MEMBER_PASSWORD_MIN_LENGTH',stripslashes($_SESSION[SESSION_PREFIX.'MEMBER_PASSWORD_MIN_LENGTH']));

      
         if(!isset($_SESSION[SESSION_PREFIX.'MEMBER_PASSWORD_MAX_LENGTH']))
         {
          DEFINE('MEMBER_PASSWORD_MAX_LENGTH',stripslashes($option_obj->get_option('MEMBER_PASSWORD_MAX_LENGTH')));
          $_SESSION[SESSION_PREFIX.'MEMBER_PASSWORD_MAX_LENGTH']=MEMBER_PASSWORD_MAX_LENGTH;
          }
        else
          DEFINE('MEMBER_PASSWORD_MAX_LENGTH',stripslashes($_SESSION[SESSION_PREFIX.'MEMBER_PASSWORD_MAX_LENGTH']));

    
        if(!isset($_SESSION[SESSION_PREFIX.'MEMBER_UNIQUE_EMAIL']))
         {
          DEFINE('MEMBER_UNIQUE_EMAIL',stripslashes($option_obj->get_option('MEMBER_UNIQUE_EMAIL')));
          $_SESSION[SESSION_PREFIX.'MEMBER_UNIQUE_EMAIL']=MEMBER_UNIQUE_EMAIL;
          }
        else
          DEFINE('MEMBER_UNIQUE_EMAIL',stripslashes($_SESSION[SESSION_PREFIX.'MEMBER_UNIQUE_EMAIL']));

 
         if(!isset($_SESSION[SESSION_PREFIX.'MEMBER_USE_ADDRESS_INFO']))
         {
          DEFINE('MEMBER_USE_ADDRESS_INFO',stripslashes($option_obj->get_option('MEMBER_USE_ADDRESS_INFO')));
          $_SESSION[SESSION_PREFIX.'MEMBER_USE_ADDRESS_INFO']=MEMBER_USE_ADDRESS_INFO;
          }
        else
          DEFINE('MEMBER_USE_ADDRESS_INFO',stripslashes($_SESSION[SESSION_PREFIX.'MEMBER_USE_ADDRESS_INFO']));

 
         if(!isset($_SESSION[SESSION_PREFIX.'MEMBER_USE_VALIDATE_INFO']))
         {
           DEFINE('MEMBER_USE_VALIDATE_INFO',stripslashes($option_obj->get_option('MEMBER_USE_VALIDATE_INFO')));
           $_SESSION[SESSION_PREFIX.'MEMBER_USE_VALIDATE_INFO']=MEMBER_USE_VALIDATE_INFO;
          }
        else
          DEFINE('MEMBER_USE_VALIDATE_INFO',stripslashes($_SESSION[SESSION_PREFIX.'MEMBER_USE_VALIDATE_INFO']));
          
         
          /* Added By Asmita for Show price on signup page dropdown*/  
          if(!isset($_SESSION[SESSION_PREFIX.'MEMBER_SHOWPRICE_SIGNUP_PAGE']))
         {
           DEFINE('MEMBER_SHOWPRICE_SIGNUP_PAGE',stripslashes($option_obj->get_option('MEMBER_SHOWPRICE_SIGNUP_PAGE')));
           $_SESSION[SESSION_PREFIX.'MEMBER_SHOWPRICE_SIGNUP_PAGE']=MEMBER_SHOWPRICE_SIGNUP_PAGE;
          }
        else
          DEFINE('MEMBER_SHOWPRICE_SIGNUP_PAGE',stripslashes($_SESSION[SESSION_PREFIX.'MEMBER_SHOWPRICE_SIGNUP_PAGE']));
          
            /*------------------------ End -------------------------*/    
          if(!isset($_SESSION[SESSION_PREFIX.'MEMBER_SHOWPRICE_MEMBERDEFAULT_PAGE']))
         {
           DEFINE('MEMBER_SHOWPRICE_MEMBERDEFAULT_PAGE',stripslashes($option_obj->get_option('MEMBER_SHOWPRICE_MEMBERDEFAULT_PAGE')));
           $_SESSION[SESSION_PREFIX.'MEMBER_SHOWPRICE_MEMBERDEFAULT_PAGE']=MEMBER_SHOWPRICE_MEMBERDEFAULT_PAGE;
          }
        else
          DEFINE('MEMBER_SHOWPRICE_MEMBERDEFAULT_PAGE',stripslashes($_SESSION[SESSION_PREFIX.'MEMBER_SHOWPRICE_MEMBERDEFAULT_PAGE']));  
            
             

        if(!isset($_SESSION[SESSION_PREFIX.'MEMBER_USE_SUBSCRIBELINK']))
         {
           DEFINE('MEMBER_USE_SUBSCRIBELINK',stripslashes($option_obj->get_option('MEMBER_USE_SUBSCRIBELINK')));
           $_SESSION[SESSION_PREFIX.'MEMBER_USE_SUBSCRIBELINK']=MEMBER_USE_SUBSCRIBELINK;
          }
        else
          DEFINE('MEMBER_USE_SUBSCRIBELINK',stripslashes($_SESSION[SESSION_PREFIX.'MEMBER_USE_SUBSCRIBELINK']));

 
    
      
        $smarty->assign  ('MEMBER_GENERATE_USERNAME',MEMBER_GENERATE_USERNAME);
      
        $smarty->assign  ('MEMBER_GENERATE_USERNAME_PREFIX',MEMBER_GENERATE_USERNAME_PREFIX);
      
        $smarty->assign  ('MEMBER_LOGIN_MIN_LENGTH',MEMBER_LOGIN_MIN_LENGTH);
      
        $smarty->assign  ('MEMBER_LOGIN_MAX_LENGTH',MEMBER_LOGIN_MAX_LENGTH);   
      
        $smarty->assign  ('MEMBER_GENERATE_PASSWORD',MEMBER_GENERATE_PASSWORD);    
      
        $smarty->assign  ('MEMBER_PASSWORD_MIN_LENGTH',MEMBER_PASSWORD_MIN_LENGTH);
      
        $smarty->assign  ('MEMBER_PASSWORD_MAX_LENGTH',MEMBER_PASSWORD_MAX_LENGTH);
      
        $smarty->assign  ('MEMBER_USE_ADDRESS_INFO',MEMBER_USE_ADDRESS_INFO);
      
        $smarty->assign  ('MEMBER_UNIQUE_EMAIL',MEMBER_UNIQUE_EMAIL);
      
        //$smarty->assign  ('MEMBER_CURRENCY',$curr);
      
        $smarty->assign  ('MEMBER_USE_VALIDATE_INFO',MEMBER_USE_VALIDATE_INFO);
        
        $smarty->assign  ('MEMBER_SHOWPRICE_SIGNUP_PAGE',MEMBER_SHOWPRICE_SIGNUP_PAGE);
        
        $smarty->assign  ('MEMBER_SHOWPRICE_MEMBERDEFAULT_PAGE',MEMBER_SHOWPRICE_MEMBERDEFAULT_PAGE);
        
      
        $smarty->assign  ('MEMBER_USE_SUBSCRIBELINK',MEMBER_USE_SUBSCRIBELINK);

?>
Return current item: MembersGear