Rev 676 Rev 677
Line 21... Line 21...
21   21  
22   22  
23 $adresar = opendir($path.$folder); 23 $adresar = opendir($path.$folder);
24 while ($soubor = readdir($adresar)){ 24 while ($soubor = readdir($adresar)){
25 if ((Is_Dir($path.$folder."/".$soubor)) && (substr($soubor,0,1) <> ".") && (substr($soubor,0,1) <> "!")) { 25 if ((Is_Dir($path.$folder."/".$soubor)) && (substr($soubor,0,1) <> ".") && (substr($soubor,0,1) <> "!")) {
26   -  
27 $img = $soubor."_Small.jpg"; 26 $img = $soubor."_Small.jpg";
28   -  
29   27  
30 ?> 28 ?>
31 <table border=0> 29 <table border=0>
32 <tr><td><b><?php echo $soubor; ?></b></td></tr> 30 <tr><td><b><?php echo $soubor; ?></b></td></tr>
33 <?php 31 <?php
34   32  
35 if (file_exists($path.$folder."/".$soubor."/CAM_AMA")) { 33 if (file_exists($path.$folder."/".$soubor."/CAM_AMA")) {
-   34 if (file_exists($path.$folder.'/'.$soubor."/".$img)) { echo "<tr><td><img src=\"".$www.$folder.'/'.$soubor."/".$img."\" width=\"150\"></td></tr>\n"; }
-   35 if (file_exists($path.$folder.'/'.$soubor."/".$info)) {
-   36 echo "<tr><td>\n";
-   37 xml_parse ($path.$folder.'/'.$soubor."/".$info);
-   38 echo "\n</td></tr>\n";
-   39 }
36   40  
37 if (file_exists($path.$folder.'/'.$soubor."/".$img)) { echo "<tr><td><img src=\"".$www.$folder.'/'.$soubor."/".$img."\" width=\"150\"></td></tr>\n"; } -  
38 if (file_exists($path.$folder.'/'.$soubor."/".$info)) { -  
39 echo "<tr><td>\n"; 41 } else {
40 include $path.$folder.'/'.$soubor."/".$info; -  
41 echo "\n</td></tr>\n"; -  
42 } -  
43   42  
44 } else { -  
45 ?> 43 ?>
46 <tr><td> 44 <tr><td>
47 <?php 45 <?php
48   46  
-   47 $adresar1 = opendir($path.$folder."/".$soubor);
-   48 while ($soubor1 = readdir($adresar1)){
-   49 if ((Is_Dir($path.$folder."/".$soubor."/".$soubor1)) && (substr($soubor1,0,1) <> ".") && (substr($soubor1,0,1) <> "!")) {
-   50 $img = $soubor1."_Small.jpg";
49   51  
50 $adresar1 = opendir($path.$folder."/".$soubor); -  
51 while ($soubor1 = readdir($adresar1)){ -  
52 if ((Is_Dir($path.$folder."/".$soubor."/".$soubor1)) && (substr($soubor1,0,1) <> ".") && (substr($soubor1,0,1) <> "!")) { -  
53   -  
54 $img = $soubor1."_Small.jpg"; -  
55 ?> 52 ?>
56 <table border=0> 53 <table border=0>
57 <tr><td><?php echo $soubor1; ?></td></tr> 54 <tr><td><?php echo $soubor1; ?></td></tr>
58 <?php 55 <?php
59 if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$img)) { 56 if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$img)) {
60 ?> 57 ?>
61 <tr><td><img src="<?php echo $www.$folder.'/'.$soubor."/".$soubor1."/".$img; ?>" width="150"></td></tr> 58 <tr><td><img src="<?php echo $www.$folder.'/'.$soubor."/".$soubor1."/".$img; ?>" width="150"></td></tr>
62 <?php 59 <?php
63 } 60 }
64 if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$info)) { 61 if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$info)) {
65 echo "<tr><td>\n"; 62 echo "<tr><td>\n";
66 include $path.$folder.'/'.$soubor."/".$soubor1."/".$info; 63 xml_parse ($path.$folder.'/'.$soubor."/".$soubor1."/".$info);
67 echo "\n</td></tr>\n"; 64 echo "\n</td></tr>\n";
68 } 65 }
69 ?> 66 ?>
70 </table> 67 </table>
71 </td></tr> 68 </td></tr>
72 <?php 69 <?php
-   70 }
73 }} 71 }
74 } 72 }
75   73  
76 ?> 74 ?>
77 </table> 75 </table>
78   -  
79 <?php 76 <?php
80   -  
81   -  
82 } 77 }
83 } 78 }
84   -  
85   -  
86   -  
87 ?> 79 ?>
88   80  
89 </body> 81 </body>
90 </html> 82 </html>