<?php
$view->extend('MarketZodacoBundle::base_admin.html.php');
?>
<div class="col-lg-12">
    <?php if ($checkw->getUsername() == "demo") { ?>
        <div class="row">
            <div class="col-lg-12">
                <h2 class="page-header" style="color: red;"><?php echo $view['translator']->trans("Demo account only view. Can't change anything."); ?></h2>
            </div>
        </div>
    <?php } ?>
    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header"><?php echo $view['translator']->trans("Report Today"); ?></h1>
        </div>
    </div>

    <div class="row">
        <div class="col-xs-12 col-md-6 col-lg-6">
            <div class="panel panel-blue panel-widget ">
                <div class="row no-padding">
                    <div class="col-sm-3 col-lg-5 widget-left">
                        <i class="fa fa-shopping-cart fa-4x"></i>
                    </div>
                    <div class="col-sm-9 col-lg-7 widget-right">
                        <div class="large"><?php echo (isset($report["total_sales"])) ? number_format($report["total_sales"]) : 0; ?></div>
                        <div class="text-muted"><?php echo $view['translator']->trans("New Orders"); ?></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-xs-12 col-md-6 col-lg-6">
            <div class="panel panel-orange panel-widget">
                <div class="row no-padding">
                    <div class="col-sm-3 col-lg-5 widget-left">
                        <em class="fa fa-users fa-4x"></em>
                    </div>
                    <div class="col-sm-9 col-lg-7 widget-right">
                        <div class="large"><?php echo (isset($report["total_users"])) ? number_format($report["total_users"]) : 0; ?></div>
                        <div class="text-muted"><?php echo $view['translator']->trans("New Users"); ?></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-xs-12 col-md-6 col-lg-6">
            <div class="panel panel-teal panel-widget">
                <div class="row no-padding">
                    <div class="col-sm-3 col-lg-5 widget-left">
                        <em class="fa fa-file-zip-o fa-4x"></em>
                    </div>
                    <div class="col-sm-9 col-lg-7 widget-right">
                        <div class="large"><?php echo (isset($report["total_products"])) ? number_format($report["total_products"]) : 0; ?></div>
                        <div class="text-muted"><?php echo $view['translator']->trans("New Upload"); ?></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-xs-12 col-md-6 col-lg-6">
            <div class="panel panel-red panel-widget">
                <div class="row no-padding">
                    <div class="col-sm-3 col-lg-5 widget-left">
                        <em class="fa fa-file-archive-o fa-4x"></em>
                    </div>
                    <div class="col-sm-9 col-lg-7 widget-right">
                        <div class="large"><?php echo (isset($report["total_update"])) ? number_format($report["total_update"]) : 0; ?></div>
                        <div class="text-muted"><?php echo $view['translator']->trans("Update Version"); ?></div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>