Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: allow_payment_methods.php
<!-- Page header --> <div class="page-header border-bottom-0"> <div class="page-header-content header-elements-md-inline"> <div class="page-title d-flex"> <h4><a href="javascript:void(0)" class="BackButton-Link" onclick="goBack()"><i class="icon-arrow-left52 mr-2"></i></a> Allow Payment Methods To All Users</h4> </div> </div> </div> <!-- /page header --> <!-- Content area --> <div class="content pt-0"> <div class="card"> <div class="row"> <div class="offset-2 col-12 col-sm-12 col-md-12 col-lg-10 col-xl-10"> <div class="card-body"> <!-- Our Working Area Start --> <?php if (isset($message) && $message != '') { ?> <div class="form-group row"> <div class="col-lg-12"> <div class="alert alert-success"><?php echo $message; ?></div> </div> </div> <?php } ?> <?php echo form_open(base_url($this->config->item('apanel_name').'/clients/allow_payment_methods') . get_query_string(), array('name' => 'frmClientMenu', 'id' => 'frmClientMenu', 'class' => 'form-horizontal')); ?> <?php $this->db->select('PaymentMethodId AS Id, PaymentMethod AS Value'); $this->db->from('tbl_gf_payment_methods'); $this->db->where('DisablePaymentMethod', 0); $this->db->order_by('PaymentMethod'); $result = $this->db->get(); $rs = $result->result(); ?> <div class="form-group"> <label class="col-md-3 control-label">Select Payment Methods To Allow To All Users:</label> <div class="col-md-4"> <div> <input type="checkbox" onchange="$(this).closest('.form-group').find('input[type=checkbox]').not(this).prop('checked', $(this).is(':checked'));" /> Select All </div> <hr style="margin: 5px 0px;" /> <?php foreach($rs as $row) { ?> <div> <input type="checkbox" name="pMethodIds[]" value="<?php echo $row->Id; ?>"> <?php echo $row->Value; ?> </div> <?php } ?> </div> </div> <div class="form-group row"> <div class="col-lg-3"></div> <div class="col-lg-9"> <button type="submit" <?php if ($IS_DEMO) echo 'disabled="disabled"'; ?> class="btn btn-primary ThemeColorButton" id="btnSave" name="btnSave"><?php echo $this->lang->line('BE_LBL_72'); ?></button> </div> </div> <?php echo form_close(); ?> </div> </div> </div> </div> </div>