公司访客管理系统
此项目是使用PHP和MySQL的公司访客管理系统。按照下面几点操作运行公司访客管理系统项目:1.下载压缩文件。2.解压缩文件并复制cvms文件夹。3.粘贴到根目录中。4.打开PHPMyAdmin。5.创建一个名称为cvmsdb的数据库。6.导入cvmsdb.sql文件。7.运行脚本http:// localhost / cvms。本人在预览区展示了管理员登录页面、管理员控制台、新访客进入页面、访客详细信息页面;如想了解更详细请下载附件。
预览截图
应用介绍
此项目是使用PHP和MySQL的公司访客管理系统。使用的网络浏览器:Mozilla,谷歌浏览器,IE8,OPERA。使用的数据库:MySQL。用户界面设计:HTML,AJAX,JQUERY,JAVASCRIPT。按照下面几点操作运行公司访客管理系统(CVMS)项目:1.下载压缩文件。2.解压缩文件并复制cvms文件夹。3.粘贴到根目录中(对于xampp xampp / htdocs,wamp wamp / www,lamp var / www / html)。4.打开PHPMyAdmin(http:// localhost / phpmyadmin)。5.创建一个名称为cvmsdb的数据库。6.导入cvmsdb.sql文件(在SQL文件夹的zip包中提供)。7.运行脚本http:// localhost / cvms(前端)。本人只展示了一小段代码,在预览区展示了管理员登录页面、管理员控制台、新访客进入页面、访客详细信息页面;如想了解更详细请下载附件。
<?php
session_start();
error_reporting(0);
include('includes/dbconnection.php');
if (strlen($_SESSION['cvmsaid']==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>CVMS</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-->
<?php include_once('includes/sidebar.php');?>
<!-- END HEADER MOBILE-->
<!-- MENU SIDEBAR-->
<!-- END MENU SIDEBAR-->
<!-- PAGE CONTAINER-->
<div class="page-container">
<!-- HEADER DESKTOP-->
<?php include_once('includes/header.php');?>
<!-- END HEADER DESKTOP-->
<!-- MAIN CONTENT-->
<div class="main-content">
<div class="section__content section__content--p30">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<div class="table-responsive table--no-card m-b-30">
<h4 class="m-t-0 header-title">Between Dates Reports</h4>
<?php
$fdate=$_POST['fromdate'];
$tdate=$_POST['todate'];
?>
<h5 align="center" style="color:blue">Report from <?php echo $fdate?> to <?php echo $tdate?></h5>
<hr />
<table class="table table-borderless table-striped table-earning">
<thead>
<tr>
<tr>
<th>S.NO</th>
<th>Full Name</th>
<th>Contact Number</th>
<th>Email</th>
<th>Action</th>
</tr>
</tr>
</thead>
<?php
$ret=mysqli_query($con,"select *from tblvisitor where date(EnterDate) between '$fdate' and '$tdate'");
$cnt=1;
while ($row=mysqli_fetch_array($ret)) {
?>
<tr>
<td><?php echo $cnt;?></td>
<td><?php echo $row['FullName'];?></td>
<td><?php echo $row['MobileNumber'];?></td>
<td><?php echo $row['Email'];?></td>
<td><a href="visitor-detail.php?editid=<?php echo $row['ID'];?>" title="View Full Details"><i class="fa fa-edit fa-1x"></i></a></td>
</tr>
<?php
$cnt=$cnt+1;
}?>
</table>
</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>
<?php } ?>
©版权声明:本文内容由互联网用户自发贡献,版权归原创作者所有,本站不拥有所有权,也不承担相关法律责任。如果您发现本站中有涉嫌抄袭的内容,欢迎发送邮件至: [email protected] 进行举报,并提供相关证据,一经查实,本站将立刻删除涉嫌侵权内容。
转载请注明出处: apollocode » 公司访客管理系统
文件列表(部分)
名称 | 大小 | 修改日期 |
---|---|---|
Company Visitors Management System Project | 0.00 KB | 2019-04-14 |
cvms | 0.00 KB | 2019-04-02 |
admin-profile.php | 9.41 KB | 2019-04-14 |
bwdates-reports-details.php | 5.57 KB | 2019-04-08 |
bwdates-reports.php | 6.55 KB | 2019-04-08 |
change-password.php | 8.34 KB | 2019-04-44 |
css | 0.00 KB | 2019-04-00 |
font-face.css | 13.89 KB | 2018-11-46 |
theme.css | 229.68 KB | 2018-11-46 |
dashboard.php | 8.23 KB | 2019-04-34 |
fonts | 0.00 KB | 2019-04-00 |
poppins | 0.00 KB | 2019-04-02 |
poppins-v5-latin-100.eot | 7.99 KB | 2018-11-46 |
poppins-v5-latin-100.svg | 51.81 KB | 2018-11-46 |
poppins-v5-latin-100.ttf | 15.60 KB | 2018-11-46 |
poppins-v5-latin-100.woff | 9.63 KB | 2018-11-46 |
poppins-v5-latin-100.woff2 | 7.26 KB | 2018-11-46 |
poppins-v5-latin-100italic.eot | 9.24 KB | 2018-11-46 |
poppins-v5-latin-100italic.svg | 57.40 KB | 2018-11-46 |
poppins-v5-latin-100italic.ttf | 16.98 KB | 2018-11-46 |
poppins-v5-latin-100italic.woff | 11.01 KB | 2018-11-46 |
poppins-v5-latin-100italic.woff2 | 8.29 KB | 2018-11-46 |
poppins-v5-latin-200.eot | 8.49 KB | 2018-11-46 |
poppins-v5-latin-200.svg | 51.62 KB | 2018-11-46 |
poppins-v5-latin-200.ttf | 15.51 KB | 2018-11-46 |
poppins-v5-latin-200.woff | 10.19 KB | 2018-11-46 |
poppins-v5-latin-200.woff2 | 7.67 KB | 2018-11-46 |
poppins-v5-latin-200italic.eot | 9.83 KB | 2018-11-46 |
poppins-v5-latin-200italic.svg | 57.55 KB | 2018-11-46 |
poppins-v5-latin-200italic.ttf | 16.99 KB | 2018-11-46 |
poppins-v5-latin-200italic.woff | 11.60 KB | 2018-11-46 |
poppins-v5-latin-200italic.woff2 | 8.85 KB | 2018-11-46 |
发表评论 取消回复