Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: dashboard_new.php
<!-- Page header --> <style> #main-content{ background-color: #fff; } .nav-link.active{ background-color: #d8d8d8 !important; color: #263238 !important; /*border-left: 1px solid !important; border-right: 1px solid !important;*/ } .nav-tabs-bottom .nav-link.active:before{ background-color: #d8d8d8 !important; } .nav-tabs-bottom .nav-link:before{ top: -1px !important; bottom: 0 !important; } ul.chartDropdown > li > a { color:#3D3D3D } .media-body >div > a { color:#3D3D3D } ul.chartDropdown > li:hover{ background-color: #d8d8d8 !important; } </style> <? // echo '<pre>'; d($rsStngs); ?> <!--<script src="<?php /*echo base_url('assets');*/?>/js/breakingnews.js"></script> --><div class="page-header border-bottom-0"> <div class="page-header border-bottom-0 pt-2"> <div class="page-header-content header-elements-md-inline"> <div class="page-title d-flex"> <h4><a href="<?php echo base_url($this->config->item('apanel_name').'/dashboard'); ?>" class="BackButton-Link"><i class="icon-arrow-left52 mr-2"></i></a> <span class="font-weight-semibold"></i> <?php echo $this->lang->line('BE_LBL_4'); ?> <small><?php echo $this->lang->line('BE_LBL_541'); ?></small></span></h4> </div> </div> </div> <!-- /page header --> <!-- Content area --> <div class="content pt-0" style="background-color: #fff"> <?php if ($this->session->flashdata('message')) { ?> <div class="form-group row"> <div class="col-lg-12"> <div class="alert alert-success"><?php echo $this->session->flashdata('message'); ?></div> </div> </div> <?php } ?> <!-- Main charts --> <div class="row"> <div class="col-xl-9"> <!-- Annually orders chart --> <div class=""> <div class="card-header header-elements-inline" style="justify-content: center;"> <h6 style="margin-left: 68px;" class="card-title SameSizeHeading"><?php echo $this->lang->line('BE_LBL_1015'); ?></h6> <div class="header-elements"> <div class="form-check form-check-right form-check-switchery form-check-switchery-sm"> <label class="form-check-label"> </label> </div> </div> </div> <div class="card-body py-0"> <div class="row"> <div class="col-sm-12"> <div class="d-flex align-items-center justify-content-center mb-2"> <!--chart--> <?php $this->load->view('admin/chartscript') ?> <div id="chart_div" style="width: 100% !important; height: 300px;"></div> </div> </div> </div> </div> <div class="chart position-relative" id="traffic-sources"></div> </div> <!-- /traffic sources --> </div> <div class="col-xl-3"> <!-- Sales stats --> <div class="" style="padding-top: 84px"> <div class="card-body py-0"> <div class="row text-center"> <div class="col-12"> <div class="mb-3"> <a align="center" href="<?php /*echo base_url($this->config->item('apanel_name').'/dashboard');*/?>" class="btn btn-primary ThemeColorButton"><span class="fa fa-refresh"></span><?php echo $this->lang->line('BE_LBL_1017'); ?></a> </div> </div> <div class="col-12"> <div class="mb-3"> <h3 align="center" class="card-title SameSizeHeading"><?php echo $this->lang->line('BE_LBL_1016'); ?></h3> <div align="center"> <h3 align="center" id="pdInvTD" style="color:#A6A6A6;"><strong><?php echo $DEFAULT_CURR_SYM.' '.roundMe($TD_INV_CREDITS); ?></strong></h3> <h3 align="center" id="pdInvMN" style="color:#A6A6A6; display:none;"><strong><?php echo $DEFAULT_CURR_SYM.' '.roundMe($MN_INV_CREDITS); ?></strong></h3> <h3 align="center" id="pdInvYR" style="color:#A6A6A6; display:none;"><strong><?php echo $DEFAULT_CURR_SYM.' '.roundMe($YR_INV_CREDITS); ?></strong></h3> </div> </div> </div> <div class="col-lg-12 text-center"> <div class="mb-3 d-flex justify-content-center dashboard_income"> <a class="btn btn-primary active mr-1" href="Javascript:void(0);" id="lnkPITd"><?php echo $this->lang->line('BE_MR_1'); ?><br /><?php echo $this->lang->line('BE_LBL_1016'); ?></a> <a class="btn btn-primary mr-1" href="Javascript:void(0);" id="lnkPIMn"><?php echo $this->lang->line('BE_LBL_1021'); ?><br /><?php echo $this->lang->line('BE_LBL_1019'); ?></a> <a class="btn btn-primary" href="Javascript:void(0);" id="lnkPIYr"> <?php echo $this->lang->line('BE_LBL_1021'); ?> <br /> <?php echo $this->lang->line('BE_LBL_1020'); ?> </a> </div> </div> </div> </div> <div class="chart mb-2" id="app_sales"></div> <div class="chart" id="monthly-sales-stats"></div> </div> <!-- /sales stats --> </div> </div> <!-- /main charts --> <?php $activeservices = $rsStngs->IMEIServices + $rsStngs->FileServices + $rsStngs->ServerServices + $rsStngs->RemoteServices + $rsStngs->Retail; ?> <!-- Dashboard content --> <div class="row"> <div class="col-xl-9"> <!-- Quick stats boxes --> <div class=""> <div class="card-header header-elements-sm-inline" style="justify-content: center"> <h6 class="card-title SameSizeHeading" ><?php echo $this->lang->line('BE_LBL_738'); ?></h6> <div class="header-elements"> </div> </div> <div class="card-body d-md-flex align-items-md-center justify-content-md-between flex-md-wrap"> <div class="row dashboard_charts"> <?php if($rsStngs->IMEIServices == '1') { //echo $activeservices++; ?> <div class="col-md-<?php if($activeservices=='5'){echo '4';}else{echo '3';}?>"> <div class="easy-pie-chart" style="text-align: center"> <div style="margin: 0 auto;" class="number transactions easyPieChart" data-percent="<?php $todayOrders = isset($TOTAL_IMEI_ORDERS_TODAY) ? $TOTAL_IMEI_ORDERS_TODAY : 0; echo $todayOrders == 0 ? 0 : $TOTAL_IMEI_ORDERS_P_IP / $todayOrders * 100; ?>"> <span> <?php echo $todayOrders; ?> / <?php echo $TOTAL_IMEI_ORDERS_P_IP == '' ? 0 : $TOTAL_IMEI_ORDERS_P_IP; ?> </span> </div> <br /> <div class="btn-group"> <button style="background-color: #d8d8d8;" class="btn default dropdown-toggle" data-toggle="dropdown"><?php echo $this->lang->line('BE_LBL_246'); ?> </button> <ul class="dropdown-menu chartDropdown" role="menu" style="width:250px;"> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="JavaScript:void(0);" style="text-align:left"><strong><?php echo $this->lang->line('BE_MR_1'); ?></strong> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($TOTAL_IMEI_ORDERS_TODAY) ? $TOTAL_IMEI_ORDERS_TODAY : 0 ; ?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/newimeiorders');?>" style="text-align:left"><?php echo $this->lang->line('BE_PCK_12'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($IMEI_ORDERS_COUNT_TODAY[1]) == '' ? 0 : $IMEI_ORDERS_COUNT_TODAY[1];?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/codes?codeStatusId=4&searchType=3');?>" style="text-align:left"><?php echo $this->lang->line('BE_LBL_739'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($IMEI_ORDERS_COUNT_TODAY[4]) == '' ? 0 : $IMEI_ORDERS_COUNT_TODAY[4];?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/codes?codeStatusId=2&searchType=3');?>" style="text-align:left"><?php echo $this->lang->line('BE_LBL_401'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($IMEI_ORDERS_COUNT_TODAY[2]) == '' ? 0 : $IMEI_ORDERS_COUNT_TODAY[2];?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/codes?codeStatusId=3&searchType=3'); ?>" style="text-align:left"><?php echo $this->lang->line('BE_LBL_740'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($IMEI_ORDERS_COUNT_TODAY[3]) == '' ? 0 : $IMEI_ORDERS_COUNT_TODAY[3];?></strong></span> </a> </li> <li role="presentation" class="divider"></li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/codes?codeStatusId=2&searchType=3&rms=0&txtFromDt='.$thisMonth);?>" style="text-align:left"><strong><?php echo $this->lang->line('BE_LBL_741'); ?></strong> <span class="pull-right" style="padding-left:20px;"><strong><?php echo $TOTAL_IMEI_ORDERS_M; ?></strong></span> </a> </li> <li role="presentation" class="divider"></li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/codes?codeStatusId=2&searchType=3&rms=0&txtFromDt='.$thisYear);?>" style="text-align:left"><strong><?php echo $this->lang->line('BE_LBL_742'); ?></strong> <span class="pull-right" style="padding-left:20px;"> <strong><?php echo $TOTAL_IMEI_ORDERS_Y; ?></strong> </span> </a> </li> <li role="presentation" class="divider"></li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/verifyorders?frmId=100&fTypeId=16');?>" style="text-align:left"><strong><?php echo $this->lang->line('BE_LBL_743'); ?></strong> <span class="pull-right" style="padding-left:20px;"> <strong><?php echo $IMEI_ORDERS_2_B_VERIFIED; ?></strong> </span> </a> </li> </ul> </div> </div> </div> <div class="margin-bottom-10 visible-sm"> </div> <?php } ?> <?php if($rsStngs->FileServices == '1') { ?> <div class="col-md-<?php if($activeservices=='5'){echo '4';}else{echo '3';}?>"> <div class="easy-pie-chart" style="text-align: center"> <div style="margin: 0 auto;" class="number transactions easyPieChart" data-percent="<?php $todayOrders = isset($TOTAL_FILE_ORDERS_TODAY) ? $TOTAL_FILE_ORDERS_TODAY : 0; echo $todayOrders == 0 ? 0 : $TOTAL_FILE_ORDERS_P_IP / $todayOrders * 100; ?>"> <span> <?php echo $todayOrders; ?> / <?php echo $TOTAL_FILE_ORDERS_P_IP == '' ? 0 : $TOTAL_FILE_ORDERS_P_IP; ?> </span> </div> <br /> <div class="btn-group"> <button style="background-color: #d8d8d8;" class="btn default dropdown-toggle" data-toggle="dropdown"><?php echo $this->lang->line('BE_LBL_249');?> </button> <ul class="dropdown-menu chartDropdown" role="menu" style="width:250px;"> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="JavaScript:void(0);" style="text-align:left"><strong><?php echo $this->lang->line('BE_MR_1'); ?></strong> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($TOTAL_FILE_ORDERS_TODAY) ? $TOTAL_FILE_ORDERS_TODAY : 0; ?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/codesslbf?codeStatusId=1&searchType=1&txtFromDt='.$currDtOnly);?>" style="text-align:left"><?php echo $this->lang->line('BE_PCK_12'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($FILE_ORDERS_COUNT_TODAY[1]) == '' ? 0 : $FILE_ORDERS_COUNT_TODAY[1];?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/codesslbf?codeStatusId=4&searchType=3&txtFromDt='.$currDtOnly);?>" style="text-align:left"><?php echo $this->lang->line('BE_LBL_739'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($FILE_ORDERS_COUNT_TODAY[4]) == '' ? 0 : $FILE_ORDERS_COUNT_TODAY[4];?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/codesslbf?codeStatusId=2&searchType=3&txtFromDt='.$currDtOnly);?>" style="text-align:left"><?php echo $this->lang->line('BE_LBL_401'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($FILE_ORDERS_COUNT_TODAY[2]) == '' ? 0 : $FILE_ORDERS_COUNT_TODAY[2];?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/codesslbf?codeStatusId=3&searchType=3&txtFromDt='.$currDtOnly);?>" style="text-align:left"><?php echo $this->lang->line('BE_LBL_740'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($FILE_ORDERS_COUNT_TODAY[3]) == '' ? 0 : $FILE_ORDERS_COUNT_TODAY[3];?></strong></span> </a> </li> <li role="presentation" class="divider"></li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/codesslbf?codeStatusId=2&searchType=3&txtFromDt='.$thisMonth);?>" style="text-align:left"><strong><?php echo $this->lang->line('BE_LBL_741'); ?></strong> <span class="pull-right" style="padding-left:20px;"> <strong><?php echo $TOTAL_FILE_ORDERS_M; ?></strong> </span> </a> </li> <li role="presentation" class="divider"></li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/codesslbf?codeStatusId=2&searchType=3&txtFromDt='.$thisMonth);?>" style="text-align:left"><strong><?php echo $this->lang->line('BE_LBL_742'); ?></strong> <span class="pull-right" style="padding-left:20px;"> <strong><?php echo $TOTAL_FILE_ORDERS_Y; ?></strong> </span> </a> </li> <li role="presentation" class="divider"></li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/verifyfileorders');?>" style="text-align:left"><strong><?php echo $this->lang->line('BE_LBL_743'); ?></strong> <span class="pull-right" style="padding-left:20px;"> <strong><?php echo $FILE_ORDERS_2_B_VERIFIED; ?></strong> </span> </a> </li> </ul> </div> </div> </div> <div class="margin-bottom-10 visible-sm"> </div> <?php } ?> <?php if($rsStngs->ServerServices == '1') { ?> <div class="col-md-<?php if($activeservices=='5'){echo '4';}else{echo '3';}?>"> <div class="easy-pie-chart" style="text-align: center"> <div style="margin: 0 auto;" class="number transactions easyPieChart" data-percent="<?php $todayOrders = isset($TOTAL_SRVR_ORDERS_TODAY) ? $TOTAL_SRVR_ORDERS_TODAY : 0; echo $todayOrders == 0 ? 0 : ( $TOTAL_SRVR_ORDERS_P_IP / $todayOrders * 100); ?>"> <span> <?php echo isset($TOTAL_SRVR_ORDERS_TODAY) ? $TOTAL_SRVR_ORDERS_TODAY : 0; ?> / <?php echo $TOTAL_SRVR_ORDERS_P_IP == '' ? 0 : $TOTAL_SRVR_ORDERS_P_IP; ?> </span> </div> <br /> <div class="btn-group "> <button style="background-color: #d8d8d8;" class="btn default dropdown-toggle" data-toggle="dropdown"><?php echo $this->lang->line('BE_LBL_252'); ?> </button> <ul class="dropdown-menu chartDropdown" role="menu" style="width:250px;"> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="JavaScript:void(0);" style="text-align:left"><strong><?php echo $this->lang->line('BE_MR_1'); ?></strong> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($TOTAL_SRVR_ORDERS_TODAY) ? $TOTAL_SRVR_ORDERS_TODAY : 0; ?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/logrequests?codeStatusId=1&searchType=1');?>" style="text-align:left"><?php echo $this->lang->line('BE_PCK_12'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($SRVR_ORDERS_COUNT_TODAY[1]) == '' ? 0 : $SRVR_ORDERS_COUNT_TODAY[1];?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/logrequests?codeStatusId=4&searchType=3');?>" style="text-align:left"><?php echo $this->lang->line('BE_LBL_739'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($SRVR_ORDERS_COUNT_TODAY[4]) == '' ? 0 : $SRVR_ORDERS_COUNT_TODAY[4];?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/logrequests?codeStatusId=2&searchType=3');?>" style="text-align:left"><?php echo $this->lang->line('BE_LBL_401'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($SRVR_ORDERS_COUNT_TODAY[2]) == '' ? 0 : $SRVR_ORDERS_COUNT_TODAY[2];?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/logrequests?codeStatusId=3&searchType=3');?> " style="text-align:left"><?php echo $this->lang->line('BE_LBL_740'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($SRVR_ORDERS_COUNT_TODAY[3]) == '' ? 0 : $SRVR_ORDERS_COUNT_TODAY[3];?></strong></span> </a> </li> <li role="presentation" class="divider"></li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/logrequests?codeStatusId=2&searchType=3&txtFromDt='.$thisMonth);?>" style="text-align:left"><strong><?php echo $this->lang->line('BE_LBL_741'); ?></strong> <span class="pull-right" style="padding-left:20px;"> <strong><?php echo isset($TOTAL_SRVR_ORDERS_M) ?: ''; ?></strong> </span> </a> </li> <li role="presentation" class="divider"></li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/logrequests?codeStatusId=2&searchType=3&txtFromDt='.$thisYear);?>" style="text-align:left"><strong><?php echo $this->lang->line('BE_LBL_742'); ?></strong> <span class="pull-right" style="padding-left:20px;"> <strong><?php echo $TOTAL_SRVR_ORDERS_Y; ?></strong> </span> </a> </li> <li role="presentation" class="divider"></li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/verifyserverorders');?>" style="text-align:left"><strong><?php echo $this->lang->line('BE_LBL_743'); ?></strong> <span class="pull-right" style="padding-left:20px;"> <strong><?php echo $SERVER_ORDERS_2_B_VERIFIED; ?></strong> </span> </a> </li> </ul> </div> </div> </div> <div class="margin-bottom-10 visible-sm"> </div> <?php } ?> <?php if($rsStngs->Retail == '1') { ?> <div class="col-md-<?php if($activeservices=='5'){echo '4';}else{echo '3';}?>"> <div class="easy-pie-chart" style="text-align: center"> <div style="margin: 0 auto;" class="number transactions easyPieChart" data-percent="<?php if($TOTAL_RETAIL_ORDERS_TODAY == 0) echo "0"; else echo ($TOTAL_RETAIL_ORDERS_P_IP / $TOTAL_RETAIL_ORDERS_TODAY * 100); ?>"> <span> <?php echo $TOTAL_RETAIL_ORDERS_TODAY; ?> / <?php echo $TOTAL_RETAIL_ORDERS_P_IP == '' ? 0 : $TOTAL_RETAIL_ORDERS_P_IP; ?> </span> </div> <br /> <div class="btn-group "> <button style="background-color: #d8d8d8;" class="btn default dropdown-toggle" data-toggle="dropdown"><?php echo $this->lang->line('BE_LBL_590'); ?> </button> <ul class="dropdown-menu chartDropdown" role="menu" style="width:250px;"> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="JavaScript:void(0);" style="text-align:left"><strong><?php echo $this->lang->line('BE_MR_1'); ?></strong> <span class="pull-right" style="padding-left:20px;"><strong><?php echo $TOTAL_RETAIL_ORDERS_TODAY; ?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="JavaScript:void(0);" style="text-align:left"><?php echo $this->lang->line('BE_PCK_12'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($RETAIL_ORDERS_COUNT_TODAY[1]) == '' ? 0 : $RETAIL_ORDERS_COUNT_TODAY[1];?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="JavaScript:void(0);" style="text-align:left"><?php echo $this->lang->line('BE_LBL_739'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($RETAIL_ORDERS_COUNT_TODAY[4]) == '' ? 0 : $RETAIL_ORDERS_COUNT_TODAY[4];?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="JavaScript:void(0);" style="text-align:left"><?php echo $this->lang->line('BE_LBL_401'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($RETAIL_ORDERS_COUNT_TODAY[2]) == '' ? 0 : $RETAIL_ORDERS_COUNT_TODAY[2];?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="JavaScript:void(0);" style="text-align:left"><?php echo $this->lang->line('BE_LBL_740'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($RETAIL_ORDERS_COUNT_TODAY[3]) == '' ? 0 : $RETAIL_ORDERS_COUNT_TODAY[3];?></strong></span> </a> </li> <li role="presentation" class="divider"></li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="JavaScript:void(0);" style="text-align:left"><strong><?php echo $this->lang->line('BE_LBL_741'); ?></strong> <span class="pull-right" style="padding-left:20px;"> <strong><?php echo $TOTAL_RETAIL_ORDERS_M; ?></strong> </span> </a> </li> <li role="presentation" class="divider"></li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="JavaScript:void(0);" style="text-align:left"><strong><?php echo $this->lang->line('BE_LBL_742'); ?></strong> <span class="pull-right" style="padding-left:20px;"> <strong><?php echo $TOTAL_RETAIL_ORDERS_Y; ?></strong> </span> </a> </li> </ul> </div> </div> </div> <div class="margin-bottom-10 visible-sm"> </div> <?php } ?> <!-- //-------------------- Add remote services -------------------// --> <?php if($rsStngs->RemoteServices == '1') { ?> <div class="col-md-<?php if($activeservices=='5'){echo '4';}else{echo '3';}?>"> <div class="easy-pie-chart" style="text-align: center"> <div style="margin: 0 auto;" class="number transactions easyPieChart" data-percent="<?php $todayOrders = isset($TOTAL_REMOTE_ORDERS_TODAY) ? $TOTAL_REMOTE_ORDERS_TODAY : 0; echo $todayOrders == 0 ? 0 : $TOTAL_REMOTE_ORDERS_P_IP / $todayOrders * 100; ?>"> <span> <?php echo $todayOrders; ?> / <?php echo $TOTAL_REMOTE_ORDERS_P_IP == '' ? 0 : $TOTAL_REMOTE_ORDERS_P_IP; ?> </span> </div> <br /> <div class="btn-group"> <button style="background-color: #d8d8d8;" class="btn default dropdown-toggle" data-toggle="dropdown"><?php echo $this->lang->line('CUST_ORDERS_REMOTE'); ?> </button> <ul class="dropdown-menu chartDropdown" role="menu" style="width:250px;"> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="JavaScript:void(0);" style="text-align:left"><strong><?php echo $this->lang->line('BE_MR_1'); ?></strong> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($TOTAL_REMOTE_ORDERS_TODAY) ? $TOTAL_REMOTE_ORDERS_TODAY : 0 ; ?></strong></span> </a> </li> <?php //var_dump($REMOTE_ORDERS_COUNT_TODAY); ?> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/newimeiorders?rms=3&frmId=406&fTypeId=24');?>" style="text-align:left"><?php echo $this->lang->line('BE_PCK_12'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($REMOTE_ORDERS_COUNT_TODAY[1]) == '' ? 0 : $REMOTE_ORDERS_COUNT_TODAY[1];?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/codes?codeStatusId=4&pT=2&searchType=3&rm=1&rms=3&frmId=400&fTypeId=24');?>" style="text-align:left"><?php echo $this->lang->line('BE_LBL_739'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($REMOTE_ORDERS_COUNT_TODAY[4]) == '' ? 0 : $REMOTE_ORDERS_COUNT_TODAY[4];?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/codes?codeStatusId=2&pT=2&searchType=3&rm=1&rms=3&frmId=400&fTypeId=24');?>" style="text-align:left"><?php echo $this->lang->line('BE_LBL_401'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($REMOTE_ORDERS_COUNT_TODAY[2]) == '' ? 0 : $REMOTE_ORDERS_COUNT_TODAY[2];?></strong></span> </a> </li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/codes?codeStatusId=3&pT=2&searchType=3&rm=1&rms=3&frmId=400&fTypeId=24'); ?>" style="text-align:left"><?php echo $this->lang->line('BE_LBL_740'); ?> <span class="pull-right" style="padding-left:20px;"><strong><?php echo isset($REMOTE_ORDERS_COUNT_TODAY[3]) == '' ? 0 : $REMOTE_ORDERS_COUNT_TODAY[3];?></strong></span> </a> </li> <li role="presentation" class="divider"></li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/codes?codeStatusId=2&searchType=3&rms=1&txtFromDt='.$thisMonth);?>" style="text-align:left"><strong><?php echo $this->lang->line('BE_LBL_741'); ?></strong> <span class="pull-right" style="padding-left:20px;"><strong><?php echo $TOTAL_REMOTE_ORDERS_M; ?></strong></span> </a> </li> <li role="presentation" class="divider"></li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/codes?codeStatusId=2&searchType=3&rms=1&txtFromDt='.$thisYear);?>" style="text-align:left"><strong><?php echo $this->lang->line('BE_LBL_742'); ?></strong> <span class="pull-right" style="padding-left:20px;"> <strong><?php echo $TOTAL_REMOTE_ORDERS_Y; ?></strong> </span> </a> </li> <li role="presentation" class="divider"></li> <li class="dropdown-item" role="presentation"> <a role="menuitem" href="<?php echo base_url($this->config->item('apanel_name').'/services/verifyorders?rm=1&rms=3&frmId=402&fTypeId=24');?>" style="text-align:left"><strong><?php echo $this->lang->line('BE_LBL_743'); ?></strong> <span class="pull-right" style="padding-left:20px;"> <strong><?php echo $REMOTE_ORDERS_2_B_VERIFIED; ?></strong> </span> </a> </li> </ul> </div> </div> </div> <div class="margin-bottom-10 visible-sm"> </div> <?php } ?> <!-- //----------------------------------------------// --> </div> </div> </div> <!-- Tabs --> <div class=""> <div class="card-header header-elements-inline"> <h6 class="card-title"></h6> <div class="header-elements"> </div> </div> <!-- Area chart --> <div id="messages-stats"></div> <!-- /area chart --> <!-- Tabs --> <ul class="nav nav-tabs nav-tabs-bottom nav-justified mb-0"> <li class="nav-item"> <a href="#tab_1_1" class="nav-link font-size-sm text-uppercase active" data-toggle="tab"> <?php echo $this->lang->line('BE_LBL_549'); ?> </a> </li> <li class="nav-item"> <a href="#tab_1_2" class="nav-link font-size-sm text-uppercase" data-toggle="tab"> <?php echo $this->lang->line('BE_LBL_550'); ?> </a> </li> <li class="nav-item"> <a href="#tab_1_3" class="nav-link font-size-sm text-uppercase" data-toggle="tab"> <?php echo $this->lang->line('BE_LBL_551'); ?> </a> </li> <li class="nav-item"> <a href="#tab_1_4" class="nav-link font-size-sm text-uppercase" data-toggle="tab"> PreCode Stock </a> </li> </ul> <!-- /tabs --> <!-- Tabs content --> <div class="tab-content card-body"> <div class="tab-pane active fade show" id="tab_1_1"> <div class="table-responsive"> <table class="table table-striped table-bordered table-advance table-hover Dashboard_Table"> <thead> <tr> <th nowrap="nowrap" width="87%"><b><?php echo $this->lang->line('BE_PCK_20'); ?></b></th> <th style="text-align:center;" width="13%" nowrap="nowrap"><b><?php echo $this->lang->line('BE_MR_4'); ?></b></th> </tr> </thead> <tbody> <?php if($rsIMEIReqs) { foreach($rsIMEIReqs as $row) { ?> <tr> <td><?php echo stripslashes($row->PackageTitle); ?></td> <td align="center"><?php echo $row->TotalRequests; ?></td> </tr> <?php }?> <?php }else{ ?> <tr><td colspan="999" align="center"><strong><?php echo $this->lang->line('BE_GNRL_9'); ?></strong></td></tr> <?php } ?> </tbody> </table> </div> </div> <div class="tab-pane fade" id="tab_1_2"> <div class="table-responsive"> <table class="table table-striped table-bordered table-advance table-hover Dashboard_Table"> <thead> <tr> <th nowrap="nowrap" width="87%"><b><?php echo $this->lang->line('BE_PCK_20'); ?></b></th> <th style="text-align:center;" width="13%" nowrap="nowrap"><b><?php echo $this->lang->line('BE_MR_4'); ?></b></th> </tr> </thead> <tbody> <?php if($rsFileReqs) { foreach($rsFileReqs as $row) { ?> <tr> <td nowrap="nowrap"><?php echo stripslashes($row->PackageTitle); ?></td> <td align="center"><?php echo $row->TotalRequests; ?></td> </tr> <?php }?> <?php }else{ ?> <tr><td colspan="999" align="center"><strong><?php echo $this->lang->line('BE_GNRL_9'); ?></strong></td></tr> <?php } ?> </tbody> </table> </div> </div> <div class="tab-pane fade" id="tab_1_3"> <div class="table-responsive"> <table class="table table-striped table-bordered table-advance table-hover Dashboard_Table"> <thead> <tr> <th nowrap="nowrap" width="87%"><b><?php echo $this->lang->line('BE_PCK_20'); ?></b></th> <th style="text-align:center;" width="13%" nowrap="nowrap"><b><?php echo $this->lang->line('BE_MR_4'); ?></b></th> </tr> </thead> <tbody> <?php if($rsServerReqs) { foreach($rsServerReqs as $row) { ?> <tr> <td nowrap="nowrap"><?php echo stripslashes($row->PackageTitle); ?></td> <td align="center"><?php echo $row->TotalRequests; ?></td> </tr> <?php }?> <?php }else{ ?> <tr><td colspan="999" align="center"><strong><?php echo $this->lang->line('BE_GNRL_9'); ?></strong></td></tr> <?php } ?> </tbody> </table> </div> </div> <div class="tab-pane fade" id="tab_1_4"> <div class="table-responsive"> <table class="table table-striped table-bordered table-advance table-hover Dashboard_Table"> <thead> <tr> <th nowrap="nowrap" width="87%"><b><?php echo $this->lang->line('BE_PCK_20'); ?></b></th> <th style="text-align:center;" width="13%" nowrap="nowrap"><b>Total Codes</b></th> </tr> </thead> <tbody> <?php if($rsPCs){ foreach($rsPCs as $row) { ?> <tr> <td nowrap="nowrap"><?php echo stripslashes($row->LogPackageTitle); ?></td> <td align="center"><?php echo $row->TotalPCs; ?></td> </tr> <?php }?> <?php }else{ ?> <tr><td colspan="999" align="center"><strong><?php echo $this->lang->line('BE_GNRL_9'); ?></strong></td></tr> <?php } ?> </tbody> </table> </div> </div> </div> <!-- /tabs content --> </div> <!-- /Tabs --> </div> <div class="col-xl-3" > <div class=""> <div class="card-header header-elements-inline"> <h3 class="card-title SameSizeHeading" style="margin: 0 auto"><?php echo $this->lang->line('BE_LBL_1018') ?></h3> <div class="header-elements"> </div> </div> <div class="card-body"> <ul class="media-list"> <li class="media"> <div class="mr-3 position-relative"> <a href="<?php echo base_url($this->config->item('apanel_name').'/clients/users?frmId=26&fTypeId=5');?>" style="color:#3D3D3D; text-decoration:none;"><i class="fa fa-hand-o-right"></i></a> </div> <div class="media-body"> <div class="d-flex justify-content-between"> <a href="<?php echo base_url($this->config->item('apanel_name').'/clients/users?frmId=26&fTypeId=5');?>"><?php echo $this->lang->line('BE_LBL_225') ?></a> </div> </div> </li> <li class="media"> <div class="mr-3 position-relative"> <a href="<?php echo base_url($this->config->item('apanel_name').'/reports/apisrpt?frmId=81&fTypeId=15');?>" style="color:#3D3D3D; text-decoration:none;"><i class="fa fa-hand-o-right"></i></a> </div> <div class="media-body"> <div class="d-flex justify-content-between"> <a href="<?php echo base_url($this->config->item('apanel_name').'/reports/apisrpt?frmId=81&fTypeId=15');?>"><?php echo $this->lang->line('BE_LBL_1022') ?></a> </div> </div> </li> <li class="media"> <div class="mr-3"> <a href="<?php echo base_url($this->config->item('apanel_name').'/reports/profitlossrpt?frmId=82&fTypeId=15');?>" style="color:#3D3D3D; text-decoration:none;"><i class="fa fa-hand-o-right"></i></a> </div> <div class="media-body"> <div class="d-flex justify-content-between"> <a href="<?php echo base_url($this->config->item('apanel_name').'/reports/profitlossrpt?frmId=82&fTypeId=15');?>"><?php echo $this->lang->line('BE_LBL_1023') ?></a> </div> </div> </li> </ul> </div> </div> <div class=""> <div class="card-header header-elements-inline"> <h3 class="card-title SameSizeHeading" style="margin: 0 auto"><?php echo $this->lang->line('BE_LBL_230')?></h3> <div class="header-elements"> </div> </div> <div class="card-body"> <div class="table-responsive"> <table class="dashboard_act_todo table" width="100%"> <tbody> <?php if($rsStngs->IMEIServices == '1'){ ?> <tr> <td width="30%"> <a href="<?php echo base_url($this->config->item('apanel_name').'/services/');?>newimeiorders?frmId=96&fTypeId=16"> <span class="pull-left" style="font-size:16px; color:#3D3D3D;"> <b><?php echo $NEW_IMEI_ORDERS ?: '0';?></b> </span> </a> </td> <td width="70%"><?php echo $this->lang->line('CUST_LBL_169')?></td> </tr> <tr> <td width="30%"> <a href="<?php echo base_url($this->config->item('apanel_name').'/services/');?>verifyorders?frmId=100&fTypeId=16"> <span class="pull-left" style="font-size:16px; color:#3D3D3D;"> <b><?php echo $IMEI_ORDERS_2_B_VERIFIED ?: '0';?></b> </span> </a> </td> <td width="70%"><?php echo $this->lang->line('BE_LBL_233')?></td> </tr> <? } if($rsStngs->FileServices == '1') { ?> <tr> <td width="30%"> <a href="<?php echo base_url($this->config->item('apanel_name').'/services/newfileorders?frmId=103&fTypeId=17');?>"> <span class="pull-left" style="font-size:16px; color:#3D3D3D;"> <b><?php echo $NEW_FILE_ORDERS;?></b> </span> </a> </td> <td width="70%"><?php echo $this->lang->line('BE_LBL_234')?></td> </tr> <tr> <td> <a href="<?php echo base_url($this->config->item('apanel_name').'/services/verifyfileorders?frmId=106&fTypeId=17');?>"> <span class="pull-left" style="font-size:16px; color:#3D3D3D;"> <strong><?php echo $FILE_ORDERS_2_B_VERIFIED;?></strong> </span> </a> </td> <td><?php echo $this->lang->line('BE_LBL_236')?></td> </tr> <? } if($rsStngs->ServerServices == '1') { ?> <tr> <td width="30%"> <a href="<?php echo base_url($this->config->item('apanel_name').'/services/');?>newserverorders?frmId=107&fTypeId=18"> <span class="pull-left" style="font-size:16px; color:#3D3D3D;"> <b><?php echo $NEW_SERVER_ORDERS;?></b> </span> </a> </td> <td width="70%"><?php echo $this->lang->line('BE_LBL_237')?></td> </tr> <tr> <td> <a href="<?php echo base_url($this->config->item('apanel_name').'/services/verifyserverorders?frmId=110&fTypeId=18');?>"> <span class="pull-left" style="font-size:16px; color:#3D3D3D;"> <strong><?php echo $SERVER_ORDERS_2_B_VERIFIED;?></strong> </span> </a> </td> <td><?php echo $this->lang->line('BE_LBL_239')?></td> </tr> <?php } //-------------------- Saleheen add Remoteservices ------------ if($rsStngs->Retail == '1') { ?> <tr> <td width="30%"> <a href="<?php echo base_url($this->config->item('apanel_name').'/retail/');?>newretailorders?frmId=289&fTypeId=19"> <span class="pull-left" style="font-size:16px; color:#3D3D3D;"> <b><?php echo $NEW_RETAIL_ORDERS;?></b> </span> </a> </td> <td width="70%"><?php echo $this->lang->line('BE_LBL_593')?></td> </tr> <?php } if($rsStngs->RemoteServices == '1') { ?> <tr> <tr> <td width="30%"> <a href="<?php echo base_url($this->config->item('apanel_name').'/services/');?>newimeiorders?rms=3&frmId=406&fTypeId=24"> <span class="pull-left" style="font-size:16px; color:#3D3D3D;"> <b><?php echo $NEW_REMOTE_SERVICES_ORDERS;?></b> </span> </a> </td> <td width="70%"><?php echo $this->lang->line('LBL_1')?></td> </tr> <tr> <td width="30%"> <a href="<?php echo base_url($this->config->item('apanel_name').'/services/');?>verifyorders?rm=1&rms=3&frmId=402&fTypeId=24"> <span class="pull-left" style="font-size:16px; color:#3D3D3D;"> <b><?php echo $REMOTE_ORDERS_2_B_VERIFIED;?></b> </span> </a> </td> <td width="70%"><?php echo $this->lang->line('LBL_3')?></td> </tr> <?php } ?> <tr> <td colspan="999" style="color:#3D3D3D;text-align: center"><strong><?php echo $this->lang->line('BE_LBL_242');?></strong></td> </tr> <tr> <td> <a href="<?php echo base_url($this->config->item('apanel_name').'/clients/payments?pStatusId=1&byAdmin=0&frmId=37&fTypeId=7');?>"> <span class="pull-left" style="font-size:16px; color:#3D3D3D;text-align: center"> <strong><?php echo $PENDING_INV;?></strong> </span> </a> </td> <td><?php echo roundMe($UNPAID_USR_INV).' '.$DEFAULT_CURR_ABB;?></td> </tr> <tr> <td colspan="2" style="color:#3D3D3D; text-align: center"><strong><?php echo $this->lang->line('BE_LBL_241');?></strong></td> </tr> <tr> <td> <a href="<?php echo base_url($this->config->item('apanel_name').'/clients/payments?pStatusId=1&byAdmin=1&frmId=37&fTypeId=7');?>"> <span class="pull-left" style="font-size:16px; color:#3D3D3D;text-align: center"> <strong><?php echo $PENDING_INV_ADMIN;?></strong> </span> </a> </td> <td><?php echo roundMe($UNPAID_ADMIN_INV).' '.$DEFAULT_CURR_ABB;?></td> </tr> <tr> <td> <a href="<?php echo base_url($this->config->item('apanel_name').'/tickets/tickets?sId=1&frmId=52&fTypeId=12');?>"> <span class="pull-left" style="font-size:16px; color:#3D3D3D;text-align: center"> <strong><?php echo isset($TICKETS->NEW) ? $TICKETS->NEW : 0; ?></strong> </span> </a> </td> <td><?php echo $this->lang->line('BE_LBL_1024');?></td> </tr> <tr> <td> <a href="<?php echo base_url($this->config->item('apanel_name').'/clients/');?>users?du=1&frmId=26&fTypeId=5"> <span class="pull-left" style="font-size:16px; color:#3D3D3D;text-align: center"> <strong><?php echo $USER_ACT;?></strong> </span> </a> </td> <td><?php echo $this->lang->line('BE_LBL_240');?></td> </tr> </tbody> </table> </div> </div> </div> </div> </div> <!-- /dashboard content --> </div> <!-- /content area --> </div>