707 |
Dawon |
1 |
<html> |
663 |
Dawon |
2 |
<head> |
703 |
Dawon |
3 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
|
4 |
<title> MLAB moduly </title> |
707 |
Dawon |
5 |
<meta name="keywords" content="stavebnice MLAB univerzální moduly seznam přehled"> |
703 |
Dawon |
6 |
<meta name="description" content="Projekt MLAB, moduly"> |
|
|
7 |
<!-- AUTOINCLUDE START "Page/Head.cs.ihtml" DO NOT REMOVE --> |
707 |
Dawon |
8 |
<link rel="StyleSheet" href="../Web/CSS/MLAB.css" type="text/css" title="MLAB základní styl"> |
703 |
Dawon |
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 |
|
704 |
Dawon |
16 |
<!-- AUTOINCLUDE START "Page/Header.cs.ihtml" DO NOT REMOVE --> |
|
|
17 |
<!-- ============== HLAVICKA ============== --> |
|
|
18 |
<div class="Header"> |
|
|
19 |
<script type="text/javascript"> |
|
|
20 |
<!-- |
|
|
21 |
SetRelativePath("../"); |
|
|
22 |
DrawHeader(); |
|
|
23 |
// --> |
|
|
24 |
</script> |
|
|
25 |
<noscript> |
707 |
Dawon |
26 |
<p><b> Pro zobrazení (vložení) hlavičky je potřeba JavaScript </b></p> |
704 |
Dawon |
27 |
</noscript> |
|
|
28 |
</div> |
|
|
29 |
<!-- AUTOINCLUDE END --> |
683 |
Dawon |
30 |
|
704 |
Dawon |
31 |
<!-- AUTOINCLUDE START "Page/Menu.cs.ihtml" DO NOT REMOVE --> |
|
|
32 |
<!-- ============== MENU ============== --> |
|
|
33 |
<div class="Menu"> |
|
|
34 |
<script type="text/javascript"> |
|
|
35 |
<!-- |
|
|
36 |
SetRelativePath("../"); |
|
|
37 |
DrawMenu(); |
|
|
38 |
// --> |
|
|
39 |
</script> |
|
|
40 |
<noscript> |
707 |
Dawon |
41 |
<p><b> Pro zobrazení (vložení) menu je potřeba JavaScript </b></p> |
704 |
Dawon |
42 |
</noscript> |
|
|
43 |
</div> |
|
|
44 |
<!-- AUTOINCLUDE END --> |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
706 |
Dawon |
48 |
<!-- ============== TEXT ============== --> |
|
|
49 |
<div class="Text"> |
|
|
50 |
<p class="Title"> |
707 |
Dawon |
51 |
Přehled modulů MLAB |
706 |
Dawon |
52 |
</p> |
|
|
53 |
<p class="Subtitle"> |
707 |
Dawon |
54 |
Zde je k dispozici přehled existujících modulů stavebnice MLAB. Přehled |
|
|
55 |
je generován automaticky a může být setříděn různým způsobem. |
706 |
Dawon |
56 |
</p> |
|
|
57 |
|
|
|
58 |
<p class="Remark"> |
707 |
Dawon |
59 |
Automatické generování přehledů ještě nemáme rozfungované, proto jsou |
|
|
60 |
zde zatím jen statické odkazy. |
706 |
Dawon |
61 |
</p> |
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
663 |
Dawon |
65 |
<?php |
|
|
66 |
/* KONFIGURACE */ |
665 |
Dawon |
67 |
$path = '/var/www/Web'; |
664 |
Dawon |
68 |
$www = 'http://www.mlab.cz'; |
666 |
Dawon |
69 |
$folder = '/../Modules'; |
667 |
Dawon |
70 |
/*$img = 'preview.jpg';*/ |
678 |
Dawon |
71 |
$info = 'ProjectInfo.xml'; |
663 |
Dawon |
72 |
|
|
|
73 |
/* KONEC KONFIGURACE */ |
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
$adresar = opendir($path.$folder); |
|
|
81 |
while ($soubor = readdir($adresar)){ |
671 |
Dawon |
82 |
if ((Is_Dir($path.$folder."/".$soubor)) && (substr($soubor,0,1) <> ".") && (substr($soubor,0,1) <> "!")) { |
677 |
Dawon |
83 |
$img = $soubor."_Small.jpg"; |
663 |
Dawon |
84 |
|
|
|
85 |
?> |
705 |
Dawon |
86 |
<table> |
673 |
Dawon |
87 |
<tr><td><b><?php echo $soubor; ?></b></td></tr> |
668 |
Dawon |
88 |
<?php |
|
|
89 |
|
677 |
Dawon |
90 |
if (file_exists($path.$folder."/".$soubor."/CAM_AMA")) { |
|
|
91 |
if (file_exists($path.$folder.'/'.$soubor."/".$img)) { echo "<tr><td><img src=\"".$www.$folder.'/'.$soubor."/".$img."\" width=\"150\"></td></tr>\n"; } |
|
|
92 |
if (file_exists($path.$folder.'/'.$soubor."/".$info)) { |
|
|
93 |
echo "<tr><td>\n"; |
|
|
94 |
xml_parse ($path.$folder.'/'.$soubor."/".$info); |
|
|
95 |
echo "\n</td></tr>\n"; |
|
|
96 |
} |
668 |
Dawon |
97 |
|
677 |
Dawon |
98 |
} else { |
663 |
Dawon |
99 |
|
668 |
Dawon |
100 |
?> |
|
|
101 |
<tr><td> |
|
|
102 |
<?php |
663 |
Dawon |
103 |
|
677 |
Dawon |
104 |
$adresar1 = opendir($path.$folder."/".$soubor); |
|
|
105 |
while ($soubor1 = readdir($adresar1)){ |
|
|
106 |
if ((Is_Dir($path.$folder."/".$soubor."/".$soubor1)) && (substr($soubor1,0,1) <> ".") && (substr($soubor1,0,1) <> "!")) { |
|
|
107 |
$img = $soubor1."_Small.jpg"; |
663 |
Dawon |
108 |
|
668 |
Dawon |
109 |
?> |
705 |
Dawon |
110 |
<table> |
674 |
Dawon |
111 |
<?php |
687 |
Dawon |
112 |
/*<tr><td colspan="2"><center><?php echo $soubor1; ?></center></td></tr>*/ |
|
|
113 |
|
677 |
Dawon |
114 |
if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$img)) { |
674 |
Dawon |
115 |
?> |
685 |
Dawon |
116 |
<tr><td><img src="<?php echo $www.$folder.'/'.$soubor."/".$soubor1."/".$img; ?>" width="150"></td> |
674 |
Dawon |
117 |
<?php |
697 |
Dawon |
118 |
} else { echo "<tr><td><img src=\"http://www.mlab.cz/Web/PIC/nopicture2.jpg\" width=\"150\"></td>\n"; } |
702 |
Dawon |
119 |
echo "<td>".$soubor1."</td>\n"; |
677 |
Dawon |
120 |
if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$info)) { |
694 |
Dawon |
121 |
echo "<td><iframe src=".$www.$folder.'/'.$soubor."/".$soubor1."/".$info." name=hlavni scrolling=AUTO align=middle frameborder=0> |
707 |
Dawon |
122 |
Chce to novej prohlížeč..</iframe>\n"; |
677 |
Dawon |
123 |
echo "\n</td></tr>\n"; |
700 |
Dawon |
124 |
} else { echo "<td><i>Description isn't availible!!</i></td>\n"; } |
674 |
Dawon |
125 |
?> |
668 |
Dawon |
126 |
</table> |
|
|
127 |
</td></tr> |
|
|
128 |
<?php |
677 |
Dawon |
129 |
} |
|
|
130 |
} |
|
|
131 |
} |
668 |
Dawon |
132 |
|
|
|
133 |
?> |
708 |
Dawon |
134 |
|
668 |
Dawon |
135 |
<?php |
663 |
Dawon |
136 |
} |
|
|
137 |
} |
|
|
138 |
?> |
708 |
Dawon |
139 |
</table> </div> |
663 |
Dawon |
140 |
|
704 |
Dawon |
141 |
<!-- AUTOINCLUDE START "Page/Footer.cs.ihtml" DO NOT REMOVE --> |
707 |
Dawon |
142 |
<!-- ============== PATIČKA ============== --> |
704 |
Dawon |
143 |
<div class="Footer"> |
|
|
144 |
<script type="text/javascript"> |
|
|
145 |
<!-- |
|
|
146 |
SetRelativePath("../"); |
|
|
147 |
DrawFooter(); |
|
|
148 |
// --> |
|
|
149 |
</script> |
|
|
150 |
<noscript> |
707 |
Dawon |
151 |
<p><b> Pro zobrazení (vložení) hlavičky je potřeba JavaScript </b></p> |
704 |
Dawon |
152 |
</noscript> |
|
|
153 |
</div> |
|
|
154 |
<!-- AUTOINCLUDE END --> |
|
|
155 |
|
|
|
156 |
|
|
|
157 |
|
663 |
Dawon |
158 |
</body> |
|
|
159 |
</html> |