<?phpif ($HTTP_GET_VARS["lang"] == "en") {$lang = "en";} else {$lang = "cs";}?><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title> MLAB moduly </title><meta name="keywords" content="stavebnice MLAB univerzální moduly seznam přehled"><meta name="description" content="Projekt MLAB, moduly"><!-- AUTOINCLUDE START "Page/Head.<?php echo $lang; ?>.ihtml" DO NOT REMOVE --><link rel="StyleSheet" href="../Web/CSS/MLAB.css" type="text/css" title="MLAB základní styl"><link rel="StyleSheet" href="../Web/CSS/MLAB_Print.css" type="text/css" media="print"><link rel="shortcut icon" type="image/x-icon" href="../Web/PIC/MLAB.ico"><script type="text/javascript" src="../Web/JS/MLAB_Menu.js"></script><!-- AUTOINCLUDE END --></head><body lang="<?php echo $lang; ?>"><!-- AUTOINCLUDE START "Page/Header.<?php echo $lang; ?>.ihtml" DO NOT REMOVE --><!-- ============== HLAVICKA ============== --><div class="Header"><script type="text/javascript"><!--SetRelativePath("../");DrawHeader();// --></script><noscript><?php if ($lang == "cs") {?><p><b> Pro zobrazení (vložení) hlavičky je potřeba JavaScript </b></p><?php } else { ?><p><b> JavaScript is required for including of the header </b></p><?php } ?></noscript></div><!-- AUTOINCLUDE END --><!-- AUTOINCLUDE START "Page/Menu.<?php echo $lang; ?>.ihtml" DO NOT REMOVE --><!-- ============== MENU ============== --><div class="Menu"><script type="text/javascript"><!--SetRelativePath("../");DrawMenu();// --></script><noscript><?php if ($lang == "cs") {?><p><b> Pro zobrazení (vložení) menu je potřeba JavaScript </b></p><?php } else { ?><p><b> JavaScript is required for including of the menu </b><p><?php } ?></noscript></div><!-- AUTOINCLUDE END --><!-- ============== TEXT ============== --><?php if ($lang == "en") { ?><div class="Text"><p class="Title">Overview of MLAB Modules</p><p class=Subtitle>You can find an overview of MLAB Modules here. It is automaticallygenerated page based on source database and the overview can be sortedvariously.</p><p class="Remark">Automatic generation is not written yet.</p><?php } else { ?><div class="Text"><p class="Title">Přehled modulů MLAB</p><p class="Subtitle">Zde je k dispozici přehled existujících modulů stavebnice MLAB. Přehledje generován automaticky a může být setříděn různým způsobem.</p><p class="Remark">Automatické generování přehledů ještě nemáme rozfungované, proto jsouzde zatím jen statické odkazy.</p><?php}/* KONFIGURACE */$path = '/var/www/Web';$www = 'http://www.mlab.cz';$folder = '/../Modules';/*$img = 'preview.jpg';*/$info = 'ProjectInfo.xml';/* KONEC KONFIGURACE */$adresar = opendir($path.$folder);while ($soubor = readdir($adresar)){if ((Is_Dir($path.$folder."/".$soubor)) && (substr($soubor,0,1) <> ".") && (substr($soubor,0,1) <> "!")) {$img = $soubor."_Small.jpg";?><table><?phpif (file_exists($path.$folder."/".$soubor."/CAM_AMA")) {if (file_exists($path.$folder."/".$soubor."/DOC/HTML/".$soubor.".".$lang.".html")) {echo "<tr><td><b><a href=\"".$www.$folder."/".$soubor."/DOC/HTML/".$soubor.".".$lang.".html\">".$soubor."</a></b></td></tr>\n";} else { echo "<tr><td><b>".$soubor."</b></td></tr>\n"; }if (file_exists($path.$folder.'/'.$soubor."/".$img)) { echo "<tr><td><img src=\"".$www.$folder.'/'.$soubor."/".$img."\" width=\"150\"></td>\n"; }else { echo "<tr><td><img src=\"http://www.mlab.cz/Web/PIC/nopicture2.jpg\" width=\"150\"></td>\n"; }if (file_exists($path.$folder.'/'.$soubor."/".$info)) {echo "<td><iframe src=".$www.$folder.'/'.$soubor."/".$info." scrolling=AUTO align=middle frameborder=0></iframe>";echo "\n</td></tr>\n";} else { echo "<td><i>Description isn't availible!!</i></td></tr>\n"; }echo "</table>\n\n";} else {echo "<tr><td><b>".$soubor."</b></td></tr>\n";?><tr><td><?php$adresar1 = opendir($path.$folder."/".$soubor);while ($soubor1 = readdir($adresar1)){if ((Is_Dir($path.$folder."/".$soubor."/".$soubor1)) && (substr($soubor1,0,1) <> ".") && (substr($soubor1,0,1) <> "!")) {$img = $soubor1."_Small.jpg";?><table><?php/*<tr><td colspan="2"><center><?php echo $soubor1; ?></center></td></tr>*/if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$img)) {?><tr><td><img src="<?php echo $www.$folder.'/'.$soubor."/".$soubor1."/".$img; ?>" width="150"></td><?php} else { echo "<tr><td><img src=\"http://www.mlab.cz/Web/PIC/nopicture2.jpg\" width=\"150\"></td>\n"; }if (file_exists($path.$folder."/".$soubor."/".$soubor1."/DOC/HTML/".$soubor1.".".$lang.".html")) {echo "<td><a href=\"".$www.$folder."/".$soubor."/".$soubor1."/DOC/HTML/".$soubor1.".".$lang.".html\">".$soubor1."</a></td>\n";} else { echo "<td>".$soubor1."</td>\n"; }if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$info)) {echo "<td><iframe src=".$www.$folder.'/'.$soubor."/".$soubor1."/".$info." scrolling=AUTO align=middle frameborder=0></iframe>";echo "\n</td></tr>\n";} else { echo "<td><i>Description isn't availible!!</i></td></tr>\n"; }?></table><?php}}echo "</td></tr>\n";echo "</table>\n\n";}}}?></div><!-- AUTOINCLUDE START "Page/Footer.<?php echo $lang; ?>.ihtml" DO NOT REMOVE --><!-- ============== PATIČKA ============== --><div class="Footer"><script type="text/javascript"><!--SetRelativePath("../");DrawFooter();// --></script><noscript><?php if ($lang == "cs") {?><p><b> Pro zobrazení (vložení) zápatí je potřeba JavaScript </b></p><?php } else { ?><p><b> JavaScript is required for including of the footer </b></p><?php } ?></noscript></div><!-- AUTOINCLUDE END --></body></html>