| 10582 |
lgm |
1 |
<?php //echo $number;
|
|
|
2 |
//print_r($captcha);
|
|
|
3 |
if(isset($recharge_amount) && !empty($recharge_amount)){
|
|
|
4 |
$recharge_amount = $recharge_amount[0];
|
|
|
5 |
$payAmount = $recharge_amount->payAmount;
|
|
|
6 |
//print_r($recharge_amount);
|
|
|
7 |
}?>
|
|
|
8 |
<div class="conf-head">Please Confirm</div>
|
|
|
9 |
<div class="conf-cont">
|
|
|
10 |
<div class="conf-div clearfix">
|
|
|
11 |
<div><?php if(isset($number) && !empty($number)){ echo 'Mobile Number :';} elseif(isset($dth_number) && !empty($dth_number)){ echo 'Account Number :'; }?></div><div><?php if(isset($number) && !empty($number)){echo $number;} elseif(isset($dth_number) && !empty($dth_number)){ echo $dth_number; }?></div>
|
|
|
12 |
<div>Operator :</div><div id="rechargeOperator"><?php echo $operator;?></div>
|
|
|
13 |
<div>Recharge Amount :</div><div id="recharge_Amount"><?php echo $recharge;?></div>
|
|
|
14 |
<?php if(isset($recharge_amount->walletAmount) && $recharge_amount->walletAmount >0){?>
|
| 11331 |
lgm |
15 |
<div id="waText">Amount used from Wallet :</div><div id="walletAmount"><?php echo $recharge_amount->walletAmount;?></div>
|
|
|
16 |
<div id="walText">Amount left in your Wallet :</div><div id="walletAmountLeft"><?php echo $recharge_amount->walletAmountLeft;?></div>
|
| 10582 |
lgm |
17 |
<?php }?>
|
|
|
18 |
</div>
|
|
|
19 |
<div id="error" class="error_msg" style="display:none">
|
|
|
20 |
</div>
|
|
|
21 |
<div class="coupon-code" style="display:block">
|
|
|
22 |
<div id="coupon_msg">Have a Coupon Code? Enter here</div>
|
|
|
23 |
<div id="coupon" class="clearfix">
|
|
|
24 |
<input name="Coupon" id="couponCode" type="text" onfocus="clearError()" onKeyDown="if(event.keyCode==13) recahrgeAmount();"/>
|
|
|
25 |
<div class="apply-coupon" onclick="recahrgeAmount()">Apply</div>
|
|
|
26 |
</div>
|
|
|
27 |
</div>
|
| 11331 |
lgm |
28 |
<form name="recharge-confirm" method="post" action="<?php echo base_url().'confirm'?>" class="" onsubmit = "return submitform()">
|
| 10582 |
lgm |
29 |
<fieldset>
|
|
|
30 |
<div class="gd-total clearfix">
|
|
|
31 |
<div>Amount to pay:</div>
|
|
|
32 |
<input id='amount' type='hidden' name='rechargeAmount' value="<?php echo $recharge;?>">
|
|
|
33 |
<input type='hidden' name='operatorId' value="<?php echo $operatorId;?>">
|
|
|
34 |
<input type='hidden' name='operator-name' value="<?php echo $operator;?>">
|
|
|
35 |
<input type='hidden' name='serviceType' value="<?php echo $serviceType;?>">
|
|
|
36 |
<input id="coupon_code" type='hidden' name='couponCode' value="">
|
|
|
37 |
<input type='hidden' name='email' value="<?php echo $email;?>">
|
|
|
38 |
<input type='hidden' name='plan' value="<?php if(isset($paln)) {echo $plan;}?>">
|
|
|
39 |
<input type='hidden' name='number' value="<?php if(isset($number)) {echo $number;} elseif(isset($dth_number)){echo $dth_number;}?>">
|
|
|
40 |
<input type='hidden' name='email' value="<?php echo $email?>">
|
| 11232 |
lgm |
41 |
<input type='hidden' id="amountPayable" value="<?php if(isset($payAmount)) {echo $payAmount;} else {echo $recharge;}?>">
|
| 10582 |
lgm |
42 |
<div id="payAmount">Rs <?php if(isset($payAmount)) {echo $payAmount;} else {echo $recharge;}?></div>
|
|
|
43 |
</div>
|
|
|
44 |
<div id="error1" class="error_msg" style="display:<?php if(isset($confirmCaptcha) && $confirmCaptcha == 1){echo 'block';}else{echo 'none';}?>">
|
|
|
45 |
<?php if(isset($confirmCaptcha) && $confirmCaptcha == 1){echo 'Invalid Captcha';}?></div>
|
| 11274 |
lgm |
46 |
<div id="captcha" style="display:<?php if(isset($payAmount) && $payAmount == 0){ echo 'block';} else {echo 'none';}?>"><?php if(isset($captcha) && !empty($captcha)){?> <img src="<?php echo 'data:image/png;base64,'.$captcha['imagedata'];?>"/> <?php } ?></div>
|
| 10582 |
lgm |
47 |
<div id="clickCaptcha" style="display:<?php if(isset($payAmount) && $payAmount == 0){ echo 'block';} else {echo 'none';}?>" onclick="changeCaptcha()">Click here to change image</div>
|
|
|
48 |
<input id="captcha_response_box" style="display:<?php if(isset($payAmount) && $payAmount == 0){ echo 'block';} else {echo 'none';}?>" type="text" name="captcha_response_field" autocomplete="off">
|
| 11232 |
lgm |
49 |
<input type="submit" value="<?php if(isset($captcha) && !empty($captcha)){echo 'Recharge Now';}else{echo 'Confirm';}?>" name="submit" id="submit"/>
|
| 10582 |
lgm |
50 |
</fieldset>
|
|
|
51 |
</form><!--mobile-recharge-->
|
|
|
52 |
|
|
|
53 |
</div>
|