Rev 704 Rev 705
Line 64... Line 64...
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"; }
Line 88... Line 88...
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 ?>