Location: PHPKode > projects > MembersGear > membersgear/config/smarty_assign_and_log_settings.php
<?php
 
    require_once INCLUDE_DIR."/pages_class.php";
    $pages=new pages_class(); 
    DECRYPT_S_GET();

    $users_config = new users_class();   
    $users_config->Do_Global_Smarty_Assignment($users_config->UserID);


    $_action = (isset($_GET['action']) ? (($_GET['action']!='')?trim($_GET['action']):'view'): 'view') ;







    /* include user panel's and admin panel's palceholder */
    //$USER_HEADER        =   $smarty->fetch('user_header.tpl');
    //$USER_LEFTPANE      =   $smarty->fetch('user_leftpane.tpl');
    //$USER_RIGHTPANE     =   $smarty->fetch('user_rightpane.tpl');

    $smarty->assign('URL_apache_config',     WEB_URL); 

      // $MOD_DIR         =   $smarty->fetch('apache_modules_extensions_check_after_install.php'); 
    //   $smarty->assign('MOD_DIR',     $MOD_DIR); 

    $result=$pages->getTitleMataDescription();  
    if($result!=false and is_array($result))
    {
       define('PAGE_TITLE',$result[0]['title']);
       define('PAGE_META_KEYWORDS',$result[0]['metakeywords']);
       define('PAGE_META_DESCRIPTION',$result[0]['metadescription']);
    }
   else
    {
        define('PAGE_TITLE','');
        define('PAGE_META_KEYWORDS','');
        define('PAGE_META_DESCRIPTION','');
    } 
    
     $smarty->assign('PAGE_TITLE',      PAGE_TITLE); 
     $smarty->assign('PAGE_META_KEYWORDS',      PAGE_META_KEYWORDS); 
     $smarty->assign('PAGE_META_DESCRIPTION',      PAGE_META_DESCRIPTION); 
     
    
   // $USER_FOOTER        =   $smarty->fetch('user_footer.tpl');
    $ADMIN_HEADER       =   $smarty->fetch('admin_header.php');        
    $ADMIN_FOOTER       =   $smarty->fetch('admin_footer.php');         

  //  $smarty->assign('USER_HEADER',      $USER_HEADER);
   // $smarty->assign('USER_LEFTPANE',    $USER_LEFTPANE);
   // $smarty->assign('USER_RIGHTPANE',   $USER_RIGHTPANE);
   // $smarty->assign('USER_FOOTER',      $USER_FOOTER);      
    $smarty->assign('ADMIN_HEADER',     $ADMIN_HEADER);
    $smarty->assign('ADMIN_FOOTER',     $ADMIN_FOOTER);
        

        
        
     


        
    /********************************* Begin User Authentication Section*************************************/
    // Validate Users and Admin Logins


    //assign global user variables those will be used templates by membersite admin while creating pages or templates.
    //admins can use these variables in their pages or templates


                




    /********************************* End User Authentication Section*************************************/   
     
     require_once INCLUDE_DIR."/system_log_class.php";
     $objsystem_log_class=new system_log_class();
     $objsystem_log_class->insertToSystemLog();  
     
     require_once INCLUDE_DIR."/pages_class.php"; 
     $page = new pages_class();
     //print_r($page->GetSEODeails());
                     

?>
Return current item: MembersGear