Subversion Repositories SmartDukaan

Rev

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

Rev 4002 Rev 4609
Line 406... Line 406...
406
						</form>
406
						</form>
407
                    </div>
407
                    </div>
408
					#if($action.shouldShowCodOption())
408
					#if($action.shouldShowCodOption())
409
					<div>
409
					<div>
410
						<div class="center-text-bold12">Please enter the words shown below:</div><br/>
410
						<div class="center-text-bold12">Please enter the words shown below:</div><br/>
411
						<script type="text/javascript" src="http://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
-
 
412
						<form id="codSelection" name="codSelection" action="/order" method="post" onsubmit="return verifyCodSelectionForm('codSelection')">
411
						<form id="codSelection" name="codSelection" action="/order" method="post" onsubmit="return verifyCodSelectionForm('codSelection')">
413
							<input type="hidden" name="addressid" id="addressid" value="$adrressId"/>
412
							<input type="hidden" name="addressid" id="addressid" value="$adrressId"/>
414
							<input type="hidden" name="payment_option" id='payment_option' value="3000"/>
413
							<input type="hidden" name="payment_option" id='payment_option' value="3000"/>
415
    						<div id="recaptchaDiv" style="margin-left:150px; margin-top:10px ; margin-bottom:20px">
414
    						<div style="margin-left:250px; margin-top:10px ; margin-bottom:20px">
-
 
415
								<img src="/captcha" id="captchaImage" /><br/><br/>
-
 
416
								<input type="text" name="captcha_response_field" autocomplete="off">
-
 
417
								<br/><small>Can't read the image? Click it to get a new one.</small>
416
    						</div>
418
    						</div>
417
    						<script type="text/javascript">
-
 
418
    						    Recaptcha.create("$action.getPublicKey()", 'recaptchaDiv', {
-
 
419
    	        					theme: "clean"
-
 
420
    							});
-
 
421
    						</script>
-
 
422
							<div class="text-center">
419
							<div class="text-center">
423
    							<input type="submit" value="CONFIRM ORDER" class="make-payment-button"/>
420
    							<input type="submit" value="CONFIRM ORDER" class="make-payment-button"/>
424
								<br/><br/>
421
								<br/><br/>
425
								<ul class="bold text-left" style="padding-left: 150px;">
422
								<ul class="bold text-left" style="padding-left: 150px;">
426
									Please note:
423
									Please note:
Line 455... Line 452...
455
 
452
 
456
#include("templates/footer.vm")
453
#include("templates/footer.vm")
457
 
454
 
458
#include ( "templates/commonjsfiles.vm" )
455
#include ( "templates/commonjsfiles.vm" )
459
<script language="javascript" type="text/javascript" src="/js/proceed-to-pay.js"></script>
456
<script language="javascript" type="text/javascript" src="/js/proceed-to-pay.js"></script>
-
 
457
<script type="text/javascript">
-
 
458
	$(function(){
-
 
459
        $('#captchaImage').click(function () { $(this).attr('src', '/captcha?rand=' + Math.floor(Math.random()*100) ); })
-
 
460
    });
-
 
461
</script>
460
</body>
462
</body>
461
</html>
463
</html>
462
	
464