<?php include '../src/session_check.php'; ?>

<html lang="en" data-bs-theme="light">
<head>
	<!-- Required meta tags -->
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!--favicon-->
	<link rel="icon" href="../assets/images/favicon-32x32.png" type="image/png">
	<!--plugins-->
	<link href="../assets/plugins/vectormap/jquery-jvectormap-2.0.2.css" rel="stylesheet">
	<link href="../assets/plugins/simplebar/css/simplebar.css" rel="stylesheet">
	<link href="../assets/plugins/perfect-scrollbar/css/perfect-scrollbar.css" rel="stylesheet">
	<link href="../assets/plugins/metismenu/css/metisMenu.min.css" rel="stylesheet">
	<!-- loader-->
	<link href="../assets/css/pace.min.css" rel="stylesheet"/>    
	<script src="../assets/js/pace.min.js"></script>
	<!-- Bootstrap CSS -->
	<link href="../assets/css/bootstrap.min.css" rel="stylesheet">
	<link href="../assets/css/bootstrap-extended.css" rel="stylesheet">
	<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap" rel="stylesheet">
	
	<link href="../assets/sass/app.css" rel="stylesheet">
	<link href="../assets/css/icons.css" rel="stylesheet">
	<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
	<!-- Theme Style CSS -->
	<link rel="stylesheet" href="../assets/sass/dark-theme.css">
	<link rel="stylesheet" href="../assets/sass/semi-dark.css">
	<link rel="stylesheet" href="../assets/sass/bordered-theme.css">
	
	<title>TOD Dashboard</title>
</head>

<body>
	<!--wrapper-->
	<div class="wrapper">
		<!--sidebar wrapper -->
		<?php include '../src/nav.php'; ?>
		<!--end sidebar wrapper -->
		<!--start header -->
		<?php include '../src/header.php'; ?>
		<!--end header -->
		<!--start page wrapper -->
		<div class="page-wrapper">
			<div class="page-content">
				
				<div class="">
					<div class="">
			
					  <div class="row g-4">
						<div class="col-12 col-xl-4">
						  <div class="card rounded-4 mb-0">
							 <div class="card-body">
							  <div class="hstack align-items-center gap-3">
								<div class="mb-1 widgets-icons bg-light-success text-success rounded-3 d-flex align-items-center justify-content-center">
									<i class='bx bx-printer'></i>
								</div>
								 <hr class="vr">
								 <div class="">
								  <h4 class="mb-0 d-flex align-items-center gap-2">$84,256 <span class="dash-lable d-flex align-items-center gap-1 rounded mb-0 bg-light-danger text-danger bg-opacity-10"><i class='bx bx-up-arrow-alt' ></i>8.6%</span></h4>
								  <p class="mb-0">Total Income</p>
								</div>
							  </div>
								<div id="chart1"></div>
							 </div>
						  </div>
						</div> 
						<div class="col-12 col-xl-2">
						  <div class="card rounded-4 mb-0">
							<div class="card-body">
							  <div class="d-flex align-items-start justify-content-between mb-0">
								<div class="">
								  <h6 class="mb-0">Active Users</h6>
								</div>
								<div class="dropdown">
								  <a href="javascript:;" class="dropdown-toggle-nocaret more-options dropdown-toggle"
									data-bs-toggle="dropdown">
									<i class='bx bx-dots-vertical-rounded'></i>
								  </a>
								  <ul class="dropdown-menu">
									<li><a class="dropdown-item" href="javascript:;">Action</a></li>
									<li><a class="dropdown-item" href="javascript:;">Another action</a></li>
									<li><a class="dropdown-item" href="javascript:;">Something else here</a></li>
								  </ul>
								</div>
							  </div>
							  <div class="chart-container2">
								<div id="chart2"></div>
							  </div>
							  <div class="text-center">
								<div class="">
									<h4 class="mb-1">42.5K</h4>
								  </div>
								<p class="mb-0"><span class="text-success">+37.5K</span> from last month</p>
							  </div>
							</div>
						 </div>
					   </div>
					   <div class="col-12 col-xl-4">
						<div class="card rounded-4 mb-0">
						  <div class="card-body">
							<div class="d-flex align-items-start justify-content-between mb-3">
							  <div class="">
								<h6 class="mb-0">Sales & Views</h6>
							  </div>
							  <div class="dropdown">
								<a href="javascript:;" class="dropdown-toggle-nocaret more-options dropdown-toggle"
								  data-bs-toggle="dropdown">
								  <i class='bx bx-dots-vertical-rounded'></i>
								</a>
								<ul class="dropdown-menu">
								  <li><a class="dropdown-item" href="javascript:;">Action</a></li>
								  <li><a class="dropdown-item" href="javascript:;">Another action</a></li>
								  <li><a class="dropdown-item" href="javascript:;">Something else here</a></li>
								</ul>
							  </div>
							 </div>
							  <div id="chart3"></div>
						   </div>
						 </div>
					   </div>
					   <div class="col-12 col-xl-2">
						<div class="card rounded-4 mb-0 overflow-hidden mb-0">
						  <div class="card-body">
							<div class="d-flex align-items-start justify-content-between mb-1">
							  <div class="">
								<h4 class="mb-0">87.4K</h4>
								<p class="mb-0">Total Clicks</p>
							  </div>
							  <div class="dropdown">
								<a href="javascript:;" class="dropdown-toggle-nocaret more-options dropdown-toggle"
								  data-bs-toggle="dropdown">
								  <i class='bx bx-dots-vertical-rounded'></i>
								</a>
								<ul class="dropdown-menu">
								  <li><a class="dropdown-item" href="javascript:;">Action</a></li>
								  <li><a class="dropdown-item" href="javascript:;">Another action</a></li>
								  <li><a class="dropdown-item" href="javascript:;">Something else here</a></li>
								</ul>
							  </div>
							</div>
						  </div>
						  <div class="chart-container">
							<div id="chart4"></div>
						  </div>
					   </div>
					 </div>
					 <div class="col-12 col-xl-4">
					  <div class="card border-0 rounded-4 shadow-none mb-0 bg-transparent mb-0">
						<div class="card-body p-0">
						  <div class="d-flex flex-column gap-4">
							<div class="card rounded-4 mb-0">
								<div class="card-body">
									<div class="d-flex align-items-center">
										<div>
											<p class="mb-0 text-secondary">Total Accounts</p>
											<h4 class="my-1">58.4K</h4>
											<p class="mb-0 font-13 text-success">+14% Since last Month</p>
										</div>
										<div class="widgets-icons bg-light-danger text-danger ms-auto"><i class='bx bxs-group'></i></div>
									</div>
									<div id="chart8"></div>
								</div>
							</div>
							<div class="card rounded-4">
								<div class="card-body">
									<div class="d-flex align-items-center">
										<div>
											<p class="mb-0 text-secondary">Bounce Rate</p>
											<h4 class="my-1">36.7%</h4>
											<p class="mb-0 font-13 text-success">+17% Since last Month</p>
										</div>
										<div class="widgets-icons bg-light-primary text-primary ms-auto"><i class='bx bx-bar-chart-alt-2'></i></div>
									</div>
									<div id="chart9"></div>
								</div>
							</div>
						  </div>
						</div>
					  </div>
					 </div>
					</div>
			</div><!--end page content -->
		</div>
		<!--end page wrapper -->
		<!--start overlay-->
		 <div class="overlay mobile-toggle-icon"></div>
		<!--end overlay-->
		<!--Start Back To Top Button-->
		  <a href="javaScript:;" class="back-to-top"><i class='bx bxs-up-arrow-alt'></i></a>
		<!--End Back To Top Button-->
		<footer class="page-footer">
			<p class="mb-0">Copyright © 2024. All right reserved.</p>
		</footer>
	</div>
	<!--end wrapper-->


	<!-- search modal -->
    <div class="modal" id="SearchModal" tabindex="-1">
		<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable modal-fullscreen-md-down">
		  <div class="modal-content">
			<div class="modal-header gap-2">
			  <div class="position-relative popup-search w-100">
				<input class="form-control form-control-lg ps-5 border border-3 border-primary" type="search" placeholder="Search">
				<span class="position-absolute top-50 search-show ms-3 translate-middle-y start-0 top-50 fs-4"><i class='bx bx-search'></i></span>
			  </div>
			  <button type="button" class="btn-close d-md-none" data-bs-dismiss="modal" aria-label="Close"></button>
			</div>
		  </div>
		</div>
	  </div>
    <!-- end search modal -->

	<!-- Bootstrap JS -->
	<script src="../assets/js/bootstrap.bundle.min.js"></script>
	<!--plugins-->
	<script src="../assets/js/jquery.min.js"></script>
	<script src="../assets/plugins/simplebar/js/simplebar.min.js"></script>
	<script src="../assets/plugins/metismenu/js/metisMenu.min.js"></script>
	<script src="../assets/plugins/perfect-scrollbar/js/perfect-scrollbar.js"></script>
	<script src="../assets/plugins/apexcharts-bundle/js/apexcharts.min.js"></script>
	<!--app JS-->
	<script src="../assets/js/app.js"></script>

	<script src="../assets/js/index.js"></script>
	<script src="../assets/plugins/peity/jquery.peity.min.js"></script>
    <script>
       $(".data-attributes span").peity("donut")
    </script>
</body>

</html>