<?php include 'header.php'; ?>

<div class="main-panel">
    <div class="main-content">
        <div class="content-wrapper"><!--Statistics cards Starts-->
            <div class="row">
			<div class="col-xl-3 col-lg-6 col-md-6 col-12">
                    <div class="card gradient-ibiza-sunset">
                        <div class="card-body">
                            <div class="card-block pt-2 pb-0">
                                <div class="media">
                                    <div class="media-body white text-left">
                                        <h3 class="font-large-1 mb-0">
<?php 
$app_qry = "SELECT count(*) as total_count FROM ".DB_PREFIX."vinyl_flooring";
$app_row = $ai_db->aiGetQuery($app_qry);
echo $app_row[0]['total_count'];
?> 
										</h3>
                                        <span>Total vinyl flooring</span>
                                    </div>
                                    <div class="media-right white text-right">
                                        
                                    </div>
                                </div>
                            </div>
                            <div id="Widget-line-chart1" class="height-2 WidgetlineChart WidgetlineChartshadow mb-2">					
                            </div>

                        </div>
                    </div>
                </div>
                <div class="col-xl-3 col-lg-6 col-md-6 col-12">
                    <div class="card gradient-blackberry">
                        <div class="card-body">
                            <div class="card-block pt-2 pb-0">
                                <div class="media">
                                    <div class="media-body white text-left">
                                        <h3 class="font-large-1 mb-0">
<?php 
$app_qry1 = "SELECT count(*) as total_count FROM ".DB_PREFIX."carpet";
$app_row1 = $ai_db->aiGetQuery($app_qry1);
echo $app_row1[0]['total_count'];
?>
										</h3>
                                        <span>Total carpets</span>
                                    </div>
                                    <div class="media-right white text-right">
                                        
                                    </div>
                                </div>
                            </div>
                            <div id="Widget-line-chart" class="height-2 WidgetlineChart WidgetlineChartshadow mb-2">					
                            </div>
                        </div>
                    </div>
                </div>
                

               <div class="col-xl-3 col-lg-6 col-md-6 col-12">
                    <div class="card gradient-green-tea">
                        <div class="card-body">
                            <div class="card-block pt-2 pb-0">
                                <div class="media">
                                    <div class="media-body white text-left">
                                        <h3 class="font-large-1 mb-0">
<?php 
$app_qry2 = "SELECT count(*) as total_count FROM ".DB_PREFIX."blog";
$app_row2 = $ai_db->aiGetQuery($app_qry2);
echo $app_row2[0]['total_count'];
?>
										
										</h3>
                                        <span>Total Blog</span>
                                    </div>
                                    <div class="media-right white text-right">
                                        
                                    </div>
                                </div>
                            </div>
                            <div id="Widget-line-chart2" class="height-2 WidgetlineChart WidgetlineChartshadow mb-2">				
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-xl-3 col-lg-6 col-md-6 col-12">
                    <div class="card gradient-pomegranate">
                        <div class="card-body">
                            <div class="card-block pt-2 pb-0">
                                <div class="media">
                                    <div class="media-body white text-left">
                                        <h3 class="font-large-1 mb-0">
<?php 
$app_qry3 = "SELECT count(*) as total_count FROM ".DB_PREFIX."slider";
$app_row3 = $ai_db->aiGetQuery($app_qry3);
echo $app_row3[0]['total_count'];
?>
										</h3>
                                        <span>Total Slider</span>
                                    </div>
                                    <div class="media-right white text-right">
                                        
                                    </div>
                                </div>
                            </div>
                            <div id="Widget-line-chart3" class="height-2 WidgetlineChart WidgetlineChartshadow mb-2">					
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            

        </div>
    </div>
    <?php include 'footer.php'; ?>
