__section__
default
__description__
Template to allow confirmation of subscription type and
choose payment type when gift subscriptions are allowed

* type     - subscription type (gift or user)
* uid      - uid of user to buy the subscription for (defaults to current user)
* sub_user - user hashref for the recipient of a gift subscription 
* from     - string for how gift-giver wants notification e-mail signed

__title__
Useless title to template
__page__
subscribe
__lang__
en_US
__name__
confirm
__seclev__
10000
__template__
[% IF type == "user" || type == "gift" %]
	[% IF type == "user" %]
	<p>You've decided to purchase:
	<ul>
	<li>A [% constants.sitename %] subscription for [% user.nickname | strip_literal %] ([% user.uid %])
	</ul>
	If this is correct select your payment type below:
		<center><table border=0 cellpadding=3><tr>
		<td>[% PROCESS paypalbut %]</td>
		<td>[% PROCESS ccbut %]</td>
		</tr></table></center>
	[% ELSIF type == "gift" %]
		[% IF sub_user %]
			<p>You've decided to purchase:
			<ul>
				<li>A [% constants.sitename %] gift subscription for [% sub_user.nickname | strip_literal %] ([% sub_user.uid %])
			</ul>
			<p>
			If this is correct select your payment type below:
			[% gift.uid = uid; gift.puid = user.uid %]
			<center><table border=0 cellpadding=3><tr>
			<td>[% PROCESS paypalbut gift = gift from = from %]</td>
			<td>[% PROCESS ccbut gift = gift from = from %]</td>
			</tr></table></center>
		[% ELSE %]
			<p>No user was found for the UID ([% uid %]) you specified.  Please <a href="[% gSkin.rootdir %]/subscribe.pl">go back</a> and correct this to continue.
		
		[% END %]
	[% END %]
[% ELSE %]
Recognized subscription type not selected
[% END %]
