You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 regels
613 B

  1. <div style="overflow-x:auto;">
  2. <table id="passes">
  3. <?php
  4. $row_count=0;
  5. $col_count=0;
  6. $baseurl = $configs->base_url;
  7. foreach ($enhacements as $enhacement) {
  8. if($row_count%3==0) {
  9. echo "<tr>";
  10. $col_count=1;
  11. }
  12. echo "<td><div id =\"satimgdiv\"><a href=". $baseurl . "/" . $path . $enhacement ."><img id=\"satimg\" src=". $baseurl . "/thumb/" . $path . $enhacement ."></img></a></div>";
  13. if($col_count==3) {
  14. echo "</tr>";
  15. }
  16. $row_count++;
  17. $col_count++;
  18. }
  19. ?>
  20. </table>
  21. </div>
  22. </body>
  23. </html>