{include file='header.tpl'} {* $Id: browse_polls.tpl 246 2009-11-14 03:30:06Z phil $ *}
{lang_print id=2500101}  {lang_print id=2500102} 
{* DISPLAY PAGINATION MENU IF APPLICABLE *} {if $maxpage > 1}
{if $p != 1}« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p != $maxpage}› »{else}› »{/if}
{if $p_start == $p_end} {lang_sprintf id=184 1=$p_start 2=$total_polls} {else} {lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_polls} {/if}
Go to Page:
{/if}
{section name=poll_loop loop=$polls}
{assign var='poll_datecreated' value=$datetime->time_since($polls[poll_loop]->poll_info.poll_datecreated)}{capture assign="created"}{lang_sprintf id=$poll_datecreated[0] 1=$poll_datecreated[1]}{/capture} {lang_sprintf id=2500108 1=$created 2=$url->url_create("profile", $polls[poll_loop]->poll_owner->user_info.user_username) 3=$polls[poll_loop]->poll_owner->user_displayname}
{lang_sprintf id=2500028 1=$polls[poll_loop]->poll_info.poll_totalvotes}, {lang_sprintf id=507 1=$polls[poll_loop]->poll_info.total_comments}, {lang_sprintf id=949 1=$polls[poll_loop]->poll_info.poll_views}
{$polls[poll_loop]->poll_info.poll_desc|escape:html|truncate:75:"...":true}
{cycle values=",
"} {/section}
{if $maxpage > 1}
{if $p != 1}« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p != $maxpage}› »{else}› »{/if}
{if $p_start == $p_end} {lang_sprintf id=184 1=$p_start 2=$total_polls} {else} {lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_polls} {/if}
Go to Page:
{/if} {include file='footer.tpl'}