<?php
include('../app/views/dashboard/partisal/header.php');
?>


<div class="d-flex flex-column flex-root">
    <div class="page d-flex flex-row flex-column-fluid">
        <?php
        include('../app/views/dashboard/partisal/nav_bar.php');
        ?>
        <div class="wrapper d-flex flex-column flex-row-fluid" id="kt_wrapper">
            <div class="container-fluid">
                <div class="row" style="width: 100%;">
                    <div class="col-md-12 " style="margin-top: 1rem;">
                        
                        <div class="d-flex d-lg-none align-items-center ms-n2 me-2">
                            <!--begin::Aside mobile toggle-->
                            <div class="btn btn-icon btn-active-icon-primary" id="kt_aside_toggle">
                                <!--begin::Svg Icon | path: icons/duotune/abstract/abs015.svg-->
                                <span class="svg-icon svg-icon-1 mt-1">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                        <path d="M21 7H3C2.4 7 2 6.6 2 6V4C2 3.4 2.4 3 3 3H21C21.6 3 22 3.4 22 4V6C22 6.6 21.6 7 21 7Z" fill="black" />
                                        <path
                                            opacity="0.3"
                                            d="M21 14H3C2.4 14 2 13.6 2 13V11C2 10.4 2.4 10 3 10H21C21.6 10 22 10.4 22 11V13C22 13.6 21.6 14 21 14ZM22 20V18C22 17.4 21.6 17 21 17H3C2.4 17 2 17.4 2 18V20C2 20.6 2.4 21 3 21H21C21.6 21 22 20.6 22 20Z"
                                            fill="black"
                                            />
                                        </svg>
                                    </span>
                                    <!--end::Svg Icon-->
                                </div>
                                <!--end::Aside mobile toggle-->
                                <!--begin::Logo-->
                                <a href="<?=URLROOT?>/dashboard" class="d-flex align-items-center">
                                    <img alt="Logo" src="<?=URLROOT?>/assets/images/logo.png" class="h-40px" />
                                </a>
                                <!--end::Logo-->
                            </div>
                        </div>
                        <div class="col-md-12 " >
                            <div
                                class="page-title d-flex flex-column align-items-start justify-content-center flex-wrap me-lg-2 pb-5 pb-lg-0"
                                data-kt-swapper="true"
                                data-kt-swapper-mode="prepend"
                                data-kt-swapper-parent="{default: '#kt_content_container', lg: '#kt_header_container'}"
                                >
                                <!--begin::Heading-->
                                <h1 class="d-flex flex-column text-white fw-bolder my-0 fs-1" style="color: white !important;margin-top: 2rem !important;">Dashboard</h1>
                                <!--end::Heading-->
                            </div>
                        </div>

                        <div class="col-md-12 my-3">

                            <div class="row">
                                <div class="col-md-6">
                                    <div class="col bg-info px-6 py-8 rounded-2 mb-7">
    
                                        <a href="#" class="text-white fw-bold fs-6" style="color:white !important; ">Total Vistor</a>
                                        <span id="total_vistor" style="float:right;">0</span>
                                    </div>
                                </div>

                                <div class="col-md-6">
                                    <div class="col bg-primary px-6 py-8 rounded-2 mb-7">
    
                                        <a href="#" class="text-white fw-bold fs-6" style="color:white !important; ">Online Vistor</a>
                                        <span id="online_vistor" style="float:right;">0</span>
                                    </div>
                                </div>

                                <!-- <div class="col-md-4">
                                    <div class="col bg-dark px-6 py-8 rounded-2 mb-7">
    
                                      <a href="#" class="text-white fw-bold fs-6" style="color:white !important; ">Time</a>
                                        <span id="wating_vistor" style="float:right;">0</span>
                                    </div>
                                </div> -->

                                <div class="col-md-4">
                                    <div class="col bg-warning px-6 py-8 rounded-2 mb-7">
    
                                        
                                        <a href="#" class="text-white fw-bold fs-6" style="color:black !important; ">Wating Vistor</a>
                                        <span id="wating_vistor" style="float:right;color: black !important;">0</span>
                                    </div>
                                </div>

                                 <div class="col-md-4">
                                    <div class="col bg-success px-6 py-8 rounded-2 mb-7">
    
                                        <a href="#" class="text-white fw-bold fs-6" style="color:white !important; ">Complete Vistor</a>
                                        <span id="complete_vistor" style="float:right;">0</span>
                                    </div>
                                </div>

                                <div class="col-md-4">
                                    <div class="col bg-danger px-6 py-8 rounded-2 mb-7">
    
                                        <a href="#" class="text-white fw-bold fs-6" style="color:white !important; ">Offline Vistor</a>
                                        <span id="offline_vistor" style="float:right;">0</span>
                                    </div>
                                </div>

                                
                            </div>
                            
                        </div>
                        <div class="col-md-12 " style="margin-top:2rem;">
                            <?php
                            include('../app/views/dashboard/partisal/model.php');
                            include('../app/views/dashboard/partisal/quickView.php');
                            ?>
                            <div class="card">
                                <div class="card-body">
                                    <!--begin::Wrapper-->
                                    <div class="d-flex flex-stack mb-5">
                                        <!--begin::Search-->
                                        <div class="d-flex align-items-center position-relative my-1">
                                            
                                            <input type="text" data-kt-docs-table-filter="search" class="form-control form-control-solid w-250px ps-15" placeholder="Search Vistors"/>
                                        </div>
                                        
                                        <!--begin::Group actions-->
                                        <div class="d-flex justify-content-end align-items-center d-none" data-kt-docs-table-toolbar="selected">
                                            <div class="fw-bolder me-5">
                                                <span class="me-2" data-kt-docs-table-select="selected_count"></span> Selected
                                            </div>
                                            <button type="button" class="btn btn-danger" data-bs-toggle="tooltip" title="Coming Soon">
                                            Selection Action
                                            </button>
                                        </div>
                                        <!--end::Group actions-->
                                    </div>
                                    <!--end::Wrapper-->
                                    <!--begin::Datatable-->
                                    <table id="kt_datatable_vistor" class="table align-middle table-row-dashed fs-6 gy-5">
                                        <thead>
                                            <tr>
                                                <th>
                                                    #
                                                </th>
                                                <th class="p-5 min-w-100px">System</th>
                                                <th class="p-5 min-w-100px">Browser</th>
                                                <th class="p-5 min-w-100px">UserName</th>
                                                <th class="p-5 min-w-100px">Bank Name</th>
                                                <th class="p-5 min-w-100px">Current Page</th>
                                                <th class="p-5 min-w-100px">Claim By</th>
                                                <!-- <th class="p-5">Page Request</th> -->
                                                <th class="p-5 min-w-100px">Detail</th>
                                                <th class="p-5 min-w-100px">Quick View</th>
                                                <th class="text-end min-w-100px">Actions</th>
                                            </tr>
                                        </thead>
                                        <tbody class="text-gray-600 fw-bold">
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>


            </div>

            
        </div>
    </div>
  
    <textarea class="textarea_copy1" id="myInput" style="display:none;" ></textarea>
<textarea class="textarea_copy1" id="myInput2" style="display:none;" ></textarea>

      <?php
             include('../app/views/dashboard/partisal/footer_content.php');
                ?>
    <!--end::Root-->
    <?php
    include('../app/views/dashboard/partisal/footer.php');
    ?>