{include file='admin_header.tpl'} {literal} {/literal}

{lang_print id=100014222} {$user_username}

{lang_print id=100014223}

  {lang_print id=100014224}   {lang_print id=100014225}   {lang_print id=100014260}    «   {lang_print id=100014226}

{if $error_message != ""}
{lang_print id=$error_message}
{/if} {if $result != ""}
{lang_print id=$result}
{/if}
{if $userplans|@count > 0 } {foreach from=$userplans item=userplan} {if $userplan->userplan_info.userplan_handler != 0} {lang_print id=100014252}

{/if}
{* Can delete only cancelled,expired ? *} {if $userplan->userplan_info.userplan_handler == 0} {/if} {if ($userplan->userplan_info.userplan_handler != 0) && (($userplan->userplan_info.userplan_state == 0) OR ($userplan->userplan_info.userplan_state == 1)OR ($userplan->userplan_info.userplan_state == 4)OR ($userplan->userplan_info.userplan_state == 7 ))} {/if} {* PLAN *} {* STATUS / STATE *} {* START DATE *} {* EXPIRATION DATE *} {* NEXT PAYMENT DATE *} {* {if $userplan->userplan_info.userplan_expiredate != 0} {/if} *} {* last payment - how to know? *} {* MANAGED BY *}
{lang_print id=100014234} {if $userplan->userplan_info.userplan_handler == 0} {else} {$userplan->userplan_info.plan_name} {/if}
{lang_print id=100014235} {if $userplan->userplan_info.userplan_handler == 0} {else} {lang_print id=$userplan->userplan_info.userplan_statetext} {/if}
{lang_print id=100014237} {assign var=userplan_startdate value=$datetime->timezone($userplan->userplan_info.userplan_startdate, $global_timezone)} {$datetime->cdate("`$setting.setting_dateformat` `$setting.setting_timeformat`", $userplan_startdate)}
{lang_print id=100014244} {if $userplan->userplan_info.userplan_handler == 0}
userplan_info.userplan_expiredate != 0}style="display:none"{/if}> {lang_print id=100014371}  {lang_print id=100014372}
userplan_info.userplan_expiredate == 0}style="display:none"{/if}>   or {lang_print id=100014373}
{else} {assign var=userplan_expiredate value=$datetime->timezone($userplan->userplan_info.userplan_expiredate , $global_timezone)} {$datetime->cdate("`$setting.setting_dateformat` `$setting.setting_timeformat`", $userplan_expiredate)}
{/if}
{lang_print id=100014238} {lang_print id=100014238}
{lang_print id=100014245} ({lang_print id=100014246})
{lang_print id=100014247} {if $userplan->userplan_info.userplan_handler == 0} {lang_print id=100014251} {else} {assign var=userplan_handler value=$userplan->userplan_info.userplan_handler} {$payment_gateways[$userplan_handler].paymentgateway_name} {/if}
{/foreach}

{if $userplan->userplan_info.userplan_handler == 0}
 
{/if} {else}
{lang_print id=100014229}
{/if}
{include file='admin_footer.tpl'}