Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: new_server_orders.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> New Server Orders</h4> </div> <div class="actions"> <a href="javascript:void(0)" onclick="window.location.reload();" class="mr-3"><span class="fa fa-refresh"></span> Refresh</a> </div> </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 --> <div class="block-web"> <?php if($message != ''){ echo '<div class="alert alert-success">'.$message.'</div>'; }?> <div class="portlet box blue"> <div class="portlet-body"> <div class="table-responsive"> <table class="table table-striped table-bordered table-advance table-hover"> <thead> <tr> <th><?php echo $this->lang->line('BE_PCK_HD_4'); ?></th> <th><?php echo $this->lang->line('BE_PCK_15'); ?></th> <th><?php echo $this->lang->line('BE_MR_4'); ?></th> <th>Action</th> </tr> </thead> <tbody> <?php if($count != 0){ foreach($rsNewOrders as $row) { $apiError = ''; if(isset($ARR_API_ERRORS[$row->LogPackageId]) && $ARR_API_ERRORS[$row->LogPackageId] != '') $apiError = '<a href="'.base_url($this->config->item('apanel_name').'/services/newserverorders?rp=1&pkId='.$row->LogPackageId).'"><img src="'.base_url().'assets/images/red-flags-icon-png-7.png" width="20" height="20" title="Order Did not go through API - '.$ARR_API_ERRORS[$row->LogPackageId].'. You can click it to resubmit all orders to API." /></a>'; ?> <tr> <td><?php echo stripslashes($row->LogPackageTitle);?> <?php echo $apiError;?></td> <td><?php echo $row->APITitle == '' ? '-' : stripslashes($row->APITitle); ?></td> <td><?php echo $row->TotalOrders;?></td> <td valign="middle" nowrap="nowrap"> <a title="Take Action" href="<?php echo base_url($this->config->item('apanel_name').'/services/logrequests?packId='.$row->LogPackageId.'&codeStatusId=1&searchType=1&txtFromDt='.$dt.'&oB=ASC');?>"><i class="fa fa-search-plus" style="font-size:16px;"></i></a> <?php if($row->APITitle == '') { ?> <a title="Apply API" href="<?php echo base_url($this->config->item('apanel_name').'/services/logrequests?packId='.$row->LogPackageId.'&applyAPI=1&codeStatusId=1&searchType=1&txtFromDt='.$dt.'&oB=ASC');?>"><i class="fa fa-cog" style="font-size:16px;"></i></a> <?php } ?> <?php if(isset($ARR_API_ERRORS[$row->LogPackageId]) && $row->APITitle != '') { ?> <a title="Check API Errors and Reprocess Orders" href="<?php echo base_url($this->config->item('apanel_name').'/services/reprocessorders?id='.$row->LogPackageId.'&sc=2&pn='.urlencode(str_replace(' ', 'S_P_', stripslashes($row->LogPackageTitle))));?>" class="fancybox fancybox.ajax"><i class="fa fa-refresh" style="font-size:16px;"></i></a> <?php } ?> </td> </tr> <?php }?> <?php }else{ ?> <tr><td colspan="4"><strong><?php echo $this->lang->line('BE_GNRL_9'); ?></strong></td></tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> <!-- Our Working Area End --> </div> </div> </div> </div> </div> <!-- /content area -->