Subversion Repositories SmartDukaan

Rev

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

Rev 11257 Rev 11258
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 print_r($captcha['image']);?>" alt="<?php echo $captcha['name'];?>"></div>
172
          <div id="captcha" class="tcenter"><?php print_r($captcha['image']);?></div>
173
              <div id="clickCaptcha" class="tcenter" onclick="changeCaptcha()">Click here to change image</div>
173
              <div 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">