Chyba: page not found!"); }; } else { $page="main"; }; require("./includes/menu.build.inc.php"); $menu=new menu("./includes/menu.inc"); ?> Sage <? switch($page){ case "main": break; case "news": echo " - News archiv"; break; case "sitemap": echo " - Site map"; break; case "press": echo " - Press news"; break; case "documents": echo " - Documents"; break; case "search": echo " - Search results"; break; default: echo " - ".mysql_result($page_db,0,"title"); break; }; ?>
 
home
Main page
sitemap
Site map
contact
Contact
A:Hlinky 60/144
CZ-603 00 Brno
T:+420 517 577 110
E:sage@sage.cz
 
lang_top
en cs
lang_bottom
getPath($page); if(is_array($path)){ echo "
"; echo "\"arrow\"Main page\"arrow\""; for($i=sizeof($path)-1;$i>0;$i--){ echo "".$path[$i]["name"]."\"arrow\""; }; echo $path[0]; echo "
"; }; }; switch($page){ case "main": require("./includes/page.main.inc.php"); break; case "news": require("./includes/page.news.inc.php"); break; case "sitemap": require("./includes/page.sitemap.inc.php"); break; case "press": require("./includes/page.press.inc.php"); break; case "documents": require("./includes/page.documents.inc.php"); break; case "search": require("./includes/page.search.inc.php"); break; default: //natahnuti titulku z databaze... echo "

".mysql_result($page_db,0,"title")."

"; //pokud existuje obrazek zobrazime... if(file_exists("./images/content/".$page.".jpg")){ echo "\"content-image\""; }; //natahnuti textu z databaze... echo mysql_result($page_db,0,"content"); break; }; ?>