| Line 167... |
Line 167... |
| 167 |
$defaultPayment = $payment->type;
|
167 |
$defaultPayment = $payment->type;
|
| 168 |
}?>
|
168 |
}?>
|
| 169 |
<div id="<?php echo $payment->type;?>" class="card <?php if((isset($codCaptcha) && $codCaptcha == 1) || (isset($cod) && $cod == 1)) {echo 'selected';}?>" onclick="changePayment(event);"><?php echo $payment->label;?><span><?php if((isset($codCaptcha) && $codCaptcha == 1) || (isset($cod) && $cod == 1)){echo '-';} else {echo '+';}?></span></div>
|
169 |
<div id="<?php echo $payment->type;?>" class="card <?php if((isset($codCaptcha) && $codCaptcha == 1) || (isset($cod) && $cod == 1)) {echo 'selected';}?>" onclick="changePayment(event);"><?php echo $payment->label;?><span><?php if((isset($codCaptcha) && $codCaptcha == 1) || (isset($cod) && $cod == 1)){echo '-';} else {echo '+';}?></span></div>
|
| 170 |
<div style="display:<?php if((isset($codCaptcha) && $codCaptcha == 1) || (isset($cod) && $cod == 1)){echo 'block';} else { echo 'none'; }?>" class="info-hldr">
|
170 |
<div style="display:<?php if((isset($codCaptcha) && $codCaptcha == 1) || (isset($cod) && $cod == 1)){echo 'block';} else { echo 'none'; }?>" class="info-hldr">
|
| 171 |
<!-- <p class="c-info">You will be taken to our Bank's payment gateway for making this payment.</p> -->
|
171 |
<!-- <p class="c-info">You will be taken to our Bank's payment gateway for making this payment.</p> -->
|
| 172 |
<div id="captcha" class="tcenter"><img src="<?php echo 'data:image/png;base64,'.$captcha['imagedata'];?>"/></div>
|
172 |
<div <?php if(isset($skipcaptcha) && $skipcaptcha==1){echo "style='display:none;";}?> id="captcha" class="tcenter"><img src="<?php echo 'data:image/png;base64,'.$captcha['imagedata'];?>"/></div>
|
| 173 |
<div id="clickCaptcha" class="tcenter" onclick="changeCaptcha()">Click here to change image</div>
|
173 |
<div <?php if(isset($skipcaptcha) && $skipcaptcha==1){echo "style='display:none;";}?> id="clickCaptcha" class="tcenter" onclick="changeCaptcha()">Click here to change image</div>
|
| 174 |
<form id="cashod" method="post" data-key="<?php echo $payment->label;?>" action="<?php echo base_url().'payment';?>" onsubmit="return paymentValidation(event)">
|
174 |
<form id="cashod" method="post" data-key="<?php echo $payment->label;?>" action="<?php echo base_url().'payment';?>" onsubmit="return paymentValidation(event)">
|
| 175 |
<fieldset>
|
175 |
<fieldset>
|
| 176 |
<input type="hidden" name="payoption" id="pay-cod" value="<?php echo $payment->pay_option; ?>"/>
|
176 |
<input type="hidden" name="payoption" id="pay-cod" value="<?php echo $payment->pay_option; ?>"/>
|
| 177 |
<input id="captcha_response_box" type="text" name="captcha_response_field" autocomplete="off">
|
177 |
<input id="captcha_response_box" type="text" name="captcha_response_field" autocomplete="off" <?php if(isset($skipcaptcha) && $skipcaptcha==1){echo "disabled=true";}?>>
|
| 178 |
<input type="submit" name="submit" value='Make Payment' class="payment-btn tcenter"/>
|
178 |
<input type="submit" name="submit" value='Make Payment' class="payment-btn tcenter"/>
|
| 179 |
</fieldset>
|
179 |
</fieldset>
|
| 180 |
</form>
|
180 |
</form>
|
| 181 |
</div>
|
181 |
</div>
|
| 182 |
<?php } }?>
|
182 |
<?php } }?>
|