. USERS_TABLE . "
WHERE user_birthday LIKE '" . $db->sql_escape(sprintf('%2d-%2d-', $now['mday'], $now['mon'])) . "%'
AND user_type IN (" . USER_NORMAL . ', ' . USER_FOUNDER . ')';
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result))
{
$birthday_list .= (($birthday_list != '') ? ', ' : '') . get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']);
if ($age = (int) substr($row['user_birthday'], -4))
{
$birthday_list .= ' (' . ($now['year'] - $age) . ')';
}
}
$db->sql_freeresult($result);
}
// Assign index specific vars
$template->assign_vars(array(
'TOTAL_POSTS' => sprintf($user->lang[$l_total_post_s], $total_posts),
'TOTAL_TOPICS' => sprintf($user->lang[$l_total_topic_s], $total_topics),
'TOTAL_USERS' => sprintf($user->lang[$l_total_user_s], $total_users),
'NEWEST_USER' => sprintf($user->lang['NEWEST_USER'], get_username_string('full', $config['newest_user_id'], $config['newest_username'], $config['newest_user_colour'])),
'LEGEND' => $legend,
'BIRTHDAY_LIST' => $birthday_list,
'FORUM_IMG' => $user->img('forum_read', 'NO_NEW_POSTS'),
'FORUM_NEW_IMG' => $user->img('forum_unread', 'NEW_POSTS'),
'FORUM_LOCKED_IMG' => $user->img('forum_read_locked', 'NO_NEW_POSTS_LOCKED'),
'FORUM_NEW_LOCKED_IMG' => $user->img('forum_unread_locked', 'NO_NEW_POSTS_LOCKED'),
'S_LOGIN_ACTION' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login'),
'S_DISPLAY_BIRTHDAY_LIST' => ($config['load_birthdays']) ? true : false,
'U_MARK_FORUMS' => ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'hash=' . generate_link_hash('global') . '&mark=forums') : '',
'U_MCP' => ($auth->acl_get('m_') || $auth->acl_getf_global('m_')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main&mode=front', true, $user->session_id) : '')
);
// Output page
page_header($user->lang['INDEX']);
$template->set_filenames(array(
'body' => 'index_body.html')
);
page_footer();
?>[phpBB Debug] PHP Notice: in file /includes/session.php on line 990: Cannot modify header information - headers already sent by (output started at /index.php:8)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 990: Cannot modify header information - headers already sent by (output started at /index.php:8)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 990: Cannot modify header information - headers already sent by (output started at /index.php:8)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3760: Cannot modify header information - headers already sent by (output started at /index.php:8)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3762: Cannot modify header information - headers already sent by (output started at /index.php:8)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3763: Cannot modify header information - headers already sent by (output started at /index.php:8)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3764: Cannot modify header information - headers already sent by (output started at /index.php:8)
|
All times are UTC - 7 hours |
| Forum | Topics | Posts | Last post | |
|---|---|---|---|---|
| Khapra | 59170 |
80942 |
Fri Feb 05, 2010 8:38 am |
|
|
All times are UTC - 7 hours |
Who is online |
|
![]() |
In total there are 4 users online :: 1 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes) Most users ever online was 66 on Tue Jan 26, 2010 2:08 pm Registered users: Google [Bot] |
| Legend :: Administrators, Global moderators | |
Birthdays |
|
![]() |
Congratulations to: exommople (49), Fatalistimo (48), almonieno (47), irralttulam (47), HypepataLal (46), engeglikighewkle (43), ZoorZetskak (43), Ronthathbyday (42), SveTka_On (41), MarinaVarino (41), Leeling (41), Diftigh nug (40), xXMustBeKnowXx (38), awalkwagsuigh (35), JannetFiveX (30), zerequicerire (30), JackBrownHetGyeyiwhf (28), anissegrayel (28), Amiliariks (28), advapslashy (27), FrotdrotT (26), Arrofffaish (24), musauteteesmhjrt (24), pafCrurnkaferf (23), turatraidly (23), babjoulpvioli (23), cooguenny (23), ankkaeyrau (22), Lewis-grand (22) |
Statistics |
|
![]() |
Total posts 80200 | Total topics 58661 | Total members 21663 | Our newest member worldpillphp |
| New posts | No new posts | Forum locked |