https://www.icyphoenix.com/viewtopic.php?f=35&t=5001&p=33792#p33792 ----------------------------------- Limun Thu 13 Nov, 2008 19:19 Re: New Blocks? ----------------------------------- [quote user="New Player" post="33791"][quote] see pic - i dont see some things (i copyed code for block from index_body.tpl) [/quote] and you must copy the sql query's from the index.php for the blocks no query - no results[/quote] how , any idea :oops: btw i created this blocks_imp_gearhead.php in blocks [spoiler]assign_vars(array( ) ); } } imp_gearhead_func(); ?> [/spoiler] and gearhead_block.tpl in templatesmg_themesblocks [spoiler]
{IMG_THL}{IMG_THC}{L_HIDE}{L_WHO_IS_ONLINE}{IMG_THR}
{L_WELCOME}
{USER_NAME}

{AVATAR_IMG}
{L_ONLINE_EXPLAIN}
{TOTAL_USERS_ONLINE}
{LOGGED_IN_USER_LIST}
{BOT_LIST}
{AC_LIST_TEXT} {AC_LIST} [ {L_AJAX_SHOUTBOX} ]
{L_Online_today}
{L_USERS_TODAY} {L_USERS_LASTHOUR}
{ADMINS_TODAY_LIST}
{MODS_TODAY_LIST}
{USERS_TODAY_LIST}
{L_LEGEND}: {GROUPS_LIST_LEGEND}
{IMG_TFL}{IMG_TFC}{IMG_TFR}
{IMG_THL}{IMG_THC}{L_HIDE}{L_STATISTICS}{IMG_THR}
{TOTAL_POSTS}
{TOTAL_USERS}
{NEWEST_USER}
{RECORD_USERS}
{L_RECENT_TOPICS}: | {recent_topic_row.L_TITLE} | 
{L_RANDOMQUOTE}: {RANDOM_QUOTE}
{L_TOP_POSTERS}: {TOP_POSTERS}
{IMG_TFL}{IMG_TFC}{IMG_TFR}
[/spoiler]