Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: client_services.php
<style type="text/css"> .nav-tabs.nav-justified li a{ border: 1px solid <?php echo $color;?>; color: <?php echo $color;?>; } .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus{ background: <?php echo $color;?>; color: #fff !important; } #main-content .card{ border: none; } </style> <!-- /page header --> <!-- Content area --> <div class="content pt-0"> <div class="card"> <div class="row mt-2 ml-2 mr-2"> <div class="col-lg-12"> <ul class="nav nav-tabs nav-tabs-bottom border-bottom-0 nav-justified mb-0"> <li class="nav-item"><a href="<?php echo $url.'0'; ?>" class="nav-link <?php echo ($type==0?'active':'');?>" >IMEI Services</a></li> <li class="nav-item"><a href="<?php echo $url.'1'; ?>" class="nav-link <?php echo ($type==1?'active':'');?>" >File Services</a></li> <li class="nav-item"><a href="<?php echo $url.'2'; ?>" class="nav-link <?php echo ($type==2?'active':'');?>" >Server Services</a></li> </ul> </div> </div> <div class="row"> <div class="col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12"> <div class="card-body mt-0 pt-0"> <!-- 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="form-group row"> <div class="col-lg-12"> <div class="table-responsive"> <table id="datatable" class="table table-striped table-bordered dt-responsive nowrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;"> <thead> <tr> <th><?php echo $this->lang->line('CUST_CH_67'); ?></th> <th><?php echo $this->lang->line('CUST_CODE_2'); ?></th> <th><?php echo $this->lang->line('CUST_CH_68'); ?></th> <?php if(!$withoutLogin && 1==2){ ?> <th style="width: 15%"><?php echo $this->lang->line('CUST_LBL_300'); ?></th> <?php } if(!($withoutLogin && $withoutLogin==1)) { ?> <?php } //end if foreach ($rsPlans as $plansRow) { if($sc == 0 && $plansRow->IMEIPricesAtWeb==1) { ?> <th style="width: 15%;text-align: center;"><?php echo $plansRow->PricePlan; ?></th> <?php } elseif($sc == 1 && $plansRow->FilePricesAtWeb==1) { ?> <th style="width: 15%;text-align: center;"><?php echo $plansRow->PricePlan; ?></th> <?php } elseif($sc == 2 && $plansRow->ServerPricesAtWeb==1) { ?> <th style="width: 15%;text-align: center;"><?php echo $plansRow->PricePlan; ?></th> <?php } } ?> <th></th> </tr> </thead> <tbody> <?php $rwCrncy = fetch_currency_data(true); $CurrencySymbol = $rwCrncy->CurrencySymbol; foreach ($products as $row) { $myPrice = 0; if (isset($PACK_PRICES_USER[$row->PackageId])) $myPrice = $PACK_PRICES_USER[$row->PackageId]; else if (isset($PACK_PRICES_PLAN[$row->PackageId])) $myPrice = $PACK_PRICES_PLAN[$row->PackageId]; else { if (isset($PACK_PRICES_BASE[$row->PackageId])) $myPrice = $PACK_PRICES_BASE[$row->PackageId]; } if ($row->$disableCol == 0) { $class = 'success'; $lbl = 'Active'; } else { $class = 'danger'; $lbl = 'Inactive'; } ?> <tr> <td><?php echo stripslashes($row->Category); ?></td> <td><?php echo stripslashes($row->PackageTitle); ?></td> <td><?php echo stripslashes($row->DeliveryTime); ?></td> <?php if(!$withoutLogin && 1==2){ ?> <td style="text-align: center;"><?php echo $CurrencySymbol . ' ' . roundMe($myPrice); ?></td> <?php } //end if //d($productsGroups); foreach ($rsPlans as $plansRow) { $price = roundMe($row->Price); if(isset($productsGroups[$row->PackageId][$plansRow->PricePlanId])) { $price = roundMe($productsGroups[$row->PackageId][$plansRow->PricePlanId]); } if($sc == 0 && $plansRow->IMEIPricesAtWeb==1) { ?> <td style="width: 15%;text-align: center;"> <?php if(!$userDetails) { $price = roundMe($price*$rwCrncy->ConversionRate); if($price <= 0) { $price = ($row->PackagePrice*$rwCrncy->ConversionRate); } echo $CurrencySymbol . ' ' . $price; } else if(!empty($userDetails) && $price > 0) { echo $userDetails->CurrencySymbol . ' ' . roundMe($price*$userDetails->ConversionRate); } else { echo $userDetails->CurrencySymbol . ' ' . roundMe($row->PackagePrice*$userDetails->ConversionRate); } ?> </td> <?php } elseif($sc == 1 && $plansRow->FilePricesAtWeb==1) { ?> <td style="width: 15%;text-align: center;"><?php if(!$userDetails){ echo $userDetails->CurrencySymbol . ' ' . roundMe($price); } else{echo $userDetails->CurrencySymbol . ' ' . roundMe($price*$userDetails->ConversionRate);} ?></td> <?php } elseif($sc == 2 && $plansRow->ServerPricesAtWeb==1) { ?> <td style="width: 15%;text-align: center;"><?php if(!$userDetails){ echo $userDetails->CurrencySymbol . ' ' . roundMe($price); } else{echo $userDetails->CurrencySymbol . ' ' . roundMe($price*$userDetails->ConversionRate);} ?></td> <?php } } ?> <td align="center"><span class="badge badge-<?php echo $class; ?>"><?php echo $lbl; ?></span> </td> </tr> <?php } ?> <?php if(empty($products)) { ?> <tr> <td colspan="999" align="center"><?php echo $this->lang->line('CUST_LBL_10'); ?></td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <!--/col-md-3--> <!--/col-md-3--> </div> <!--/row--> </div> </div> </div> </div>