<div class="row clearfix">
    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
        <div class="card">
            <div class="header">
                <div class="row">
                    <div class="col-lg-8 col-md-8 col-sm-6 col-xs-6 text-left">
                        <h2>
                            Gateways
                        </h2>
                    </div>
                    <div class="col-lg-4 col-md-4 col-sm-6 col-xs-6 text-right">
                        <a href="<?php echo base_url('lbadmin/gateway/add') ?>" class="btn btn-primary"><i class="acl-icon-plus-3"></i> Add Gateway</a>
                    </div>
                </div>
            </div>
            <div class="body">
                <div class="table-responsive acl-custom">
                    <table id="gatewaylist" class="table table-bordered table-striped table-hover dataTable js-exportable">
                        <thead>
                        <tr>
                            <th>Name</th>
                            <th>Url</th>
                            <th>Fee</th>
                            <th>Gateway Key</th>
                            <th class="no-sort">Action</th>
                        </tr>
                        </thead>
                        <tfoot>
                        <tr>
                            <th>Name</th>
                            <th>Url</th>
                            <th>Fee</th>
                            <th>Gateway Key</th>
                            <th>Action</th>
                        </tr>
                        </tfoot>
                        <tbody>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $svstatus = $this->session->flashdata('gatewayupdate'); $svstatus = $svstatus!=null ? "'".$svstatus."'" : "false"; ?>
<?php $erstatus = $this->session->flashdata('gatewayerror'); $erstatus = $erstatus!=null ? "'".$erstatus."'" : "false"; ?>
<script type="text/javascript">
    var success = <?php echo $svstatus ?>;
    var gatewayError = <?php echo $erstatus ?>;
</script>