get("countrycode"); $compcode = $request->get("compcode"); $parentcode = $request->get("parentcode"); if ( (ereg("^[a-z0-9\-\_]+$", $countrycode)) && (ereg("^[a-z0-9\-\_]+$", $compcode)) && ($comparr = championat_code($countrycode, $compcode)) ) { $GLOBALVAR["statcountry"] = $countrycode; //variable to send to news block $champid = $comparr["champ_id"]; $champname = $comparr["champ_name"]; $champcountry = $comparr["country_name"]; $champcountryid = $comparr["country_id"]; $champdivision = $comparr["champ_division"]; $champtype = $comparr["cup"]; $subchamps = $comparr["sub_champs"]; $forum_url = $comparr["forum_url"]; //parent tournir if ( (ereg("^[a-z0-9\-\_]+$", $parentcode)) && ($parentarr = championat_code($countrycode, $parentcode)) ) { $parentid = $parentarr["champ_id"]; $parentname = $parentarr["champ_name"]; $parentsubchamps = $parentarr["sub_champs"]; } else { $parentid = 0; $parentname = ""; } $champtours = get_champ_schedule($champid); $ctcnt = count($champtours); } else { $error = 1; /* END OF MODULE-DEPENDENT FUNCTION CALLS */ /* START OF BLOCKS DEFINITION */ //css styles for stat tpl_block_start("addstyle"); print ""; tpl_block_end(); //news block tpl_block_start("crblock2"); @include("_news_block.inc.php"); tpl_block_end(); tpl_block_start("pagetitle"); //page title here print "Календарь - $champname ($champcountry, $champdivision) - Статистика"; tpl_block_end(); tpl_block_start("cenblock2"); //main central block } ?> 0) { ?>
- Cтадии турнира
Финальная (сводная) стадия
0) print $parentname . " - "; ?>
Эмблема <?php print $champname; ?>
0) { ?>
- Другие стадии

0) { ?>

Для ознакомления с календарями предварительных и групповых стадий турнира, выберите выше в списке нужную стадию и нажмите в ней ссылку "Календарь".

0) { ?>
Календарь

"; for ($j=0; $j<$cmcnt; $j++) { $tmatch = $cmatches[$j]; print ""; print ""; print ""; print ""; //score if (($tmatch["match_status"] == 0) || ($tmatch["match_status"] == 1) || ($tmatch["match_status"] == 5)) //waiting, announced or moved print ""; else print ""; //status if ($tmatch["match_status"] == 2) $additstat = "sch-statuslive"; else $additstat = "sch-statusnorm"; print ""; //report if (($tmatch["match_status"] > 0) && ($tmatch["news_id"] != "")) print ""; else print ""; //proto if ($tmatch["match_status"] > 0) print ""; else print ""; print ""; } print ""; } ?>
" . $ctour["tour_name"] . "
" . getVisitorDateType($tmatch["match_date"]) ."" . (($tmatch["match_time"] != "") ? $tmatch["match_time"] : " ") ."" . $tmatch["team1_name"] . ""; print " - "; print "" . $tmatch["team2_name"] . "-:-" . $tmatch["score1"] . ":" . $tmatch["score2"] .""; if ($tmatch["match_status"] == 2) { switch ($tmatch["match_extended_status"]) { case "0": print "Live"; break; case "1": print "1Т"; break; case "2": print "П"; break; case "3": print "2Т"; break; case "4": print "Пос.
О.В."; break; case "5": print "Д.В."; break; case "6": print "Пос.
Д.В."; break; case "7": print "Пен."; break; default: print " "; } } elseif ($tmatch["match_status"] == 3) { switch ($tmatch["match_extended_status"]) { case "6": print "Д.В."; break; case "7": print "Пен.
" . $tmatch["pen_score1"] . ":" . $tmatch["pen_score2"]; break; case "8": print "Тех."; break; default: print " "; } } elseif ($tmatch["match_status"] == 4) print "Прер"; else print " "; print "
Отчет Стат 
\"»\" Подробно о туре