{include file='header.tpl'} {* $Id: user_poll.tpl 12 2009-01-11 06:04:12Z john $ *}
{lang_print id=2500040}
{lang_print id=2500041}
{* SHOW SEARCH FIELD IF ANY ENTRIES EXIST *} {* DISPLAY PAGINATION MENU IF APPLICABLE *} {if $maxpage > 1}
{if $p != 1} « {lang_print id=182} {else} « {lang_print id=182} {/if}  |  {if $p_start==$p_end} {lang_sprintf id=2500035 1=$p_start 2=$total_polls} {else} {lang_sprintf id=2500036 1=$p_start 2=$p_end 3=$total_polls} {/if}  |  {if $p != $maxpage} {lang_print id=183} » {else} {lang_print id=183} » {/if}

{/if} {* JAVASCRIPT *} {lang_javascript ids=2500046,2500047,2500055,2500114,2500115} {section name=poll_loop loop=$polls}
{$polls[poll_loop]->poll_info.poll_title|truncate:30:"...":true}
{assign var='poll_datecreated' value=$datetime->time_since($polls[poll_loop]->poll_info.poll_datecreated)} {lang_sprintf id=2500028 1=$polls[poll_loop]->poll_info.poll_totalvotes} - {lang_sprintf id=2500122 1=$polls[poll_loop]->poll_info.poll_views} - {lang_sprintf id=507 1=$polls[poll_loop]->poll_info.total_comments} - {lang_sprintf id=$poll_datecreated[0] 1=$poll_datecreated[1]}
{if $polls[poll_loop]->poll_info.poll_desc != ""}
{$polls[poll_loop]->poll_info.poll_desc|escape:html|truncate:197:"...":true}
{/if}
{/section}
{* HIDDEN DIV TO DISPLAY DELETE CONFIRMATION MESSAGE *} {* DISPLAY PAGINATION MENU IF APPLICABLE *} {if $maxpage > 1}
{if $p != 1} « {lang_print id=182} {else} « {lang_print id=182} {/if}  |  {if $p_start==$p_end} {lang_sprintf id=2500035 1=$p_start 2=$total_polls} {else} {lang_sprintf id=2500036 1=$p_start 2=$p_end 3=$total_polls} {/if}  |  {if $p != $maxpage} {lang_print id=183} » {else} {lang_print id=183} » {/if}

{/if} {* SHOW NULL MESSAGE *} {if $total_polls == 0 && !empty($search)}
{lang_print id=2500043}
{/if} 0} style='display: none;'{/if} id='pollnullmessage'>
{lang_print id=2500044}
{include file='footer.tpl'}