'; $name = $stats->get('player', 'name'); // Rankinfo $rankicon = $stats->get('player', 'rank', Array('rankicon', 'rank', 'medium')); $rankinfo = $stats->get('player', 'rank', Array('rankicon', 'progress_detail')); // Kit-Image $result = $stats->format('kits', 'favs'); $kittip = $result['tip']; $kitimage = $path.'stylesheets/images/kits/'.strtolower($result['raw']).'.png'; // Template-Ausgabe eval ("\$tpl_detail = \"".$tpl->template("detail")."\";"); $tpl_detail = phpQuery::newDocumentHTML($tpl_detail); } ### KITS ### if (true) { // Allgemeine Stats $time = $stats->get('global', 'time', Array('time', 0, 'date')); $spm = $stats->get('scores', 'score', Array('ratio', ($stats->get('global', 'time')) / 60, 0, '', 'spm')); $spm_rank = create_ranking_info("spm", $spm['format']); $skill = $stats->get('global', 'elo', Array('number', 0, "", "skill")); $skill_rank = create_ranking_info("elo", $skill['format']); $rounds = $stats->get('global', 'rounds', Array('number', 0)); $rounds_rank = create_ranking_info("roundsplayed", $rounds['format']); $frounds = $stats->get('global', 'elo_games', Array('number', 0)); $quits = $stats->form(($rounds['raw']-$frounds['raw'])/$rounds['raw'], Array('number', 0, "%")); $quits_rank = create_ranking_info("roundsfinishedperc", $quits['format']); $wins = $stats->get('global', 'wins', Array('number', 0, "", "wins")); $loss = $stats->get('global', 'losses', Array('number', 0, "", "loss")); $wlr = $stats->get('global', 'wins', Array('ratio', ($stats->get('global', 'losses')), 2, '', 'wlr')); $wlr_rank = create_ranking_info("wlr", $wlr['format']); $wlr_color = ($wlr['raw'] >= 1) ? "positive" : "negative"; eval ("\$tpl_kits = \"".$tpl->template("detail_kits")."\";"); $tpl_kits = phpQuery::newDocumentHTML($tpl_kits); // Kit Stats $kits = $stats->get('kits'); $time_sum = 0; $kit_score = 0; foreach ($kits as $kit) { // Ermitteln der Gesamtspielzeit mit allen Kits, sowie der Gesamtpunktzahl if (isset($kit->score)) { $time_sum = $time_sum + $kit->time; $kit_score = $kit_score + $kit->score; } } foreach ($kits as $kit) { // Erstellen des HTML-Codes fr die Kits if (isset($kit->score)) { $score = $stats->form($kit->score, Array('number', 0, "", "score")); $time = $stats->form($kit->time, Array('time', 0, 'date')); $kitimage = $path.'stylesheets/images/'.$kit->img_bk; $count = $kit->star->count; $starimage = $count ? $path.'stylesheets/images/misc/servicestar.png' : $path.'stylesheets/images/misc/servicestar_trans.png'; $points = $kit->star->needed - $kit->star->curr; $tip = $tpl->phrase('star_desc_score'); eval ( "\$tip = \"$tip\";" ); $value = $stats->form($kit->time, Array('ratio', $time_sum, 0, "%")); $value = $value['format']; $tip_time = $tpl->phrase('kit_time'); eval ( "\$tip_time = \"$tip_time\";" ); $tip_spm = $stats->form($kit->score, Array('ratio',($kit->time / 60), 0, "")); $tip_spm = $tip_spm['format']; $time_us = $stats->form($kit->timeu, Array('ratio', $kit->time, 0, "%")); $time_us = $time_us['format']; $time_ru = $stats->form($kit->timer, Array('ratio', $kit->time, 0, "%")); $time_ru = $time_ru['format']; $tip_side = $tpl->phrase('kit_side'); eval ( "\$tip_side = \"$tip_side\";" ); eval ("\$kitdetail = \"".$tpl->template("detail_kits_detail")."\";"); pq('[name=kitdetail]')->append($kitdetail); } } } ### SCORES ### if (true) { $kit_score = $stats->format($kit_score, Array('number', 0)); $vehicle_score = $stats->get('scores', 'vehicleall', Array('number', 0)); $vehicle_score_rank = create_ranking_info("vehiclescorepvm", $vehicle_score['format']); $award_score = $stats->get('scores', 'award', Array('number', 0)); $unlock_score = $stats->get('scores', 'unlock', Array('number', 0)); $overall_score = $stats->get('scores', 'score', Array('number', 0)); $overall_score_rank = create_ranking_info("score", $overall_score['format']); $bonus_score = $stats->get('scores', 'bonus', Array('number', 0)); $objective_score = $stats->get('scores', 'objective', Array('number', 0)); $objective_score_rank = create_ranking_info("ospm", $objective_score['format']); $squad_score = $stats->get('scores', 'squad', Array('number', 0)); $team_score = $stats->get('scores', 'team', Array('number', 0)); $revives = $stats->get('global', 'revives', Array('number', 0)); $revives_rank = create_ranking_info("revivespam", $revives['format']); $resupplies = $stats->get('global', 'resupplies', Array('number', 0)); $resupplies_rank = create_ranking_info("resuppliespsm", $resupplies['format']); $heals = $stats->get('global', 'heals', Array('number', 0)); $heals_rank = create_ranking_info("healspam", $heals['format']); $repairs = $stats->get('global', 'repairs', Array('number', 0)); $repairs_rank = create_ranking_info("repairspem", $repairs['format']); $mcomdest = $stats->get('global', 'mcomdest', Array('number', 0)); $mcomdefkills = $stats->get('global', 'mcomdefkills', Array('number', 0)); $flagcaps = $stats->get('global', 'flagcaps', Array('number', 0)); $flagdef = $stats->get('global', 'flagdef', Array('number', 0)); $kills = $stats->get('global', 'kills', Array('number', 0)); $kills_rank = create_ranking_info("kpm", $kills['format']); $deaths = $stats->get('global', 'deaths', Array('number', 0)); $kdr = $stats->form($kills['raw'], Array('ratio', $deaths['raw'], 2, '')); $kdr_rank = create_ranking_info("kdr", $kdr['format']); $kdr_color = ($kdr['raw'] >= 1) ? "positive" : "negative"; $vehicledestroyed = $stats->get('global', 'vehicledestroyed', Array('number', 0)); $vehicledestroyed_rank = create_ranking_info("disvehpr", $vehicledestroyed['format']); $saviorkills = $stats->get('global', 'saviorkills', Array('number', 0)); $saviorkills_rank = create_ranking_info("saviorkills", $saviorkills['format']); $avengerkills = $stats->get('global', 'avengerkills', Array('number', 0)); $avengerkills_rank = create_ranking_info("avengerkills", $avengerkills['format']); $nemesiskills = $stats->get('global', 'nemesiskills', Array('number', 0)); $nemesisstreak = $stats->get('global', 'nemesisstreak', Array('number', 0)); $killstreakbonus = $stats->get('global', 'killstreakbonus', Array('number', 0)); $dogtags = $stats->get('global', 'dogtags', Array('number', 0)); $dogtags_rank = create_ranking_info("dogtagkillperc", $dogtags['format']); $shots = $stats->get('global', 'shots', Array('number', 0)); $shots_rank = create_ranking_info("shotspermin", $shots['format']); $hits = $stats->get('global', 'hits', Array('number', 0)); $accuracy = $stats->form($hits['raw'], Array('ratio', $shots['raw'], 1, '%')); $headshots = $stats->get('global', 'headshots', Array('number', 0)); $hskillperc = $stats->form($headshots['raw'], Array('ratio', $kills['raw'], 1, '%')); $hskillperc_rank = create_ranking_info("hskillperc", $hskillperc['format']); $longesths = $stats->get('global', 'longesths', Array('number', 0)); $longesths_rank = create_ranking_info("headshdist", $longesths['format']); $longesthandhs = $stats->get('global', 'longesthandhs', Array('number', 0)); $killassists = $stats->get('global', 'killassists', Array('number', 0)); $killassists_rank = create_ranking_info("kassistsperc", $killassists['format']); $destroyassist = $stats->get('global', 'vehicledestroyassist', Array('number', 0)); $suppression = $stats->get('global', 'suppression', Array('number', 0)); $suppression_rank = create_ranking_info("suppressionperc", $suppression['format']); $killstreakbonus = $stats->get('global', 'killstreakbonus', Array('number', 0)); eval ("\$tpl_scores = \"".$tpl->template("detail_scores")."\";"); $tpl_scores = phpQuery::newDocumentHTML($tpl_scores); } ### WEAPONS ### if (true) { $top = Array("favourite" => Array(), "deadliest" => Array(), "accurate" => Array(), "dangerous" => Array()); // Array fr Top-Weapon-bersicht $disallowed = Array("AA Launchers", "Pistols", "AT Launchers", "Special", "Underslungs"); // Waffen-Kategorien, die nicht fr die Top-Weapon-bersicht bercksichtigt werden $ssprogress = Array("curr" => 0, "needed" => 0); // Array fr die Anzeige, wieviele Primr-Waffen einen Servicestar haben $weapons = $stats->get('weapons'); eval ("\$tpl_weapons = \"".$tpl->template("detail_weapons")."\";"); $tpl_weapons = phpQuery::newDocumentHTML($tpl_weapons); foreach ($weapons as $key => $weapon) { $row = ""; $src = $path.'stylesheets/images/'.$weapon->img; eval ("\$info = \"".$tpl->template("detail_weapons_info")."\";"); $row .= ''; $count = $weapon->star->count; $kills = $weapon->star->needed - $weapon->star->curr; $src = $count ? $path.'stylesheets/images/misc/servicestar.png' : $path.'stylesheets/images/misc/servicestar_trans.png'; $tip = $tpl->phrase('star_desc'); eval ( "\$tip = \"$tip\";" ); $row .= ''; if (isset($weapon->r) AND isset($weapon->c)) { $name = $weapon->name; $type = $tpl->phrase("ranking_weapons"); $rank = $stats->form($weapon->r, Array('number', 0)); $count = $stats->form($weapon->c, Array('number', 0)); $percent = $stats->form($weapon->r, Array('ratio', $weapon->c, 0, '%')); $value = $stats->form($weapon->kills, Array('number', 0, "", "kills")); eval ("\$info = \"".$tpl->template("detail_ranking_info_short")."\";"); if ($percent["raw"] >= 0.8) { $pos = 12; } else if ($percent["raw"] >= 0.6) { $pos = 24; } else if ($percent["raw"] >= 0.4) { $pos = 36; } else if ($percent["raw"] >= 0.2) { $pos = 48; } else { $pos = 60; } $row .= ''; } else $row .= ''; $src = $path.'stylesheets/images/'.$kits[$weapon->kit]->img; $name = ucfirst($weapon->kit); $row .= ''; $result = $weapon->time ? $stats->form($weapon->time, Array("time", "", "dynamic")) : Array('sort' => '0', 'tip' => '0 min', 'format' => '0'); $row .= ''; $result = $stats->form($weapon->kills, Array('number', 0, "", "kills")); $row .= ''; $result = $stats->form($weapon->headshots, Array('number')); $row .= ''; $result = $stats->form($weapon->headshots, Array("ratio", $weapon->kills, 0, "%")); $row .= ''; $result = $stats->form($weapon->kills, Array("ratio", ($weapon->time / 60), 2)); $row .= ''; $result = $stats->form($weapon->shots, Array('number')); $row .= ''; $result = $stats->form($weapon->hits, Array('number')); $row .= ''; $result = $stats->form($weapon->hits, Array("ratio", $weapon->shots, 0, "%")); $row .= ''; $unlocked = 0; $unlocks = count($weapon->unlocks); if ($unlocks) { // Waffe hat Unlocks foreach ($weapon->unlocks as $nr => $unlock) { if ($unlock->curr == $unlock->needed) { $unlocked = $unlocked + 1; $left = 0; } else { $left = $unlock->needed - $unlock->curr; break; } } $tip = $left ? $tpl->phrase('unlocks_desc') : $tpl->phrase('unlocks_desc_short'); eval ( "\$tip = \"$tip\";" ); $result = $stats->form($unlocked, Array("ratio", $unlocks, 0, "%")); $row .= ''; } else { // Waffe hat keine Unlocks $tip = $tpl->phrase('no_unlocks_desc'); $row .= ''; } if ($weapon->kills >= 25 AND !in_array($weapon->category, $disallowed)) { $top['favourite'][$key] = $weapon->kills; $top['deadliest'][$key] = (int)round($weapon->kills / $weapon->time * 1000); $top['accurate'][$key] = (int)round($weapon->hits / $weapon->shots * 1000); $top['dangerous'][$key] = (int)round($weapon->headshots / $weapon->kills * 1000); } if (!in_array($weapon->category, $disallowed)) { if ($weapon->kills >= 100) $ssprogress['curr'] = $ssprogress['curr'] + 1; $ssprogress['needed'] = $ssprogress['needed'] + 1; } pq('#weapons')->append(''.$row.''); } foreach ($top as $key => $array) { asort($array, SORT_NUMERIC); $array = array_flip($array); if (count($array)) { // berprfen, ob fr die aktuelle Kategorie eine Waffe in Frage kommt $weapon = $weapons[array_pop($array)]; $headline = $tpl->phrase($key.'_weapon'); $src = $path.'stylesheets/images/'.$weapon->img; switch($key) { case "favourite": $property = $tpl->phrase("kills"); $result = $stats->form($weapon->kills, Array('number', 0)); break; case "deadliest": $property = $tpl->phrase("kills_per_minute"); $result = $stats->form($weapon->kills, Array("ratio", ($weapon->time / 60), 2)); break; case "accurate": $property = $tpl->phrase("accuracy"); $result = $stats->form($weapon->hits, Array("ratio", $weapon->shots, 0, "%")); break; case "dangerous": $property = $tpl->phrase("headshots"); $result = $stats->form($weapon->headshots, Array("ratio", $weapon->kills, 0, "%")); break; } eval ("\$cell = \"".$tpl->template("detail_weapons_top")."\";"); pq('#ezTopWeapons')->append($cell); } } $curr = $ssprogress['curr']; $needed = $ssprogress['needed']; $value = $stats->form($ssprogress['curr'], Array("ratio", $ssprogress['needed'], 0, "%"), false); $star = ''; eval ("\$info = \"".$tpl->phrase("detail_weapons_ssprogress")."\";"); pq('#ezWeaponsMore td:eq(0)') ->attr('info', $info) ->append($star.' '.$tpl->phrase("progress").': ') ->append(''.$value.''); } ### VEHICLES ### if (true) { $vehicles = $stats->get('vehicles'); $vehcats = $stats->get('vehcats'); eval ("\$tpl_vehicles = \"".$tpl->template("detail_vehicles")."\";"); $tpl_vehicles = phpQuery::newDocumentHTML($tpl_vehicles); foreach ($vehicles as $key => $vehicle) { $row = ""; $src = $path.'stylesheets/images/'.$vehicle->img; eval ("\$info = \"".$tpl->template("detail_vehicles_info")."\";"); $row .= ''; if ($vehicle->category) { // Fahrzeug gehrt einer "groen" Kategorie an $src = $path.'stylesheets/images/'.$vehcats[$vehicle->category]->img; $name = $vehcats[$vehicle->category]->name; $row .= ''; } else { $src = $path.'stylesheets/images/misc/defvehicle.png'; $name = ucfirst("general"); $row .= ''; } if (isset($vehicle->r) AND isset($vehicle->c)) { $name = $vehicle->name; $type = $tpl->phrase("ranking_vehicles"); $rank = $stats->form($vehicle->r, Array('number', 0)); $count = $stats->form($vehicle->c, Array('number', 0)); $percent = $stats->form($vehicle->r, Array('ratio', $vehicle->c, 0, '%')); $value = $stats->form($vehicle->kills, Array('number', 0, "", "kills")); eval ("\$info = \"".$tpl->template("detail_ranking_info_short")."\";"); if ($percent["raw"] >= 0.8) { $pos = 12; } else if ($percent["raw"] >= 0.6) { $pos = 24; } else if ($percent["raw"] >= 0.4) { $pos = 36; } else if ($percent["raw"] >= 0.2) { $pos = 48; } else { $pos = 60; } $row .= ''; } else $row .= ''; $result = $vehicle->time ? $stats->form($vehicle->time, Array("time", "", "dynamic")) : Array('sort' => '0', 'tip' => '0 min', 'format' => '0'); $row .= ''; $result = $stats->form($vehicle->kills, Array('number', 0, '', 'kills')); $row .= ''; $result = $stats->form($vehicle->kills, Array("ratio", ($vehicle->time / 60), 2)); $row .= ''; $result = $stats->form($vehicle->destroys, Array('number', 0)); $row .= ''; pq('#vehicles')->append(''.$row.''); } // Kategorien nach Anzahl der Kills sortieren $categories = Array(); foreach ($vehcats as $catname => $catobj) { $categories[$catname] = $catobj->kills; } asort($categories); // Array sortieren $categories['vehiclejf'] = $categories['vehiclejf'] + $categories['vehicleja']; // Fr die korrekte Sortierung werden die Werte fr "Jet Attack" und "Jet Fighter" addiert unset($categories['vehicleja']); // "Jet Attack" lschen, da es teilweise identisch mit "Jet Fighter" ist $categories = array_reverse($categories); // Sortierung umkehren $categories = array_flip($categories); // Schlssel und Werte tauschen // Kategorien einbinden foreach ($categories as $category) { $vehcat = $vehcats[$category]; $headline = $tpl->phrase($category); $src = $path.'stylesheets/images/'.$vehcat->img_bk; if ($category == "vehiclejf") { // Die Werte von "Jet Attack" und "Jet Fighter" werden addiert $kills = $vehcats['vehiclejf']->kills + $vehcats['vehicleja']->kills; $time = $vehcats['vehiclejf']->time + $vehcats['vehicleja']->time; } else { $kills = $vehcat->kills; $time = $vehcat->time; } $kills = $stats->form($kills, Array('number', 0, '', 'kills')); $time = $stats->form($time, Array('time', 0, 'date')); $score = $stats->form($vehcat->score, Array('number', 0)); $count = $vehcat->star->count; $sstarsrc = $count ? $path.'stylesheets/images/misc/servicestar.png' : $path.'stylesheets/images/misc/servicestar_trans.png'; $unlocked = 0; $unlocks = count($vehcat->unlocks); foreach ($vehcat->unlocks as $nr => $unlock) { if ($unlock->curr == $unlock->needed) { $unlocked = $unlocked + 1; $left = 0; } else { $left = $unlock->needed - $unlock->curr; break; } } $tip = $left ? $tpl->phrase('unlocks_vehicles_desc') : $tpl->phrase('unlocks_desc_short'); eval ( "\$tip = \"$tip\";" ); $result = $stats->form($unlocked, Array("ratio", $unlocks, 0, "%")); eval ("\$vehcat = \"".$tpl->template("detail_vehcats")."\";"); pq('[name=detail_vehcats]')->append($vehcat); } } ### EQUIPMENT ### if (true) { $equipments = $stats->get('equipment'); eval ("\$tpl_equip = \"".$tpl->template("detail_equipment")."\";"); $tpl_equip = phpQuery::newDocumentHTML($tpl_equip); foreach ($equipments as $equip_key => $equip) { $row = ""; $src = $path.'stylesheets/images/'.$equip->img; eval ("\$info = \"".$tpl->template("detail_equipment_info")."\";"); $row .= ''; $src = $path.'stylesheets/images/'.$kits[$equip->kit]->img; $name = ucfirst($equip->kit); $row .= ''; if (isset($equip->unlock) AND is_object($equip->unlock)) { // Equipment muss freigeschalten werden if ($equip->unlock->curr < $equip->unlock->needed){ // Noch nicht freigeschalten $needed = $equip->unlock->needed; $curr = $equip->unlock->curr; $left = $needed - $curr; $percent = $stats->form($left, Array("ratio", $needed, 0, "%")); $percent = $percent['format']; $name = ucfirst($equip->kit); $tip = $tpl->phrase('equip_not_unlocked'); eval ( "\$tip = \"$tip\";" ); $row .= ''; } else { // Equipment ist freigeschalten $tip = $tpl->phrase('equip_is_unlocked'); $row .= ''; } } else { // Equipment ist freigeschalten $tip = $tpl->phrase('equip_is_unlocked'); $row .= ''; } if (isset($equip->r) AND isset($equip->c)) { $name = $equip->name; $type = $tpl->phrase("ranking_equipment"); $rank = $stats->form($equip->r, Array('number', 0)); $count = $stats->form($equip->c, Array('number', 0)); $percent = $stats->form($equip->r, Array('ratio', $equip->c, 0, '%')); $value = $stats->form($equip->kills, Array('number', 0, "", "kills")); eval ("\$info = \"".$tpl->template("detail_ranking_info_short")."\";"); if ($percent["raw"] >= 0.8) { $pos = 12; } else if ($percent["raw"] >= 0.6) { $pos = 24; } else if ($percent["raw"] >= 0.4) { $pos = 36; } else if ($percent["raw"] >= 0.2) { $pos = 48; } else { $pos = 60; } $row .= ''; } else $row .= ''; if ($equip->time) { $result = $stats->form($equip->time, Array("time", "", "dynamic")); $row .= ''; } else { $row .= ''; } $result = $stats->form($equip->kills, Array('number', 0, "", "kills")); $row .= ''; switch ($equip_key) { case "seqMAV": case "seqUGS": $row .= ''; break; case "waeMort": $acc = $stats->form($equip->kills, Array("ratio", $equip->shots, 0, "%")); $acc = $acc['format']; $kpm = $stats->form($equip->kills, Array("ratio", ($equip->time / 60), 2)); $kpm = $kpm['format']; $row .= ''; break; case "waeClay": case "waeMine": case "waeM67": case "waeC4": $acc = $stats->form($equip->kills, Array("ratio", $equip->shots, 0, "%")); $acc = $acc['format']; $kpm = $stats->form($equip->kills, Array("ratio", ($equip->time / 60), 2)); $kpm = $kpm['format']; $row .= ''; break; case "wasRT": $row .= ''; break; case "seqRad": $row .= ''; break; case "wasDef": $row .= ''; break; default: $row .= ''; break; } pq('#equipment')->append(''.$row.''); } } ### AWARDS (MEDALS & RIBBONS) ### if (true) { $medals = $stats->get('medals'); $ribbons = $stats->get('ribbons'); $used_ribbons = Array(); // In diesem Array werden die Ribbons gespeichert, die einer Medal zugeordnet wurden und zusammen mit dieser eingeblendet wurden $summary = Array( // In diesem Array werden die Werte fr die Summary gespeichert "medals" => 0, "ribbons" => 0, "mvp" => Array($ribbons['r16']->count, $ribbons['r17']->count, $ribbons['r18']->count) ); eval ("\$tpl_awards = \"".$tpl->template("detail_awards")."\";"); $tpl_awards = phpQuery::newDocumentHTML($tpl_awards); foreach ($medals as $medal_key => $medal) { $row = ""; $row .= ''; $summary['medals'] = $summary['medals'] + $medal->count; $src = $path.'stylesheets/images/'.$medal->img_large; $date = $medal->date ? date("d.m.Y", $medal->date) : $tpl->phrase("never"); if ($medal->type == "once") { $curr = $stats->form($medal->curr, Array("time", "", "dynamic"), false); $needed = $stats->form($medal->needed, Array("time", "", "dynamic"), false); } else { $curr = $medal->curr; $needed = $medal->needed; } eval ("\$info = \"".$tpl->template("detail_medals_info")."\";"); $row .= ''; $width = floor(40 * $medal->curr / $medal->needed); $row .= ''; $related = false; foreach ($ribbons as $ribbon_key => $ribbon) { if ($medal->nname == $ribbon->name) $related = $ribbon_key; } if ($related) { $used_ribbons[] = $related; $row .= ''; $summary['ribbons'] = $summary['ribbons'] + $ribbons[$related]->count; $src = $path.'stylesheets/images/'.$ribbons[$related]->img_large; $name = $ribbons[$related]->name; $desc = $ribbons[$related]->desc; $count = $ribbons[$related]->count; $date = $ribbons[$related]->date ? date("d.m.Y", $ribbons[$related]->date) : $tpl->phrase("never"); eval ("\$info = \"".$tpl->template("detail_ribbons_info")."\";"); $row .= ''; } else { $row .= ''; $row .= ''; } pq('#awards')->append(''.$row.''); } foreach ($ribbons as $ribbon_key => $ribbon) { if (!in_array($ribbon_key, $used_ribbons)) { $row = ''; $row .= ''; $summary['ribbons'] = $summary['ribbons'] + $ribbon->count; $src = $path.'stylesheets/images/'.$ribbon->img_large; $name = $ribbon->name; $desc = $ribbon->desc; $count = $ribbon->count; $date = $ribbon->date ? date("d.m.Y", $ribbon->date) : $tpl->phrase("never"); eval ("\$info = \"".$tpl->template("detail_ribbons_info")."\";"); $row .= ''; pq('#awards')->append(''.$row.''); } } $time = $stats->get('global', 'time'); $rounds = $stats->get('global', 'elo_games'); $unique_medals = $stats->format('medals', 'awards'); $medals_count = $stats->form($summary['medals'], Array('number'), false); $medals_per_hour = $stats->form($summary['medals'], Array('ratio', ($time/3600), 2), false); $unique_ribbons = $stats->format('ribbons', 'awards'); $ribbons_count = $stats->form($summary['ribbons'], Array('number'), false); $ribbons_per_minute = $stats->form($summary['ribbons'], Array('ratio', ($time/60), 2), false); $ribbons_per_round = $stats->form($summary['ribbons'], Array('ratio', ($rounds), 2), false); $mvp_count = $stats->form(array_sum($summary['mvp']), Array('number'), false); $mvp_per_round = $stats->form(array_sum($summary['mvp']), Array('ratio', ($rounds), 2), false); $mvp_ranking = $stats->get('ranking', 'mvpribbons'); $mvp_ranking = $stats->form($mvp_ranking->r, Array('ratio', $mvp_ranking->c, 0, "%"), false); $mvp_ranking = create_ranking_info("mvpribbons", $mvp_ranking); eval ("\$tpl_awards_sum = \"".$tpl->template("detail_awards_sum")."\";"); pq('[name=detail_awards_sum]')->append($tpl_awards_sum); } ### ASSIGNMENTS ### if (true) { $assignments = $stats->get('assignments'); $tpl_assignments = phpQuery::newDocumentHTML('
MultiGamerZ Index du Forum
MultiGamerZ
Team presente sur: BF3, COD MW3 et NFS THE RUN PS3.
 
MultiGamerZ Index du ForumFAQRechercherS’enregistrerConnexion

debug) error_reporting (E_ALL|E_STRICT); else error_reporting (0); require 'plugins/phpQuery.php'; require 'classes/settings.php'; require 'classes/security.php'; require 'classes/functions.php'; require 'classes/template.php'; require 'classes/player.php'; require 'classes/stats.php'; $func = new Functions(); $secure = new Security(); $settings = new Settings(); $tpl = new Templates(); $tpl->load_phrases("overview", true); $tpl->load_phrases("detail", true); $playerid = (int)$_GET['pid']; $path = ($settings->get("cms") == "standalone") ? "" : $settings->get("path"); date_default_timezone_set($settings->get("timezone")); if ($playerid) { $stats = new Stats($playerid); $ranking = $stats->get('ranking'); function create_ranking_info($name_of_ranking, $displayed_value) { // Die Funktion erstellt den HTML-Code fr die Globales-Ranking-Informationen global $ranking, $tpl, $stats; $data = $ranking[$name_of_ranking]; if (is_object($data) AND $data->r) { $type = $tpl->phrase($name_of_ranking); $rank = $stats->form($data->r, Array('number', 0)); $count = $stats->form($data->c, Array('number', 0)); $value = is_int($data->v) ? $stats->form($data->v, Array('number', 0)) : $stats->form($data->v, Array('number', 2)); $percent = $stats->form($data->r, Array('ratio', $data->c, 0, '%')); eval ("\$info = \"".$tpl->template("detail_ranking_info")."\";"); if ($percent["raw"] >= 0.8) { $pos = 12; } else if ($percent["raw"] >= 0.6) { $pos = 24; } else if ($percent["raw"] >= 0.4) { $pos = 36; } else if ($percent["raw"] >= 0.2) { $pos = 48; } else { $pos = 60; } return '
'.$displayed_value.''; } else return $displayed_value; } ### ALLGEMEIN ### if (true) { // Topbar $country = $stats->get('player', 'country', Array('deficon', 'country')); $country = ''.$country['format'].'
'.$weapon->name.''.$weapon->star->count.'
'.$result['format'].''.$result['format'].''.$result['format'].''.$result['format'].''.$result['format'].''.$result['format'].''.$result['format'].''.$result['format'].''.$result['format'].'
'.$vehicle->name.'
'.$result['format'].''.$result['format'].''.$result['format'].''.$result['format'].'
'.$equip->name.'
'.$result['format'].'0'.$result['format'].''.$equip->spots.' '.$tpl->phrase("spots").''.$equip->shots.' '.$tpl->phrase("shots").', '.$acc.' '.$tpl->phrase("accuracy").', '.$kpm.' '.$tpl->phrase("kpm").''.$equip->shots.' '.ucfirst($tpl->phrase("used")).', '.$acc.' '.$tpl->phrase("efficiency").', '.$kpm.' '.$tpl->phrase("kpm").''.round($equip->repairs).' '.$tpl->phrase("repairs").''.$equip->spawns.' '.ucfirst($tpl->phrase("spawns")).''.$equip->revives.' '.$tpl->phrase("revives").'
'.$medal->count.'x '.ucwords(strtolower($medal->name)).''.$curr.'/'.$needed.' '.$medal->nname.'">
'.$ribbons[$related]->count.'x '.ucwords(strtolower($name)).'
'.$ribbon->count.'x '.ucwords(strtolower($name)).'
'); // Die beiden aufeinander aufbauenden Assignments als Group foreach ($assignments as $group) { $tpl_group = phpQuery::newDocumentHTML(''); // Die beiden aufeinander aufbauenden Assignments nacheinander in eine Reihe einbauen foreach ($group as $assignmentKey => $assignment) { // Bild $assigmentsrc = $path.'stylesheets/images/'.$assignment->img; $style = $assignment->active ? "" : "opacity: 0.6"; // Unlock-Waffe $weapon = $weapons[$assignment->unlockId]; $src = $path.'stylesheets/images/'.$weapon->img; eval ("\$info = \"".$tpl->template("detail_weapons_info")."\";"); $info = htmlspecialchars($info); // Kriterien $sum = Array("curr" => 0, "needed" => 0); $list = ""; foreach ($assignment->criteria as $criteriaKey => $criteria) { if ($criteria->needed > 1000) { // Das Kriterium Spielzeit von Sekunden in Stunden umwandeln $curr = round($criteria->curr / 3600, 1); $needed = $criteria->needed / 3600; } else { $curr = $criteria->curr; $needed = $criteria->needed; } $sum['curr'] = $sum['curr'] + $curr; $sum['needed'] = $sum['needed'] + $needed; $list .= '
  • '.$curr.' / '.$needed.' '.$tpl->phrase($assignmentKey.$criteriaKey); } // Progressbar $width = floor(116 * $sum['curr'] / $sum['needed']); $width = $width."px"; eval ("\$tpl_assignment = \"".$tpl->template("detail_assignments")."\";"); pq('tr')->append(''.$tpl_assignment.''); } phpQuery::selectDocument($tpl_assignments); pq('#assignments')->append($tpl_group); } } ### COOP ### if (true) { $coop = $stats->get('coop'); $missions = $stats->get('coopmissions'); eval ("\$tpl_coop = \"".$tpl->template("detail_coop")."\";"); $tpl_coop = phpQuery::newDocumentHTML($tpl_coop); foreach ($coop as $key => $value) { if ($key != "rank" AND $key != "mdrevives") { pq('#ezCoop')->append('
    '.$tpl->phrase($key).'
    '.$stats->form($value, Array('number'), false).'
    '); } } foreach ($missions as $mission) { $name = $mission->name; $src = $path.'stylesheets/images/'.$mission->img; eval ("\$tpl_coop_missions = \"".$tpl->template("detail_coop_missions")."\";"); $tpl_coop_missions = phpQuery::newDocumentHTML($tpl_coop_missions); foreach ($mission->difficulty as $difficulty => $values) { $date = $values->date ? date("d.m.Y", $values->date) : $tpl->phrase("never"); pq('tbody')->append(''); pq('tbody > tr:last') ->append(''.$tpl->phrase($difficulty).'') ->append(''.$stats->form($values->score, Array('number'), false).'') ->append(''.$stats->form($values->count, Array('number'), false).'') ->append(''.$date.''); } phpQuery::selectDocument($tpl_coop); pq('#ezCoopmissions')->append($tpl_coop_missions); unset($tpl_coop_missions); } } ### AUSGABE ### phpQuery::selectDocument($tpl_detail); pq('[name=kits]') ->append($tpl_kits); pq('[name=scores]') ->append($tpl_scores); pq('[name=weapons]') ->append($tpl_weapons); pq('[name=vehicles]') ->append($tpl_vehicles); pq('[name=equipment]') ->append($tpl_equip); pq('[name=awards]') ->append($tpl_awards); pq('[name=assignments]')->append($tpl_assignments); pq('[name=coop]') ->append($tpl_coop); // Post-Processing if ($settings->get('language') == "hebrew") pq('#ezDetail')->attr('dir', 'rtl'); die ($tpl_detail); } echo "ERROR: No playerid given"; ?>
    :: Cosas Tipicas Que Comprar En Londres gratuitamente kale ::

     
    Poster un nouveau sujet   Répondre au sujet    MultiGamerZ Index du Forum -> C'est la Guerre ! ->
    Sujet précédent :: Sujet suivant  
    Auteur Message
    sampsgarr


    Hors ligne

    Inscrit le: 08 Avr 2016
    Messages: 118
    Localisation: Strossburi

    MessagePosté le: Mer 20 Déc - 11:26 (2017)    Sujet du message: Cosas Tipicas Que Comprar En Londres gratuitamente kale Répondre en citant

    Cosas Tipicas Que Comprar En Londres
    >










    Primera compra importante en tu nuevo hogar. . Si no se est en Italia, Venezuela o Colombia, es muy probable que est en el top de las cosas que se aoran.Dnde ir de compras en Londres: Listado de tiendas, qu comprar en Londres y zonas comerciales para una escapada de compras . 30 cosas que ver en Londres en tres .30 Cosas tpicas que todo eldense debe hacer y visitar en Elda. . 30 Cosas tpicas que todo eldense debe hacer y visitar en . Vamos al Carrico a comprar .Arte, artesana y talla en madera es lo que mas se compra en Jamaica y que es visible en todas partes a medida que viajan alrededor de la isla, en una seriConozco dos tiendas de quesos en Londres que son espectaculares, Neals Yard y . El resto de cosas que quedaban se podan comprar en el supermercado.Catedral De San Pablo En Londres . pero aqu hay una pequea lista de las 10 cosas que muestran por . Antoni Gaud fue un arquitecto cataln que en .. Londres es que todos los domingos por la maana en Hyde Park se hacen discursos en el Speakers Corner. Durante el II Guerra Mundial era un lugar en el que .El Big Ben, las Casas del Parlamento, la Abada de Westminster. Conoce las plazas, parques, museos y otras visitas imprescindibles en Londres.Os dejamos algunas ideas de cosas que comprar en Granada y las mejores zonas . En Londres probablemente compraras una caja de t para tomarlo con leche .Una tercera versin seala que fue Napolon Bonaparte quien cambi las cosas, por imponer su voluntad. Pero en Gran . que se convirti en smbolo de Londres, .Qu comprar en Florencia, gua de tiendas y mercados donde adquirir moda italiana, recuerdos, souvenirs y productos tpicos florentinos.Hay dos cosas que sorprenden mucho, . los puedes comprar en mi tienda . No sabes lo bonito que est Londres en NAvidad, as que tendrs que venir el ao .Microsoft Corporation (, abbreviated as MS) is an American multinational technology company with headquarters in Redmond, Washington.Arte urbano en Londres; . Puede llegar a convertirse una odisea algo tan sencillo como comprar filtros para el . Y en una de las cosas que ms se nota es al .10 tiendas para comprar ropa barata en Londres 2017 Londres es la capital europea que marca tendencia en todo el mundo y . diez cosas que hacer en Londres esta .60 cosas que ver y hacer gratis en Londres: . Aunque esta abierto hasta las 5, mas alla de las 11 o 12 ya no hay nada interesante que comprar ni que ver. Responder.Hola! Tengo que hacer un trabajo para el colegio y tengo que llevar cosas tipicas de londres, ya sean comidas, bebidas u otras cosas tipicas!! Gracias:)Microsoft Corporation (, abbreviated as MS) is an American multinational technology company with headquarters in Redmond, Washington.Es recomendable para hacer compras baratas en general y tambin para hacer una gran compra semanal. En Londres . hasta cosas realmente . compra es fijarte en que .$295 Rooms Still Available.Qu comprar en Londres que merezca la pena 2017 A pesar de que el cambio de la libra esterlina respecto al euro no es tan favorable, hacer una escapada para ir de .En un mes ir a Londres por tercera vez, as que ya tengo ms que pateado todo lo tpico (Westminster, Soho, Candem, Harrods, Hyde Park.esas cosas).Muchas de vosotras me habis preguntado por email qu os sugiero comprar aqu cuando vengis de viaje a Londres, asi que en esta entrada . cosas para comprar.Compras en Londres - Si quiere comprar en Londres, puede dirigirse, por ejemplo, . Ropa, muebles, regalos, todo con diseos que no encontrar en otro lado.Ni se os ocurra comprar en . Adems en general estoy de acuerdo solo aadir que aqu venden cosas en Espaa estn . Un fin de semana en Londres .En Londres es posible encontrar muy buenas ofertas . Qu comprar en Londres. . Armani o Versace son algunos de los diseadores que se encuentran asentados en .Londres es la ciudad ideal para que el paladar experimente los sabores internacionales ya que no se caracteriza por . Comprar en un supermercado permitir ahorrar .Caminando sin Rumbo en Londres, ciudad en Inglaterra. . En otras pginas en esta seccin de Londres tratamos con otras cosas que nos llamaron la atencin.Te contamos 75 cosas que hacer en Londres. . Algo muy curioso que hacer en Londres es apuntarse a estas salidas vintage en bici 75. Comprar una hucha en forma de .Cada pas tiene sus particularidades y cosas que lo hacen nico. En esta nueva . En Londres hay unos . bares, restaurantes, venta de libros y discos .Algunos souvenirs que comprar en . de las mejores cosas que puedes . India Isla de Skye islas Lisboa Londres Montevideo museos naturaleza Nueva York .Una de las cosas que seguramente ms . pasta o una ensalada que puedes comprar ya listo en . en Londres pero la primera que fue abierta y .Hola! Tengo que hacer un trabajo para el colegio y tengo que llevar cosas tipicas de londres, ya sean comidas, bebidas u otras cosas tipicas!! Gracias:)No sabes que comprar en Londres? En este artculo te resumimos cuales son las mejores cosas para llevar de recuerdo despus de un viaje a Londres perfecto!Esta web utiliza cookies para mejorar la experiencia en la navegacin de los usuarios. Si continua navegando entendemos que est de acuerdo con nuestra poltica de .Una de las actividades que no pueden faltar en una lista de cosas que hacer en Londres es patinar sobre . cosas tpicas que deberas comprar en Londres, .He estado en Londres durante cinco das y no he tenido tiempo de ver todo lo que quera. Es una ciudad tan enorme y con tanta oferta cultural que tira de .Look Up Quick Results Now! Find Related Search and Trending Suggestions Here.UN PEDACITO DE LONDRES EN MADRID . Podemos encontrar desde cosas para el hogar, como . Yo slo he estado en la tienda, no saba que haba un saln de t.Low Prices on Que Cosas . Free 2-Day Shipping w/ Amazon Prime. 7984cf4209



    Revenir en haut
    Publicité






    MessagePosté le: Mer 20 Déc - 11:26 (2017)    Sujet du message: Publicité

    PublicitéSupprimer les publicités ?
    Revenir en haut
    Montrer les messages depuis:   
    Poster un nouveau sujet   Répondre au sujet    MultiGamerZ Index du Forum -> C'est la Guerre ! -> Toutes les heures sont au format GMT + 1 Heure
    Page 1 sur 1

     
    Sauter vers:  

    Index | Panneau d’administration | Creer un forum | Forum gratuit d’entraide | Annuaire des forums gratuits | Signaler une violation | Conditions générales d'utilisation
    onyx © theme by larme d'ange 2006
    Powered by phpBB © 2001, 2005 phpBB Group
    Traduction par : phpBB-fr.com