You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (isset($_GET['up_id']) && ((access::has("mod") && isset($_GET['stats'])) || (access::has("sadmin") && KOFRADIA_DEBUG)))
{
// forsøk å finn spilleren
$up = player::get((int) getval("up_id"));
if (!$up)
{
ess::$b->page->add_message("Fant ingen spiller med ID <u>".htmlspecialchars($_GET['up_id'])."</u>.", "error");
ess::$b->page->load();
}
redirect::store("poker?up_id=$up->id");
echo '
<p class="c">Du viser pokersiden som tilhører '.$up->profile_link().'.'.(!isset($_GET['stats']) ? '<br /><b>Viktig:</b> Utfordringer du gjør her vil bli gjort som denne spilleren, og ikke din egen.' : '').'</p>';