公寓访客管理系统

此项目是使用PHP和MySQL的公寓访客管理系统。公寓访客管理系统在AVMS中,我们使用PHP和Mysqli数据库。 该项目保留了访问公司的访客记录。AVMS具有一个模块,即admin。本人只展示了一小段代码,在预览区展示管理员登录页面、管理员控制台界面、新访客页面界面、管理访客页面;如想了解更详细请下载附件。

预览截图

应用介绍

此项目是使用PHP和MySQL的公寓访客管理系统。公寓访客管理系统在AVMS中,我们使用PHP和Mysqli数据库。 该项目保留了访问公司的访客记录。AVMS具有一个模块,即admin。信息中心:在此部分中,管理员可以简要查看特定时期内访问了多少访客。访问者:在此部分中,管理员通过在添加访问者部分中填写其信息来添加新访问者,并查看和管理访问者记录。 管理员还将访问者的时间花在“管理记录”部分。搜索:在此栏中,管理员可以通过姓名和电话号码搜索特定人员。报告:在此部分中,管理员可以在两个日期之间生成访问者报告。管理员还可以更新其个人资料,更改密码和恢复密码。按照下面几点操作运行公寓访客管理系统(AVMS)项目:1.下载压缩文件。2.解压缩文件并复制avms文件夹。3.粘贴到根目录中(对于xampp xampp / htdocs,wamp wamp / www,lamp var / www / html)。4.打开PHPMyAdmin(http:// localhost / phpmyadmin)。5.创建一个名称为avmsdb的数据库。6.导入avmsdb.sql文件(在SQL文件夹的zip包中提供)。7.运行脚本http:// localhost / avms(前端)。本人只展示了一小段代码,在预览区展示管理员登录页面、管理员控制台界面、新访客页面界面、管理访客页面;如想了解更详细请下载附件。

<?php
session_start();
error_reporting(0);
include('includes/dbconnection.php');
error_reporting(0);
if (strlen($_SESSION['avmsaid']==0)) {
  header('location:logout.php');
  } else{ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <!-- Required meta tags-->
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="au theme template">
    <meta name="author" content="Hau Nguyen">
    <meta name="keywords" content="au theme template">
    <!-- Title Page-->
    <title>Dashboard</title>
    <!-- Fontfaces CSS-->
    <link href="css/font-face.css" rel="stylesheet" media="all">
    <link href="vendor/font-awesome-4.7/css/font-awesome.min.css" rel="stylesheet" media="all">
    <link href="vendor/font-awesome-5/css/fontawesome-all.min.css" rel="stylesheet" media="all">
    <link href="vendor/mdi-font/css/material-design-iconic-font.min.css" rel="stylesheet" media="all">
    <!-- Bootstrap CSS-->
    <link href="vendor/bootstrap-4.1/bootstrap.min.css" rel="stylesheet" media="all">
    <!-- Vendor CSS-->
    <link href="vendor/animsition/animsition.min.css" rel="stylesheet" media="all">
    <link href="vendor/bootstrap-progressbar/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet" media="all">
    <link href="vendor/wow/animate.css" rel="stylesheet" media="all">
    <link href="vendor/css-hamburgers/hamburgers.min.css" rel="stylesheet" media="all">
    <link href="vendor/slick/slick.css" rel="stylesheet" media="all">
    <link href="vendor/select2/select2.min.css" rel="stylesheet" media="all">
    <link href="vendor/perfect-scrollbar/perfect-scrollbar.css" rel="stylesheet" media="all">
    <!-- Main CSS-->
    <link href="css/theme.css" rel="stylesheet" media="all">
</head>
<body class="animsition">
    <div class="page-wrapper">
        <!-- HEADER MOBILE-->
        
        <!-- MENU SIDEBAR-->
         <?php include_once('includes/sidebar.php');?>
        <!-- END MENU SIDEBAR-->
        <!-- PAGE CONTAINER-->
        <div class="page-container">
            <!-- HEADER DESKTOP-->
            <?php include_once('includes/header.php');?>
            <!-- HEADER DESKTOP-->
            <!-- MAIN CONTENT-->
            <div class="main-content">
                <div class="section__content section__content--p30">
                    <div class="container-fluid">
 <?php
//todays visitors
 $query=mysqli_query($con,"select ID from tblvisitor where date(EnterDate)=CURDATE();");
$count_today_visitors=mysqli_num_rows($query);
 ?>                       

                        <div class="row m-t-25">
                             <div class="col-sm-6 col-lg-3">
                                <div class="overview-item overview-item--c1">
                                    <div class="overview__inner">
                                        <div class="overview-box clearfix">
                                            <div class="icon">
                                                     <i class="zmdi zmdi-account-o"></i>
                                            </div>
                                            <div class="text">
                                                <h2><?php echo $count_today_visitors?></h2>
                                                <span>  Today's  Visitors</span>
                                            </div>
                                        </div>
                                    
                                    </div>
                                </div>
                            </div>
 <?php
//Yesterdays visitors
 $query1=mysqli_query($con,"select ID from tblvisitor where date(EnterDate)=CURDATE()-1;");
$count_yesterday_visitors=mysqli_num_rows($query1);
 ?>                       

                            <div class="col-sm-6 col-lg-3">
                                <div class="overview-item overview-item--c2">
                                    <div class="overview__inner">
                                        <div class="overview-box clearfix">
                                            <div class="icon">
                                                     <i class="zmdi zmdi-account-o"></i>
                                            </div>
                                            <div class="text">
                                                <h2><?php echo $count_yesterday_visitors?></h2>
                                                <span>Yesterday   Visitors</span>
                                            </div>
                                        </div>
                                    
                                    </div>
                                </div>
                            </div>
 <?php
//Last Sevendays visitors
 $query2=mysqli_query($con,"select ID from tblvisitor where date(EnterDate)>=(DATE(NOW()) - INTERVAL 7 DAY);");
$count_lastsevendays_visitors=mysqli_num_rows($query2);
 ?>                       

                            <div class="col-sm-6 col-lg-3">
                                <div class="overview-item overview-item--c3">
                                    <div class="overview__inner">
                                        <div class="overview-box clearfix">
                                            <div class="icon">
                                                <i class="zmdi zmdi-account-o"></i>
                                            </div>
                                            <div class="text">
                                                <h2><?php echo $count_lastsevendays_visitors?></h2>
                                                <span>Last 7 Days Visitors</span>
                                            </div>
                                        </div>
                                     
                                    </div>
                                </div>
                            </div>
    <?php
//Total Visitors visitors
 $query3=mysqli_query($con,"select ID from tblvisitor");
$count_total_visitors=mysqli_num_rows($query3);
 ?>                       


                            <div class="col-sm-6 col-lg-3">
                                <div class="overview-item overview-item--c4">
                                    <div class="overview__inner">
                                        <div class="overview-box clearfix">
                                            <div class="icon">
                                            <i class="zmdi zmdi-account-o"></i>
                                            </div>
                                            <div class="text">
                                                <h2><?php echo $count_total_visitors?></h2>
                                                <span>Total Visitors  Till Date</span>
                                            </div>
                                        </div>
                                   
                                    </div>
                                </div>
                            </div>
                        </div>
                       
                   
<?php include_once('includes/footer.php');?>
     
                    </div>
                </div>
            </div>
             
        </div>
    </div>
    <!-- Jquery JS-->
    <script src="vendor/jquery-3.2.1.min.js"></script>
    <!-- Bootstrap JS-->
    <script src="vendor/bootstrap-4.1/popper.min.js"></script>
    <script src="vendor/bootstrap-4.1/bootstrap.min.js"></script>
    <!-- Vendor JS       -->
    <script src="vendor/slick/slick.min.js">
    </script>
    <script src="vendor/wow/wow.min.js"></script>
    <script src="vendor/animsition/animsition.min.js"></script>
    <script src="vendor/bootstrap-progressbar/bootstrap-progressbar.min.js">
    </script>
    <script src="vendor/counter-up/jquery.waypoints.min.js"></script>
    <script src="vendor/counter-up/jquery.counterup.min.js">
    </script>
    <script src="vendor/circle-progress/circle-progress.min.js"></script>
    <script src="vendor/perfect-scrollbar/perfect-scrollbar.js"></script>
    <script src="vendor/chartjs/Chart.bundle.min.js"></script>
    <script src="vendor/select2/select2.min.js">
    </script>
    <!-- Main JS-->
    <script src="js/main.js"></script>
</body>
</html>
<!-- end document-->
<?php } ?>

文件列表(部分)

名称 大小 修改日期
Apartment Visitors Management System Project0.00 KB2019-07-20
avms0.00 KB2019-07-34
admin-profile.php9.41 KB2019-07-20
bwdates-reports-details.php5.59 KB2019-07-14
bwdates-reports.php6.54 KB2019-07-24
change-password.php8.34 KB2019-07-54
css0.00 KB2019-07-32
font-face.css13.89 KB2018-11-46
theme.css229.68 KB2018-11-46
dashboard.php8.23 KB2019-07-34
fonts0.00 KB2019-07-32
poppins0.00 KB2019-07-34
poppins-v5-latin-100.eot7.99 KB2018-11-46
poppins-v5-latin-100.svg51.81 KB2018-11-46
poppins-v5-latin-100.ttf15.60 KB2018-11-46
poppins-v5-latin-100.woff9.63 KB2018-11-46
poppins-v5-latin-100.woff27.26 KB2018-11-46
poppins-v5-latin-100italic.eot9.24 KB2018-11-46
poppins-v5-latin-100italic.svg57.40 KB2018-11-46
poppins-v5-latin-100italic.ttf16.98 KB2018-11-46
poppins-v5-latin-100italic.woff11.01 KB2018-11-46
poppins-v5-latin-100italic.woff28.29 KB2018-11-46
poppins-v5-latin-200.eot8.49 KB2018-11-46
poppins-v5-latin-200.svg51.62 KB2018-11-46
poppins-v5-latin-200.ttf15.51 KB2018-11-46
poppins-v5-latin-200.woff10.19 KB2018-11-46
poppins-v5-latin-200.woff27.67 KB2018-11-46
poppins-v5-latin-200italic.eot9.83 KB2018-11-46
poppins-v5-latin-200italic.svg57.55 KB2018-11-46
poppins-v5-latin-200italic.ttf16.99 KB2018-11-46
poppins-v5-latin-200italic.woff11.60 KB2018-11-46
poppins-v5-latin-200italic.woff28.85 KB2018-11-46

立即下载

相关下载

[公寓访客管理系统] 此项目是使用PHP和MySQL的公寓访客管理系统。公寓访客管理系统在AVMS中,我们使用PHP和Mysqli数据库。 该项目保留了访问公司的访客记录。AVMS具有一个模块,即admin。本人只展示了一小段代码,在预览区展示管理员登录页面、管理员控制台界面、新访客页面界面、管理访客页面;如想了解更详细请下载附件。

评论列表 共有 0 条评论

暂无评论

微信捐赠

微信扫一扫体验

立即
上传
发表
评论
返回
顶部