663 |
Dawon |
1 |
<html> |
|
|
2 |
<head> |
703 |
Dawon |
3 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
|
4 |
<title> MLAB moduly </title> |
|
|
5 |
<meta name="keywords" content="stavebnice MLAB univerzální moduly seznam pøehled"> |
|
|
6 |
<meta name="description" content="Projekt MLAB, moduly"> |
|
|
7 |
<!-- AUTOINCLUDE START "Page/Head.cs.ihtml" DO NOT REMOVE --> |
|
|
8 |
<link rel="StyleSheet" href="../Web/CSS/MLAB.css" type="text/css" title="MLAB základní styl"> |
|
|
9 |
<link rel="StyleSheet" href="../Web/CSS/MLAB_Print.css" type="text/css" media="print"> |
|
|
10 |
<link rel="shortcut icon" type="image/x-icon" href="../Web/PIC/MLAB.ico"> |
|
|
11 |
<script type="text/javascript" src="../Web/JS/MLAB_Menu.js"></script> |
|
|
12 |
<!-- AUTOINCLUDE END --> |
663 |
Dawon |
13 |
</head> |
|
|
14 |
<body> |
|
|
15 |
|
683 |
Dawon |
16 |
<center> |
|
|
17 |
|
663 |
Dawon |
18 |
<?php |
|
|
19 |
/* KONFIGURACE */ |
665 |
Dawon |
20 |
$path = '/var/www/Web'; |
664 |
Dawon |
21 |
$www = 'http://www.mlab.cz'; |
666 |
Dawon |
22 |
$folder = '/../Modules'; |
667 |
Dawon |
23 |
/*$img = 'preview.jpg';*/ |
678 |
Dawon |
24 |
$info = 'ProjectInfo.xml'; |
663 |
Dawon |
25 |
|
|
|
26 |
/* KONEC KONFIGURACE */ |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
$adresar = opendir($path.$folder); |
|
|
34 |
while ($soubor = readdir($adresar)){ |
671 |
Dawon |
35 |
if ((Is_Dir($path.$folder."/".$soubor)) && (substr($soubor,0,1) <> ".") && (substr($soubor,0,1) <> "!")) { |
677 |
Dawon |
36 |
$img = $soubor."_Small.jpg"; |
663 |
Dawon |
37 |
|
|
|
38 |
?> |
|
|
39 |
<table border=0> |
673 |
Dawon |
40 |
<tr><td><b><?php echo $soubor; ?></b></td></tr> |
668 |
Dawon |
41 |
<?php |
|
|
42 |
|
677 |
Dawon |
43 |
if (file_exists($path.$folder."/".$soubor."/CAM_AMA")) { |
|
|
44 |
if (file_exists($path.$folder.'/'.$soubor."/".$img)) { echo "<tr><td><img src=\"".$www.$folder.'/'.$soubor."/".$img."\" width=\"150\"></td></tr>\n"; } |
|
|
45 |
if (file_exists($path.$folder.'/'.$soubor."/".$info)) { |
|
|
46 |
echo "<tr><td>\n"; |
|
|
47 |
xml_parse ($path.$folder.'/'.$soubor."/".$info); |
|
|
48 |
echo "\n</td></tr>\n"; |
|
|
49 |
} |
668 |
Dawon |
50 |
|
677 |
Dawon |
51 |
} else { |
663 |
Dawon |
52 |
|
668 |
Dawon |
53 |
?> |
|
|
54 |
<tr><td> |
|
|
55 |
<?php |
663 |
Dawon |
56 |
|
677 |
Dawon |
57 |
$adresar1 = opendir($path.$folder."/".$soubor); |
|
|
58 |
while ($soubor1 = readdir($adresar1)){ |
|
|
59 |
if ((Is_Dir($path.$folder."/".$soubor."/".$soubor1)) && (substr($soubor1,0,1) <> ".") && (substr($soubor1,0,1) <> "!")) { |
|
|
60 |
$img = $soubor1."_Small.jpg"; |
663 |
Dawon |
61 |
|
668 |
Dawon |
62 |
?> |
701 |
Dawon |
63 |
<table border=0> |
674 |
Dawon |
64 |
<?php |
687 |
Dawon |
65 |
/*<tr><td colspan="2"><center><?php echo $soubor1; ?></center></td></tr>*/ |
|
|
66 |
|
677 |
Dawon |
67 |
if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$img)) { |
674 |
Dawon |
68 |
?> |
685 |
Dawon |
69 |
<tr><td><img src="<?php echo $www.$folder.'/'.$soubor."/".$soubor1."/".$img; ?>" width="150"></td> |
674 |
Dawon |
70 |
<?php |
697 |
Dawon |
71 |
} else { echo "<tr><td><img src=\"http://www.mlab.cz/Web/PIC/nopicture2.jpg\" width=\"150\"></td>\n"; } |
702 |
Dawon |
72 |
echo "<td>".$soubor1."</td>\n"; |
677 |
Dawon |
73 |
if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$info)) { |
694 |
Dawon |
74 |
echo "<td><iframe src=".$www.$folder.'/'.$soubor."/".$soubor1."/".$info." name=hlavni scrolling=AUTO align=middle frameborder=0> |
681 |
Dawon |
75 |
Chce to novej prohlíeè...</iframe>\n"; |
677 |
Dawon |
76 |
echo "\n</td></tr>\n"; |
700 |
Dawon |
77 |
} else { echo "<td><i>Description isn't availible!!</i></td>\n"; } |
674 |
Dawon |
78 |
?> |
668 |
Dawon |
79 |
</table> |
|
|
80 |
</td></tr> |
|
|
81 |
<?php |
677 |
Dawon |
82 |
} |
|
|
83 |
} |
|
|
84 |
} |
668 |
Dawon |
85 |
|
|
|
86 |
?> |
|
|
87 |
</table> |
|
|
88 |
<?php |
663 |
Dawon |
89 |
} |
|
|
90 |
} |
|
|
91 |
?> |
|
|
92 |
|
683 |
Dawon |
93 |
</center> |
|
|
94 |
|
663 |
Dawon |
95 |
</body> |
|
|
96 |
</html> |