Rev 778 Rev 779
Line 134... Line 134...
134 if (file_exists($path.$folder.'/'.$soubor."/".$info1)) { 134 if (file_exists($path.$folder.'/'.$soubor."/".$info1)) {
135 $fp = FOpen ($path.$folder.'/'.$soubor."/".$info1, "r"); 135 $fp = FOpen ($path.$folder.'/'.$soubor."/".$info1, "r");
136 $data = FRead ($fp, FileSize ($path.$folder.'/'.$soubor."/".$info1)); 136 $data = FRead ($fp, FileSize ($path.$folder.'/'.$soubor."/".$info1));
137 FClose ($fp); 137 FClose ($fp);
138 echo "<td>".wordwrap($data, 50, "<br>")."</td>\n"; 138 echo "<td>".wordwrap($data, 50, "<br>")."</td>\n";
139 } else { echo "\n<td><i>No description available!!</i></td>\n"; } 139 } else { echo "\n<td><i>No description available</i></td>\n"; }
140 echo "</tr>\n\n"; 140 echo "</tr>\n\n";
141 } else { 141 } else {
-   142 echo $path.$folder.'/'.$soubor."/".$info1;
142 echo "<tr>\n<td><img src=\"thumb.php?pth=xxx&fname=xxx\"></td>\n<td><a href=\"modules.php?lang=".$lang."&file=".$soubor."\">".$soubor."</a></td>\n"; 143 echo "<tr>\n<td><img src=\"thumb.php?pth=xxx&fname=xxx\"></td>\n<td><a href=\"modules.php?lang=".$lang."&file=".$soubor."\">".$soubor."</a></td>\n";
143 echo "<td>-</td>\n<td><a href=\"http://www.mlab.cz/WebSVN/listing.php?repname=MLAB&amp;path=/Modules/".$soubor."/\">WebSVN</a></td>\n<td><i>No description available!!</i></td></tr>\n\n"; 144 echo "<td>-</td>\n<td><a href=\"http://www.mlab.cz/WebSVN/listing.php?repname=MLAB&amp;path=/Modules/".$soubor."/\">WebSVN</a></td>\n<td><i>No description available!!</i></td></tr>\n\n";
144 } 145 }
145 } 146 }
146 } 147 }