/Web/modules.php
111,29 → 111,25
$img = $soubor."_Small.jpg";
?>
<table>
<tr><td>Náhled</td><td>Název</td><td>PDF</td><td>XML</td><td>WebSVN</td></tr>
<?php
if (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"; }
echo "<td>";
if (file_exists($path.$folder."/".$soubor."/".$soubor1."/DOC/".$soubor1.".".$lang.".pdf")) {
echo "\n<a href=\"".$www.$folder."/".$soubor."/DOC/".$soubor.".".$lang.".pdf\">PDF</a>\n";
} else { echo "\n"; }
echo "<br><a href=\"http://www.mlab.cz/WebSVN/listing.php?repname=MLAB&amp;path=/Modules/".$soubor."/\">WebSVN</a>";
echo "</td>\n";
echo "<tr>";
if (file_exists($path.$folder.'/'.$soubor."/".$img)) { echo "<td><img src=\"".$www.$folder.'/'.$soubor."/".$img."\" width=\"50\"></td>\n"; }
else { echo "<td><img src=\"http://www.mlab.cz/Web/PIC/nopicture2.jpg\" width=\"50\"></td>\n"; }
if (file_exists($path.$folder."/".$soubor."/DOC/HTML/".$soubor.".".$lang.".html")) {
echo "<td><b><a href=\"".$www.$folder."/".$soubor."/DOC/HTML/".$soubor.".".$lang.".html\">".$soubor."</a></b></td>\n";
} else { echo "<td><b>".$soubor."</b></td>\n"; }
if (file_exists($path.$folder."/".$soubor."/".$soubor1."/DOC/".$soubor1.".".$lang.".pdf")) {
echo "\n<td><a href=\"".$www.$folder."/".$soubor."/DOC/".$soubor.".".$lang.".pdf\">PDF</a></td>\n";
} else { echo "\n<td></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";
echo "<td><A HREF=".$www.$folder.'/'.$soubor."/".$info.">XML</A>\n";
} else { echo "\n<td></td>\n"; }
echo "<td><a href=\"http://www.mlab.cz/WebSVN/listing.php?repname=MLAB&amp;path=/Modules/".$soubor."/\">WebSVN</a></td>\n";
echo "</tr>\n\n";
} else {
echo "<tr><td><b>".$soubor."</b></td></tr>\n";
?>
<tr><td>
<?php
echo "<tr>\n";
$adresar1 = opendir($path.$folder."/".$soubor);
while ($soubor1 = readdir($adresar1)){
if ((Is_Dir($path.$folder."/".$soubor."/".$soubor1)) && (substr($soubor1,0,1) <> ".") && (substr($soubor1,0,1) <> "!")) {
145,36 → 141,27
/*<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"; }
echo "<td><img src=\"".$www.$folder.'/'.$soubor."/".$soubor1."/".$img."\" width=\"50\"></td>";
} else { echo "<td><img src=\"http://www.mlab.cz/Web/PIC/nopicture2.jpg\" width=\"150\"></td>\n"; }
 
echo "<td>";
if (file_exists($path.$folder."/".$soubor."/".$soubor1."/DOC/HTML/".$soubor1.".".$lang.".html")) {
echo "<a href=\"".$www.$folder."/".$soubor."/".$soubor1."/DOC/HTML/".$soubor1.".".$lang.".html\">".$soubor1."</a>";
} else { echo $soubor1; }
echo "<td><a href=\"".$www.$folder."/".$soubor."/".$soubor1."/DOC/HTML/".$soubor1.".".$lang.".html\">".$soubor."/".$soubor1."</a></td>\n";
} else { echo "<td>".$soubor."/".$soubor1."</td>\n"; }
if (file_exists($path.$folder."/".$soubor."/".$soubor1."/DOC/".$soubor1.".".$lang.".pdf")) {
echo "\n<br><a href=\"".$www.$folder."/".$soubor."/".$soubor1."/DOC/".$soubor1.".".$lang.".pdf\">PDF</a>\n";
} else { echo "\n"; }
echo "<br><a href=\"http://www.mlab.cz/WebSVN/listing.php?repname=MLAB&amp;path=/Modules/".$soubor."/".$soubor1."/\">WebSVN</a>";
echo "</td>\n";
 
echo "<td><a href=\"".$www.$folder."/".$soubor."/".$soubor1."/DOC/".$soubor1.".".$lang.".pdf\">PDF</a></td>\n";
} else { echo "\n<td></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><a href=".$www.$folder.'/'.$soubor."/".$soubor1."/".$info.">XML</a></td>\n";
} else { echo "<td></td>\n"; }
echo "<td><a href=\"http://www.mlab.cz/WebSVN/listing.php?repname=MLAB&amp;path=/Modules/".$soubor."/".$soubor1."/\">WebSVN</a></td>\n";
echo "</tr>\n\n";
}
}
echo "</td></tr>\n";
echo "</table>\n\n";
}
}
}
?>
</table>
</div>
 
<!-- AUTOINCLUDE START "Page/Footer.<?php echo $lang; ?>.ihtml" DO NOT REMOVE -->