Location: PHPKode > projects > MembersGear > membersgear/installation/next_step.php
<?php
   
   require_once "config/config.php";  
  
    if(!isset($_SESSION['PAYGEAR_INSTALLATION']))
       {  
         redirect("paygear_configuration_generate.php"); 
         exit();
       }
       
       
     $plitedvalueSignup=explode("=",$file_array[1]);    
     if(isset($_SESSION['PAYGEAR_INSTALLATION']) and !isset($_SESSION['GLOBAL_INSTALLATION']))
       {
         $mgs="<font color='#908F0B'>Step 1.&nbsp;</font>&nbsp;PayGear Credentials setup is completed successfully.<br><hr>";
         $smarty_installation->assign('msg',$mgs);
         $mgsheading="Step 2";
         $url="signup_global_configuration.php";  
         $smarty_installation->assign('url',$url);
         $smarty_installation->assign('msg',$mgs);
         $smarty_installation->assign('heading',$mgsheading);
         $smarty_installation->display('installation_nextstep.tpl'); 
          exit();
       }
     
     if(isset($_SESSION['PAYGEAR_INSTALLATION']) and isset($_SESSION['GLOBAL_INSTALLATION']) and !isset($_SESSION['EMAIL_INSTALLATION']))
       {
         $mgs="<font color='#908F0B'>Step 1.&nbsp;</font>&nbsp;PayGear Credentials setup is completed successfully.<hr><br><br><font color='#908F0B'>Step 2.&nbsp;</font>&nbsp;Signup and Global Configuration setup is completed successfully.<br><hr>";
         $smarty_installation->assign('msg',$mgs);
         $mgsheading="Step 3";
         $url="configuration_email.php";  
         $smarty_installation->assign('url',$url);
         $smarty_installation->assign('msg',$mgs);
         $smarty_installation->assign('heading',$mgsheading);
         $smarty_installation->display('installation_nextstep.tpl'); 
          exit();
       }  
       
     
     if(isset($_SESSION['PAYGEAR_INSTALLATION']) and isset($_SESSION['GLOBAL_INSTALLATION']) and isset($_SESSION['EMAIL_INSTALLATION']) and !isset($_SESSION['VALIDATE_MEMBER_SITE']))   
      {
          $mgs="<font color='#908F0B'>Step 1.&nbsp;</font>&nbsp;PayGear Credentials setup is completed successfully.<hr><br><br><font color='#908F0B'>Step 2.&nbsp;</font>&nbsp;Signup and Global Configuration setup is completed successfully.<br><hr><br><br><font color='#908F0B'>Step 3.&nbsp;</font>&nbsp;Email System Configuration is completed successfully.<br><hr>";
          $smarty_installation->assign('msg',$mgs);
          $mgsheading="Step 4";
          $url="validate_member_site.php";  
          $smarty_installation->assign('url',$url);
          $smarty_installation->assign('msg',$mgs);
          $smarty_installation->assign('heading',$mgsheading);
          $smarty_installation->display('installation_nextstep.tpl'); 
          exit();
       }  
     
    if(isset($_SESSION['PAYGEAR_INSTALLATION']) and isset($_SESSION['GLOBAL_INSTALLATION']) and isset($_SESSION['EMAIL_INSTALLATION']) and isset($_SESSION['VALIDATE_MEMBER_SITE']) and !isset($_SESSION['DATABASE_INSTALLATION']))   
       {
           
             $mgs="<font color='#908F0B'>Step 1.&nbsp;</font>&nbsp;PayGear Credentials setup is completed successfully.<hr><br><br><font color='#908F0B'>Step 2.&nbsp;</font>&nbsp;Signup and Global Configuration setup is completed successfully.<br><hr><br><br><font color='#908F0B'>Step 3.&nbsp;</font>&nbsp;Email System Configuration is completed successfully.<br><hr><br><br><font color='#908F0B'>&nbsp;Step 4.</font>&nbsp;Validation of your MembersGear site by PayGear.com is completed successfully.<br><hr>";
             $smarty_installation->assign('msg',$mgs);
             $mgsheading="Step 5";
             $url="database_settings.php";  
             $smarty_installation->assign('url',$url);
             $smarty_installation->assign('msg',$mgs);
             $smarty_installation->assign('heading',$mgsheading);
             $smarty_installation->display('installation_nextstep.tpl');
              exit(); 
       }
     
      if(isset($_SESSION['PAYGEAR_INSTALLATION']) and isset($_SESSION['GLOBAL_INSTALLATION']) and isset($_SESSION['EMAIL_INSTALLATION']) and isset($_SESSION['VALIDATE_MEMBER_SITE']) and isset($_SESSION['DATABASE_INSTALLATION']) and !isset($_SESSION['DEFAULT_ADMIN_INSTALLATION']))   
       {
           $mgs="<font color='#908F0B'>Step 1.&nbsp;</font>&nbsp;PayGear Credentials setup is completed successfully.<hr><br><br><font color='#908F0B'>Step 2.&nbsp;</font>&nbsp;Signup and Global Configuration setup is completed successfully.<br><hr><br><br><font color='#908F0B'>Step 3.&nbsp;</font>&nbsp;Email System Configuration is completed successfully.<br><hr><br><br><font color='#908F0B'>Step 4.&nbsp;</font>&nbsp;Website validation on PayGear.com is completed successfully.<br><hr><br><br><font color='#908F0B'>Step 5.&nbsp;</font>&nbsp;Database for MembersGear is installed successfully.<br><hr>";
           $smarty_installation->assign('msg',$mgs);
           $mgsheading="Step 6";
           $url="default_admin_setup.php";  
           $smarty_installation->assign('url',$url);
           $smarty_installation->assign('msg',$mgs);
           $smarty_installation->assign('heading',$mgsheading);
           $smarty_installation->display('installation_nextstep.tpl');
           exit(); 
       }
     
      if(isset($_SESSION['PAYGEAR_INSTALLATION']) and isset($_SESSION['GLOBAL_INSTALLATION']) and isset($_SESSION['EMAIL_INSTALLATION']) and isset($_SESSION['VALIDATE_MEMBER_SITE']) and isset($_SESSION['DATABASE_INSTALLATION']) and isset($_SESSION['DEFAULT_ADMIN_INSTALLATION']) and !isset($_SESSION['INSTALLATION_SUCC']))   
       {
           
             $_SESSION['INSTALLATION_SUCC']='done'; 
             $mgs="<font color='#908F0B'>Step 1.&nbsp;</font>&nbsp;PayGear Credentials setup is completed successfully.<hr><br><br><font color='#908F0B'>Step 2.&nbsp;</font>&nbsp;Signup and Global Configuration setup is completed successfully.<br><hr><br><br><font color='#908F0B'>Step 3.&nbsp;</font>&nbsp;Email System Configuration is completed successfully.<br><hr><br><br><font color='#908F0B'>&nbsp;Step 4.</font>&nbsp;Website validation on PayGear.com is completed successfully.<br><hr><br><br><font color='#908F0B'>&nbsp;Step 5.</font>&nbsp;Database and session setup is completed successfully.<br><hr><br><br><font color='#908F0B'>Step 6.&nbsp;</font>&nbsp;Default administrator of your membersite is successfully created.<br><hr>";                                                                                   
             $adminurl=WEB_URL_INSTALLATION."/admin/admin_login.php";
             $smarty_installation->assign('adminUrl',$adminurl);
             $smarty_installation->assign('msg',$mgs);
             $smarty_installation->display('installation_success.tpl'); 
             exit();
          
              
       }
       
     if(isset($_SESSION['PAYGEAR_INSTALLATION']) and isset($_SESSION['GLOBAL_INSTALLATION']) and isset($_SESSION['EMAIL_INSTALLATION']) and isset($_SESSION['VALIDATE_MEMBER_SITE']) and isset($_SESSION['DATABASE_INSTALLATION']) and isset($_SESSION['DEFAULT_ADMIN_INSTALLATION']) and isset($_SESSION['INSTALLATION_SUCC']))   
      {
           $mgs="<font color='#908F0B'>Step 1.&nbsp;</font>&nbsp;PayGear Credentials setup is completed successfully.<hr><br><br><font color='#908F0B'>Step 2.&nbsp;</font>&nbsp;Signup and Global Configuration setup is completed successfully.<br><hr><br><br><font color='#908F0B'>Step 3.&nbsp;</font>&nbsp;Email System Configuration is completed successfully.<br><hr><br><br><font color='#908F0B'>Step 4.&nbsp;</font>&nbsp;Website validation on PayGear.com is completed successfully.<br><hr><br><br><font color='#908F0B'>Step 5.&nbsp;</font>&nbsp;Database and session setup is completed successfully.<br><hr><br><br><font color='#908F0B'>Step 6.&nbsp;</font>&nbsp;Default administrator of your membersite is successfully created.<br><hr>";                                                                                   
          
           
           $adminurl=WEB_URL_INSTALLATION."/admin/admin_login.php";
           $smarty_installation->assign('adminUrl',$adminurl);
           $smarty_installation->assign('msg',$mgs);
           $smarty_installation->display('installation_success.tpl'); 
           exit();
      }
          

    
  
?>
Return current item: MembersGear