Created
February 19, 2016 23:35
-
-
Save stirlinghewitt/a8ca1c8d196a5e65b18c to your computer and use it in GitHub Desktop.
top performer geoip list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{atbs_geoip lookup=location location=geoip} | |
{atbs_geoip lookup=events ParentCategoryID=2 max=100 location=geoip assign=geolist} | |
<div id="geoip"> | |
<table style="width:100%;" cellspacing="1" cellpadding="1" id="geoip"> | |
{foreach from=$geolist key=k item=geo} | |
{atbs_top_for_category ParentCategoryID=2 limit=200 assign=toplist} | |
{foreach from=$toplist key=k item=top} | |
{if $geo.Event == $top.Performer } | |
<tr class="{cycle values="geoodd,geoeven"}"> | |
<td class="geoEvent"><a href="/{$geo.URL}">{$geo.Event} Tickets</a></td> | |
<td class="geoDate">{$geo.Date|atbsdate:"D M j <b\\r> g:iA"}</td> | |
<td class="geoVenue">{$geo.Venue}</td> | |
<td class="geoMore"><div class="view-ticket-button rounded"> <a href="/{$geo.URL}" class="view-ticket-button-text"><span class="lightwhiteshadow">View Tickets</span></a> </div></td> | |
</tr> | |
{/if} | |
{/foreach} | |
{/foreach} | |
</table> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment