Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="slides">
- <% loop Images %>
- <div class="slide <%if not First %>hide<% end_if %>">
- <img src="$Image.URL" />
- <div class="caption pull-left">$Caption</div>
- <div class="dots pull-right">
- $ID // Prints 1, 2 depending on the iteration
- <% loop $Top.Images %>
- $Up.ID // $Up.ID ALWAYS prints 1 regardless of iteration
- <% if $ID == $Up.ID %>
- <img src="$ThemeDir/images/spot-blue.png" />
- <% else %>
- <img src="$ThemeDir/images/spot-black.png" />
- <% end_if %>
- <% end_loop %>
- </div>
- </div>
- <% end_loop %>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement