diff --git a/main/document/slideshow.php b/main/document/slideshow.php index b5f7e3ecad..ec5af67f9b 100644 --- a/main/document/slideshow.php +++ b/main/document/slideshow.php @@ -338,47 +338,45 @@ if ($slide_id == 'all') { }//end if exist file image }//end foreach }//end image files only -} - -// Creating the table -$html_table = ''; -echo ''; -$i = 0; -$count_image = count($image_tag); -$number_iteration = ceil($count_image/$number_image); -$p = 0; -for ($k = 0; $k < $number_iteration; $k++) { - echo ''; - for ($i = 0; $i < $number_image; $i++) { - if (!is_null($image_tag[$p])) { - echo ''; } - - - '; - echo ''.$image_tag[$p].''; - echo ''; - echo ''; + $p++; } - $p++; + echo ''; } - echo ''; -} -echo '
'; - //TODO:move styles to css files and center image vertical - ?> - - + + '; + echo ''.$image_tag[$p].''; + echo ''; + echo '
'; - - + echo ''; +}//end slide==all