PATH:
home
/
letacommog
/
letaweb
/
admin
/
views
/
site
<div class="bg-dark space-sm"> <div class="page_title container"> <div class="title_section"> <h2 style="text-align:center;" class="">Select period</h2> </div> </div> </div> <?php $period = 'month'; ?> <?php echo CHtml::form(Yii::app()->createUrl('checkout/execute'), "post", array("id"=>"checkout_form")); ?> <input type="hidden" name="planId" value="<?php echo $plan->id ?>" /> <div class="wpb_wrapper"> <div class="wpb_text_column wpb_content_element "> <h1 class="text-center"><span class="f-green"><strong>Your new Plan : </strong></span> <?php echo $plan->name; ?></h1> <div class="wpb_wrapper"> <div class="title-section text-center"> <p class="lead"><a href="<?php echo Yii::app()->createUrl('site/upgrade'); ?>">Change</a></p> </div> </div> </div> </div> <div class="container"> <h4 class=""><input type="radio" name="wwwt" value="month"/>Pay monthly( <?php echo $plan->unit_prefix.$amount_monthly.$plan->unit_postfix; ?> each month)</h4> <h4 class=""><input type="radio" name="wwwt" value="annual" checked="checked"/>Pay annually( <?php echo $plan->unit_prefix.$amount_annually.$plan->unit_postfix; ?> x 12)</h4> </div> <div class="container"> <?php $payments = Payment::model()->findAll("is_active=1"); foreach($payments as $payment) { ?> <h4 class=""><input type="radio" name="wwwpt" value="<?php echo $payment->name; ?>"/><?php echo $payment->display_name; ?></h4> <div class="inline_form"> <?php $paymentClass = Yii::app()->payment->getPayment($payment->name); if (isset($payment)) { $paymentClass->renderInlineCheckoutForm(); } ?> </div> <?php } ?> </div> <div class="container"> <button class="btn btn-primary btn-lg" type="submit">Subscribe</button> </div> <?php echo CHtml::endForm(); ?> <script type="text/javascript"> $(document).ready(function() { $("input[name='wwwpt']").change(function() { if($(this).is(":checked")) { $(this).parent().next().show(); } else $(this).parent().next().hide(); }); $("input[name='wwwpt']").click(function() { $("input[name='wwwpt']").trigger("change"); }); $("input[name='wwwpt']").trigger("change"); }); </script>
[+]
..
[-] viewzone.php
[edit]
[-] zone.php
[edit]
[-] fview.php
[edit]
[-] upgrade.php
[edit]
[-] expired.php
[edit]
[-] view.php
[edit]
[-] checkout.php
[edit]
[+]
checkout