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 = ""; } $champteams = get_champteams_list($champid,$champcountryid); $ctcnt = count($champteams); } 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) { ?>
Информация о командах

"; print ""; } ?>