Subversion Repositories SmartDukaan

Rev

Rev 6111 | Rev 6141 | 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>
6066 amit.gupta 17
	<style>
18
		label.error{
19
			color:red;
20
			float:left;
21
			font-size:12px;
22
			padding: 2px 0;
23
			width:500px;
24
    </style>
6050 anupam.sin 25
</head>
26
 
27
<body>
28
	<noscript>
29
		<p id="noScript">Please enable <em>Javascript</em> for this Website to function correctly!</p>
30
	</noscript>
31
	$action.getHeaderSnippet()
32
	<!-- Main -->
33
	<div id="main">
34
		<div class="main-content">
35
			<div class="main-top"></div>
36
			<div class="main-left left">
37
				<div class="main-left-banner">
38
					<script type='text/javascript'><!--//<![CDATA[
39
               var m3_u = (location.protocol=='https:'?'https://open.saholic.com/openx/www/delivery/ajs.php':'http://open.saholic.com/openx/www/delivery/ajs.php');
40
               var m3_r = Math.floor(Math.random()*99999999999);
41
               if (!document.MAX_used) document.MAX_used = ',';
42
               document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
43
               document.write ("?zoneid=1");
44
               document.write ('&amp;cb=' + m3_r);
45
               if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
46
               document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
47
               document.write ("&amp;loc=" + escape(window.location));
48
               if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
49
               if (document.context) document.write ("&context=" + escape(document.context));
50
               if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
51
               document.write ("'><\/scr"+"ipt>");
52
            //]]>--></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>
53
				</div>
54
				<div class="recharge-main-left-container">
55
				<!--
56
					<div id="rowOne"></div>
57
					<div id="rowTwo">
58
						<span id="spantext">Recharge Your : </span><span id="hello"></span><span id="hellotoo"></span>
59
					</div>
60
					<div class="rowWidth"><span id="mobNumberText">Hello World : </span><input id="mobNumberBox" type="text"></div>-->
61
					<div id="firstCol" style="width:33%; text-align:right; float:left">
62
						<br><br><br>
63
						Recharge Your :
64
						<br><br><br>
6066 amit.gupta 65
						#if($action.getServiceType() == "2")
6050 anupam.sin 66
							DTH Number :
67
						#else
68
							Mobile Number :
69
						#end
70
						<br><br><br>
71
						Operator :
72
						<br><br><br>
73
						Amount :
74
						<br><br><br>
75
						Email :
76
						<br>
77
					</div>
78
					<div id="secondCol" style="width:3%; float:left"><br></div>
79
					<div id="thirdCol" style="width:64%;  float:left;text-align:left">
6103 amit.gupta 80
					<br>
81
					#set($errorMsg=$action.getError())
82
					#if($errorMsg.equals(""))
83
						<br>
84
					#else
85
						<div style="color: red;font-size:15px;">$errorMsg</div>
86
					#end
6050 anupam.sin 87
						<form id='serviceSelectForm' action='/recharge' method='post'>
88
						<input id='serviceType' type="hidden" name='serviceType' value=''>
89
						<input name='form' type="hidden" value='serviceSelect'>
90
						</form>
91
						<p style="display:block">
6058 anupam.sin 92
							#if($action.getServiceType() == "2")
93
								#set($dthImageSrc = '/images/dth_pressed.png')
94
								#set($phoneImageSrc = '/images/phone.png')
6050 anupam.sin 95
							#else
6058 anupam.sin 96
								#set($phoneImageSrc = '/images/phone_pressed.png')
97
								#set($dthImageSrc = '/images/dth.png')
6050 anupam.sin 98
							#end
99
							<img id="phone-image" src=$phoneImageSrc style="cursor:pointer"><img id="dth-image" src=$dthImageSrc style="cursor:pointer">
100
						</p>
101
						<br>
102
						<form id='rechargeDetailsForm' action='/confirm' method='post'>
6058 anupam.sin 103
						#if($action.getServiceType() == "2")
6050 anupam.sin 104
							#set($inputClass = 'full-size-input')
6073 amit.gupta 105
							<input type="text" name='dthnumber' maxlength="20" class="$inputClass"></input>
6050 anupam.sin 106
						#else
107
							#set($inputClass = 'regular-size-input')
6066 amit.gupta 108
							<input type="text" name='number' maxlength="10" class="$inputClass"></input>
6050 anupam.sin 109
						#end
110
						<input type='hidden' name='rechargeType' value='$action.getServiceType()'>
111
						<br><br>
6057 anupam.sin 112
						#set($providerMap = $action.getProviderMap())
113
						#set($providerKeys = $action.getProviderKeys())
6050 anupam.sin 114
						<select name='operator' style="font-size:20px; padding: 5px;">
6057 anupam.sin 115
							<option value='0'>Select Operator</option>
116
							#foreach($providerKey in $providerKeys)
117
								<option value='$providerKey'>$providerMap.get($providerKey)</option>
118
							#end
6050 anupam.sin 119
						</select>
6111 anupam.sin 120
						<span style="font-size: 13px; padding-left: 10px;color: blue;">MNP Users choose operator manually</span>
6050 anupam.sin 121
						<br><br>
6066 amit.gupta 122
						#if($action.getServiceType() == "1")
123
							#set($name='amount')
124
						#else
125
							#set($name='dthamount')
126
						#end
127
						<input type="text" maxlength="5" name='$name' style="background: white url('/images/Rupee.png') no-repeat 2px;" class='regular-size-input'></input>
6050 anupam.sin 128
						<div style="margin-top:20px">
6111 anupam.sin 129
							#if($action.getUserInfo().isLoggedIn())
130
								#set($emailId = $action.getUserInfo().getEmail())
131
							#else
132
								#set($emailId = "")
133
							#end
134
							<input type="text" name='email' class='full-size-input' value ='$emailId'></input>
6050 anupam.sin 135
							<br>
136
							<span style="font-size:13px">We will send recharge confirmation on this address.</span>
137
						</div>
138
						</form>
139
						<br><br>
6066 amit.gupta 140
						<div id="confirm-button" class="submit-button">CONFIRM &gt;</div>
6050 anupam.sin 141
					</div>
6066 amit.gupta 142
 
6050 anupam.sin 143
				</div>
144
			</div>
6066 amit.gupta 145
			<div class="widgets right">
146
				<div style="width:258px; margin-left:10px;float:right;height:636px;background-image:url('/images/back1.jpg');border:solid 1px #2789C1"></div>
6050 anupam.sin 147
			</div>
148
		</div>
149
	</div>
150
	#include("templates/footer.vm")
151
	#include ( "templates/commonjsfiles.vm" )
152
</body>
153
</html>