Line 131... |
Line 131... |
131 |
$adresar1 = opendir($path.$folder."/".$soubor); |
131 |
$adresar1 = opendir($path.$folder."/".$soubor); |
132 |
while ($soubor1 = readdir($adresar1)){ |
132 |
while ($soubor1 = readdir($adresar1)){ |
133 |
if ((Is_Dir($path.$folder."/".$soubor."/".$soubor1)) && (substr($soubor1,0,1) <> ".") && (substr($soubor1,0,1) <> "!")) { |
133 |
if ((Is_Dir($path.$folder."/".$soubor."/".$soubor1)) && (substr($soubor1,0,1) <> ".") && (substr($soubor1,0,1) <> "!")) { |
134 |
$img = $soubor1."_Small.jpg"; |
134 |
$img = $soubor1."_Small.jpg"; |
135 |
|
135 |
|
136 |
?> |
136 |
|
137 |
<table> |
- |
|
138 |
<?php |
- |
|
139 |
/*<tr><td colspan="2"><center><?php echo $soubor1; ?></center></td></tr>*/ |
- |
|
140 |
|
137 |
|
141 |
if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$img)) { |
138 |
if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$img)) { |
142 |
echo "<td><img src=\"".$www.$folder.'/'.$soubor."/".$soubor1."/".$img."\" width=\"50\"></td>"; |
139 |
echo "<td><img src=\"".$www.$folder.'/'.$soubor."/".$soubor1."/".$img."\" width=\"50\"></td>"; |
143 |
} else { echo "<td><img src=\"http://www.mlab.cz/Web/PIC/nopicture2.jpg\" width=\"150\"></td>\n"; } |
140 |
} else { echo "<td><img src=\"http://www.mlab.cz/Web/PIC/nopicture2.jpg\" width=\"150\"></td>\n"; } |
144 |
|
141 |
|