2015-05-03 16:25:57 +00:00
{ % include 'global/header.tpl' % }
2015-07-01 00:16:22 +00:00
{ % if page . fail % }
<div class="headerNotify">
<h1>The payment failed or was cancelled!</h1>
<p>Something went wrong while processing the transaction, your PayPal account wasn't charged.</p>
</div>
{ % endif % }
2015-07-01 17:20:20 +00:00
<div class="content support">
2015-08-20 23:17:27 +00:00
<div class="head">Support { { sakura . siteName } } </div>
2015-05-03 16:25:57 +00:00
<div style="font-size: .9em; margin-bottom: 10px;">
2015-07-01 17:20:20 +00:00
<p>In order to keep the site, its services and improvements on it going I need money but I'm not that big of a fan of asking for money without giving anything special in return thus Tenshi exists. Tenshi is the name for our supporter rank which gives you access to an extra set of features (which are listed further down on this page). With your help we can keep adding new stuff, get new hardware and keep the site awesome!</p>
2015-09-03 19:44:14 +00:00
<h3><a href="/support/tracker" class="default">Ever wonder what happens on the financial side of things? View the donation tracker!</a></h3>
2015-05-03 16:25:57 +00:00
</div>
2015-07-01 17:20:20 +00:00
{ % if page . current [ 0 ] % }
<div class="sectionHeader">
Your current Tenshi tag
</div>
<div style="margin-bottom: 10px;">
2015-08-20 23:17:27 +00:00
<h3> { % if page . current [ 0 ] = = 2 % } Your rank has persistent Tenshi. { % else % } Your Tenshi tag is valid till { { page . current [ 2 ] | date ( sakura . dateFormat ) } } . { % endif % } </h3>
2015-07-30 17:07:23 +00:00
<progress value=" { { page . current [ 0 ] = = 2 ? 1 0 0 : ( 1 0 0 - ( ( ( php . time - page . current [ 1 ] ) / ( page . current [ 2 ] - page . current [ 1 ] ) ) * 1 0 0 ) ) } } " max="100" style="width: 100%"></progress>
2015-07-01 17:20:20 +00:00
</div>
{ % endif % }
2015-05-03 16:25:57 +00:00
<div class="sectionHeader">
Why should I get Tenshi?
</div>
<div class="featureParent">
2015-07-01 17:20:20 +00:00
<div class="featureBox">
<div class="featureBoxIcon fa fa-money"></div>
<div class="featureBoxDesc">Helping us pay for the bills to survive</div>
<div class="clear"></div>
</div>
<div class="featureBox">
<div class="featureBoxIcon fa fa-certificate"></div>
<div class="featureBoxDesc">A <span style="font-weight: bold; color: #EE9400">special</span> name colour to stand out in the crowd</div>
<div class="clear"></div>
</div>
<div class="featureBox">
<div class="featureBoxIcon fa fa-magic"></div>
<div class="featureBoxDesc">The ability to change your username once a month</div>
<div class="clear"></div>
</div>
<div class="featureBox">
<div class="featureBoxIcon fa fa-pencil"></div>
<div class="featureBoxDesc">You can set a custom user title</div>
<div class="clear"></div>
</div>
<div class="featureBox">
<div class="featureBoxIcon fa fa-archive"></div>
<div class="featureBoxDesc">You'll be able to read the chat logs</div>
<div class="clear"></div>
</div>
<div class="featureBox">
<div class="featureBoxIcon fa fa-eye-slash"></div>
<div class="featureBoxDesc">You can create temporary channels in the chat</div>
<div class="clear"></div>
</div>
<div class="featureBox">
<div class="featureBoxIcon fa fa-users"></div>
<div class="featureBoxDesc">You get to create a user group</div>
<div class="clear"></div>
</div>
<div class="featureBox">
<div class="featureBoxIcon fa fa-picture-o"></div>
<div class="featureBoxDesc">You get the ability to set a profile background</div>
<div class="clear"></div>
</div>
<div class="featureBox final">
<div class="featureBoxIcon fa fa-heart"></div>
<div class="featureBoxIcon right fa fa-heart"></div>
<div class="featureBoxDesc">The good feeling of helping the staff of your favourite site keep it up and awesome</div>
<div class="clear"></div>
2015-05-03 16:25:57 +00:00
</div>
</div>
<div class="sectionHeader">
2015-07-01 17:20:20 +00:00
Payment Options
2015-05-03 16:25:57 +00:00
<div style="float: right; font-size: 10px; text-align: right;">
2015-08-19 19:44:01 +00:00
Our transactions are handled through PayPal.
2015-07-01 17:20:20 +00:00
<div class="paymentOptions fa">
<div class="fa-cc-paypal"></div>
<div class="fa-cc-visa"></div>
<div class="fa-cc-mastercard"></div>
<div class="fa-cc-discover"></div>
<div class="fa-cc-amex"></div>
<div class="clear"></div>
</div>
2015-05-03 16:25:57 +00:00
</div>
</div>
2015-08-22 15:00:01 +00:00
{ % if session . checkLogin and user . checkPermission ( 'SITE' , 'OBTAIN_PREMIUM' ) % }
2015-07-01 17:20:20 +00:00
<div class="slider">
2015-07-01 18:22:45 +00:00
<input class="inputStyling" type="range" min="1" max=" { { page . amount_max } } " value="1" onchange="document.getElementById('monthsNo').value = this.value; document.getElementById('monthNoBtn').innerHTML = this.value; document.getElementById('monthsTrailingS').innerHTML = (this.value == 1 ? '' : 's'); document.getElementById('totalAmount').innerHTML = (this.value * { { page . price } } ).formatMoney(2);" />
2015-07-01 17:20:20 +00:00
</div>
<div class="checkout" style="line-height: 28px;">
<div style="float: left;">
<h1 class="stylised">Total: €<span id="totalAmount"></span></h1>
2015-05-03 16:25:57 +00:00
</div>
2015-07-01 17:20:20 +00:00
<div style="float: right;">
<button class="inputStyling" onclick="document.getElementById('purchaseForm').submit();">Get <span id="monthNoBtn">1</span> month<span id="monthsTrailingS"></span> of Tenshi</button>
2015-05-03 16:25:57 +00:00
</div>
2015-07-01 17:20:20 +00:00
<div class="clear"></div>
2015-05-03 16:25:57 +00:00
</div>
2015-08-19 19:44:01 +00:00
{ % elseif session . checkLogin % }
2015-07-01 00:16:22 +00:00
<h1 style="text-align: center; margin: 1em auto;" class="stylised">You can't get Tenshi at the current moment!</h1>
2015-05-03 16:25:57 +00:00
{ % else % }
2015-07-01 00:16:22 +00:00
<h1 style="text-align: center; margin: 1em auto;" class="stylised">You need to be logged in to get Tenshi!</h1>
2015-05-03 16:25:57 +00:00
{ % endif % }
</div>
2015-08-22 15:00:01 +00:00
{ % if session . checkLogin and user . checkPermission ( 'SITE' , 'OBTAIN_PREMIUM' ) % }
2015-07-01 17:20:20 +00:00
<form action="/support" method="post" id="purchaseForm" class="hidden">
<input type="hidden" name="mode" value="purchase" />
<input type="hidden" name="time" value=" { { php . time } } " />
<input type="hidden" name="session" value=" { { php . sessionid } } " />
<input type="hidden" name="months" id="monthsNo" value="1" />
</form>
<script type="text/javascript">
window.onload = function() { document . getElementById ( 'totalAmount' ) . innerHTML = ( { { page . price } } ) . formatMoney ( 2 ) ; } ;
</script>
{ % endif % }
2015-05-03 16:25:57 +00:00
{ % include 'global/footer.tpl' % }