Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /var/www/laciasmara.com/public_html/shop/application/views/ |
Upload File : |
<div class="container" style="padding-bottom: 60px;"> <br><br> <h3><?= ucwords(lang('method')); ?></h3> <hr> <!--<div class="row"> <div class="col-sm-12"> <sup>*</sup><?= ucwords(lang('clicking')); ?>, <br> <?= ucwords(lang('agree')); ?> <a href="#myModalTOC" data-toggle="modal" style="color:<?= $primary_colortheme; ?>"><?= ucwords(lang('term_condition')); ?>.</a> </div> </div>--> <div id="ge00"> <p><?= ucwords(lang('turn_off')); ?> <span style="color:red;"><?= ucwords(lang('ucbrowser')); ?></span>, <?= ucwords(lang('chrome_firefox')); ?>.</p> </div> <script> jQuery(document).ready(function() { jQuery('#ge00').hide(); if (navigator.userAgent.indexOf(' UCBrowser/') >= 0) { //...is uc browser jQuery('#ge00').show(); } }); </script> <?php $reseller_id = $this->db->select('reseller_id')->from('customers')->where('id_customers', $this->session->userdata('customer')['customer_id'])->get()->row()->reseller_id; if ($reseller_id == NULL) : ?> <div class="row" style="padding-top: 20px;"> <div class="col-sm-12"> <div class="list-group"> <a href="#" class="list-group-item list-group-item-action active" style="background: #F2F2F2; color:black;"> <strong>Bank Transfer Manual</strong><br> <span><?= ucwords(lang('bank_transfer')); ?></span> </a> <?php if ($bca_is_active == 1) : ?> <a href="#myModalBCA" data-toggle="modal" class="list-group-item list-group-item-action">BCA <span style="float: right;"><img src="https://www.laciasmara.com/shop/assets/frontend/img/banktransfer_bca.jpg"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span></a> <?php endif; ?> <?php if ($mandiri_is_active == 1) : ?> <a href="#myModalMandiri" data-toggle="modal" class="list-group-item list-group-item-action">Mandiri <span style="float: right;"><img src="https://www.laciasmara.com/shop/assets/frontend/img/banktransfer_mandiri.jpg"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span></a> <?php endif; ?> </div> </div> </div> <?php if (isset($doku_payment)) : ?> <div class="row" style="padding-top: 20px;"> <div class="col-sm-12"> <div class="list-group"> <a href="#" class="list-group-item list-group-item-action active" style="background: #F2F2F2; color:black;"> <strong><?= ucwords(lang('other')); ?></strong> </a> <?php $AMOUNT = $doku_payment['total_amount']; $MALLID = '10746346'; $SHAREDKEY = 'W4p2h2N3L4X8'; $TRANSIDMERCHANT = $doku_payment['transidmerchant']; $msg = $AMOUNT . $MALLID . $SHAREDKEY . $TRANSIDMERCHANT; $WORDS = sha1($msg); ?> <form action="https://pay.doku.com/Suite/Receive" id="MerchatPaymentPage" name="MerchatPaymentPage" method="post"> <input name="BASKET" type="hidden" id="BASKET" value="<?php foreach ($doku_payment['basket'] as $rowid => $item) : ?> <?= $item['name']; ?>,<?= number_format((float)$item['price'], 2, '.', ''); ?>,<?= $item['qty']; ?>,<?= number_format((float)$item['subtotal'], 2, '.', ''); ?>; <?php endforeach; ?> Shipping Fee,<?= number_format((float)$doku_payment['total_shipping_fee'], 2, '.', ''); ?>,1,<?= number_format((float)$doku_payment['total_shipping_fee'], 2, '.', ''); ?>" size="100"> <input name="MALLID" type="hidden" id="MALLID" value="10746346" size="12"> <input name="CHAINMERCHANT" type="hidden" id="CHAINMERCHANT" value="NA" size="12"> <input name="CURRENCY" type="hidden" id="CURRENCY" value="360" size="3" maxlength="3"> <input name="PURCHASECURRENCY" type="hidden" id="PURCHASECURRENCY" value="360" size="3" maxlength="3"> <input name="AMOUNT" type="hidden" id="AMOUNT" value="<?= $doku_payment['total_amount']; ?>" size="12"> <input name="PURCHASEAMOUNT" type="hidden" id="PURCHASEAMOUNT" value="<?= $doku_payment['total_amount']; ?>" size="12"> <input name="TRANSIDMERCHANT" type="hidden" id="TRANSIDMERCHANT" value="<?= $doku_payment['transidmerchant']; ?>" size="16"> <input type="hidden" id="WORDS" name="WORDS" value="<?= $WORDS; ?>" size="60"> <input name="REQUESTDATETIME" type="hidden" id="REQUESTDATETIME" value="<?= date('YmdHis'); ?>" size="14" maxlength="14"> <input type="hidden" id="SESSIONID" name="SESSIONID" value="<?= session_id(); ?>"> <input type="hidden" id="PAYMENTCHANNEL" name="PAYMENTCHANNEL" value=""> <input name="EMAIL" type="hidden" id="EMAIL" value="<?= $doku_payment['cemail']; ?>" size="12"> <input name="NAME" type="hidden" id="NAME" value="<?= $doku_payment['cname']; ?>" size="30" maxlength="50"> <input name="ADDRESS" type="hidden" id="ADDRESS" value="<?= $doku_payment['caddress']; ?>" size="50" maxlength="50"> <input name="COUNTRY" type="hidden" id="COUNTRY" value="360" size="50" maxlength="50"> <input name="STATE" type="hidden" id="STATE" value="<?= $doku_payment['ccity']; ?>" size="50" maxlength="50"> <input name="CITY" type="hidden" id="CITY" value="<?= $doku_payment['scity']; ?>" size="50" maxlength="50"> <input name="PROVINCE" type="hidden" id="PROVINCE" value="<?= $doku_payment['cstate']; ?>" size="50" maxlength="50"> <input name="ZIPCODE" type="hidden" id="ZIPCODE" value="<?= $doku_payment['czipcode']; ?>" size="6" maxlength="10"> <input name="HOMEPHONE" type="hidden" id="HOMEPHONE" value="<?= $doku_payment['cmphone']; ?>" size="12" maxlength="20"> <input name="MOBILEPHONE" type="hidden" id="MOBILEPHONE" value="<?= $doku_payment['cmphone']; ?>" size="12" maxlength="20"> <input name="WORKPHONE" type="hidden" id="WORKPHONE" value="<?= $doku_payment['cmphone']; ?>" size="12" maxlength="20"> <input name="BIRTHDATE" type="hidden" id="BIRTHDATE" value="<?= $doku_payment['birthday']; ?>" size="12" maxlength="8"> <button type="submit" class="list-group-item list-group-item-action" style="float: right;"> <img src="https://www.laciasmara.com/shop/assets/frontend/img/mandiri.png" alt="Bank Mandiri VA" style="height:20px; vertical-align:middle; margin-right:10px;"> <img src="https://www.laciasmara.com/shop/assets/frontend/img/permata.png" alt="Bank Permata VA" style="height:20px; vertical-align:middle; margin-right:10px;"> <img src="https://www.laciasmara.com/shop/assets/frontend/img/cimb.png" alt="VA CIMB" style="height:20px; vertical-align:middle; margin-right:10px;"> <img src="https://www.laciasmara.com/shop/assets/frontend/img/danamon.png" alt="VA Danamon" style="height:20px; vertical-align:middle; margin-right:10px;"> <img src="https://www.laciasmara.com/shop/assets/frontend/img/alfamart.png" alt="Alfamart" style="height:20px; vertical-align:middle; margin-right:10px;"> <img src="https://www.laciasmara.com/shop/assets/frontend/img/doku.png" alt="Doku" style="height:20px; vertical-align:middle; margin-right:10px;"> <img src="https://www.laciasmara.com/shop/assets/frontend/img/visa-master.jpg" alt="Visa & Mastercard" style="height:20px; vertical-align:middle; margin-right:10px;"> <i style="color:#000; position:absolute; right:18px;" class="fa fa-chevron-right"></i> </button> </form> </div> </div> </div> <?php endif; ?> <?php if ($doku_payment['total_amount'] >= 1000000) : ?> <div class="row" style="padding-top: 20px;"> <div class="col-sm-12"> <div class="list-group"> <a href="#" class="list-group-item list-group-item-action active" style="background: #F2F2F2; color:black;"> <strong>Paypal</strong><br> <span><?= ucwords(lang('paypal_method')); ?></span> </a> <?php if ($mandiri_is_active == 1) : ?> <a href="#myModalPaypal" data-toggle="modal" class="list-group-item list-group-item-action">Paypal <span style="float: right;"><img src="https://www.laciasmara.com/shop/assets/frontend/img/paypal.jpg"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span> </a> <?php endif; ?> </div> </div> </div> <?php else : ?> <div class="row" style="padding-top: 20px;"> <div class="col-sm-12"> <div class="list-group"> <a href="#" class="list-group-item list-group-item-action active" style="background: #E0E0E0; color:#A0A0A0; cursor:not-allowed;" disabled> <strong>Paypal</strong><br> <span><?= ucwords(lang('paypal_method')); ?></span><br> <span style="color: red;"><?= ucwords(lang('paypal_min')); ?></span> </a> </div> </div> </div> <?php endif; ?> <?php else : ?> <div class="row" style="padding-top: 20px;"> <div class="col-sm-12"> <div class="list-group"> <a href="#" class="list-group-item list-group-item-action active" style="background: #F2F2F2; color:black;"> <strong>Bank Transfer Manual</strong><br> <span><?= ucwords(lang('bank_transfer')); ?></span> </a> <?php if ($bca_is_active == 1) : ?> <a href="#myModalBCA" data-toggle="modal" class="list-group-item list-group-item-action">BCA <span style="float: right;"><img src="https://www.laciasmara.com/shop/assets/frontend/img/banktransfer_bca.jpg"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span></a> <?php endif; ?> <?php if ($mandiri_is_active == 1) : ?> <a href="#myModalMandiri" data-toggle="modal" class="list-group-item list-group-item-action">Mandiri <span style="float: right;"><img src="https://www.laciasmara.com/shop/assets/frontend/img/banktransfer_mandiri.jpg"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span></a> <?php endif; ?> </div> </div> </div> <?php endif; ?> <?php if (isset($snapToken_gopay)) : ?> <div class="row" style="padding-top: 20px;"> <div class="col-sm-12"> <div class="list-group"> <a href="#" class="list-group-item list-group-item-action active" style="background: #F2F2F2; color:black;"> <strong>Go-Pay</strong> </a> <a id="gopay" href="#" class="list-group-item list-group-item-action">Go-Pay <span style="float: right;"><img style="height: 20px;" src="https://www.laciasmara.com/shop/assets/frontend/img/gopay.png"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span> </a> </div> </div> </div> <?php endif; ?> <?php if (isset($snapToken_cc)) : ?> <div class="row" style="padding-top: 20px;"> <div class="col-sm-12"> <div class="list-group"> <a href="#" class="list-group-item list-group-item-action active" style="background: #F2F2F2; color:black;"> <strong><?= ucwords(lang('credit_card')); ?></strong> </a> <a id="credit_card" href="#" class="list-group-item list-group-item-action"><?= ucwords(lang('credit_card')); ?> Visa & Mastercard <span style="float: right;"><img style="height: 20px;" src="https://www.laciasmara.com/shop/assets/frontend/img/visa-master.jpg"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span> </a> </div> </div> </div> <?php endif; ?> <?php if (isset($snapToken_permatava) || isset($snapToken_bniva)) : ?> <div class="row" style="padding-top: 20px;"> <div class="col-sm-12"> <div class="list-group"> <a href="#" class="list-group-item list-group-item-action active" style="background: #F2F2F2; color:black;"> <strong><?= ucwords(lang('virtual')); ?></strong><br> <span><?= ucwords(lang('virtual_text')); ?></span> </a> <?php if (isset($snapToken_permatava)) : ?> <a id="permata_va" href="#" class="list-group-item list-group-item-action">Permata <span style="float: right;"><img style="height:20px" src="https://www.laciasmara.com/shop/assets/frontend/img/permata-bank.jpg"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span></a> </a> <?php endif; ?> <?php if (isset($snapToken_bniva)) : ?> <a id="bni_va" href="#" class="list-group-item list-group-item-action">BNI <span style="float: right;"><img style="height:20px" src="https://www.laciasmara.com/shop/assets/frontend/img/bni.jpg"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span></a> </a> <?php endif; ?> <?php if (isset($snapToken_echannel)) : ?> <a id="mandiri_bill" href="#" class="list-group-item list-group-item-action">MANDIRI BILL PAYMENT <span style="float: right;"><img style="height:20px" src="https://www.laciasmara.com/shop/assets/frontend/img/banktransfer_mandiri.jpg"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span></a> </a> <?php endif; ?> </div> </div> </div> <?php endif; ?> <?php if (isset($snapToken_akulaku)) : ?> <div class="row" style="padding-top: 20px;"> <div class="col-sm-12"> <div class="list-group"> <a href="#" class="list-group-item list-group-item-action active" style="background: #F2F2F2; color:black;"> <strong>Akulaku</strong> </a> <a id="akulaku" href="#" class="list-group-item list-group-item-action">Pembayaran cicilan dengan Akulaku <span style="float: right;"><img style="height: 30px;" src="https://www.laciasmara.com/shop/assets/frontend/img/akulaku.png"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span> </a> </div> </div> </div> <?php endif; ?> </div> <script src="<?= $snap_url; ?>" data-client-key="<?= $client_key; ?>"></script> <script type="text/javascript"> jQuery(document).ready(function() { <?php if (isset($snapToken_permatava)) : ?> jQuery('#permata_va').on('click', function(e) { e.preventDefault(); // SnapToken acquired from previous step snap.pay('<?= $snapToken_permatava; ?>', { skipOrderSummary: true, // Optional onSuccess: function(result) { /* You may add your own js here, this is just example *document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_success'); ?>'; }, // Optional onPending: function(result) { /* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_pending'); ?>'; }, // Optional onError: function(result) { /* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_error'); ?>'; } }); }); <?php endif; ?> <?php if (isset($snapToken_bniva)) : ?> jQuery('#bni_va').on('click', function(e) { e.preventDefault(); // SnapToken acquired from previous step snap.pay('<?= $snapToken_bniva; ?>', { skipOrderSummary: true, // Optional onSuccess: function(result) { /* You may add your own js here, this is just example *document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_success'); ?>'; }, // Optional onPending: function(result) { /* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_pending'); ?>'; }, // Optional onError: function(result) { /* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_error'); ?>'; } }); }); <?php endif; ?> <?php if (isset($snapToken_echannel)) : ?> jQuery('#mandiri_bill').on('click', function(e) { e.preventDefault(); // SnapToken acquired from previous step snap.pay('<?= $snapToken_echannel; ?>', { skipOrderSummary: true, // Optional onSuccess: function(result) { /* You may add your own js here, this is just example *document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_success'); ?>'; }, // Optional onPending: function(result) { /* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_pending'); ?>'; }, // Optional onError: function(result) { /* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_error'); ?>'; } }); }); <?php endif; ?> <?php if (isset($snapToken_cc)) : ?> jQuery('#credit_card').on('click', function(e) { e.preventDefault(); // SnapToken acquired from previous step snap.pay('<?= $snapToken_cc; ?>', { skipOrderSummary: true, // Optional onSuccess: function(result) { /* You may add your own js here, this is just example *document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_success'); ?>'; }, // Optional onPending: function(result) { /* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_pending'); ?>'; }, // Optional onError: function(result) { /* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_error'); ?>'; } }); }); <?php endif; ?> <?php if (isset($snapToken_gopay)) : ?> jQuery('#gopay').on('click', function(e) { e.preventDefault(); // SnapToken acquired from previous step snap.pay('<?= $snapToken_gopay; ?>', { skipOrderSummary: true, // Optional onSuccess: function(result) { /* You may add your own js here, this is just example *document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_success'); ?>'; }, // Optional onPending: function(result) { /* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_pending'); ?>'; }, // Optional onError: function(result) { /* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_error'); ?>'; } }); }); <?php endif; ?> <?php if (isset($snapToken_akulaku)) : ?> jQuery('#akulaku').on('click', function(e) { e.preventDefault(); // SnapToken acquired from previous step snap.pay('<?= $snapToken_akulaku; ?>', { skipOrderSummary: true, // Optional onSuccess: function(result) { /* You may add your own js here, this is just example *document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_success'); ?>'; }, // Optional onPending: function(result) { /* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_pending'); ?>'; }, // Optional onError: function(result) { /* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */ window.location.href = '<?= base_url('midtrans/veritrans_payment_error'); ?>'; } }); }); <?php endif; ?> }); </script> <?php if ($bca_is_active == 1) : ?> <!-- Modal BCA --> <div class="modal fade" id="myModalBCA" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLongTitle"><?= ucwords(lang('bca')); ?></h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <p><?= ucwords(lang('continue_bca')); ?> ? </div> <div class="modal-footer" style="text-align: center;"> <button type="button" class="btn btn-primary" data-dismiss="modal" style="width:50%; background-color:grey !important; color:white;"><?= ucwords(lang('no')); ?></button> <a class="btn btn-secondary" style="width:50%; background-color:<?= $primary_colortheme; ?> !important; color:white;" href="<?= base_url() . 'payment/bank_transfer_processing/bca/' . $order_id; ?>"><?= ucwords(lang('yes')); ?></a> </div> </div> </div> </div> <?php endif; ?> <?php if ($mandiri_is_active == 1) : ?> <!-- Modal Mandiri --> <div class="modal fade" id="myModalMandiri" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLongTitle"><?= ucwords(lang('mandiri')); ?></h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <p><?= ucwords(lang('continue_mandiri')); ?> ? </div> <div class="modal-footer" style="text-align: center;"> <button type="button" class="btn btn-primary" data-dismiss="modal" style="width:50%; background-color:grey !important; color:white;"><?= ucwords(lang('no')); ?></button> <a class="btn btn-secondary" style="width:50%; background-color:<?= $primary_colortheme; ?> !important; color:white;" href="<?= base_url() . 'payment/bank_transfer_processing/mandiri/' . $order_id; ?>"><?= ucwords(lang('yes')); ?></a> </div> </div> </div> </div> <?php endif; ?> <div class="modal fade" id="myModalPaypal" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLongTitle"><?= ucwords(lang('paypal')); ?></h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <p><?= ucwords(lang('continue_paypal')); ?> ?</p> <p style="color: red;"><?= ucwords(lang('warning_continue_paypal')); ?></p> </div> <div class="modal-footer" style="text-align: center;"> <button type="button" class="btn btn-primary" data-dismiss="modal" style="width:50%; background-color:grey !important; color:white;"><?= ucwords(lang('no')); ?></button> <a class="btn btn-secondary" style="width:50%; background-color:<?= $primary_colortheme; ?> !important; color:white;" href="<?= base_url() . 'payment/paypal_payment/' . $order_id; ?>"><?= ucwords(lang('yes')); ?></a> </div> </div> </div> </div> <div class="modal fade" id="myModalTOC" role="dialog" style="display: none;"> <div class="modal-dialog modal-lg" role="document"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title"><?= ucwords(lang('term_condition')); ?></h4> <button type="button" class="btn btn-danger" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">X</span></button> </div> <div class="modal-body"> <?php if ($this->session->userdata('site_lang') == 'english') { $this->db->select('toc')->from('toc')->where('id_toc', 4); $toc = $this->db->get()->row()->toc; echo $toc; } else { $this->db->select('toc')->from('toc')->where('id_toc', 5); $toc = $this->db->get()->row()->toc; echo $toc; } ?> </div> <div class="modal-footer"> <button type="button" class="btn btn-danger" data-dismiss="modal" style="color:white;"><?= ucwords(lang('close')); ?></button> </div> </div><!-- /.modal-content --> </div><!-- /.modal-dialog --> </div>