Location: PHPKode > projects > MembersGear > membersgear/admin/user_page_main.php
<?php
  require_once "../config/config.php";

    $USER_HEADER        =   $smarty->fetch('user_header.tpl');
    $USER_LEFTPANE      =   $smarty->fetch('user_leftpane.tpl');
    $USER_RIGHTPANE     =   $smarty->fetch('user_rightpane.tpl');     
    $USER_FOOTER        =   $smarty->fetch('user_footer.tpl');        

/*
    $ADMIN_HEADER       =   $smarty->fetch('admin_header.php');        
    $ADMIN_FOOTER       =   $smarty->fetch('admin_footer.php');  
*/
$contentfile = "user_content.txt";
$fh = fopen($contentfile, 'r');
$USER_CONTENT = fread($fh, filesize($contentfile));
fclose($fh);

/* 
    echo $USER_HEADER.'<br/>';
    echo $USER_LEFTPANE.'<br/>';
    echo $USER_RIGHTPANE.'<br/>';
    echo $USER_FOOTER;
*/


    $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('USER_CONTENT',     $USER_CONTENT); 
    
    $smarty->display('user_page_main.tpl');
 
?>
Return current item: MembersGear