info['mod_cache']) && $user_info['mod_cache']['bq'] != '0=1',
),
'poststopics' => array(
'title' => $txt['mc_unapproved_poststopics'],
'href' => $scripturl . '?action=moderate;area=postmod;sa=posts',
'show' => $modSettings['postmod_active'] && !empty($user_info['mod_cache']['ap']),
),
'attachments' => array(
'title' => $txt['mc_unapproved_attachments'],
'href' => $scripturl . '?action=moderate;area=attachmod;sa=attachments',
'show' => $modSettings['postmod_active'] && !empty($user_info['mod_cache']['ap']),
),
'reports' => array(
'title' => $txt['mc_reported_posts'],
'href' => $scripturl . '?action=moderate;area=reports',
'show' => !empty($user_info['mod_cache']) && $user_info['mod_cache']['bq'] != '0=1',
'is_last' => true,
),
),
),
'profile' => array(
'title' => $txt['profile'],
'href' => $scripturl . '?action=profile',
'show' => $context['allow_edit_profile'],
'sub_buttons' => array(
'summary' => array(
'title' => $txt['summary'],
'href' => $scripturl . '?action=profile',
'show' => true,
),
'account' => array(
'title' => $txt['account'],
'href' => $scripturl . '?action=profile;area=account',
'show' => allowedTo(array('profile_identity_any', 'profile_identity_own', 'manage_membergroups')),
),
'profile' => array(
'title' => $txt['forumprofile'],
'href' => $scripturl . '?action=profile;area=forumprofile',
'show' => allowedTo(array('profile_extra_any', 'profile_extra_own')),
'is_last' => true,
),
),
),
'pm' => array(
'title' => $txt['pm_short'],
'href' => $scripturl . '?action=pm',
'show' => $context['allow_pm'],
'sub_buttons' => array(
'pm_read' => array(
'title' => $txt['pm_menu_read'],
'href' => $scripturl . '?action=pm',
'show' => allowedTo('pm_read'),
),
'pm_send' => array(
'title' => $txt['pm_menu_send'],
'href' => $scripturl . '?action=pm;sa=send',
'show' => allowedTo('pm_send'),
'is_last' => true,
),
),
),
'calendar' => array(
'title' => $txt['calendar'],
'href' => $scripturl . '?action=calendar',
'show' => $context['allow_calendar'],
'sub_buttons' => array(
'view' => array(
'title' => $txt['calendar_menu'],
'href' => $scripturl . '?action=calendar',
'show' => allowedTo('calendar_post'),
),
'post' => array(
'title' => $txt['calendar_post_event'],
'href' => $scripturl . '?action=calendar;sa=post',
'show' => allowedTo('calendar_post'),
'is_last' => true,
),
),
),
'mlist' => array(
'title' => $txt['members_title'],
'href' => $scripturl . '?action=mlist',
'show' => $context['allow_memberlist'],
'sub_buttons' => array(
'mlist_view' => array(
'title' => $txt['mlist_menu_view'],
'href' => $scripturl . '?action=mlist',
'show' => true,
),
'mlist_search' => array(
'title' => $txt['mlist_search'],
'href' => $scripturl . '?action=mlist;sa=search',
'show' => true,
'is_last' => true,
),
),
),
'login' => array(
'title' => $txt['login'],
'href' => $scripturl . '?action=login',
'show' => $user_info['is_guest'],
'sub_buttons' => array(
),
),
'register' => array(
'title' => $txt['register'],
'href' => $scripturl . '?action=register',
'show' => $user_info['is_guest'],
'sub_buttons' => array(
),
'is_last' => !$context['right_to_left'],
),
'logout' => array(
'title' => $txt['logout'],
'href' => $scripturl . '?action=logout;%1$s=%2$s',
'show' => !$user_info['is_guest'],
'sub_buttons' => array(
),
'is_last' => !$context['right_to_left'],
),
);
// Allow editing menu buttons easily.
call_integration_hook('integrate_menu_buttons', array(&$buttons));
// Now we put the buttons in the context so the theme can use them.
$menu_buttons = array();
foreach ($buttons as $act => $button)
if (!empty($button['show']))
{
$button['active_button'] = false;
// Make sure the last button truely is the last button.
if (!empty($button['is_last']))
{
if (isset($last_button))
unset($menu_buttons[$last_button]['is_last']);
$last_button = $act;
}
// Go through the sub buttons if there are any.
if (!empty($button['sub_buttons']))
foreach ($button['sub_buttons'] as $key => $subbutton)
{
if (empty($subbutton['show']))
unset($button['sub_buttons'][$key]);
// 2nd level sub buttons next...
if (!empty($subbutton['sub_buttons']))
{
foreach ($subbutton['sub_buttons'] as $key2 => $sub_button2)
{
if (empty($sub_button2['show']))
unset($button['sub_buttons'][$key]['sub_buttons'][$key2]);
}
}
}
$menu_buttons[$act] = $button;
}
if (!empty($modSettings['cache_enable']) && $modSettings['cache_enable'] >= 2)
cache_put_data('menu_buttons-' . implode('_', $user_info['groups']) . '-' . $user_info['language'], $menu_buttons, $cacheTime);
}
// Allow editing dynamic buttons easily.
call_integration_hook('integrate_dynamic_buttons', array(&$menu_buttons));
$context['menu_buttons'] = $menu_buttons;
// Logging out requires the session id in the url.
if (isset($context['menu_buttons']['logout']))
$context['menu_buttons']['logout']['href'] = sprintf($context['menu_buttons']['logout']['href'], $context['session_var'], $context['session_id']);
// Figure out which action we are doing so we can set the active tab.
// Default to home.
$current_action = 'home';
if (isset($context['menu_buttons'][$context['current_action']]))
$current_action = $context['current_action'];
elseif ($context['current_action'] == 'search2')
$current_action = 'search';
elseif ($context['current_action'] == 'theme')
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';
elseif ($context['current_action'] == 'register2')
$current_action = 'register';
elseif ($context['current_action'] == 'login2' || ($user_info['is_guest'] && $context['current_action'] == 'reminder'))
$current_action = 'login';
elseif ($context['current_action'] == 'groups' && $context['allow_moderation_center'])
$current_action = 'moderate';
$context['menu_buttons'][$current_action]['active_button'] = true;
if (!$user_info['is_guest'] && $context['user']['unread_messages'] > 0 && isset($context['menu_buttons']['pm']))
{
$context['menu_buttons']['pm']['alttitle'] = $context['menu_buttons']['pm']['title'] . ' [' . $context['user']['unread_messages'] . ']';
$context['menu_buttons']['pm']['title'] .= ' [' . $context['user']['unread_messages'] . ']';
}
}
// Generate a random seed and ensure it's stored in settings.
function smf_seed_generator()
{
global $modSettings;
// Never existed?
if (empty($modSettings['rand_seed']))
{
$modSettings['rand_seed'] = microtime() * 1000000;
updateSettings(array('rand_seed' => $modSettings['rand_seed']));
}
if (@version_compare(PHP_VERSION, '4.2.0') == -1)
{
$seed = ($modSettings['rand_seed'] + ((double) microtime() * 1000003)) & 0x7fffffff;
mt_srand($seed);
}
// Change the seed.
updateSettings(array('rand_seed' => mt_rand()));
}
// Process functions of an integration hook.
function call_integration_hook($hook, $parameters = array())
{
global $modSettings;
$results = array();
if (empty($modSettings[$hook]))
return $results;
$functions = explode(',', $modSettings[$hook]);
// Loop through each function.
foreach ($functions as $function)
{
$function = trim($function);
$call = strpos($function, '::') !== false ? explode('::', $function) : $function;
// Is it valid?
if (is_callable($call))
$results[$function] = call_user_func_array($call, $parameters);
}
return $results;
}
// Add a function for integration hook.
function add_integration_function($hook, $function, $permanent = true)
{
global $smcFunc, $modSettings;
// Is it going to be permanent?
if ($permanent)
{
$request = $smcFunc['db_query']('', '
SELECT value
FROM {db_prefix}settings
WHERE variable = {string:variable}',
array(
'variable' => $hook,
)
);
list($current_functions) = $smcFunc['db_fetch_row']($request);
$smcFunc['db_free_result']($request);
if (!empty($current_functions))
{
$current_functions = explode(',', $current_functions);
if (in_array($function, $current_functions))
return;
$permanent_functions = array_merge($current_functions, array($function));
}
else
$permanent_functions = array($function);
updateSettings(array($hook => implode(',', $permanent_functions)));
}
// Make current function list usable.
$functions = empty($modSettings[$hook]) ? array() : explode(',', $modSettings[$hook]);
// Do nothing, if it's already there.
if (in_array($function, $functions))
return;
$functions[] = $function;
$modSettings[$hook] = implode(',', $functions);
}
// Remove an integration hook function.
function remove_integration_function($hook, $function)
{
global $smcFunc, $modSettings;
// Get the permanent functions.
$request = $smcFunc['db_query']('', '
SELECT value
FROM {db_prefix}settings
WHERE variable = {string:variable}',
array(
'variable' => $hook,
)
);
list($current_functions) = $smcFunc['db_fetch_row']($request);
$smcFunc['db_free_result']($request);
if (!empty($current_functions))
{
$current_functions = explode(',', $current_functions);
if (in_array($function, $current_functions))
updateSettings(array($hook => implode(',', array_diff($current_functions, array($function)))));
}
// Turn the function list into something usable.
$functions = empty($modSettings[$hook]) ? array() : explode(',', $modSettings[$hook]);
// You can only remove it if it's available.
if (!in_array($function, $functions))
return;
$functions = array_diff($functions, array($function));
$modSettings[$hook] = implode(',', $functions);
}
?>
Resident Evil Retrospective
resident evil
|
|
biohazard
|
|
biohazard
|
|
|

Resident Evil pur auf GameTrailers.com .
Mit Resident Evil Retrospective wird die Resident Evil Welt
um wertvolle Videos bereichert.
Zu sehen sind einzelne Ausschnitte aus den Teilen, die vom GT-Team
kommentiert werden.
Wir, das REC - Team halten das Projekt für sehr gelungen
und verschaffen euch die Möglichkeit Problemlos von Resident
Evil City auf die einzelnen Episoden zugreifen zu können.
Einfach auf die buttons [erstellt von gametrailers.com] klicken und
Genießen, viel Spaß dabei wünscht euch das
Resident Evil City Team.

|
 |
|
|
|
|
|
|
|
|
biohazard

 |
2012 |
 |
20.03.2012 |
 |
20.03.2012 |


 |
20.11.2012 |
 |
20.11.2012 |
 |
20.11.2012 |
|
|
|
|
|
|
|