/*$pageHeader+rootMenuNameText2+currentItemText$*/

//#local site_file = xml_root(xml_open("site.xml")) //#local games_file = xml_root(xml_open("games.xml")) //#local games_list = xml_list(xml_get(xml_list(games_file,"games"),0),"game") //#local languages= xml_list(xml_get(xml_list(site_file,"languages"),0),"lang") //#local langsNumber = xml_size(languages) //#local langIndex = 0 //#while langIndex0 //#local menuList = xml_list(site_file,"menu"+menuMainIndex) //#if xml_size(menuList)==0 //#local menuList=-1 //#local menuMainIndex = -1 //#continue //#endif //#local menuList = xml_get(menuList,0) //#local menuSubIndex = 0 //#local submenuList = xml_list(menuList,"item") //#local rootMenuNameText = xml_list(menuList,"textname") //#local rootMenuNameID = "menu"+menuMainIndex //#if xml_size(rootMenuNameText)==0 //#local rootMenuNameText="" //#else //#local rootMenuNameText = xml_get(rootMenuNameText,0) //#local rootMenuNameText=str2web(xml_text(xml_get(xml_list(rootMenuNameText,curLangID),0))) //#endif //#local submenuItemsNumber = xml_size(submenuList) //#echo SUBITEMS: /*$submenuItemsNumber$*/ //#while menuSubIndex
//#local pageHeader = str2web(xml_text(xml_get(xml_list(xml_get(xml_list(site_file,"header"),0),curLangID),0))) //#if strlen(rootMenuNameText)==0 //#local rootMenuNameText2="/" //#else //#local rootMenuNameText2="/"+rootMenuNameText+"/" //#endif

//#if curLangID=="eng" MENU //#else //#if curLangID=="rus"
НАВИГАЦИЯ
//#endif //#endif
//#local li = 0 //#while li
/*$locLangText$*/
//#else | /*$locLangText$*/ //#endif //#local li = li +1 //#end

/*$currentItemText$*/
//#local l_templateID = xml_list(currentItem,"template") //#if xml_size(l_templateID)>0 //#local l_templateID = xml_text(xml_get(l_templateID,0)) //#include l_templateID //#else //#include "./"+currentItemID+".htm" //#endif //#include "./"+"hotnews.htm"

//#local footer = xml_text(xml_get(xml_list(xml_get(xml_list(site_file,"footer"),0),curLangID),0))
//#flush //#local menuSubIndex = menuSubIndex + 1 //#end //#local menuMainIndex = menuMainIndex +1 //#end //#local langIndex = langIndex+1 //#end //#outname "end.txt"