Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: total_products.php
<?php define('CURRENCY_CODE', 'USD'); ?> <style> .ecomBox, .Table_heading{ display: flex; align-items: center; } .ecomBox .icon { margin-right: 20px; } .ecomBox .value{ margin-left: 5px; font-weight: bold; } .Table_heading .card-action{ list-style: none; margin: 0; } .Table_heading .card-title{ width: 100%; } .text_bold{ font-weight: bold;} .notifyjs-corner{ top: 67px !important; left: 50% !important; } </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><?=$page_title?></h4> </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-12"> <div class="card-body"> <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <div class="card card-mini"> <div class="card-header Table_heading"> <!-- <div class="card-title"><?php //echo $this->lang->line('BE_LBL_957'); ?><a class="text_bold" href="<?php //if(!empty($top_selling_products)){ echo base_url($this->config->item('apanel_name').'/ecomm/top-sale-products'); }else{ echo 'javascript:void(0)';}?>"><?php //echo $this->lang->line('BE_LBL_958'); ?></a></div> --> <ul class="card-action"> <li> <a href="" class="refresh_btn"> <i class="fa fa-refresh"></i> </a> </li> </ul> </div> <div class="no-padding table-responsive"> <table class="table card-table"> <thead> <tr> <th><?php echo $this->lang->line('CUST_CH_81'); ?></th> <th><?php echo $this->lang->line('CUST_LBL_247'); ?></th> <th><?php echo $this->lang->line('BE_LBL_209'); ?></th> <th class="right" style="text-align: center;"><?php echo $this->lang->line('CUST_LBL_249'); ?></th> </tr> </thead> <tbody> <?php $i = 1; if(!empty($total_products)) { foreach ($total_products as $key => $value) { ?> <tr> <td align="center"><?=$i?></td> <td align="center"><?=$value->quantity?></td> <td align="center"><?=$value->product_title?></td> <td class="center" align="center"><?=number_format($value->product_mrp*$value->quantity, 2, '.', ',')?></td> </tr> <?php $i++; } }else{ ?> <tr> <td colspan="2" align="center"><?php echo $this->lang->line('BE_LBL_959'); ?></td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> <script type="text/javascript"> $(".refresh_btn").click(function(e){ e.preventDefault(); location.reload(); }); </script>