{include file='header.tpl'} {literal}{/literal} {if $user->user_info.user_level_id==1 && $p>3} Please upgrade your membership to see more messages

{elseif $user->user_info.user_level_id==5 && $p>1} Please upgrade your membership to see more messages

{else} {* $Id: user_messages_outbox.tpl 8 2009-01-11 06:02:53Z john $ *}
  {lang_print id=780}   {lang_print id=781}  
{lang_sprintf id=798 1=$total_pms}
{lang_print id=784}

{* 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_pms} {else} {lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_pms} {/if}
Go to Page:

{/if} {* CHECK IF THERE ARE NO MESSAGES IN OUTBOX *} {if $total_pms == 0}
{lang_print id=799}
{* DISPLAY MESSAGES *} {else}
{* LIST SENT MESSAGES *} {section name=pm_loop loop=$pms} {/section}
{lang_print id=790}   {lang_print id=520}
user_info.user_username)}'> {assign var="profilepicture" value=$pms[pm_loop].pm_user->user_photo("./images/nophoto.png")} {$pms[pm_loop].pm_user->userprofiledot($profilepicture, "90px")} user_info.user_username)}'>{if $pms[pm_loop].pm_recipients == 1}{$pms[pm_loop].pm_user->user_displayname}{else}{lang_sprintf id=800 1=$pms[pm_loop].pm_recipients}{/if}
{$datetime->cdate("`$setting.setting_timeformat` `$setting.setting_dateformat`", $datetime->timezone($pms[pm_loop].pm_date, $global_timezone))}
{$pms[pm_loop].pmconvo_subject|truncate:50}
{if $pms[pm_loop].pm_body|json_decode:true}{$pms[pm_loop].pm_body|json_decode:true|truncate:150|choptext:75:"
"}{else}{$pms[pm_loop].pm_body|truncate:150|choptext:75:"
"}{/if}

{/if} {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_pms} {else} {lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_pms} {/if}
Go to Page:

{/if} {/if} {include file='footer.tpl'}