HosipLan

Untitled

Jul 22nd, 2013
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Smarty 0.63 KB | None | 0 0
  1. <div id="country_list">
  2. <h3>Proxies by country</h3>
  3. {foreach array_chunk($country_list, count($country_list) / 3) as $chunk => $countries}
  4.     <div id="country_list_{= ($chunk == 0 ? 'left' : ($chunk == 1 ? 'middle' : 'right'))}">
  5.     {foreach $countries as $country}
  6.         <img src="flags/blank.gif" class="flag flag-{$country->country_short|lower}"/>
  7.             ({$country->country_short}) <a n:href="Proxylist:country $country->country_short,'all','ping','all'">
  8.                 {$country->country_cut} {if $country->count > 1}proxies{else}proxy{/if}
  9.             </a> ({$country->count})
  10.         <br/>  
  11.     {/foreach}
  12.     </div>
  13. {/foreach}
  14.  <br style="clear: left;" />
  15. </div>
Advertisement
Add Comment
Please, Sign In to add comment