MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 3.15.158.134
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home1/a1673wkz/propstonerealty.com/Admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home1/a1673wkz/propstonerealty.com/Admin/dashboard.php
 <?php
	session_start();
	if (empty($_SESSION['username'])) {
		echo '<script>window.location.href="login.php"</script>';
	}
	?>
 <!DOCTYPE html>
 <html>
 <?php include("header_link.php"); ?>

 <body>
 	<?php
		//header link

		include("config.php");
		?>
 	<!-- Main Wrapper -->
 	<div class="main-wrapper">
 		<!-- Page Wrapper -->
 		<div class="page-wrapper">

 			<!-- Page Content -->
 			<div class="content container-fluid">

 				<!-- Page Header -->
 				<div class="page-header">
 					<div class="row">
 						<div class="col-sm-12">
 							<h3 class="page-title">Welcome <?php echo $_SESSION['username']; ?>!</h3>
 							<ul class="breadcrumb">
 								<li class="breadcrumb-item active">Dashboard</li>
 							</ul>
 						</div>
 					</div>
 				</div>
 				<!-- /Page Header -->

 				<div class="row">
 					<div class="col-md-6 col-sm-6 col-lg-6 col-xl-3">
 						<div class="card dash-widget">
 							<div class="card-body">
 								<span class="dash-widget-icon"><i class="fa fa-bars"></i></span>
 								<div class="dash-widget-info">
 									<h3><?php $sel = $obj->num("SELECT * FROM menu");
											if (!empty($sel)) {
												echo $sel;
											} ?></h3>
 									<span>Menu</span>
 								</div>
 							</div>
 							<a href="menu.php" class="top_box_link"></a>
 						</div>
 					</div>
 					<div class="col-md-6 col-sm-6 col-lg-6 col-xl-3">
 						<div class="card dash-widget">
 							<div class="card-body">
 								<span class="dash-widget-icon"><i class="fa fa-building" aria-hidden="true"></i>
 								</span>
 								<div class="dash-widget-info">
 									<h3><?php $sel4 = $obj->num("SELECT * FROM brand");
											if (!empty($sel4)) {
												echo $sel4;
											} ?></h3>
 									<span>location</span>
 								</div>
 							</div>
 							<a href="location.php" class="top_box_link"></a>
 						</div>
 					</div>
 					<div class="col-md-6 col-sm-6 col-lg-6 col-xl-3">
 						<div class="card dash-widget">
 							<div class="card-body">
 								<span class="dash-widget-icon"><i class="fa fa-building"></i></span>
 								<div class="dash-widget-info">
 									<h3><?php $sel2 = $obj->num("SELECT * FROM model");
											if (!empty($sel2)) {
												echo $sel2;
											} ?></h3>
 									<span>Sublocation</span>
 								</div>
 							</div>
 							<a href="sublocation.php" class="top_box_link"></a>
 						</div>
 					</div>

 					<div class="col-md-6 col-sm-6 col-lg-6 col-xl-3">
 						<div class="card dash-widget">
 							<div class="card-body">
 								<span class="dash-widget-icon"><i class="fa fa-building"></i></span>
 								<div class="dash-widget-info">
 									<h3><?php $sel3 = $obj->num("SELECT * FROM year");
											if (!empty($sel3)) {
												echo $sel3;
											} ?></h3>
 									<span>BHK</span>
 								</div>
 							</div>
 							<a href="bhk.php" class="top_box_link"></a>
 						</div>
 					</div>

 					<div class="col-md-6 col-sm-6 col-lg-6 col-xl-3">
 						<div class="card dash-widget">
 							<div class="card-body">
 								<span class="dash-widget-icon"><i class="fa fa-phone-square" aria-hidden="true"></i>
 								</span>
 								<div class="dash-widget-info">
 									<h3><?php $sel1 = $obj->num("SELECT * FROM callreq");
											if (!empty($sel1)) {
												echo $sel1;
											} ?></h3>
 									<span>Call Request</span>
 								</div>
 							</div>
 							<a href="contact.php" class="top_box_link"></a>
 						</div>
 					</div>
 					
 					<div class="col-md-6 col-sm-6 col-lg-6 col-xl-3">
 						<div class="card dash-widget">
 							<div class="card-body">
 								<span class="dash-widget-icon"><i class="fa fa-address-card" aria-hidden="true"></i>
 								</span>
 								<div class="dash-widget-info">
 									<h3><?php $sel1 = $obj->num("SELECT * FROM testimonials");
											if (!empty($sel1)) {
												echo $sel1;
											} ?></h3>
 									<span>Testimonial</span>
 								</div>
 							</div>
 							<a href="testimonial.php" class="top_box_link"></a>
 						</div>
 					</div>
 					
 					
 				
 					
 					
 					<div class="col-md-6 col-sm-6 col-lg-6 col-xl-3">
 						<div class="card dash-widget">
 							<div class="card-body">
 								<span class="dash-widget-icon"><i class="fa fa-file-photo-o" aria-hidden="true"></i>
 								</span>
 								<div class="dash-widget-info">
 									<h3><?php $sel1 = $obj->num("SELECT * FROM category");
											if (!empty($sel1)) {
												echo $sel1;
											} ?></h3>
 									<span>Category</span>
 								</div>
 							</div>
 							<a href="category.php" class="top_box_link"></a>
 						</div>
 					</div>
 					
 					
 					<div class="col-md-6 col-sm-6 col-lg-6 col-xl-3">
 						<div class="card dash-widget">
 							<div class="card-body">
 								<span class="dash-widget-icon"><i class="fa fa-file-photo-o" aria-hidden="true"></i>
 								</span>
 								<div class="dash-widget-info">
 									<h3><?php $sel1 = $obj->num("SELECT * FROM gallery");
											if (!empty($sel1)) {
												echo $sel1;
											} ?></h3>
 									<span>Gallery</span>
 								</div>
 							</div>
 							<a href="gallery.php" class="top_box_link"></a>
 						</div>
 					</div>
 					
 					<div class="col-md-6 col-sm-6 col-lg-6 col-xl-3">
 						<div class="card dash-widget">
 							<div class="card-body">
 								<span class="dash-widget-icon"><i class="fa fa-building-o" aria-hidden="true"></i>
 								</span>
 								<div class="dash-widget-info">
 									<h3><?php $sel1 = $obj->num("SELECT * FROM pro_category");
											if (!empty($sel1)) {
												echo $sel1;
											} ?></h3>
 									<span>Property Type</span>
 								</div>
 							</div>
 							<a href="property_category.php" class="top_box_link"></a>
 						</div>
 					</div>
 					
 					
 					<div class="col-md-6 col-sm-6 col-lg-6 col-xl-3">
 						<div class="card dash-widget">
 							<div class="card-body">
 								<span class="dash-widget-icon"><i class="fa fa-building-o" aria-hidden="true"></i>
 								</span>
 								<div class="dash-widget-info">
 									<h3><?php $sel1 = $obj->num("SELECT * FROM pro_sub_cat");
											if (!empty($sel1)) {
												echo $sel1;
											} ?></h3>
 									<span>Property Sub Type</span>
 								</div>
 							</div>
 							<a href="pro_sub_type.php" class="top_box_link"></a>
 						</div>
 					</div>
 					
 					<div class="col-md-6 col-sm-6 col-lg-6 col-xl-3">
 						<div class="card dash-widget">
 							<div class="card-body">
 								<span class="dash-widget-icon"><i class="fa fa-building-o" aria-hidden="true"></i>
 								</span>
 								<div class="dash-widget-info">
 									<h3><?php $sel1 = $obj->num("SELECT * FROM property");
											if (!empty($sel1)) {
												echo $sel1;
											} ?></h3>
 									<span>Properties</span>
 								</div>
 							</div>
 							<a href="property.php" class="top_box_link"></a>
 						</div>
 					</div>
 					
 				
 					
 					
 					
 				</div>
 			</div>



 			<?php
				// header
				include("header.php");
				?>
 		</div>
 	</div>
 	<?php
		//footer link
		include("footer_link.php");

		//footer
		include("footer.php");

		?>
 </body>

 </html>

MMCT - 2023