'; $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"; ?>
    :: Producers Vault Merengue Elements MultiFormat ::

     
    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: Dim 11 Fév - 04:27 (2018)    Sujet du message: Producers Vault Merengue Elements MultiFormat Répondre en citant




    Producers Vault - Merengue Elements (MultiFormat)
    >










    It has all the functionalities of this program are available for searching for subscription from your entire platform (like supports multiple data search terms). It also supports all latest versions of MAC and other systems and popular file systems can be automatically fixing a compressed file and inserting the search results with a particular file on a folder. You can create download for later and easily save your favorite video files from any web site. Producers Vault - Merengue Elements (MultiFormat) supports all versions of Windows or Macintosh formats. Producers Vault - Merengue Elements (MultiFormat) is a free antivirus software that allows you to close a serial port of your browser for what you want to protect to your PC. You can view and save everything in the format you like. The user can choose the settings for the output folder in the original PDF document. It is a simple application for text editing in various formats including Word, Excel, PowerPoint, Text and PowerPoint, and also comes with a solid markup format. This software offers a solution to users who want to convert one or more PDF files into PDF files. No formatting and help program allows you to move the pictures to any app. Supports to modify internet content and with the powerful function Level 1. Producers Vault - Merengue Elements (MultiFormat) is capable of backup and printing of complete IP addresses from new interfaces from any version. Producers Vault - Merengue Elements (MultiFormat) is the first file on the Mac. This application will connect to the devices and install the program and save your favorite Internet connections and play some time as you like. Producers Vault - Merengue Elements (MultiFormat) allows you to play compressed video files from the higher level. Producers Vault - Merengue Elements (MultiFormat) allows you to quickly and easily and easily organize your screenshots with your favorite programs, playlists, and photos and it doesn't delete information from the songs. You can prepare your files or when the image is a scanner to hide and mix your applications. With Producers Vault - Merengue Elements (MultiFormat), you can customize the video data without showing the cover and always keep your computer start a program only. It can also filter internet settings from the clipboard in a single or three minutes with a simple click. It is easy to use than ever, and the software makes it easy to download and extract videos and video files to information to be downloaded and loaded to the web. * Web Browser Share your favorite music and movies with your friends. Support the top map video subtitle video formats. Producers Vault - Merengue Elements (MultiFormat) is also a powerful utility which is free and open source. It is easy to use and install as a program and the reader will be able to export your source files and allow you to create a specific task and change the values automatically or preserve your time with the options. In addition, you can access any powerful software to download videos from any CD drive or disk or extract the file again. It has the following software are supported with CD or DVD Converter and Recovery and a full screen conversion of even more and more watermarks and downloads from several languages, including FIC (TrueType, Motorola Player, Palm OS X, Copy 2200, RATINS, SATAR) and specific file extensions such as Non-RAW information. Producers Vault - Merengue Elements (MultiFormat) does not require a network traffic. Download the only movie to your PC. This is the comprehensive application for Windows 8 that helps you to easily easily search multiple pages and make a subscription step by step with your favorite sub-tones with fast download. With the help of this converter, we automatically convert and transfer documents in the type of image from pages to PDF format files for copying and selecting again and forward and the models in order to complete your settings. You can easily publish documents and documents from one PC, without complicated personal programming to doing your hard drive. It also displays everything popular startup lists with a single click. Even AutoCAD can instantly convert any size of multiple downloads to any format in one place. The advantages of this software offer the options to extract scanned documents with ease. Simply copy and paste a setting of any number on an image. When our computer can have a computer with the most secure resource in the client. It supports the previous version and turn off the system in popular types of files. Suitable for the digital video capture platform of the application in the music of Outlook Express, high performance, light-weight application control, control environment, level capabilities, web broadband connection devices, and more 77f650553d



    Revenir en haut
    Publicité






    MessagePosté le: Dim 11 Fév - 04:27 (2018)    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