assign( 'PHPSayConfig', $PHPSayConfig ); $template->assign( 'loginInfo', $loginInfo ); $template->assign( 'headerNavi', "" ); $template->assign( 'listType', $listType ); $DB = database(); $template->assign( 'favoriteNumber', PHPSay::getUserFavoriteNumber($DB,$loginInfo['uid']) ); $template->assign( 'notificationNumber', PHPSay::getUnreadNotificationNumber($DB,$loginInfo['uid']) ); $template->assign( 'memberBalance', PHPSay::getMemberBalance($DB,$loginInfo['uid']) ); $template->assign( 'postList', PHPSay::searchPost($DB,$listType,"",$currentPage,30) ); $DB->close(); $template->output(); } ?>