Files
Testing/templates/signup_subscriber.tpl

159 lines
5.5 KiB
Smarty
Raw Permalink Normal View History

2026-11-19 18:32:17 -05:00
{include file='header.tpl'}
{* SUBSCRIBER START *}
{* SIGNUP - SUBSCRIPTION PAYMENT *}
{if $step == "subscriber_summary"}
<!--<img src='./images/icons/signup48.gif' border='0' class='icon_big'>-->
<div class='page_header'>{lang_print id=100014350}</div>
<div>{lang_print id=100014360}
</div>
<br><br>
<div class='signup_header'>{lang_print id=100014362}</div>
<table cellspacing='0' cellpadding='0' class='form'>
<tr>
<td class='form1'> {lang_print id=100014351} </td>
<td class='form2'> {$plan->plan_info.plan_name} </td>
</tr>
<tr>
<td class='form1'> {lang_print id=100014352} </td>
<td class='form2'>
<div class="subscriber_plandesc">
{$plan->plan_info.plan_description}
</div>
</td>
</tr>
<tr>
<td class='form1'> {lang_print id=100014353} </td>
<td class='form2'> {if $plan->plan_info.plan_periodtype == 4} {lang_print id=100014354} {else} {$plan->plan_info.plan_period} {lang_print id=$plan->plan_info.plan_periodtypetext} {/if} </td>
</tr>
{if $plan->plan_info.plan_trialperiod != 0}
<tr>
<td class='form1'> {lang_print id=100014355} </td>
<td class='form2'> {$plan->plan_info.plan_trialperiod} {lang_print id=$plan->plan_info.plan_trialperiodtypetext} </td>
</tr>
{/if}
<tr>
<td class='form1' valign="top"> {lang_print id=100014356} </td>
<td class='form2'>
{* FREE PLAN *}
{if $plan->plan_info.plan_price == 0}
{lang_print id=100014342}
{* LIFETIME, ONE TIME PAYMENT *}
{elseif $plan->plan_info.plan_periodtype == 4}
{lang_print id=100014357} {$currency_code} {$plan->plan_info.plan_price}
{else}
{if $plan->plan_info.plan_onetime_price != 0} {lang_print id=100014357} {$currency_code} {$plan->plan_info.plan_onetime_price} <br>{/if}
{$currency_code} {$plan->plan_info.plan_price} {lang_print id=100014358} {$plan->plan_info.plan_period} {lang_print id=$plan->plan_info.plan_periodtypetext}
{/if}
</td>
</tr>
</table>
<br><br>
<form action='signup.php' method='POST'>
<table cellpadding='0' cellspacing='0'>
<tr>
<td>
<input type='submit' class='button' value='{lang_print id=100014374}'>&nbsp;
<input type='hidden' name='task' value='{$next_task}'>
<input type='hidden' name='step' value='{$step}'>
</form>
</td>
</tr>
</table>
{/if} {* step == "subscriber_summary" *}
{* SIGNUP - CHOOSE PLAN*}
{if $step == "subscriber"}
<!--<img src='./images/icons/signup48.gif' border='0' class='icon_big'>-->
<div class='page_header'>{lang_print id=100014375}</div>
<div>{lang_print id=100014376}
</div>
<br><br>
{* SHOW ERROR MESSAGE *}
{if $is_error != 0}
<table cellpadding='0' cellspacing='0'>
<tr><td class='result'>
<div class='error'><img src='./images/error.gif' border='0' class='icon'> {lang_print id=$is_error}</div>
</td></tr></table>
<br>
{/if}
<form action='signup.php' method='POST'>
<div class='signup_header'>{lang_print id=100014349}</div>
<table cellpadding='0' cellspacing='0' style="margin-left: 20px; margin-top: 5px; width:500px;">
{foreach from=$plans item=xplan}
<tr valign="top">
<td class="plan_title"> <input type=radio name="signup_plan" id="subscription_plan_{$xplan.plan_id}" value="{$xplan.plan_id}"{if $signup_plan == $xplan.plan_id} checked="checked"{/if}> </td>
<td class="plan_title"> <nobr> <label for="subscription_plan_{$xplan.plan_id}" class='plan_label'> {$xplan.plan_name} </label> </nobr></td>
</tr>
<tr>
<td>&nbsp;</td>
<td class="plan_desc" style="width: 300px">
{* FREE PLAN *}
{if $xplan.plan_price == 0}
{lang_print id=100014342}
{* LIFETIME, ONE TIME PAYMENT *}
{elseif $xplan.plan_periodtype == 4}
{lang_print id=100014343} {$currency_code} {$xplan.plan_price}
{else}
{* TRIAL PERIOD *}
{if $xplan.plan_trialperiod != 0}
{lang_print id=100014345} {$xplan.plan_trialperiod} {lang_print id=$xplan.plan_trialperiodtypetext} <br>
{/if}
{* INITIAL PRICE *}
{if $xplan.plan_onetime_price != 0}
{lang_print id=100014343} {$currency_code} {$xplan.plan_onetime_price} {lang_print id=100014344}
{/if}
{* PRICE, PERIOD *}
{$currency_code} {$xplan.plan_price} {lang_print id=100014338} {$xplan.plan_period} {lang_print id=$xplan.plan_periodtypetext} <br>
{/if}
<div class="subscriber_plandesc">
{$xplan.plan_description}
</div>
</td>
</tr>
{/foreach}
</table>
<br>
<table cellpadding='0' cellspacing='0'>
<tr>
<td>
<input type='submit' class='button' value='{lang_print id=100014377}'>&nbsp;
<input type='hidden' name='task' value='{$next_task}'>
<input type='hidden' name='step' value='{$step}'>
</form>
</td>
</tr>
</table>
{/if} {* step == "subscriber" *}
{* SUBSCRIBER END *}
<br><br><br>
{include file='footer.tpl'}