122 lines
3.6 KiB
Smarty
122 lines
3.6 KiB
Smarty
{include file='header.tpl'}
|
|
|
|
<table class='tabs' cellpadding='0' cellspacing='0'>
|
|
<tr>
|
|
<td class='tab0'> </td>
|
|
<td class='tab2' NOWRAP><a href='user_plan.php'>{lang_print id=100014331}</a></td>
|
|
<td class='tab'> </td>
|
|
<td class='tab2' NOWRAP><a href='user_plan_history.php'>{lang_print id=100014332}</a></td>
|
|
<td class='tab'> </td>
|
|
<td class='tab1' NOWRAP><a href='user_plan_upgrade.php'>{lang_print id=100014333}</a></td>
|
|
<td class='tab3'> </td>
|
|
</tr>
|
|
</table>
|
|
|
|
{*
|
|
<!--<img style="margin-left:5px;margin-right:10px;" src='./images/icons/subscriber48.png' border='0' class='icon_big'>-->
|
|
<div class='page_header'>{lang_print id=100014296}</div>
|
|
<div>{lang_print id=100014297}</div>
|
|
*}
|
|
|
|
{literal}
|
|
<style>
|
|
.status {
|
|
background:#FFFBE2 none repeat scroll 0%;
|
|
border:1px solid #FFE222;
|
|
margin:0px 10px 10px;
|
|
padding:10px;
|
|
|
|
color: #333;
|
|
font-size:13px;
|
|
float: left;
|
|
}
|
|
</style>
|
|
{/literal}
|
|
|
|
<br>
|
|
|
|
{if $require}
|
|
<div Xstyle="padding: 10px" class="status">
|
|
{lang_print id=100014341}
|
|
</div>
|
|
<div style="clear:both"></div>
|
|
{/if}
|
|
|
|
<div class="subscriber_page_wrapper">
|
|
|
|
{* SHOW SUCCESS OR ERROR MESSAGE *}
|
|
{if $result != 0}
|
|
<div class='success'><img src='./images/success.gif' border='0' class='icon'> {lang_print id=$success_message}</div><br>
|
|
{elseif $is_error != 0}
|
|
<div class='error'><img src='./images/error.gif' border='0' class='icon'> {lang_print id=$error_message}</div><br>
|
|
{/if}
|
|
|
|
<br>
|
|
|
|
|
|
{if $plans | @count > 0 }
|
|
|
|
<div class='signup_header'>{lang_print id=100014334}</div>
|
|
|
|
<form action="user_plan_upgrade.php" method="POST">
|
|
|
|
<table cellpadding='0' cellspacing='0' Xborder=1 style="margin-left: 20px; margin-top: 5px">
|
|
|
|
{foreach from=$plans item=plan}
|
|
|
|
<tr valign="top">
|
|
<td class="plan_title"> <input type=radio name="signup_plan" id="subscription_plan_{$plan.plan_id}" value="{$plan.plan_id}"{if $signup_plan == $plan.plan_id} checked="checked"{/if}> </td>
|
|
<td class="plan_title"> <nobr> <label for="subscription_plan_{$plan.plan_id}" class='plan_label'> {$plan.plan_name} </label> </nobr></td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td class="plan_desc" style="width: 300px">
|
|
{* FREE PLAN *}
|
|
{if $plan.plan_price == 0}
|
|
{lang_print id=100014342}
|
|
{* LIFETIME, ONE TIME PAYMENT *}
|
|
{elseif $plan.plan_periodtype == 4}
|
|
{lang_print id=100014343} {$currency_code} {$plan.plan_price}
|
|
{else}
|
|
{* TRIAL PERIOD *}
|
|
{if $allow_trial AND ($plan.plan_trialperiod != 0)}
|
|
{lang_print id=100014345} {$plan.plan_trialperiod} {lang_print id=$plan.plan_trialperiodtypetext} <br>
|
|
{/if}
|
|
{* INITIAL PRICE *}
|
|
{if $plan.plan_onetime_price != 0}
|
|
{lang_print id=100014343} {$currency_code} {$plan.plan_onetime_price} {lang_print id=100014344}
|
|
{/if}
|
|
{* PRICE, PERIOD *}
|
|
{$currency_code} {$plan.plan_price} {lang_print id=100014338} {$plan.plan_period} {lang_print id=$plan.plan_periodtypetext} <br>
|
|
{/if}
|
|
<div class="subscriber_plandesc">
|
|
{$plan.plan_description}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
|
|
<tr>
|
|
<td colspan=2">
|
|
<input type="hidden" name="task" value="upgrade">
|
|
<input type="hidden" name="from_plan" value="{$from_plan}">
|
|
<input type="submit" class="button" value="{lang_print id=100014339}"> or <a href="./user_home.php"> {lang_print id=100014340} </a>
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
</form>
|
|
|
|
{else}
|
|
|
|
<table cellpadding='0' cellspacing='0' align='center'><tr>
|
|
<td class='result'><!--<img src='./images/icons/bulb16.gif' border='0' class='icon'>-->{lang_print id=100014335}</td>
|
|
</tr></table>
|
|
|
|
{/if}
|
|
|
|
<br>
|
|
|
|
</div>
|
|
|
|
{include file='footer.tpl'} |