Verfasst: 07.09.2003 11:04
immer noch nicht 
function jr_admin_make_admin_link()
{
global $lang, $userdata;
$jr_admin_userdata = jr_admin_get_user_info($userdata['user_id']);
if ($userdata['user_level'] == ADMIN && $userdata['user_id'] == ID)
{
echo '<a href="admin/index.php?sid=' . $userdata['session_id'] . '" target="_blank">' . $lang['Admin_panel'] . '</a><br /><br />';
}
elseif (!empty($jr_admin_userdata['user_jr_admin']) || $userdata['user_level'] == ADMIN)
{
echo '<a href="admin/index.php?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />';
}
}
function jr_admin_make_admin_link()
{
global $lang, $userdata, $phpEx;
$jr_admin_userdata = jr_admin_get_user_info($userdata['user_id']);
if ($userdata['user_level'] == ADMIN && $userdata['user_id'] == ID)
{
return '<a target="_blank" href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />';
}
elseif (!empty($jr_admin_userdata['user_jr_admin']) || $userdata['user_level'] == ADMIN)
{
return '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />';
}
else
{
return '';
}
}
Schon immerDave hat geschrieben:Seit wann hat der Admin (der ACC den man beim installieren des Forums nimmt die ID 2????)