Frags list web tfs 1.x

dervin13

Excellent OT User
Joined
Apr 26, 2008
Messages
436
Reaction score
16
Is it possible to transform this frag list into tfs 1.x? I already search a lot in the forum and didn't find any frag list to new tfs

thanks

PHP:
        //frags list by Xampy
        $i = 0;
        $frags_limit = 10; // frags limit to show? // default: 10
            $player_frags = $db->query("SELECT `pd`.`time`, `pd`.`level`, `pd`.`unjustified`, `pd`.`mostdamage_by`, `pd`.`mostdamage_unjustified`, `p`.`name` FROM `player_deaths` AS `pd` INNER JOIN `players` AS `p` ON `pd`.`player_id`=`p`.`id` WHERE `pd`.`killed_by` = '". $frag['name'] ."' ORDER BY `pd`.`time` DESC LIMIT 10;");
            if(count($player_frags))
        {
            $row_count = 0;
            foreach($player_frags as $frag)
            {
                $description = 'Fragged <a href="' . getPlayerLink($frag['name'], false) . '">' . $frag['name'] . '</a> at level ' . $frag['level'];
                $frags[] = array('time' => $frag['date'], 'description' => $description, 'unjustified' => $frag['unjustified'] != 0);
            }
        }
    }
 
Top