| Line 12... |
Line 12... |
| 12 |
#include ( "templates/commoncssfiles.vm" )
|
12 |
#include ( "templates/commoncssfiles.vm" )
|
| 13 |
|
13 |
|
| 14 |
<link rel="stylesheet" href="/css/home.css" type="text/css" />
|
14 |
<link rel="stylesheet" href="/css/home.css" type="text/css" />
|
| 15 |
<link href="https://plus.google.com/108546508648658526684" rel="publisher" />
|
15 |
<link href="https://plus.google.com/108546508648658526684" rel="publisher" />
|
| 16 |
<script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
|
16 |
<script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
|
| - |
|
17 |
|
| - |
|
18 |
|
| - |
|
19 |
<style type='text/css'>
|
| - |
|
20 |
.captcha_text_blur {
|
| - |
|
21 |
color: #AAAAAA;
|
| - |
|
22 |
font-size: 13px;
|
| - |
|
23 |
height: 28px;
|
| - |
|
24 |
text-align: left;
|
| - |
|
25 |
width: 194px;
|
| - |
|
26 |
border: solid 1px darkgrey;
|
| - |
|
27 |
padding-left: 5px;
|
| - |
|
28 |
}
|
| - |
|
29 |
.captcha_text_focus {
|
| - |
|
30 |
color: black;
|
| - |
|
31 |
height: 28px;
|
| - |
|
32 |
font-size: 20px;
|
| - |
|
33 |
text-align: left;
|
| - |
|
34 |
width: 194px;
|
| - |
|
35 |
border: solid 1px darkgrey;
|
| - |
|
36 |
padding-left: 5px;
|
| - |
|
37 |
}
|
| - |
|
38 |
</style>
|
| 17 |
</head>
|
39 |
</head>
|
| 18 |
|
40 |
|
| 19 |
<body>
|
41 |
<body>
|
| 20 |
<noscript>
|
42 |
<noscript>
|
| 21 |
<p id="noScript">Please enable <em>Javascript</em> for this Website to function correctly!</p>
|
43 |
<p id="noScript">Please enable <em>Javascript</em> for this Website to function correctly!</p>
|
| Line 41... |
Line 63... |
| 41 |
if (document.context) document.write ("&context=" + escape(document.context));
|
63 |
if (document.context) document.write ("&context=" + escape(document.context));
|
| 42 |
if (document.mmm_fo) document.write ("&mmm_fo=1");
|
64 |
if (document.mmm_fo) document.write ("&mmm_fo=1");
|
| 43 |
document.write ("'><\/scr"+"ipt>");
|
65 |
document.write ("'><\/scr"+"ipt>");
|
| 44 |
//]]>--></script><noscript><a href='http://open.saholic.com/openx/www/delivery/ck.php?n=a592d2cd&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://open.saholic.com/openx/www/delivery/avw.php?zoneid=1&cb=INSERT_RANDOM_NUMBER_HERE&n=a592d2cd' border='0' alt='' /></a></noscript>
|
66 |
//]]>--></script><noscript><a href='http://open.saholic.com/openx/www/delivery/ck.php?n=a592d2cd&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://open.saholic.com/openx/www/delivery/avw.php?zoneid=1&cb=INSERT_RANDOM_NUMBER_HERE&n=a592d2cd' border='0' alt='' /></a></noscript>
|
| 45 |
</div>
|
67 |
</div>
|
| - |
|
68 |
<div style='height: 30px;background-color: #2789C1;font-size: 14px;font-weight: bold;color: #FFFFFF;border: solid 1px #2789C1;width: 100%;'>
|
| - |
|
69 |
<div style='margin:0 10px 0 10px;padding-top:7px'>
|
| - |
|
70 |
PLEASE CONFIRM
|
| - |
|
71 |
</div>
|
| - |
|
72 |
</div>
|
| 46 |
<div class="recharge-main-left-container" style="font-size:16px">
|
73 |
<div class="recharge-main-left-container" style="font-size:16px">
|
| - |
|
74 |
#if($action.getAmount() == '0')
|
| 47 |
<form id="create-recharge-form" style="float:left;padding-top:20px;padding-left:50px" action='/confirm!createRecharge'>
|
75 |
#set($verifyingMethod='return verifyCaptcha("create-recharge-form")')
|
| - |
|
76 |
#else
|
| 48 |
<h1>Recharge Details</h1>
|
77 |
#set($verifyingMethod='return true')
|
| 49 |
<br>
|
78 |
#end
|
| - |
|
79 |
|
| - |
|
80 |
<form id="create-recharge-form" name='create-recharge-form' style="float:left;padding-top:20px;padding-left:50px" action='/confirm!createRecharge' onsubmit='$verifyingMethod'>
|
| 50 |
<br>
|
81 |
<br>
|
| 51 |
|
82 |
|
| 52 |
<span style="display:inline-block; width:300px">#if($action.getRechargeType()=="1")Mobile Number#else Account Number#end : </span><span>$action.getNumber()</span><br>
|
83 |
<span style="display:inline-block; width:300px">#if($action.getRechargeType()=="1")Mobile Number#else Account Number#end : </span><span>$action.getNumber()</span><br>
|
| 53 |
<span style="display:inline-block; width:300px">Operator : </span><span>$action.getOperatorName()</span><br>
|
84 |
<span style="display:inline-block; width:300px">Operator : </span><span>$action.getOperatorName()</span><br>
|
| 54 |
<span style="display:inline-block; width:300px">Recharge amount : </span><span>Rs. $action.getTotalAmount()</span><br>
|
85 |
<span style="display:inline-block; width:300px">Recharge amount : </span><span>Rs. $action.getTotalAmount()</span><br>
|
| Line 68... |
Line 99... |
| 68 |
<input type='hidden' name='amount' value='$action.getAmount()'>
|
99 |
<input type='hidden' name='amount' value='$action.getAmount()'>
|
| 69 |
<input type='hidden' name='walletAmountUsed' value='$action.getWalletAmountUsed()'>
|
100 |
<input type='hidden' name='walletAmountUsed' value='$action.getWalletAmountUsed()'>
|
| 70 |
<input type='hidden' name='number' value='$action.getNumber()'>
|
101 |
<input type='hidden' name='number' value='$action.getNumber()'>
|
| 71 |
<input type='hidden' name='email' value='$action.getEmail()'>
|
102 |
<input type='hidden' name='email' value='$action.getEmail()'>
|
| 72 |
<input type='hidden' name='plan' value='$action.getPlan()'>
|
103 |
<input type='hidden' name='plan' value='$action.getPlan()'>
|
| - |
|
104 |
<input type='hidden' name='totalAmount' value='$action.getTotalAmount()'>
|
| 73 |
#if($action.getAmount() == '0')
|
105 |
#if($action.getAmount() == '0')
|
| 74 |
#set($buttonText = 'RECHARGE')
|
106 |
#if(!$action.getErrorMessage().isEmpty())
|
| - |
|
107 |
<div id="messageError">
|
| - |
|
108 |
<span></span>
|
| - |
|
109 |
<p>
|
| - |
|
110 |
$action.getErrorMessage() <br/>
|
| - |
|
111 |
</p>
|
| - |
|
112 |
</div>
|
| - |
|
113 |
#end
|
| - |
|
114 |
<div style="margin-left:217px; margin-top:10px ; margin-bottom:20px">
|
| - |
|
115 |
<img src="/captcha" id="captchaImage" /><br/><br/>
|
| - |
|
116 |
<input id="captcha_response_box" class='captcha_text_blur' type="text" name="captcha_response_field" autocomplete="off">
|
| - |
|
117 |
<br/>
|
| - |
|
118 |
<span style='font-size:14px'>Cannot read the image? <a id="captchaanchor" style="cursor: pointer;" >Click here</a>.</span>
|
| - |
|
119 |
<br><br>
|
| - |
|
120 |
<input style='width:200px' type="submit" value="RECHARGE NOW" class="make-payment-button">
|
| - |
|
121 |
</div>
|
| 75 |
#else
|
122 |
#else
|
| 76 |
#set($buttonText = 'PAY NOW')
|
123 |
<div style="margin-left:213px;" id="pay-now-button" class="submit-button">PAY NOW</div>
|
| 77 |
#end
|
124 |
#end
|
| 78 |
<div style="margin-left:213px;" id="pay-now-button" class="submit-button">$buttonText</div>
|
- |
|
| 79 |
</form>
|
125 |
</form>
|
| 80 |
</div>
|
126 |
</div>
|
| 81 |
</div>
|
127 |
</div>
|
| 82 |
<div style="width:258px; margin-left:10px;float:right;height:636px;background-image:url('/images/back1.jpg');border:solid 1px #2789C1">
|
128 |
<div style="width:258px; margin-left:10px;float:right;height:636px;background-image:url('/images/back1.jpg');border:solid 1px #2789C1">
|
| 83 |
</div>
|
129 |
</div>
|
| Line 98... |
Line 144... |
| 98 |
</form>
|
144 |
</form>
|
| 99 |
</div>
|
145 |
</div>
|
| 100 |
</div>
|
146 |
</div>
|
| 101 |
<!-- /color by color lightbox -->
|
147 |
<!-- /color by color lightbox -->
|
| 102 |
#include ( "templates/commonjsfiles.vm" )
|
148 |
#include ( "templates/commonjsfiles.vm" )
|
| 103 |
<script type="text/javascript" charset="utf-8">
|
149 |
<script>
|
| 104 |
$(function(){
|
150 |
function verifyCaptcha(formName){
|
| - |
|
151 |
var captcha_response_input = jQuery("form[name='" + formName + "'] :input[name='captcha_response_field']");
|
| 105 |
$('ul.product-description li').truncate({addtitle: true});
|
152 |
var entered_text = jQuery.trim(captcha_response_input.val());
|
| 106 |
|
- |
|
| - |
|
153 |
if(entered_text == '' || entered_text == 'Enter the characters shown'){
|
| 107 |
$('#pay-now-button').click(function(){
|
154 |
dispError("Please enter the characters shown.");
|
| 108 |
trackEventWithGA('Recharge', 'Pay Now', '');
|
155 |
captcha_response_input.blur();
|
| - |
|
156 |
return false;
|
| - |
|
157 |
}
|
| - |
|
158 |
return true;
|
| 109 |
});
|
159 |
}
|
| 110 |
|
160 |
|
| - |
|
161 |
function dispError(msg) {
|
| - |
|
162 |
alert(msg);
|
| - |
|
163 |
}
|
| 111 |
});
|
164 |
|
| - |
|
165 |
jQuery('#captchaanchor').click(function () { jQuery('#captchaImage').attr('src', '/captcha?rand=' + Math.floor(Math.random()*100) ); });
|
| - |
|
166 |
|
| - |
|
167 |
jQuery('#captcha_response_box').val('Enter the characters shown')
|
| - |
|
168 |
.focus(function(){
|
| - |
|
169 |
if ($(this).val() == 'Enter the characters shown') {
|
| - |
|
170 |
$(this).val('');
|
| - |
|
171 |
$(this).removeClass('captcha_text_blur');
|
| - |
|
172 |
$(this).addClass('captcha_text_focus');
|
| - |
|
173 |
}
|
| - |
|
174 |
})
|
| - |
|
175 |
.blur(function(){
|
| - |
|
176 |
if ($(this).val() == '') {
|
| - |
|
177 |
$(this).val('Enter the characters shown');
|
| - |
|
178 |
$(this).removeClass('captcha_text_focus');
|
| - |
|
179 |
$(this).addClass('captcha_text_blur');
|
| - |
|
180 |
}
|
| - |
|
181 |
});
|
| - |
|
182 |
</script>
|
| - |
|
183 |
<script type="text/javascript" charset="utf-8">
|
| - |
|
184 |
$(function(){
|
| - |
|
185 |
$('ul.product-description li').truncate({addtitle: true});
|
| - |
|
186 |
|
| - |
|
187 |
$('#pay-now-button').click(function(){
|
| - |
|
188 |
trackEventWithGA('Recharge', 'Pay Now', '');
|
| - |
|
189 |
});
|
| - |
|
190 |
|
| - |
|
191 |
});
|
| 112 |
</script>
|
192 |
</script>
|
| - |
|
193 |
|
| 113 |
</body>
|
194 |
</body>
|
| 114 |
</html>
|
195 |
</html>
|