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.
 
 
 
 
 
 

25 regels
737 B

  1. <table id="passes" class="img-grid">
  2. <?php
  3. $row_count=0;
  4. $col_count=0;
  5. $baseurl = $configs->base_url;
  6. foreach ($images as $image) {
  7. if($row_count%3==0) {
  8. echo "<tr>";
  9. $col_count=1;
  10. }
  11. echo "<td><div id =\"satimgdiv\"><a href=". $baseurl . $image['file_path'] ."><img id=\"satimg\" src=". $baseurl . "thumb/" . $image['file_path'] ."></img></a></div>";
  12. echo "<ul><li>". $image['sat_name'] ."</li>";
  13. echo "<li>". date('d/m/Y H:i:s', $image['pass_start']) ."</li></ul></td>";
  14. if($col_count==3) {
  15. echo "</tr>";
  16. }
  17. $row_count++;
  18. $col_count++;
  19. }
  20. ?>
  21. </table>
  22. </body>
  23. </html>