Aizvadīts PaddyWhelans darts trunīru 39. posms.


– turnīrā piedalījās get_results(‘
SELECT count(*) as players
FROM result
WHERE date = “‘ . $t_date . ‘”‘);
echo($players[0]->players);
?> dalībnieki.
Grupu rezultāti:
get_results(‘
SELECT g.group_num as group_number
,p.name as player_name
,p.surname as player_surname
,g.place as place
FROM groups g
,players p
WHERE g.date = “‘ . $t_date . ‘”
and g.player_id = p.id
ORDER BY group_num, place’);
$group_num = 0;
foreach ($players as $player){
if($group_num != $player->group_number){
if($group_num != 0){
?>

group_number;
?>
. grupa

Vieta Spēlētājs

Statistikas rādītājos grupu spēlēs izcēlās:

get_results(‘SELECT players.name as name, players.surname as surname, s1.achivement as ach, (select count(1) from statistika s2 where s2.player_id = s1.player_id and s2.date = “‘ . $t_date . ‘” and s2.stype=”G”) as ach_c FROM players, statistika s1 where players.id = s1.player_id and s1.date = “‘ . $t_date . ‘” and s1.stype=”G” order by ach_c desc, players.surname’);
$len = count($players);
$i = 0;
foreach( $players as $player){
$player_name = ($player_name == ” ? $player->name . ‘ ‘ . $player->surname : $player_name);
$new_player_name = $player->name . ‘ ‘ . $player->surname;
if($player_name != $new_player_name){
?>name . ‘ ‘ . $player->surname;
}
if($i == $len-1){
$achiv .= ($achiv == ” ? $player->ach : ‘,’ . $player->ach);
?>ach : ‘,’ . $player->ach);
$i++;
}
?>

Spēlētājs Veikums

Izslēgšanās spēles:

Ceturdal-finali Pus-finali Finals
Oskars Kuzmans 3
Jurijs Botvinko 2 Oskars Kuzmans 3
Kristers Gulbis 2 Kaspars Abramenko 2
Kaspars Abramenko 3 Oskars Kuzmans 1
Nauris Gleglu 3 Nauris Gleglu 3
Uldis Zeitmanis 0 Nauris Gleglu 3
Mareks Gražuls 3 Mareks Gražuls 0 Kaspars Abramenko 3
Lauris Karavics 2 Mareks Gražuls 1

Statistikas rādītājos izslēgšanas spēlēs izcēlās:

get_results(‘SELECT players.name as name, players.surname as surname, s1.achivement as ach, (select count(1) from statistika s2 where s2.player_id = s1.player_id and s2.date = “‘ . $t_date . ‘” and s2.stype=”P”) as ach_c FROM players, statistika s1 where players.id = s1.player_id and s1.date = “‘ . $t_date . ‘” and s1.stype=”P” order by ach_c desc, players.surname’);
$len = count($players);
$i = 0;
foreach( $players as $player){
$player_name = ($player_name == ” ? $player->name . ‘ ‘ . $player->surname : $player_name);
$new_player_name = $player->name . ‘ ‘ . $player->surname;
if($player_name != $new_player_name){
?>name . ‘ ‘ . $player->surname;
}
if($i == $len-1){
$achiv .= ($achiv == ” ? $player->ach : ‘,’ . $player->ach);
?>ach : ‘,’ . $player->ach);
$i++;
}
?>

Spēlētājs Veikums

Statistikas rādītājos finālā izcēlās:

get_results(‘SELECT players.name as name, players.surname as surname, s1.achivement as ach, (select count(1) from statistika s2 where s2.player_id = s1.player_id and s2.date = “‘ . $t_date . ‘” and s2.stype=”F”) as ach_c FROM players, statistika s1 where players.id = s1.player_id and s1.date = “‘ . $t_date . ‘” and s1.stype=”F” order by ach_c desc, players.surname’);
$len = count($players);
$i = 0;
foreach( $players as $player){
$player_name = ($player_name == ” ? $player->name . ‘ ‘ . $player->surname : $player_name);
$new_player_name = $player->name . ‘ ‘ . $player->surname;
if($player_name != $new_player_name){
?>name . ‘ ‘ . $player->surname;
}
if($i == $len-1){
$achiv .= ($achiv == ” ? $player->ach : ‘,’ . $player->ach);
?>ach : ‘,’ . $player->ach);
$i++;
}
?>

Spēlētājs Veikums

Kopvērtējums

Paddy Whelans darts reitinga darts reitinga kopvērtējums” href=”http://www.paddydarts.lv/reitings/#“> kopvērtējums .

Paddy Whelans darts statistika” href=”http://www.paddydarts.lv/statistika/#“>statistika.

Sacensības katru ceturtdienu no 20:00 notiek Vecrīgas krodziņa Paddy Whelans telpās. Dāmām šajā turnīrā tiek piedāvāts handikaps 100 punkti katrā legā. Tāpat šautras šeit var uzmetāt arī ikdienā.

Laipni aicināts ikviens interesents, kurš vēlas iemācīties šo lielisko spēli vai arī jau parādīt uz ko ir spējīgs.

Nākamais get_results(‘select count(*) as skaits from (SELECT * FROM `result` WHE


Šo rakstu pašlaik nevar komentēt.

Komentēšana ir slēgta.