MINI Sh3ll
<?
//$order_summary = $objReport->getOrderSummary($loginUser['id'], $loginUser['usertype']);
//$active_products = $objReport->getActiveProductsCount();
//x($order_summary);
?>
<div class="row">
<div class="col-lg-4 mb-4">
<div class="card bg-primary border-0 mb-4">
<div class="card-body">
<h5 class="text-white">Requests Received Today</h5>
<div class="mb-4">
<span class="display-4 text-white">12456456</span>
</div>
</div>
</div>
<div class="card bg-info border-0 mb-4">
<div class="card-body">
<h5 class="text-dark-50">Requests Received in this Month</h5>
<div class="mb-4">
<span class="display-4 text-dark">65456466</span>
</div>
</div>
</div>
<div class="card bg-danger border-0">
<div class="card-body">
<h5 class="text-white-50">Forwarding Failed Requests</h5>
<div class="mb-4">
<span class="display-4 text-white">4500</span>
</div>
</div>
</div>
</div>
<div class="col-lg-4 mb-4">
<div class="card h-100">
<div class="card-header">Today's Requests By Operator</div>
<div class="card-body">
<div id="todaysRequestsDonutChart"></div>
<div class="list-group list-group-flush">
<div class="list-group-item d-flex align-items-center justify-content-between small px-0 py-2">
<div class="mr-3">
<svg class="svg-inline--fa fa-circle fa-w-16 fa-sm mr-1 text-blue" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"></path></svg><!-- <i class="fas fa-circle fa-sm mr-1 text-blue"></i> Font Awesome fontawesome.com -->
Airtel
</div>
<div class="font-weight-500 text-dark">44.4%</div>
</div>
<div class="list-group-item d-flex align-items-center justify-content-between small px-0 py-2">
<div class="mr-3">
<svg class="svg-inline--fa fa-circle fa-w-16 fa-sm mr-1 text-purple" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"></path></svg><!-- <i class="fas fa-circle fa-sm mr-1 text-purple"></i> Font Awesome fontawesome.com -->
Reliance Jio
</div>
<div class="font-weight-500 text-dark">42.2%</div>
</div>
<div class="list-group-item d-flex align-items-center justify-content-between small px-0 py-2">
<div class="mr-3">
<svg class="svg-inline--fa fa-circle fa-w-16 fa-sm mr-1 text-green" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"></path></svg><!-- <i class="fas fa-circle fa-sm mr-1 text-green"></i> Font Awesome fontawesome.com -->
VI
</div>
<div class="font-weight-500 text-dark">13.3%</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-4 mb-4">
<div class="card h-100">
<div class="card-header">Requests in This Month By Operator</div>
<div class="card-body">
<div id="monthRequestsDonutChart"></div>
<div class="list-group list-group-flush">
<div class="list-group-item d-flex align-items-center justify-content-between small px-0 py-2">
<div class="mr-3">
<svg class="svg-inline--fa fa-circle fa-w-16 fa-sm mr-1 text-blue" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"></path></svg><!-- <i class="fas fa-circle fa-sm mr-1 text-blue"></i> Font Awesome fontawesome.com -->
Airtel
</div>
<div class="font-weight-500 text-dark">48.8%</div>
</div>
<div class="list-group-item d-flex align-items-center justify-content-between small px-0 py-2">
<div class="mr-3">
<svg class="svg-inline--fa fa-circle fa-w-16 fa-sm mr-1 text-purple" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"></path></svg><!-- <i class="fas fa-circle fa-sm mr-1 text-purple"></i> Font Awesome fontawesome.com -->
Reliance Jio
</div>
<div class="font-weight-500 text-dark">43.9%</div>
</div>
<div class="list-group-item d-flex align-items-center justify-content-between small px-0 py-2">
<div class="mr-3">
<svg class="svg-inline--fa fa-circle fa-w-16 fa-sm mr-1 text-green" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"></path></svg><!-- <i class="fas fa-circle fa-sm mr-1 text-green"></i> Font Awesome fontawesome.com -->
VI
</div>
<div class="font-weight-500 text-dark">7.3%</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
var charttRDc = c3.generate({
bindto:'#todaysRequestsDonutChart',
data: {
columns: [
['Airtel', 400],
['Reliance Jio', 380],
['VI', 120],
],
type : 'donut',
//onclick: function (d, i) { console.log("onclick", d, i); },
//onmouseover: function (d, i) { console.log("onmouseover", d, i); },
//onmouseout: function (d, i) { console.log("onmouseout", d, i); }
},
donut: {
title: "Requests"
}
});
var chartmRDc = c3.generate({
bindto:'#monthRequestsDonutChart',
data: {
columns: [
['Airtel', 800],
['Reliance Jio', 720],
['VI', 120],
],
type : 'donut',
//onclick: function (d, i) { console.log("onclick", d, i); },
//onmouseover: function (d, i) { console.log("onmouseover", d, i); },
//onmouseout: function (d, i) { console.log("onmouseout", d, i); }
},
donut: {
title: "Requests"
}
});
</script>
OHA YOOOO