公园票务管理系统项目(PTMS)

此项目是公园票务管理系统项目(PTMS)。在这个项目中,有一个模块,即:管理员。管理员有:1.控制板、2.管理门票、3.普通票、4.外国人票、5.搜索、6.报告。管理员还可以更新其个人资料,更改密码并恢复密码。本人只展示了一小段代码,在预览区展示了管理员登录界面、管理员控制台界面;如想了解更多请下载附件。

预览截图

应用介绍

此项目是公园票务管理系统项目(PTMS)。在这个项目中,有一个模块,即:管理员。管理员有:1.控制板:在此部分中,管理员可以查看今天和昨天生成了多少张外国人票。2.管理门票:在此部分中,管理员可以更新门票的价格和门票类型。3.普通票:管理员可以在此部分中添加成人人数和儿童人数的详细信息,并打印票务及其总费用。4.外国人票:管理员可以在此部分中添加成人人数和儿童人数的详细信息,并打印票务及其总费用。5.搜索:在此部分管理员中,可以按故障单ID搜索故障单。6.报告:在此部分中,管理员可以查看特定时间段内已生成多少票证。管理员还可以更新其个人资料,更改密码并恢复密码。按照下面几点操作运行公园票务管理系统项目(PTMS):1.下载压缩文件。2.解压缩文件并复制ptms文件夹。3.在根目录下粘贴(用于xampp xampp / htdocs,用于wamp wamp / www,用于灯var / www / html)。4.打开PHPMyAdmin(http:// localhost / phpmyadmin)。5.创建一个名称为ptmsdb的数据库。6.导入ptmsdb.sql文件(在SQL文件夹的zip包中提供)。7.运行脚本http:// localhost / ptmms。本人只展示了一小段代码,在预览区展示了管理员登录界面、管理员控制台界面;如想了解更多请下载附件。

<?php
session_start();
include('includes/dbconnection.php');
error_reporting(0);
if (strlen($_SESSION['ptmsaid']==0)) {
  header('location:logout.php');
  } else{
if(isset($_POST['submit']))
  {
    $noadult=$_POST['noadult'];
    $nochildren=$_POST['nochildren'];
    $aprice=$_POST['aprice'];
    $cprice=$_POST['cprice'];
    $ticketid=mt_rand(100000000, 999999999);
   
        $query=mysqli_query($con, "insert into  tblticforeigner(TicketID,NoAdult,NoChildren,AdultUnitprice,ChildUnitprice) value('$ticketid','$noadult','$nochildren','$aprice','$cprice')");
    if ($query) {
    
     echo '<script>alert("Ticket information has been added.")</script>';
  }
  else
    {
       echo '<script>alert("Something Went Wrong. Please try again.")</script>';
    }
  
}
  
  ?>
<!doctype html>
<html class="no-js" lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>Add Foreigner Ticket - Park Ticket Management System</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" type="image/png" href="assets/images/icon/favicon.ico">
    <link rel="stylesheet" href="assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="assets/css/font-awesome.min.css">
    <link rel="stylesheet" href="assets/css/themify-icons.css">
    <link rel="stylesheet" href="assets/css/metisMenu.css">
    <link rel="stylesheet" href="assets/css/owl.carousel.min.css">
    <link rel="stylesheet" href="assets/css/slicknav.min.css">
    <!-- amchart css -->
    <link rel="stylesheet" href="https://www.amcharts.com/lib/3/plugins/export/export.css" type="text/css" media="all" />
    <!-- others css -->
    <link rel="stylesheet" href="assets/css/typography.css">
    <link rel="stylesheet" href="assets/css/default-css.css">
    <link rel="stylesheet" href="assets/css/styles.css">
    <link rel="stylesheet" href="assets/css/responsive.css">
    <!-- modernizr css -->
    <script src="assets/js/vendor/modernizr-2.8.3.min.js"></script>
    
</head>
<body>
    
    <!-- page container area start -->
    <div class="page-container">
        <!-- sidebar menu area start -->
     <?php include_once('includes/sidebar.php');?>
        <!-- sidebar menu area end -->
        <!-- main content area start -->
        <div class="main-content">
            <!-- header area start -->
          <?php include_once('includes/header.php');?>
            <!-- header area end -->
            <!-- page title area start -->
           <?php include_once('includes/pagetitle.php');?>
            <!-- page title area end -->
            <div class="main-content-inner">
                <div class="row">
                    <div class="col-lg-6 col-ml-12">
                        <div class="row">
                            <!-- basic form start -->
                            <div class="col-12 mt-5">
                                <div class="card">
                                    <div class="card-body">
                                        <h4 class="header-title">Add Ticket</h4>

                                        <form method="post" action="" name="">
                                             <div class="form-group">
                                                <label for="exampleInputEmail1">Adult</label>
                                                <input type="text" class="form-control" id="noadult" name="noadult" aria-describedby="emailHelp" placeholder="No. of Adult" value="" required="true">
                                            </div>
                                         <div class="form-group">
                                                <label for="exampleInputEmail1">Children</label>
                                                <input type="text" class="form-control" id="nochildren" name="nochildren" aria-describedby="emailHelp" placeholder="No. of Childrens" value="" required="true">
                                                
                                            </div>
                                            <?php
$ret=mysqli_query($con,"select * from tbltickettype where TicketType='Foreigner Adult'");
$cnt=1;
while ($row=mysqli_fetch_array($ret)) {
?>
                                             <input type="hidden" name="aprice" value="<?php  echo $row['Price'];?>">
                                             <?php } ?>
                                             <?php
$ret=mysqli_query($con,"select * from tbltickettype where TicketType='Foreigner Child'");
$cnt=1;
while ($row=mysqli_fetch_array($ret)) {
?>
                                            <input type="hidden" name="cprice" value="<?php  echo $row['Price'];?>">
                                          
                                      <?php } ?>
                                            <button type="submit" class="btn btn-primary mt-4 pr-4 pl-4" name="submit">Submit</button>
                                        </form>
                                    </div>
                                </div>
                            </div>
                            <!-- basic form end -->
                         
                            
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- main content area end -->
        <!-- footer area start-->
        <?php include_once('includes/footer.php');?>
        <!-- footer area end-->
    </div>
    <!-- page container area end -->
    <!-- offset area start -->
    
    <!-- jquery latest version -->
    <script src="assets/js/vendor/jquery-2.2.4.min.js"></script>
    <!-- bootstrap 4 js -->
    <script src="assets/js/popper.min.js"></script>
    <script src="assets/js/bootstrap.min.js"></script>
    <script src="assets/js/owl.carousel.min.js"></script>
    <script src="assets/js/metisMenu.min.js"></script>
    <script src="assets/js/jquery.slimscroll.min.js"></script>
    <script src="assets/js/jquery.slicknav.min.js"></script>
    <!-- others plugins -->
    <script src="assets/js/plugins.js"></script>
    <script src="assets/js/scripts.js"></script>
</body>
</html>
<?php }  ?>

文件列表(部分)

名称 大小 修改日期
Park Ticketing Management System Project0.00 KB2019-12-04
ptms0.00 KB2019-12-20
add-foreigners-ticket.php6.23 KB2019-12-16
add-normal-ticket.php6.23 KB2019-12-12
assets0.00 KB2019-12-20
css0.00 KB2019-12-20
bootstrap.min.css141.48 KB2018-12-54
default-css.css5.70 KB2018-12-54
font-awesome.min.css28.38 KB2018-12-54
metisMenu.css3.05 KB2018-12-54
owl.carousel.min.css2.87 KB2018-12-54
responsive.css17.25 KB2018-12-54
slicknav.min.css2.45 KB2018-12-54
styles.css52.03 KB2018-12-54
themify-icons.css16.06 KB2018-12-54
typography.css2.05 KB2018-12-54
fonts0.00 KB2019-12-20
fontawesome-webfont.eot74.72 KB2018-12-54
fontawesome-webfont.svg382.44 KB2018-12-54
fontawesome-webfont.ttf149.21 KB2018-12-54
fontawesome-webfont.woff88.29 KB2018-12-54
fontawesome-webfont.woff270.21 KB2018-12-54
FontAwesome.otf122.06 KB2018-12-54
themify.eot76.90 KB2018-12-54
themify.svg228.78 KB2018-12-54
themify.ttf76.74 KB2018-12-54
themify.woff54.79 KB2018-12-54
images0.00 KB2019-12-20
author0.00 KB2019-12-20
author-img1.jpg0.77 KB2018-12-54
author-img2.jpg0.77 KB2018-12-54
author-img3.jpg0.77 KB2018-12-54

立即下载

相关下载

[公园票务管理系统项目(PTMS)] 此项目是公园票务管理系统项目(PTMS)。在这个项目中,有一个模块,即:管理员。管理员有:1.控制板、2.管理门票、3.普通票、4.外国人票、5.搜索、6.报告。管理员还可以更新其个人资料,更改密码并恢复密码。本人只展示了一小段代码,在预览区展示了管理员登录界面、管理员控制台界面;如想了解更多请下载附件。

评论列表 共有 0 条评论

暂无评论

微信捐赠

微信扫一扫体验

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