<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
<title>VLSI Research Group</title>
<link rel="stylesheet" type="text/css" href="cssphp.css" />
</head>
<body>

<br />
<img id="fel1" src="fel_cs.gif" height="80" alt="VLSI Group" />
<center><img src="vlsi2.JPG" height="72" alt="VLSI Group" /></center>
<img id="fel2" src="fel_cs.gif" height="80" alt="VLSI Group" />

<div id="menuu">
<a href="index.php?page=main"><img src="cz.gif"  border="0" height="16" alt="CZ" /></a>
<a id="int" href="http://service.felk.cvut.cz/vlsi/int">Internal Pages</a>
<a href="indexen.php?page=mainen"><img src="en.gif"   border="0" height="16" alt="EN" /></a>
<div id="navigation">
<ul>
<li><a href="index.php?page=main">Home</a></li>
<li><a href="index.php?page=novinky">Novinky</a></li>
<li><a href="index.php?page=people">Lidé</a></li>
<li><a href="index.php?page=projects">Projekty</a></li>
<li><a href="index.php?page=teach">Výuka</a></li>
<li><a href="index.php?page=pubs">Publikace</a></li>
<li><a href="index.php?page=fotoalbum">Fotoalbum</a></li>
<li><a href="index.php?page=Download">Download</a></li>
</ul>
</div>

<div id="news">
<div id="nadpis"></div>
<ul>
<li><center><a href="index.php?page=offered">Nabízené projekty </a></center>
</li>
</ul>
</div>
</div>

<div id="obsah">
<?php
 $kod = "5e7c";
 if(IsSet($_GET['page'])):          //kontrola zda je definovana promena page
{
  $kontrola='([[:space:]]|[[:punct:]]|[[:cntrl:]])+'; //reg vyraz aby se v  dodane hodnote nevyskytovali zadne nechtene znaky, tecka,strednik,mezera lomitka atd.
  if(ereg($kontrola,$_GET['page'])) {$url="main.php";} //pokud tam sou nacte se main
else {if(strcmp($_GET['page'],"Download")==0){$url="Download/index.php";} //pokud se chce nacist Download musi se pridat adresar
      else{ $url=$_GET['page'].".php";}
}
  
  
  
}
 else: $url = "main.php";
 endif;


if(!file_exists($url)){$url="main.php";} //kontrola zda dany soubor existuje
 require $url;
?>
</div>
</body>
</html>
