Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Cs monitorius

Parašė kw220· 2010 Rugp. 17 19:08:05
#3

if ($players) {
         sort($players, SORT_NUMERIC);
      }
      $clients = count($players)-1;
      $player_place = 1; $tmp = "";
      while ($clients != -1) {
         list ($cache[$player_place], $player[$player_place]) = split ("\"", $players[$clients]);
         list ($frags[$player_place], $time[$player_place]) =  split(" ", $cache[$player_place]);
         $player_name = $player[$player_place];
         $player_time = $time[$player_place];
         $player_frags = $frags[$player_place];
         if ($dis_info != "pnl") {
            include $skin."cs.php";
            $tmp .= $cs_players;
         } else {
            include $skin."pnl.php";
            $tmp .= $pnl_players;
         }
         $clients--;
         $player_place++;
      }