Subversion Repositories SmartDukaan

Rev

Rev 10536 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
8917 kshitij.so 1
#set($banners = $action.getActiveBanners("/confirm"))
2
#if($banners)
3
#set($bannerCount = $banners.size())
4
#else
5
#set($bannerCount = 0)
6
#end
6050 anupam.sin 7
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
8
<html xmlns="http://www.w3.org/1999/xhtml">
9
<head>
10
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
11
 
12
<!-- Prevent MS Office toolbar from changing layout -->
13
	<meta name="google-site-verification" content="NPHVASYh9ZsYbjffRuAU4dhEHhx7xSKUj9GycYUMo_o" /> 
14
	<META name="y_key" content="116f6310a0df3c4f" />
15
	<meta name="msvalidate.01" content="A9BB200170442859BD6DF681353ACD78" />
10015 kshitij.so 16
	<meta property="fb:admins" content="564777065" />
6050 anupam.sin 17
	<title>Instant recharge for your mobile and DTH</title>
18
 
19
#include ( "templates/commoncssfiles.vm" )
20
 
21
	<link rel="stylesheet" href="/css/home.css" type="text/css" />
22
	<link href="https://plus.google.com/108546508648658526684" rel="publisher" />
23
	<script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
6249 anupam.sin 24
 
25
 
26
	<style type='text/css'>
27
		.captcha_text_blur {
28
        	color: #AAAAAA;
29
            font-size: 13px;
30
            height: 28px;
31
            text-align: left;
32
            width: 194px;
33
			border: solid 1px darkgrey;
34
			padding-left: 5px;
35
        }
36
		.captcha_text_focus {
37
			color: black;
38
            height: 28px;
39
			font-size: 20px;
40
            text-align: left;
41
            width: 194px;
42
			border: solid 1px darkgrey;
43
			padding-left: 5px;
44
		}
6260 anupam.sin 45
		.submit-button{
46
			background: -2px -5px url('/images/confirm.png');
47
            cursor: pointer;
48
            display: inline-block;
49
            font-size: 15px;
50
            font-weight: bold;
51
            text-shadow: 0px 1px 0px #E45000;
52
            outline: medium none;
53
            overflow: visible;
54
            text-align: center;
55
            height: 40px;
56
            color: white;
57
			width: 190px;
58
		}
6249 anupam.sin 59
	</style>
6050 anupam.sin 60
</head>
61
 
62
<body>
63
	<noscript>
64
		<p id="noScript">Please enable <em>Javascript</em> for this Website to function correctly!</p>
65
	</noscript>
66
	$action.getHeaderSnippet()
67
	<!-- Main -->
68
	<div id="main">
69
		<div class="main-content">
70
			<div class="main-top"></div>
71
			<div class="main-left left">
8917 kshitij.so 72
				 #if ( $bannerCount == 0 )
73
					<div class="main-left-banner" style="display: none">
74
				#elseif ( $bannerCount < 3 )
75
					<div class="main-left-banner"  style="height: 210px;">
76
				#else
77
					<div class="main-left-banner"  style="height: 230px;">
78
				#end
79
 
80
				#if($bannerCount > 1 && $bannerCount < 3)
81
					<ul id="bannerMenu">
82
						#foreach($banner in $banners)
83
							#if($banner.isHasMap())
10095 kshitij.so 84
								<li class="square"><a href="$banner.getLink()" #if($banner.isTarget())target="_blank"#end banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' usemap='#map$velocityCount' height="200" width="710"/></a>
8917 kshitij.so 85
								<map name='map$velocityCount'> 
86
									#set($mapdetails = $action.getbannermapdetails("$banner.getBannerName()"))
87
									#foreach($mapdetail in $mapdetails)
88
										<area shape="rect" coords='$mapdetail.getCoordinates()' href='$mapdetail.getMapLink()' banner-name='$banner.getBannerName()'/>
89
									#end
90
									</map>
91
									</li>
92
							#else
10095 kshitij.so 93
								<li class="square"><a href="$banner.getLink()" #if($banner.isTarget())target="_blank"#end banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' height="200" width="710" /></a></li>
8917 kshitij.so 94
	                        #end
95
						#end
96
					</ul>
97
					<div class="container">
98
                      <div class="slider_arrow_left"></div>
99
                      <div class="slider_arrow_right"></div>
100
                    </div>
101
				#else
102
					  <div id="banner-menu">
103
						#foreach($banner in $banners)
104
							#if($banner.isHasMap())
10095 kshitij.so 105
								<a href="$banner.getLink()" #if($banner.isTarget())target="_blank"#end banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' title="$banner.getBannerName()" usemap='#map$velocityCount'/></a>
8917 kshitij.so 106
								<map name='map$velocityCount'> 
107
									#set($mapdetails = $action.getbannermapdetails("$banner.getBannerName()"))
108
									#foreach($mapdetail in $mapdetails)
109
										<area shape="rect" coords='$mapdetail.getCoordinates()' href='$mapdetail.getMapLink()' banner-name='$banner.getBannerName()'/>
110
									#end
111
									</map>
112
							#else
10095 kshitij.so 113
								<a href="$banner.getLink()" #if($banner.isTarget())target="_blank"#end banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' title="$banner.getBannerName()"/></a>
8917 kshitij.so 114
	                        #end
115
						#end
116
                       </div>
117
				#end
6050 anupam.sin 118
				</div>
6249 anupam.sin 119
				<div style='height: 30px;background-color: #2789C1;font-size: 14px;font-weight: bold;color: #FFFFFF;border: solid 1px #2789C1;width: 100%;'>
120
					<div style='margin:0 10px 0 10px;padding-top:7px'>
121
						PLEASE CONFIRM
122
					</div>
123
				</div>
6050 anupam.sin 124
				<div class="recharge-main-left-container" style="font-size:16px">
6249 anupam.sin 125
					#if($action.getAmount() == '0')
126
						#set($verifyingMethod='return verifyCaptcha("create-recharge-form")')
127
					#else
128
						#set($verifyingMethod='return true')
129
					#end
130
 
6433 anupam.sin 131
                    <form id="create-recharge-form" action='' name='create-recharge-form' style="float:left;padding-top:20px;padding-left:50px">
6050 anupam.sin 132
                        <br>
6057 anupam.sin 133
 
6073 amit.gupta 134
                        <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 135
						<span style="display:inline-block; width:300px">Operator : </span><span>$action.getOperatorName()</span><br>
6070 anupam.sin 136
						<span style="display:inline-block; width:300px">Recharge amount : </span><span>Rs. $action.getTotalAmount()</span><br>
6336 anupam.sin 137
						<hr style="width: 615px;height: 2px;background-color: black;border: none;margin: 25px 0px;">
6070 anupam.sin 138
 
6307 anupam.sin 139
    					#if($action.shouldPromptForWallet())
20222 aman.kumar 140
							<div style="font-size:15px;color:red">If you want to use wallet please <a href="javascript:void(0)" onclick="loginsignup()"><b>LOGIN NOW</b></a></div>
6057 anupam.sin 141
						#else
6433 anupam.sin 142
							<div style="font-size:15px;">$action.getMessage()</div>
6057 anupam.sin 143
						#end
6433 anupam.sin 144
 
145
						#if($action.getCouponMessage() == "")
146
    						<div style="font-size: 13px;padding: 10px 10px 10px 0px;"><span class="left">Have a Coupon Code? Enter here:</span>&nbsp;
6495 anupam.sin 147
                            	<input id="discountCode" name="discountCode" style="width:200px;height:18px;margin-left:30px;" class="searchbox" type="text"></input>
6433 anupam.sin 148
                            	<input type="button" value="Apply" id="applyRechargeCoupon" class="new-button" style="height: 20px;"></input>
149
                            </div>
6443 anupam.sin 150
						#elseif($action.getCouponMessage() == "Invalid Coupon")
151
							<div style="margin-top:7px;color:red;text-align:center;padding:5px 0 5px 0;width:100%;background-color:white;font-size:14px;border:solid 1px red">$action.getCouponMessage()</div>
10536 amit.gupta 152
							<div style="font-size: 13px;padd	ing: 10px 10px 10px 0px;"><span class="left">Have a Coupon Code? Enter here:</span>&nbsp;
6496 anupam.sin 153
                            	<input id="discountCode" name="discountCode" style="width:200px;height:18px;margin-left:30px;" class="searchbox" type="text"></input>
6443 anupam.sin 154
                            	<input type="button" value="Apply" id="applyRechargeCoupon" class="new-button" style="height: 20px;"></input>
155
                            </div>
6433 anupam.sin 156
						#else
157
							#if($action.getCouponAmount() > 0)
158
								<br>
6445 anupam.sin 159
								<div style="margin-top:7px;color:blue;text-align:center;padding:5px 0 5px 0;width:100%;background-color:white;font-size:14px;border:solid 1px blue">Coupon applied for Rs.$action.getCouponAmount()</div>
6433 anupam.sin 160
							#else
6443 anupam.sin 161
								<div style="margin-top:7px;color:red;text-align:center;padding:5px 0 5px 0;width:100%;background-color:white;font-size:14px;border:solid 1px red">$action.getCouponMessage()</div>
6433 anupam.sin 162
							#end
163
						#end	
164
						<br>
165
 
6050 anupam.sin 166
						<span style="display:inline-block; width:300px">Amount to pay : </span><span style="font-size:20px"><b>Rs. $action.getAmount()</b></span>
167
						<br><br><br>
168
						<input type='hidden' name='rechargeType' value='$action.getRechargeType()'>
169
						<input type='hidden' name='operator' value='$action.getOperator()'>
170
						<input type='hidden' name='userId' value='$action.getUserId()'>
6070 anupam.sin 171
						<input type='hidden' name='amount' value='$action.getAmount()'>
172
						<input type='hidden' name='walletAmountUsed' value='$action.getWalletAmountUsed()'>
6077 anupam.sin 173
						<input type='hidden' name='number' value='$action.getNumber()'>
6091 anupam.sin 174
						<input type='hidden' name='email' value='$action.getEmail()'>
6178 anupam.sin 175
						<input type='hidden' name='plan' value='$action.getPlan()'>
6433 anupam.sin 176
						<input type='hidden' name='couponCode' value='$action.getCouponCode()'>
177
						<input type='hidden' name='couponAmount' value='$action.getCouponAmount()'>
6249 anupam.sin 178
						<input type='hidden' name='totalAmount' value='$action.getTotalAmount()'>
6433 anupam.sin 179
						<input type='hidden' name='message' value='$action.getMessage()'>
6495 anupam.sin 180
						<input type='hidden' name='hash' value='$action.getHiddenUserId()'>
6050 anupam.sin 181
						#if($action.getAmount() == '0')
6249 anupam.sin 182
							#if(!$action.getErrorMessage().isEmpty())
183
    							<div id="messageError">
184
                                    <span></span>
185
                                    <p>
186
                                        $action.getErrorMessage() <br/>
187
                                    </p>
188
                                </div>
189
							#end
6400 anupam.sin 190
							<div id='captcha-div' style="margin-left:217px; margin-top:10px ; margin-bottom:20px">
6249 anupam.sin 191
								<img src="/captcha" id="captchaImage" /><br/><br/>
192
								<input id="captcha_response_box" class='captcha_text_blur' type="text" name="captcha_response_field" autocomplete="off">
193
								<br/>
194
								<span style='font-size:14px'>Cannot read the image? <a id="captchaanchor" style="cursor: pointer;" >Click here</a>.</span>
195
								<br><br>
6433 anupam.sin 196
								<input id='recharge-now-button' style='width:200px' type="button" value="RECHARGE NOW" class="make-payment-button">
6249 anupam.sin 197
							</div>
6050 anupam.sin 198
						#else
6260 anupam.sin 199
							<div style="text-align:center;">
6433 anupam.sin 200
								<input id='recharge-pay-now-button' type="button" value="PAY NOW" class="submit-button">
6260 anupam.sin 201
							</div>
6050 anupam.sin 202
						#end
203
                 	</form>
204
				</div>
205
			</div>
8917 kshitij.so 206
    			<div class="widgets right">
207
					$action.getCartWidgetSnippet()
8462 kshitij.so 208
				</div>
6050 anupam.sin 209
		</div>
210
	</div>
211
	#include("templates/footer.vm")
212
	<!-- color by color lightbox -->
213
	<div style="display:none;">
214
		<div class="colorSelLightBoxColor">
215
			<form name="frmColorSelName" method="post" action="#">
216
				<h1>Color Selector</h1>
217
				<h2>"Please choose color of product"</h2>
218
				<div class="content"></div>
219
				<div class="bigImgButton yellow-image">
220
					<input value="Continue" type="button" class="button" onclick="selectColor();" />
221
				</div>
222
				<div class="clearBoth"></div>
223
			</form>
224
		</div>
225
	</div>
226
	<!-- /color by color lightbox -->
227
	#include ( "templates/commonjsfiles.vm" )
228
	<script type="text/javascript" charset="utf-8">
8917 kshitij.so 229
	#if ($bannerCount == 1 )
230
	jQuery('#banner-menu').slidy({
231
        animation:  'none',
232
        children:   'a',
233
        menu:       false,
234
        pause:      true,
235
        speed:      400,
236
        time:       4000
237
    });
238
 
239
	#elseif ($bannerCount > 1 && $bannerCount < 3 )
240
	$(document).ready(function() {
241
           $('#bannerMenu').DDSlider({
242
           nextSlide: '.slider_arrow_right',
243
           prevSlide: '.slider_arrow_left',
244
           selector: '.slider_selector'
245
            });
246
          }); 
247
	#else
248
	jQuery('#banner-menu').slidy({
249
        animation:  'fade',
250
        children:   'a',
251
        menu:       true,
252
        pause:      true,
253
        speed:      200,
254
        time:       5000
255
    });
256
	#end
257
	</script>
258
	<style type="text/css">
259
		.slider_arrow_left {
260
         background: url(/images/left_arrow.png) no-repeat top left;
261
         }
262
		.slider_arrow_right {
263
         background: url(/images/right_arrow.png) no-repeat top left;
264
         }
265
	</style>
266
	<script type="text/javascript" charset="utf-8">
6249 anupam.sin 267
        $(function(){
268
        	$('ul.product-description li').truncate({addtitle: true});
269
 
10536 amit.gupta 270
        	$('#recharge-pay-now-button').click(function(){
6249 anupam.sin 271
        		trackEventWithGA('Recharge', 'Pay Now', '');
272
        	});
273
 
274
        });
275
	</script>
6106 rajveer 276
 
6050 anupam.sin 277
</body>
278
</html>