<div id="stats" class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
        

        <div id="generalInfoSection" class="panel panel-widget">
            <div id="generalInfoHeaderSection" class="panel-heading widget-heading">
                General informations
            </div>
            <table class="table">
                <tbody>
                    <tr>
                        <td ng-controller="accountsController">
                            <label id="lblUserName" class="general-info-label updating-elements">Current user</label>
                            
                                <span id="txtUserName" class="general-info-value"><?php echo ucfirst("$Username"); ?></span>
                            
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label id="lblDomainName" class="general-info-label">Priority</label>
                            <span id="txtDomainName" class="general-info-value">Administrator</span>
                        </td>
                    </tr>
                    
                    
                </tbody>
            </table>
        </div>

        

        <div id="statsSection" class="panel panel-widget" ng-controller="statisticsController">
            <div id="statsHeaderSection" class="panel-heading widget-heading">
                Statistics
                <i ng-class="[glyph, animate]" ng-show="display" spinner="" id="loadingStatsSpinner" glyph-class="fas fa-spinner" class="pull-right fas fa-spinner ng-hide" title="Chargement�" style=""></i>
            </div>
            
            
<?php
include("connexion.php");
?>

    
<?php 
$DAT=date("d-m-Y");
$xx=0;

$Info="SELECT * FROM sessionstatus WHERE dat='$DAT' ";
foreach($connexion->query($Info) as $row){

$xx++;

}
?>


<?php 
$DATEE=date("m-Y");
$compx=0;

$Infoc="SELECT * FROM sessionstatus WHERE dat LIKE '%$DATEE%' ";

foreach($connexion->query($Infoc) as $row){

$compx++;

}
?>







            <table class="table">
                <tbody>
                    <!-- ngRepeat: app in ::statistics | orderBy:'-percent' track by app.id -->
                    <tr id="row_ftp_accounts" ng-repeat="app in ::statistics | orderBy:&#39;-percent&#39; track by app.id" ng-class="::getStatStatus(app.percent)" class="app-stat-row danger" style="">
                        <td class="app-stat-data">

                            <!-- ngIf: ::app.url --><a ng-if="::app.url" id="lnkstats_ftp_accounts" class="app-name">Day Tours / <?php echo "$DAT"; ?></a><!-- end ngIf: ::app.url -->
                            <!-- ngIf: ::!app.url -->

                            <!-- ngIf: app.formatter === 'percent' -->
                            <!-- ngIf: app.formatter !== 'percent' --><div ng-if="app.formatter !== &#39;percent&#39;">
                                
                                <!-- ngIf: ::app.formattedMaximum --><span ng-if="::app.formattedMaximum">
                                   
                                    <span id="lblstats_ftp_accounts" style="font-size:24px"><b><?php echo "$xx"; ?></b></span>
                                </span><!-- end ngIf: ::app.formattedMaximum -->
                                <!-- ngIf: ::app.showPercent --><span class="stats-parenthetical-percentage" ng-if="::app.showPercent" dir="ltr">On line</span><!-- end ngIf: ::app.showPercent -->
                            </div><!-- end ngIf: app.formatter !== 'percent' -->

                            

                        </td>
                        <td class="app-stat-upgrade">
                            <!-- ngIf: ::app.needFix --><span ng-if="::app.needFix">
                                                                   

                                    <!-- ngIf: ::!app.url -->
                                                            </span><!-- end ngIf: ::app.needFix -->
                        </td>
                    </tr><!-- end ngRepeat: app in ::statistics | orderBy:'-percent' track by app.id -->

                    <tr id="row_email_accounts" ng-repeat="app in ::statistics | orderBy:&#39;-percent&#39; track by app.id" ng-class="::getStatStatus(app.percent)" class="app-stat-row success" style="">


                        <td class="app-stat-data">

                            <!-- ngIf: ::app.url --><a ng-if="::app.url" id="lnkstats_email_accounts" class="app-name" >Visit of the month</a><!-- end ngIf: ::app.url -->
                            <!-- ngIf: ::!app.url -->

                            <!-- ngIf: app.formatter === 'percent' -->
                            <!-- ngIf: app.formatter !== 'percent' --><div ng-if="app.formatter !== &#39;percent&#39;">
                                <span id="lblstats_email_accounts_count" style="font-size:24px"><b><?php echo "$compx"; ?></b></span>
                                <!-- ngIf: ::app.formattedMaximum --><span ng-if="::app.formattedMaximum">
                                    
                                    <span id="lblstats_email_accounts">Visit total</span>
                                </span><!-- end ngIf: ::app.formattedMaximum -->
                                <!-- ngIf: ::app.showPercent --><!-- end ngIf: ::app.showPercent -->
                            </div><!-- end ngIf: app.formatter !== 'percent' -->





                        <td class="app-stat-upgrade">
                            <!-- ngIf: ::app.needFix -->
                        </td>
                    </tr><!-- end ngRepeat: app in ::statistics | orderBy:'-percent' track by app.id -->

                    <tr id="row_mysql_databases" ng-repeat="app in ::statistics | orderBy:&#39;-percent&#39; track by app.id" ng-class="::getStatStatus(app.percent)" class="app-stat-row success" style="">

                        <td class="app-stat-upgrade">
                            <!-- ngIf: ::app.needFix -->
                        </td>
                    </tr><!-- end ngRepeat: app in ::statistics | orderBy:'-percent' track by app.id -->

                    <tr id="row_disk_usage" ng-repeat="app in ::statistics | orderBy:&#39;-percent&#39; track by app.id" ng-class="::getStatStatus(app.percent)" class="app-stat-row success" style="">

                        <td class="app-stat-upgrade">
                            <!-- ngIf: ::app.needFix -->
                        </td>
                    </tr><!-- end ngRepeat: app in ::statistics | orderBy:'-percent' track by app.id -->


                    <!-- end ngRepeat: app in ::statistics | orderBy:'-percent' track by app.id -->
                </tbody>
            </table>
        </div>
    </div><!-- end stats -->