Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: unarchive_clients.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><?php echo $this->lang->line('BE_LBL_941'); ?></h4> </div> </div> </div> <!-- /page header --> <!-- Content area --> <div class="content pt-0"> <div class="card card-collapsed"> <div class="card-header header-elements-inline" style="height: 42px;"> <h5 class="card-title cardCollapse"><?php echo $this->lang->line('CUST_CH_BTN'); ?></h5> <div class="header-elements"> <div class="list-icons"> <a class="list-icons-item rotate-180" data-action="collapse"></a> </div> </div> </div> <div class="card-body CollapsedCardBody" style="display: none;"> <div class="row"> <div class="col-xl-12"> <?php echo form_open(base_url($this->config->item('apanel_name').'/clients/unarchiveclients?frmId=301&fTypeId=5'), array('class' => 'form-horizontal', 'name' => 'frmSearch', 'id' => 'frmSearch')); ?> <div class="form-group row"> <div class="col-lg-6"> <label class="control-label"><?php echo $this->lang->line('BE_USR_4'); ?></label> <input type="text" placeholder="Enter First Name" name="txtFName" value="<?php echo($fName); ?>" class="form-control"> </div> <div class="col-lg-6"> <label class="control-label"><?php echo $this->lang->line('BE_USR_5'); ?></label> <input type="text" name="txtLName" placeholder="Enter Last Name" value="<?php echo($lName); ?>" class="form-control"> </div> </div> <div class="form-group row"> <div class="col-lg-6"> <label class="control-label"><?php echo $this->lang->line('BE_USR_1'); ?></label> <input type="text" name="txtUName" placeholder="Enter Username" value="<?php echo($uName); ?>" class="form-control"> </div> <div class="col-lg-6"> <label class="control-label"><?php echo $this->lang->line('BE_LBL_345'); ?></label> <input type="text" name="txtEmail" placeholder="Enter User Email" value="<?php echo($email); ?>" class="form-control"> </div> </div> <div class="form-group row"> <div class="col-lg-12 text-right"> <div> <button type="submit" name="btnSubmit" <?php if ($IS_DEMO) echo 'disabled="disabled"'; ?> class="btn btn-primary ThemeColorButton" onclick="setValue('0');"><?php echo $this->lang->line('BE_GNRL_BTN_1'); ?></button> </div> </div> </div> <?php echo form_close(); ?> </div> </div> </div> </div> <div class="card"> <div class="form-group row"> <div class="col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12"> <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/unarchiveclients?frmId=301&fTypeId=5'), array('class' => 'form-horizontal', 'name' => 'frmUpdateClients', 'id' => 'frmUpdateClients')); ?> <div class="form-group row"> <div class="col-lg-12"> <?php if ($rsClients) { ?> <div class="form-group" align="right"> <label class="control-label"> </label><br/> <input type="submit" <?php if ($IS_DEMO) echo 'disabled="disabled"'; ?> value="Un-Archive Client(s)" onclick="setValue('1');" class="btn btn-primary clrGreen" name="btnSubmit"/> </div> <?php } ?> </div> </div> <div class="form-group row"> <div class="col-lg-12"> <div class="table-responsive"> <table class="table table-striped table-bordered table-advance table-hover"> <thead> <tr class="bg-primary"> <th><?php echo $this->lang->line('BE_USR_1'); ?></th> <th><?php echo $this->lang->line('BE_LBL_345'); ?></th> <th><?php echo $this->lang->line('BE_USR_9'); ?></th> <th><?php echo $this->lang->line('BE_USR_10'); ?></th> <?php if ($rsClients) { ?> <th style="text-align:center;"><input type="checkbox" class="chkSelect" id="chkSelect" name="chkSelect" onClick="selectAllChxBxs('chkSelect', 'chkUsers', <?php echo $count; ?>);" value="true"> </th> <?php } ?> </tr> </thead> <tbody> <?php if ($rsClients) { $i = 0; foreach ($rsClients as $row) { $key = crypt_key($row->UserId); $fontColor = ''; $myCredits = decrypt($row->Credits, $key); if ($myCredits == '') $myCredits = '-'; else $myCredits = $row->CurrencyAbb . ' ' . roundMe($myCredits); ?> <tr> <td class="highlight"> <div class="success"></div> <a href="<?php echo base_url($this->config->item('apanel_name').'/clients/'); ?>user?id=<?php echo $row->UserId; ?>"><?php echo stripslashes($row->UserName); ?></a> </td> <td><?php echo($row->UserEmail); ?></td> <td><?php echo stripslashes($row->Name); ?></td> <td><?php echo $myCredits; ?></td> <td align="center"> <input type="checkbox" class="chkSelect" id="chkUsers<?php echo $i; ?>" name="chkUsers[]" value="<?php echo $row->UserId; ?>"/> </td> </tr> <?php $i++; } } else echo "<tr><td colspan='4'>" . $this->lang->line('BE_GNRL_9') . "</td></tr>"; ?> <input type="hidden" value="0" name="cldFrm" id="cldFrm"/> </tbody> </table> </div> </div> </div> <?php echo form_close(); ?> </div> </div> </div> </div> </div> <script> function setValue(i) { document.getElementById('cldFrm').value = i; } $(document).ready(function(){ $(".cardCollapse").click(function(){ if($(this).parents('.card').hasClass('card-collapsed')){ $(this).parents('.card').removeClass('card-collapsed'); $('.CollapsedCardBody').show(); }else{ $(this).parents('.card').addClass('card-collapsed'); $('.CollapsedCardBody').hide(); } }); }); </script>