Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: unarchive_services.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 $heading; ?> </h4> </div> </div> </div> <!-- /page header --> <div class="content pt-0"> <div class="card"> <div class="row"> <div class="col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12"> <div class="card-body"> <?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('' , 'class="horizontal-form" id="frm" name="frm"');?> <div class="form-group row"> <div class="col-lg-5"> <div class="form-group"> <?php $service_cat=fetch_service_cat_by_archived_cat($tblName , $strWhereCat); ?> <label class="control-label"><?php echo $this->lang->line('BE_LBL_219'); ?></label> <select name="categoryId" id="categoryId" class="form-control select2me" data-placeholder="<?php echo $this->lang->line('BE_LBL_256'); ?>" onchange="setValue('0');document.getElementById('frm').submit();"> <option value="0"><?php echo $this->lang->line('BE_LBL_255'); ?></option> <?php FillCombo($categoryId, $service_cat ); ?> </select> </div> </div> <?php if($count > 0) { ?> <div class="offset-5 col-lg-2"> <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 Services" onclick="setValue('1');" class="btn ThemeColorButton" name="btnSubmit" /> </div> </div> <?php } ?> </div> <div class="form-group"> <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_PCK_13'); ?></th> <th><?php echo $this->lang->line('BE_PCK_HD_4'); ?></th> <?php if($count > 0) { ?> <th style="text-align:center;"> <input type="checkbox" id="chkSelect" class="chkSelect" name="chkSelect" onClick="selectAllChxBxs('chkSelect', 'chkPacks', <?php echo $count; ?>);" value="true"> </th> <?php } ?> </tr> </thead> <tbody> <?php $strCurrPacks = 0; if($count != 0) { $i = 0; foreach($rsPacks as $row) { $strCurrPacks .= ', '.$row->PackageId; ?> <tr> <td class="highlight"><div class="success"></div> <?php echo stripslashes($row->Category);?></td> <td><?php echo stripslashes($row->PackageTitle);?></td> <td align="center"> <input type="checkbox" id="chkPacks<?php echo $i; ?>" name="chkPacks[]" value="<?php print $row->PackageId; ?>" /> </td> </tr> <?php $i++; } } else echo "<tr><td colspan='999' align='center'>".$this->lang->line('BE_GNRL_9')."</td></tr>"; ?> <input type="hidden" value="0" name="cldFrm" id="cldFrm" /> <input type="hidden" value="<?php echo $sc?>" name="sc" /> <input type="hidden" value="<?php echo $strCurrPacks; ?>" name="currPcks" /> </tbody> </table> </div> </div> <?php echo form_close();?> </div> </div> </div> </div> </div> <script> function setValue(i) { document.getElementById('cldFrm').value = i; } </script>