Start of pallet

This commit is contained in:
Ice
2008-09-28 22:59:25 +00:00
parent b4c27b2f0d
commit b800ee0c96
41 changed files with 1190 additions and 854 deletions

View File

@@ -40,8 +40,18 @@ while( ($row = $db->sql_fetchrow($result)) && ($row['username']) )
}
$db->sql_freeresult($result);
$template->assign_vars(array(
'S_DISPLAY_TOP_POSTERS' => true
));
if (!isset($template->filename['top_posters_block']))
{
$template->set_filenames(array(
'top_posters_block' => 'portal/block/top_poster.html')
);
}
$block_temp = $template->assign_display('top_posters_block');
$template->assign_block_vars('portal_column_'.$block_pos, array(
'BLOCK_DATA' => $block_temp)
);
unset( $block_temp );
?>