Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: apis.php
<style> #loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 99998; display: none; } .loader-inner { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 99999; } .lds-default { display: inline-block; position: relative; width: 80px; height: 80px; } .lds-default div { position: absolute; width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: lds-default 1.2s linear infinite; } .lds-default div:nth-child(1) { animation-delay: 0s; top: 37px; left: 66px; } .lds-default div:nth-child(2) { animation-delay: -0.1s; top: 22px; left: 62px; } .lds-default div:nth-child(3) { animation-delay: -0.2s; top: 11px; left: 52px; } .lds-default div:nth-child(4) { animation-delay: -0.3s; top: 7px; left: 37px; } .lds-default div:nth-child(5) { animation-delay: -0.4s; top: 11px; left: 22px; } .lds-default div:nth-child(6) { animation-delay: -0.5s; top: 22px; left: 11px; } .lds-default div:nth-child(7) { animation-delay: -0.6s; top: 37px; left: 7px; } .lds-default div:nth-child(8) { animation-delay: -0.7s; top: 52px; left: 11px; } .lds-default div:nth-child(9) { animation-delay: -0.8s; top: 62px; left: 22px; } .lds-default div:nth-child(10) { animation-delay: -0.9s; top: 66px; left: 37px; } .lds-default div:nth-child(11) { animation-delay: -1s; top: 62px; left: 52px; } .lds-default div:nth-child(12) { animation-delay: -1.1s; top: 52px; left: 62px; } @keyframes lds-default { 0%, 20%, 80%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } } </style> <!-- 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_MR_HD_4'); ?></h4> </div> <?php if ($rsStngs->CanAddNewAPI == '1') { ?> <div align="right"> <input type="button" <?php if ($IS_DEMO) echo 'disabled="disabled"'; ?> value="+ <?php echo $this->lang->line('BE_LBL_182'); ?>" onclick="window.location.href='<?php echo base_url() . $this->config->item('apanel_name'); ?>/Settings/manageapi?&frmId=<?php echo $this->input->post_get('frmId'); ?>&fTypeId=<?php echo $this->input->post_get('fTypeId') ?>'" class="btn"/> </div> <?php } ?> </div> </div> <!-- /page header --> <!-- Content area --> <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"> <!-- 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 } ?> <div class="table-responsive"> <!--<div class="modal fade" id="ajax" tabindex="-1" role="basic" aria-hidden="true"> <img src="../assets/img/ajax-modal-loading.gif" alt="" class="loading"> </div>--> <table class="table table-striped table-bordered table-advance table-hover"> <thead> <tr class="bg-primary"> <th><?php echo $this->lang->line('BE_MR_19'); ?></th> <th><?php echo $this->lang->line('BE_INDEX_USRNAME'); ?></th> <th><?php echo $this->lang->line('BE_LBL_38'); ?></th> <th><?php echo $this->lang->line('BE_GNRL_3'); ?></th> <th></th> <th></th> </tr> </thead> <tbody> <?php if ($rsAPIs) { foreach ($rsAPIs as $row) { $ignoreapis = array(); $ignoreapis[] = 'www.gsmxperts.com [Direct USA Wholesale Supplier]'; $ignoreapis[] = '#1 - iPhoneData.info | Professional IMEI Checker'; $ignoreapis[] = '#1 - TheUnlockStore.com'; $ignoreapis[] = '#2 BeeUnlock.com | Whole Sale Unlocking'; $ignoreapis[] = '1-GsmRaj.Com | The Wholesale Unlocking Database'; $ignoreapis[] = 'API Unlock (Direct API Source)'; $ignoreapis[] = 'Best Server For iCloud Clean | PAIDUNLOCK Inc. (US)'; $ignoreapis[] = 'Blue Unlock'; $ignoreapis[] = 'Burj Tech (Wholesale Unlocking)'; $ignoreapis[] = 'deep'; $ignoreapis[] = 'digitalunlocking.biz'; $ignoreapis[] = 'dlgsm.com'; $ignoreapis[] = 'Easy Unlockers'; $ignoreapis[] = 'Find My iPhone'; $ignoreapis[] = 'Genius Unlock'; $ignoreapis[] = 'gsmkody.pl'; $ignoreapis[] = 'gsmunlockusa.com'; $ignoreapis[] = 'HammerUnlocks.com {Direct USA Source - AT&T / T-Mobile / Sprint}'; $ignoreapis[] = 'IMEI Source (Wholesale)'; $ignoreapis[] = 'lockpop.com'; $ignoreapis[] = 'nckspain.es'; $ignoreapis[] = 'simunlocks.com'; $ignoreapis[] = 'sunnysofts.biz'; $ignoreapis[] = 'The Apple Unlock (#1 Wholesale Site)'; $ignoreapis[] = 'The Fone Shop'; $ignoreapis[] = 'Ultra Unlock'; $ignoreapis[] = 'UnlimitedUNLOCK.biz'; $ignoreapis[] = 'Unlock4Dealers.biz'; $ignoreapis[] = 'UnlockingWizardz.com'; $ignoreapis = array_map('strtolower',$ignoreapis); if(in_array(trim(strtolower(stripslashes($row->APITitle))), $ignoreapis)) continue; ?> <tr> <td> <a data-target="#ajax" data-toggle="modal" href="JavaScript:void(0);" onclick="syncIMEIServices('<?php echo $row->APIId; ?>');" title="Sync IMEI Services"><span class="fa fa-refresh"></span></a> <a href="<?php echo base_url() . $this->config->item('apanel_name'); ?>/Settings/manageapi?id=<?php echo $row->APIId; ?>&frmId=<?php echo $this->input->post_get('frmId'); ?>&fTypeId=<?php echo $_REQUEST['fTypeId'] ?>"><?php echo stripslashes($row->APITitle); ?></a> <img style="display:none;" id="syncLoader_<?php echo $row->APIId; ?>" src="<?php echo base_url()?>assets/images/loading.gif" border="0" alt="Please wait..."/> </td> <td><?php echo $row->AccountId; ?></td> <td><?php echo $row->ServerURL; ?></td> <td><?php echo $row->DisableAPI == '1' ? 'Yes' : 'No'; ?></td> <td style="text-align:center" valign="middle"> <a href="<?php echo base_url() . $this->config->item('apanel_name'); ?>/Settings/manageapi?id=<?php echo $row->APIId; ?>&frmId=<?php echo $this->input->post_get('frmId'); ?>&fTypeId=<?php echo $this->input->post_get('fTypeId') ?>"><i class="icon-pencil7"></i> </a> </td> <td style="text-align:center" valign="middle"> <?php if ($row->SystemAPI == '0') { ?> <a href="<?php echo base_url() . $this->config->item('apanel_name'); ?>/Settings/apis?del=1&id=<?php echo($row->APIId); ?>&frmId=<?php echo $this->input->post_get('frmId'); ?>&fTypeId=<?php echo $this->input->post_get('fTypeId') ?>" onclick="return confirm('<?php echo $this->lang->line('BE_LBL_32'); ?>')"><i class="fa icon-trash" data-toggle="tooltip" data-placement="top" title="Delete"></i> </a> <?php } else echo '-'; ?> </td> </tr> <?php } ?> <?php } else { ?> <tr> <td colspan="6"><strong><?php echo $this->lang->line('BE_GNRL_9'); ?></strong></td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> </div> <div id="loader"> <div class="loader-inner"> <div class="lds-default"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div> </div> </div> <script type="text/javascript"> function syncIMEIServices(apiId) { var $target = $(event.target); $('#loader').show(); $.post("<?php echo base_url($this->config->item('apanel_name').'/settings/services_sync'); ?>", { purpose:'syncIMEI', id:apiId }, function(response) { if(response.html === ''){ showStickyErrorToast(response.msg, '', 'error'); }else{ showStickyErrorToast(response.msg, '', 'success'); } // $('#ajax').modal('hide'); }, 'json').always(function(){ $('#loader').hide(); }); } </script>