views-view-unformatted--nodequeue-6--block.tpl.php

Default simple view template to display a list of rows.

File

profiles/cis/themes/cis-theme/templates/views-view-unformatted--nodequeue-6--block.tpl.php
View source
  1. <?php
  2. /**
  3. * @file
  4. * Default simple view template to display a list of rows.
  5. *
  6. * @ingroup views_templates
  7. */
  8. if (count($rows) > 1) {
  9. $count = 12 / (count($rows)-1);
  10. }
  11. ?>
  12. <?php foreach ($rows as $id => $row): ?>
  13. <?php if ($id == 0) { ?>
  14. <div<?php if ($classes_array[$id]) { print ' class="' . $classes_array[$id] .' row cis-featured-first-row"'; } ?>>
  15. <?php
  16. print '<div class="columns small-12 large-6 cis-featured-first-image">';
  17. print $row;
  18. print '</div>';
  19. ?>
  20. </div>
  21. <div class="row">
  22. <div class="columns small-11 large-11 small-centered large-centered">
  23. <div class="row cis-featured-old-row">
  24. <?php }else{ ?>
  25. <div<?php if ($classes_array[$id]) { print ' class="' . $classes_array[$id] .'"'; } ?>>
  26. <?php
  27. print '<div class="columns small-12 large-' . $count . ' cis-featured-older">';
  28. print $row;
  29. print '</div>';
  30. ?>
  31. </div>
  32. <?php }?>
  33. <?php endforeach; ?>
  34. </div></div></div>

Related topics