Simple Dashboard NEW

Simple Dashboard using panels

HIDE CODE
<style>
    .dashboard-counter{
      float: left;
      margin: 5px;
      display: inline-block;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      text-align: center;
      line-height: 56px;
      color: white;
      font-weight: bold;
      font-size: 38px;
    }

    div.xcrud-row {
      width: 32%;
      overflow: hidden!important;
      float: left;
      border: 1px solid #e5e5e5;
      margin-top: 10px;
      margin-left: 2px;
      padding: 20px;
      max-height: 150px!important;
      min-height: 150px!important;
      background: #0d6efd;
      border-radius: 10px;
      color:#fff;
      margin: 8px;

    }

    div.xcrud-row span:not(.slider) {
      font-size:20px!important;
      font-weight:bold!important;
    }

</style>

<?php

	$xcrud = Xcrud::get_instance();
    $xcrud->table("order_counts_view");// This is a view

    $xcrud->column_callback("Count","getDashboardValue");

    $xcrud->unset_add();
    $xcrud->unset_edit();
    $xcrud->unset_remove();
    $xcrud->unset_view();
    $xcrud->unset_csv();
    $xcrud->unset_limitlist();
    $xcrud->unset_numbers();
    $xcrud->unset_pagination();
    $xcrud->unset_print();
    $xcrud->unset_search();
    $xcrud->unset_title();
    $xcrud->unset_sortable();

	$xcrud->panel_view(true,4);

	echo $xcrud->render();	
?>
DescriptionCount
Last 1 year Orders
0
Last 2 years Orders
0
Last 6 months Orders
0
Last Month Orders
0