Subversion Repositories SmartDukaan

Rev

Rev 6178 | Rev 6260 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6050 anupam.sin 1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
<head>
4
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
5
 
6
<!-- Prevent MS Office toolbar from changing layout -->
7
	<meta name="google-site-verification" content="NPHVASYh9ZsYbjffRuAU4dhEHhx7xSKUj9GycYUMo_o" /> 
8
	<META name="y_key" content="116f6310a0df3c4f" />
9
	<meta name="msvalidate.01" content="A9BB200170442859BD6DF681353ACD78" />
10
	<title>Instant recharge for your mobile and DTH</title>
11
 
12
#include ( "templates/commoncssfiles.vm" )
13
 
14
	<link rel="stylesheet" href="/css/home.css" type="text/css" />
15
	<link href="https://plus.google.com/108546508648658526684" rel="publisher" />
16
	<script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
6249 anupam.sin 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>
6050 anupam.sin 39
</head>
40
 
41
<body>
42
	<noscript>
43
		<p id="noScript">Please enable <em>Javascript</em> for this Website to function correctly!</p>
44
	</noscript>
45
	$action.getHeaderSnippet()
46
	<!-- Main -->
47
	<div id="main">
48
		<div class="main-content">
49
			<div class="main-top"></div>
50
			<div class="main-left left">
51
				<div class="main-left-banner">
52
					<script type='text/javascript'><!--//<![CDATA[
53
               var m3_u = (location.protocol=='https:'?'https://open.saholic.com/openx/www/delivery/ajs.php':'http://open.saholic.com/openx/www/delivery/ajs.php');
54
               var m3_r = Math.floor(Math.random()*99999999999);
55
               if (!document.MAX_used) document.MAX_used = ',';
56
               document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
57
               document.write ("?zoneid=1");
58
               document.write ('&amp;cb=' + m3_r);
59
               if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
60
               document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
61
               document.write ("&amp;loc=" + escape(window.location));
62
               if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
63
               if (document.context) document.write ("&context=" + escape(document.context));
64
               if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
65
               document.write ("'><\/scr"+"ipt>");
66
            //]]>--></script><noscript><a href='http://open.saholic.com/openx/www/delivery/ck.php?n=a592d2cd&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://open.saholic.com/openx/www/delivery/avw.php?zoneid=1&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a592d2cd' border='0' alt='' /></a></noscript>
67
				</div>
6249 anupam.sin 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>
6050 anupam.sin 73
				<div class="recharge-main-left-container" style="font-size:16px">
6249 anupam.sin 74
					#if($action.getAmount() == '0')
75
						#set($verifyingMethod='return verifyCaptcha("create-recharge-form")')
76
					#else
77
						#set($verifyingMethod='return true')
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'>
6050 anupam.sin 81
                        <br>
6057 anupam.sin 82
 
6073 amit.gupta 83
                        <span style="display:inline-block; width:300px">#if($action.getRechargeType()=="1")Mobile Number#else Account Number#end : </span><span>$action.getNumber()</span><br>
6057 anupam.sin 84
						<span style="display:inline-block; width:300px">Operator : </span><span>$action.getOperatorName()</span><br>
6070 anupam.sin 85
						<span style="display:inline-block; width:300px">Recharge amount : </span><span>Rs. $action.getTotalAmount()</span><br>
6050 anupam.sin 86
						<hr style="width: 615px;height: 2px;background-color: black;border: none;">
6070 anupam.sin 87
 
6057 anupam.sin 88
    					#if(!$action.isLoggedIn())
6089 anupam.sin 89
							<div style="font-size:15px;color:red">If you want to use wallet please <a href="/login?redirectUrl=/recharge"><b>LOGIN NOW</b></a></div>
6057 anupam.sin 90
						#else
91
							<div style="font-size:15px;color:red;">$action.getMessage()</div>
92
						#end
6050 anupam.sin 93
						<br><br>
94
						<span style="display:inline-block; width:300px">Amount to pay : </span><span style="font-size:20px"><b>Rs. $action.getAmount()</b></span>
95
						<br><br><br>
96
						<input type='hidden' name='rechargeType' value='$action.getRechargeType()'>
97
						<input type='hidden' name='operator' value='$action.getOperator()'>
98
						<input type='hidden' name='userId' value='$action.getUserId()'>
6070 anupam.sin 99
						<input type='hidden' name='amount' value='$action.getAmount()'>
100
						<input type='hidden' name='walletAmountUsed' value='$action.getWalletAmountUsed()'>
6077 anupam.sin 101
						<input type='hidden' name='number' value='$action.getNumber()'>
6091 anupam.sin 102
						<input type='hidden' name='email' value='$action.getEmail()'>
6178 anupam.sin 103
						<input type='hidden' name='plan' value='$action.getPlan()'>
6249 anupam.sin 104
						<input type='hidden' name='totalAmount' value='$action.getTotalAmount()'>
6050 anupam.sin 105
						#if($action.getAmount() == '0')
6249 anupam.sin 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>
6050 anupam.sin 122
						#else
6249 anupam.sin 123
							<div style="margin-left:213px;" id="pay-now-button" class="submit-button">PAY NOW</div>
6050 anupam.sin 124
						#end
125
                 	</form>
126
				</div>
127
			</div>
6058 anupam.sin 128
			<div style="width:258px; margin-left:10px;float:right;height:636px;background-image:url('/images/back1.jpg');border:solid 1px #2789C1">
6050 anupam.sin 129
			</div>
130
		</div>
131
	</div>
132
	#include("templates/footer.vm")
133
	<!-- color by color lightbox -->
134
	<div style="display:none;">
135
		<div class="colorSelLightBoxColor">
136
			<form name="frmColorSelName" method="post" action="#">
137
				<h1>Color Selector</h1>
138
				<h2>"Please choose color of product"</h2>
139
				<div class="content"></div>
140
				<div class="bigImgButton yellow-image">
141
					<input value="Continue" type="button" class="button" onclick="selectColor();" />
142
				</div>
143
				<div class="clearBoth"></div>
144
			</form>
145
		</div>
146
	</div>
147
	<!-- /color by color lightbox -->
148
	#include ( "templates/commonjsfiles.vm" )
6249 anupam.sin 149
	<script>
150
    	function verifyCaptcha(formName){
151
        	var captcha_response_input = jQuery("form[name='" + formName + "'] :input[name='captcha_response_field']");
152
        	var entered_text =  jQuery.trim(captcha_response_input.val());
153
            	if(entered_text == '' || entered_text == 'Enter the characters shown'){
154
            		dispError("Please enter the characters shown.");
155
            		captcha_response_input.blur();
156
            		return false;
157
            	}
158
        	return true;
159
        }
160
 
161
        function dispError(msg) {
162
        	alert(msg);
163
        }
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>
6050 anupam.sin 183
	<script type="text/javascript" charset="utf-8">
6249 anupam.sin 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
        });
192
	</script>
6106 rajveer 193
 
6050 anupam.sin 194
</body>
195
</html>