} } /** * Hent liste over alle Hall of Fame for visning */ public static function get_all_status() { return self::$data; } /** * Generer html for subjekt */ public static function get_subject_html($name, $data) { switch ($name) { case "rank": case "cash_num": return '<user id="' . $data . '" />'; case "rank_kill": return '<user id="' . $data['up_attacker'] . '" />'; case "familie": case "familie_rank": return '<a href="' . ess::$s['rpath'] . '/ff/?ff_id=' . $data['ff_id'] . '">' . htmlspecialchars($data['ff_name']) . '</a>'; case "ff_owner": return '<user id="' . $data['up_id'] . '" />'; } throw new HSException("Ukjent type."); } } hall_of_fame::cache_load();