diff --git a/main/document/slideshow.php b/main/document/slideshow.php index b6278dbdc1..92c1191133 100644 --- a/main/document/slideshow.php +++ b/main/document/slideshow.php @@ -1,4 +1,4 @@ -'; - echo ''; - echo ''; - echo "".$image_files_only[$slide].""; - echo ''; - echo ''; - echo ''; - echo ''; - $aux= explode(".", htmlspecialchars($image_files_only[$slide])); - $ext= $aux[count($aux)-1]; - echo ''.basename(htmlspecialchars($image_files_only[$slide]), '.'.$ext).''; - echo '
'.$row['comment'].'
'; - list($width, $high) = getimagesize($image); - echo $width.' x '.$high.' '.round((filesize($image)/1024),2).' KB'; - echo ' - '.$ext; - echo ''; - echo ''; - echo ''; + // back forward buttons echo ''; echo ''; echo ''; echo ''; echo '
'; // previous slide - if ($slide > 0) - { + if ($slide > 0) { echo ''; } echo ''; - if ($slide > 0) - { + if ($slide > 0) { echo " "; } // divider - if ($slide_id <> "all") - { + if ($slide_id <> "all") { echo ' [ '.$next_slide.'/'.$total_slides.' ] '; } // next slide - if ($slide < $total_slides -1 and $slide_id <> "all") - { + if ($slide < $total_slides -1 and $slide_id <> "all") { echo ""; } echo ''; - if ($slide > 0) - { + if ($slide > 0) { echo ''; } echo '
'; + echo '
'; + + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo '
'; + echo "".$image_files_only[$slide].""; + echo '
'; + $aux= explode(".", htmlspecialchars($image_files_only[$slide])); + $ext= $aux[count($aux)-1]; + echo ''.basename(htmlspecialchars($image_files_only[$slide]), '.'.$ext).''; + echo '
'.$row['comment'].'
'; + list($width, $high) = getimagesize($image); + echo $width.' x '.$high.'
'; + echo round((filesize($image)/1024),2).' KB'; + echo ' - '.$ext; + echo '
'; + + } // if ($slide_id!=="all") Display :: display_footer();