Ищем(283):
Код: Выделить всё
function show_the_page()
{
global $template, $lang, $db, $SID, $nav_links, $phpEx, $phpbb_root_path, $theme, $images, $date_formats, $lastpostby_formats, $bullets, $board_config, $full_url;
Код: Выделить всё
function show_the_page()
{
global $userdata, $template, $lang, $db, $SID, $nav_links, $phpEx, $phpbb_root_path, $theme, $images, $date_formats, $lastpostby_formats, $bullets, $board_config, $full_url;
Код: Выделить всё
$userdata = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
$auth_ary = auth(AUTH_READ, AUTH_LIST_ALL, $userdata);
Код: Выделить всё
$userdata2 = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
$auth_ary = auth(AUTH_READ, AUTH_LIST_ALL, $userdata2);