Line 24... |
Line 24... |
24 |
while ($soubor = readdir($adresar)){ |
24 |
while ($soubor = readdir($adresar)){ |
25 |
if ((Is_Dir($path.$folder."/".$soubor)) && (substr($soubor,0,1) <> ".")) { |
25 |
if ((Is_Dir($path.$folder."/".$soubor)) && (substr($soubor,0,1) <> ".")) { |
26 |
|
26 |
|
27 |
$img = $soubor."_Small.jpg"; |
27 |
$img = $soubor."_Small.jpg"; |
28 |
|
28 |
|
- |
|
29 |
|
29 |
?> |
30 |
?> |
30 |
<table border=0> |
31 |
<table border=0> |
31 |
<tr><td><?php echo $soubor; ?></td></tr> |
32 |
<tr><td><?php echo $soubor; ?></td></tr> |
- |
|
33 |
<?php |
- |
|
34 |
|
- |
|
35 |
if (file_exists($path.$folder."/".$soubor."/CAM_AMA")) { |
- |
|
36 |
?> |
- |
|
37 |
|
32 |
<tr><td><img src="<?php echo $www.$folder.'/'.$soubor."/".$img; ?>"></td></tr> |
38 |
<tr><td><img src="<?php echo $www.$folder.'/'.$soubor."/".$img; ?>"></td></tr> |
33 |
<tr><td><?php include $path.$folder.'/'.$soubor."/".$info; ?></td></tr> |
39 |
<tr><td><?php include $path.$folder.'/'.$soubor."/".$info; ?></td></tr> |
- |
|
40 |
|
- |
|
41 |
|
- |
|
42 |
<?php |
- |
|
43 |
} else { |
- |
|
44 |
?> |
- |
|
45 |
<tr><td> |
- |
|
46 |
<?php |
- |
|
47 |
|
- |
|
48 |
|
- |
|
49 |
$adresar1 = opendir($path.$folder."/".$soubor); |
- |
|
50 |
while ($soubor1 = readdir($adresar1)){ |
- |
|
51 |
if ((Is_Dir($path.$folder."/".$soubor."/".$soubor1)) && (substr($soubor1,0,1) <> ".")) { |
- |
|
52 |
|
- |
|
53 |
$img = $soubor1."_Small.jpg"; |
- |
|
54 |
?> |
- |
|
55 |
<table border=0> |
- |
|
56 |
<tr><td><?php echo $soubor1; ?></td></tr> |
- |
|
57 |
<tr><td><img src="<?php echo $www.$folder.'/'.$soubor."/".$soubor1."/".$img; ?>"></td></tr> |
- |
|
58 |
<tr><td><?php include $path.$folder.'/'.$soubor."/".$soubor1."/".$info; ?></td></tr> |
34 |
</table> |
59 |
</table> |
- |
|
60 |
</td></tr> |
- |
|
61 |
<?php |
- |
|
62 |
} |
- |
|
63 |
|
- |
|
64 |
?> |
- |
|
65 |
</table> |
35 |
|
66 |
|
36 |
<?php |
67 |
<?php |
37 |
|
68 |
|
38 |
|
69 |
|
39 |
} |
70 |
} |