1 |
<html> |
1 |
<html> |
2 |
<head> |
2 |
<head> |
3 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
3 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
4 |
<title> MLAB moduly </title> |
4 |
<title> MLAB moduly </title> |
5 |
<meta name="keywords" content="stavebnice MLAB univerzální moduly seznam pøehled"> |
5 |
<meta name="keywords" content="stavebnice MLAB univerzální moduly seznam pøehled"> |
6 |
<meta name="description" content="Projekt MLAB, moduly"> |
6 |
<meta name="description" content="Projekt MLAB, moduly"> |
7 |
<!-- AUTOINCLUDE START "Page/Head.cs.ihtml" DO NOT REMOVE --> |
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"> |
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"> |
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"> |
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> |
11 |
<script type="text/javascript" src="../Web/JS/MLAB_Menu.js"></script> |
12 |
<!-- AUTOINCLUDE END --> |
12 |
<!-- AUTOINCLUDE END --> |
13 |
</head> |
13 |
</head> |
14 |
<body> |
14 |
<body> |
15 |
|
15 |
|
16 |
<!-- AUTOINCLUDE START "Page/Header.cs.ihtml" DO NOT REMOVE --> |
16 |
<!-- AUTOINCLUDE START "Page/Header.cs.ihtml" DO NOT REMOVE --> |
17 |
<!-- ============== HLAVICKA ============== --> |
17 |
<!-- ============== HLAVICKA ============== --> |
18 |
<div class="Header"> |
18 |
<div class="Header"> |
19 |
<script type="text/javascript"> |
19 |
<script type="text/javascript"> |
20 |
<!-- |
20 |
<!-- |
21 |
SetRelativePath("../"); |
21 |
SetRelativePath("../"); |
22 |
DrawHeader(); |
22 |
DrawHeader(); |
23 |
// --> |
23 |
// --> |
24 |
</script> |
24 |
</script> |
25 |
<noscript> |
25 |
<noscript> |
26 |
<p><b> Pro zobrazení (vloení) hlavièky je potøeba JavaScript </b></p> |
26 |
<p><b> Pro zobrazení (vloení) hlavièky je potøeba JavaScript </b></p> |
27 |
</noscript> |
27 |
</noscript> |
28 |
</div> |
28 |
</div> |
29 |
<!-- AUTOINCLUDE END --> |
29 |
<!-- AUTOINCLUDE END --> |
30 |
|
30 |
|
31 |
<!-- AUTOINCLUDE START "Page/Menu.cs.ihtml" DO NOT REMOVE --> |
31 |
<!-- AUTOINCLUDE START "Page/Menu.cs.ihtml" DO NOT REMOVE --> |
32 |
<!-- ============== MENU ============== --> |
32 |
<!-- ============== MENU ============== --> |
33 |
<div class="Menu"> |
33 |
<div class="Menu"> |
34 |
<script type="text/javascript"> |
34 |
<script type="text/javascript"> |
35 |
<!-- |
35 |
<!-- |
36 |
SetRelativePath("../"); |
36 |
SetRelativePath("../"); |
37 |
DrawMenu(); |
37 |
DrawMenu(); |
38 |
// --> |
38 |
// --> |
39 |
</script> |
39 |
</script> |
40 |
<noscript> |
40 |
<noscript> |
41 |
<p><b> Pro zobrazení (vloení) menu je potøeba JavaScript </b></p> |
41 |
<p><b> Pro zobrazení (vloení) menu je potøeba JavaScript </b></p> |
42 |
</noscript> |
42 |
</noscript> |
43 |
</div> |
43 |
</div> |
44 |
<!-- AUTOINCLUDE END --> |
44 |
<!-- AUTOINCLUDE END --> |
45 |
|
45 |
|
46 |
|
46 |
|
47 |
|
47 |
|
48 |
<?php |
48 |
<?php |
49 |
/* KONFIGURACE */ |
49 |
/* KONFIGURACE */ |
50 |
$path = '/var/www/Web'; |
50 |
$path = '/var/www/Web'; |
51 |
$www = 'http://www.mlab.cz'; |
51 |
$www = 'http://www.mlab.cz'; |
52 |
$folder = '/../Modules'; |
52 |
$folder = '/../Modules'; |
53 |
/*$img = 'preview.jpg';*/ |
53 |
/*$img = 'preview.jpg';*/ |
54 |
$info = 'ProjectInfo.xml'; |
54 |
$info = 'ProjectInfo.xml'; |
55 |
|
55 |
|
56 |
/* KONEC KONFIGURACE */ |
56 |
/* KONEC KONFIGURACE */ |
57 |
|
57 |
|
58 |
|
58 |
|
59 |
|
59 |
|
60 |
|
60 |
|
61 |
|
61 |
|
62 |
|
62 |
|
63 |
$adresar = opendir($path.$folder); |
63 |
$adresar = opendir($path.$folder); |
64 |
while ($soubor = readdir($adresar)){ |
64 |
while ($soubor = readdir($adresar)){ |
65 |
if ((Is_Dir($path.$folder."/".$soubor)) && (substr($soubor,0,1) <> ".") && (substr($soubor,0,1) <> "!")) { |
65 |
if ((Is_Dir($path.$folder."/".$soubor)) && (substr($soubor,0,1) <> ".") && (substr($soubor,0,1) <> "!")) { |
66 |
$img = $soubor."_Small.jpg"; |
66 |
$img = $soubor."_Small.jpg"; |
67 |
|
67 |
|
68 |
?> |
68 |
?> |
69 |
<table border=0> |
69 |
<table> |
70 |
<tr><td><b><?php echo $soubor; ?></b></td></tr> |
70 |
<tr><td><b><?php echo $soubor; ?></b></td></tr> |
71 |
<?php |
71 |
<?php |
72 |
|
72 |
|
73 |
if (file_exists($path.$folder."/".$soubor."/CAM_AMA")) { |
73 |
if (file_exists($path.$folder."/".$soubor."/CAM_AMA")) { |
74 |
if (file_exists($path.$folder.'/'.$soubor."/".$img)) { echo "<tr><td><img src=\"".$www.$folder.'/'.$soubor."/".$img."\" width=\"150\"></td></tr>\n"; } |
74 |
if (file_exists($path.$folder.'/'.$soubor."/".$img)) { echo "<tr><td><img src=\"".$www.$folder.'/'.$soubor."/".$img."\" width=\"150\"></td></tr>\n"; } |
75 |
if (file_exists($path.$folder.'/'.$soubor."/".$info)) { |
75 |
if (file_exists($path.$folder.'/'.$soubor."/".$info)) { |
76 |
echo "<tr><td>\n"; |
76 |
echo "<tr><td>\n"; |
77 |
xml_parse ($path.$folder.'/'.$soubor."/".$info); |
77 |
xml_parse ($path.$folder.'/'.$soubor."/".$info); |
78 |
echo "\n</td></tr>\n"; |
78 |
echo "\n</td></tr>\n"; |
79 |
} |
79 |
} |
80 |
|
80 |
|
81 |
} else { |
81 |
} else { |
82 |
|
82 |
|
83 |
?> |
83 |
?> |
84 |
<tr><td> |
84 |
<tr><td> |
85 |
<?php |
85 |
<?php |
86 |
|
86 |
|
87 |
$adresar1 = opendir($path.$folder."/".$soubor); |
87 |
$adresar1 = opendir($path.$folder."/".$soubor); |
88 |
while ($soubor1 = readdir($adresar1)){ |
88 |
while ($soubor1 = readdir($adresar1)){ |
89 |
if ((Is_Dir($path.$folder."/".$soubor."/".$soubor1)) && (substr($soubor1,0,1) <> ".") && (substr($soubor1,0,1) <> "!")) { |
89 |
if ((Is_Dir($path.$folder."/".$soubor."/".$soubor1)) && (substr($soubor1,0,1) <> ".") && (substr($soubor1,0,1) <> "!")) { |
90 |
$img = $soubor1."_Small.jpg"; |
90 |
$img = $soubor1."_Small.jpg"; |
91 |
|
91 |
|
92 |
?> |
92 |
?> |
93 |
<table border=0> |
93 |
<table> |
94 |
<?php |
94 |
<?php |
95 |
/*<tr><td colspan="2"><center><?php echo $soubor1; ?></center></td></tr>*/ |
95 |
/*<tr><td colspan="2"><center><?php echo $soubor1; ?></center></td></tr>*/ |
96 |
|
96 |
|
97 |
if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$img)) { |
97 |
if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$img)) { |
98 |
?> |
98 |
?> |
99 |
<tr><td><img src="<?php echo $www.$folder.'/'.$soubor."/".$soubor1."/".$img; ?>" width="150"></td> |
99 |
<tr><td><img src="<?php echo $www.$folder.'/'.$soubor."/".$soubor1."/".$img; ?>" width="150"></td> |
100 |
<?php |
100 |
<?php |
101 |
} else { echo "<tr><td><img src=\"http://www.mlab.cz/Web/PIC/nopicture2.jpg\" width=\"150\"></td>\n"; } |
101 |
} else { echo "<tr><td><img src=\"http://www.mlab.cz/Web/PIC/nopicture2.jpg\" width=\"150\"></td>\n"; } |
102 |
echo "<td>".$soubor1."</td>\n"; |
102 |
echo "<td>".$soubor1."</td>\n"; |
103 |
if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$info)) { |
103 |
if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$info)) { |
104 |
echo "<td><iframe src=".$www.$folder.'/'.$soubor."/".$soubor1."/".$info." name=hlavni scrolling=AUTO align=middle frameborder=0> |
104 |
echo "<td><iframe src=".$www.$folder.'/'.$soubor."/".$soubor1."/".$info." name=hlavni scrolling=AUTO align=middle frameborder=0> |
105 |
Chce to novej prohlíeè...</iframe>\n"; |
105 |
Chce to novej prohlíeè...</iframe>\n"; |
106 |
echo "\n</td></tr>\n"; |
106 |
echo "\n</td></tr>\n"; |
107 |
} else { echo "<td><i>Description isn't availible!!</i></td>\n"; } |
107 |
} else { echo "<td><i>Description isn't availible!!</i></td>\n"; } |
108 |
?> |
108 |
?> |
109 |
</table> |
109 |
</table> |
110 |
</td></tr> |
110 |
</td></tr> |
111 |
<?php |
111 |
<?php |
112 |
} |
112 |
} |
113 |
} |
113 |
} |
114 |
} |
114 |
} |
115 |
|
115 |
|
116 |
?> |
116 |
?> |
117 |
</table> |
117 |
</table> |
118 |
<?php |
118 |
<?php |
119 |
} |
119 |
} |
120 |
} |
120 |
} |
121 |
?> |
121 |
?> |
122 |
|
122 |
|
123 |
|
123 |
|
124 |
<!-- AUTOINCLUDE START "Page/Footer.cs.ihtml" DO NOT REMOVE --> |
124 |
<!-- AUTOINCLUDE START "Page/Footer.cs.ihtml" DO NOT REMOVE --> |
125 |
<!-- ============== PATIÈKA ============== --> |
125 |
<!-- ============== PATIÈKA ============== --> |
126 |
<div class="Footer"> |
126 |
<div class="Footer"> |
127 |
<script type="text/javascript"> |
127 |
<script type="text/javascript"> |
128 |
<!-- |
128 |
<!-- |
129 |
SetRelativePath("../"); |
129 |
SetRelativePath("../"); |
130 |
DrawFooter(); |
130 |
DrawFooter(); |
131 |
// --> |
131 |
// --> |
132 |
</script> |
132 |
</script> |
133 |
<noscript> |
133 |
<noscript> |
134 |
<p><b> Pro zobrazení (vloení) hlavièky je potøeba JavaScript </b></p> |
134 |
<p><b> Pro zobrazení (vloení) hlavièky je potøeba JavaScript </b></p> |
135 |
</noscript> |
135 |
</noscript> |
136 |
</div> |
136 |
</div> |
137 |
<!-- AUTOINCLUDE END --> |
137 |
<!-- AUTOINCLUDE END --> |
138 |
|
138 |
|
139 |
|
139 |
|
140 |
|
140 |
|
141 |
</body> |
141 |
</body> |
142 |
</html> |
142 |
</html> |