Subversion Repositories SmartDukaan

Rev

Rev 3066 | Rev 3830 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3066 Rev 3101
Line 31... Line 31...
31
		<!-- sidebar-->
31
		<!-- sidebar-->
32
		<div id="sidebar">
32
		<div id="sidebar">
33
			#include("templates/customerservice.vm")			
33
			#include("templates/customerservice.vm")			
34
		</div>
34
		</div>
35
		<div class="clearBoth"></div>
35
		<div class="clearBoth"></div>
36
 
-
 
37
		<!-- /sidebar-->
36
		<!-- /sidebar-->
38
		
37
		
39
		<!-- Registration Form-->
38
		<!-- Registration Form-->
40
		$action.getShippingDetailsSnippet()
39
		$action.getShippingDetailsSnippet()
41
		
40
		
42
   		<div class="clearBoth"></div>
41
   		<div class="clearBoth"></div>
43
    </div><!-- /main -->
42
    </div><!-- /main -->
44
	 
43
	 
45
	#include("templates/footer.vm")
44
	#include("templates/footer.vm")
46
 
-
 
47
     <!-- color by color lightbox -->
-
 
48
    <div style="display:none;">
-
 
49
        <div class="payModeLightBoxColor">
-
 
50
        	<form id="paymentModeSelection" name="paymentModeSelection" action="/order" method="post" onsubmit="return verifyPaymentModeSelectionForm()">
-
 
51
        		<h1>Choose Payment Mode</h1>
-
 
52
				<div id="ajaxMessage" class="message" style="display:none"></div>
-
 
53
 
-
 
54
        		<input type="hidden" name="addressid" id="addressid"/>
-
 
55
				<input type="hidden" name="payment_option"/>
-
 
56
        		<div class="content">
-
 
57
                	<div>
-
 
58
                		<h3>Credit Cards</h3>
-
 
59
                		<table width="400" class="full">
-
 
60
                			<tbody>
-
 
61
                				<tr>
-
 
62
                					<td width="100" style="text-align: center; ">
-
 
63
										<br/>
-
 
64
                						<input type="radio" value="CreditCard" id="CreditCard" name="type" onclick="$('#recaptchaDiv').hide();$('#captchaMsg').hide();"><br>&nbsp;
-
 
65
									</td>
-
 
66
                					<td style="text-align: center; ">
-
 
67
										<select onchange="document.getElementById('CreditCard').checked=true;$('#recaptchaDiv').hide();$('#captchaMsg').hide();" style="width: 300px;" name="gCreditCard">
-
 
68
                							<option value="">------- Select Card Type-------</option>
-
 
69
											<optgroup label="Cards issued in India">
-
 
70
												<option value="2008">VISA</option>
-
 
71
												<option value="2017">MasterCard</option>
-
 
72
												<option value="1010">Diners Club</option>
-
 
73
                                            </optgroup>
-
 
74
                							<optgroup label="Cards issued outside India" style="margin-top: 5px;">
-
 
75
												<option value="1008">VISA</option>
-
 
76
												<option value="1017">MasterCard</option>
-
 
77
												<option value="1010">Diners Club</option>
-
 
78
                                            </optgroup>
-
 
79
											<optgroup label="We accept cards issued by all banks" style="margin-top: 10px;"/>
-
 
80
										</select>
-
 
81
									</td>
-
 
82
                				</tr>
-
 
83
                			</tbody>
-
 
84
                		</table>
-
 
85
                	</div>
-
 
86
                	<div>
-
 
87
                		<h3>Debit &amp; ATM Cards</h3>
-
 
88
                		<table width="400" class="full">
-
 
89
                			<tbody>
-
 
90
                				<tr>
-
 
91
                					<td width="100" style="text-align: center; ">
-
 
92
                						<br/>
-
 
93
                						<input type="radio" value="DebitCard" id="DebitCard" name="type" onclick="$('#recaptchaDiv').hide();$('#captchaMsg').hide();"><br>&nbsp;
-
 
94
									</td>
-
 
95
                					<td style="text-align: center; ">
-
 
96
                						<select onchange="document.getElementById('DebitCard').checked=true;$('#recaptchaDiv').hide();$('#captchaMsg').hide();" style="width: 300px;" name="gDebitCard">
-
 
97
                							<option value="">------- Select Card Type -------</option>
-
 
98
											<option value="2000">Visa / Visa Electron Cards</option>
-
 
99
											<option value="1009">Maestro Card (CitiBank only)</option>
-
 
100
											#if(${in.shop2020.payments.showTestGateway})
-
 
101
											<option value="1001">EBS - Test Payment</option>
-
 
102
											#end
-
 
103
										</select>
-
 
104
									</td>
-
 
105
                				</tr>
-
 
106
                			</tbody>
-
 
107
                		</table>
-
 
108
                	</div>
-
 
109
                	<div>
-
 
110
                		<h3>Net Banking Account</h3>
-
 
111
                		<table width="400" class="full">
-
 
112
                			<tbody>
-
 
113
                				<tr>
-
 
114
                					<td width="100" style="text-align: center; ">
-
 
115
										<br/>
-
 
116
                						<input type="radio" value="NetBankingAccount" id="NetBankingAccount" name="type" onclick="$('#recaptchaDiv').hide();$('#captchaMsg').hide();"><br>&nbsp;
-
 
117
									</td>
-
 
118
                					<td style="text-align: center; ">
-
 
119
                						<select onchange="document.getElementById('NetBankingAccount').checked=true;$('#recaptchaDiv').hide();$('#captchaMsg').hide();" style="width: 300px;" name="gNetBankingAccount">
-
 
120
                							<option value="">------- Select Bank -------</option>
-
 
121
                							<option value="1004">AXIS Bank Account</option>
-
 
122
                							<option value="1127">Citi Bank Account</option>
-
 
123
                							<option value="1135">Corporation Bank Account</option>
-
 
124
                							<option value="1029">Federal Bank Account</option>
-
 
125
                							<option value="1007">HDFC Bank Account</option>
-
 
126
                							<option value="1016">ICICI Bank Account</option>
-
 
127
                							<option value="1015">JK Bank Account</option>
-
 
128
                							<option value="1133">Karnataka Bank Account</option>
-
 
129
                							<option value="1032">State Bank of India Account</option>
-
 
130
                							<option value="1034">State Bank of Hyderabad Account</option>
-
 
131
                							<option value="1038">State Bank of Mysore Account</option>
-
 
132
                						</select>
-
 
133
                					</td>
-
 
134
                				</tr>
-
 
135
                			</tbody>
-
 
136
                		</table>
-
 
137
                	</div>
-
 
138
                	<div>
-
 
139
                		<h3>Cash Card</h3>
-
 
140
                		<table width="400" class="full">
-
 
141
                			<tbody>
-
 
142
                				<tr>
-
 
143
                					<td width="100" style="text-align: center; ">
-
 
144
										<br/>
-
 
145
                						<input type="radio" value="CashCard" id="CashCard" name="type" onclick="$('#recaptchaDiv').hide();$('#captchaMsg').hide();"><br/>&nbsp;
-
 
146
									</td>
-
 
147
                					<td style="text-align: center; ">
-
 
148
                						<select onchange="document.getElementById('CashCard').checked=true;$('#recaptchaDiv').hide();$('#captchaMsg').hide();" style="width: 300px;" name="gCashCard">
-
 
149
                							<option value="">------- Select Card Type -------</option>
-
 
150
                							<option value="1132">Done Card</option>
-
 
151
                							<option value="1134">ICash</option>
-
 
152
                							<option value="1012">ItzCash</option>
-
 
153
										</select>
-
 
154
									</td>
-
 
155
                				</tr>
-
 
156
                			</tbody>
-
 
157
                		</table>
-
 
158
                	</div>
-
 
159
					#if($action.shouldShowCodOption())
-
 
160
					<div>
-
 
161
						<script type="text/javascript" src="http://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
-
 
162
                		<h3>Cash on Delivery</h3>
-
 
163
                		<table width="400" class="full">
-
 
164
                			<tbody>
-
 
165
                				<tr>
-
 
166
                					<td width="100" style="text-align: center; ">
-
 
167
										<br/>
-
 
168
                						<input type="radio" value="COD" id="COD" name="type" onclick="showRecaptcha('recaptchaDiv');"><br/>&nbsp;
-
 
169
									</td>
-
 
170
                					<td style="text-align: left; ">
-
 
171
										<select onchange="selectCodOption();" style="width: 300px;" name="gCOD">
-
 
172
											<option value="">------- Select -------</option>
-
 
173
                							<option value="3000">Cash On Delivery</option>
-
 
174
										</select>
-
 
175
										<br/>
-
 
176
										(Delivery may take one extra day.)
-
 
177
									</td>
-
 
178
                				</tr>
-
 
179
                                <tr>
-
 
180
									<td>&nbsp;</td>
-
 
181
									<td><span id="captchaMsg" style="display:none">Please type the words shown below</td>
-
 
182
								</tr>
-
 
183
								<tr>
-
 
184
									<td>&nbsp;</td>
-
 
185
									<td style="text-align:center">
-
 
186
										<div id="recaptchaDiv" style="text-align:center">
-
 
187
										</div>
-
 
188
									</td>
-
 
189
								</tr>
-
 
190
                			</tbody>
-
 
191
                		</table>
-
 
192
                	</div>
-
 
193
					#end
-
 
194
    			</div>
-
 
195
        		
-
 
196
				<div class="clearBoth"></div>
-
 
197
				
-
 
198
        		<div class="bigImgButton yellow-image">
-
 
199
        			<input value="Continue" type="submit" class="button" />
-
 
200
        		</div>
-
 
201
        		<div class="clearBoth"></div>
-
 
202
        		
-
 
203
        	</form>
-
 
204
        </div>
-
 
205
    </div>
-
 
206
    <!-- /color by color lightbox -->
-
 
207
	 
-
 
208
#include ( "templates/commonjsfiles.vm" )
45
	#include ( "templates/commonjsfiles.vm" )
209
<script type="text/javascript">
-
 
210
    function showRecaptcha(element) {
-
 
211
	$('#captchaMsg').show();
-
 
212
       	Recaptcha.create("$action.getPublicKey()", element, {
-
 
213
        	theme: "red",
-
 
214
         	callback: Recaptcha.focus_response_field});
-
 
215
    }
-
 
216
</script>
-
 
217
<script type="text/javascript">
-
 
218
    function selectCodOption() {
-
 
219
    	document.getElementById('COD').checked=true;
-
 
220
    	if($("form[name='paymentModeSelection'] select[name='gCOD']").val() == 3000)
-
 
221
    		showRecaptcha('recaptchaDiv');
-
 
222
    	else
-
 
223
    		$('#recaptchaDiv').hide();
-
 
224
    }
-
 
225
</script>
-
 
226
</body>
46
</body>
227
</html>
47
</html>