网吧管理系统

此项目是使用PHP和MySQL的网吧管理系统。在网吧管理系统中,我们使用PHP和Mysql数据库。 该项目保留了网吧日常用户的记录。 网吧管理系统具有一个模块,即admin。在仪表板部分中,管理员可以简要查看计算机的总数以及网吧中的用户总数。在计算机部分中,管理员可以管理计算机。在用户部分中,管理员可以添加新用户,更新主题,价格和备注以及查看旧用户的详细信息。详情请下载附件。

预览截图

应用介绍

此项目是使用PHP和MySQL的网吧管理系统。在网吧管理系统中,我们使用PHP和Mysql数据库。 该项目保留了网吧日常用户的记录。 网吧管理系统具有一个模块,即admin。在仪表板部分中,管理员可以简要查看计算机的总数以及网吧中的用户总数。在计算机部分中,管理员可以管理计算机(添加/更新)。在用户部分中,管理员可以添加新用户,更新主题,价格和备注以及查看旧用户的详细信息。在搜索部分中,管理员可以根据条目ID搜索用户。在报告部分中,管理员可以查看特定时期进入网吧的用户数量。管理员可以恢复他/她的密码(注意:在本项目中使用了MD5加密方法)。从下面几点运行网吧管理系统(CCMS)项目:1.下载压缩文件。2.解压缩文件并复制ccms文件夹。3.粘贴到根目录中(对于xampp xampp / htdocs,wamp wamp / www,lamp var / www / html)。4.打开PHPMyAdmin(http:// localhost / phpmyadmin)。5.创建一个名称为ccmsdb的数据库。6.导入ccmsdb.sql文件(在SQL文件夹的zip包中提供)。7.运行脚本http:// localhost / ccms(frontend)。本人只展示了一小段代码,在预览区也展示了主页界面、仪表板界面;如想了解的更多请下载附件。

<?php
session_start();
error_reporting(0);
include('includes/dbconnection.php');
if (strlen($_SESSION['ccmsaid']==0)) {
  header('location:logout.php');
  } else{
    if(isset($_POST['submit']))
  {
$cmsaid=$_SESSION['ccmsaid'];
 $username=$_POST['username'];
$uadd=$_POST['uadd'];
$mobilenumber=$_POST['mobilenumber'];
$email=$_POST['email'];
$cname=$_POST['cname'];
$idproof=$_POST['idproof'];
$entryid=mt_rand(100000000, 999999999);
 $query=mysqli_query($con,"insert into tblusers(EntryID,UserName,UserAddress,MobileNumber,Email,ComputerName,IDProof) value('$entryid','$username','$uadd','$mobilenumber','$email','$cname','$idproof')");
    if ($query) {
echo '<script>alert("User Detail has been added.")</script>';
echo "<script>window.location.href ='add-users.php'</script>";
  }
  else
    {
 echo '<script>alert("Something Went Wrong. Please try again.")</script>';       
    }
  
}
?>
<!doctype html>
<html class="no-js" lang="en">
<head>
    
    <title>CCMS User Details</title>
    
    <link rel="apple-touch-icon" href="apple-icon.png">
  

    <link rel="stylesheet" href="vendors/bootstrap/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="vendors/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="vendors/themify-icons/css/themify-icons.css">
    <link rel="stylesheet" href="vendors/flag-icon-css/css/flag-icon.min.css">
    <link rel="stylesheet" href="vendors/selectFX/css/cs-skin-elastic.css">
    <link rel="stylesheet" href="assets/css/style.css">
    <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800' rel='stylesheet' type='text/css'>

</head>
<body>
    <!-- Left Panel -->
    <?php include_once('includes/sidebar.php');?>
    <div id="right-panel" class="right-panel">
        <!-- Header-->
        <?php include_once('includes/header.php');?>
        <div class="breadcrumbs">
            <div class="col-sm-4">
                <div class="page-header float-left">
                    <div class="page-title">
                        <h1>User Detail</h1>
                    </div>
                </div>
            </div>
            <div class="col-sm-8">
                <div class="page-header float-right">
                    <div class="page-title">
                        <ol class="breadcrumb text-right">
                            <li><a href="dashboard.php">Dashboard</a></li>
                            <li><a href="add-users.php">User Detail</a></li>
                            <li class="active">Add</li>
                        </ol>
                    </div>
                </div>
            </div>
        </div>
        <div class="content mt-3">
            <div class="animated fadeIn">

                <div class="row">
                    <div class="col-lg-6">
                       <!-- .card -->
                    </div>
                    <!--/.col-->
                    <div class="col-lg-12">
                        <div class="card">
                            <div class="card-header"><strong>User</strong><small> Details</small></div>
                            <form name="computer" method="post" action="">
                                <p style="font-size:16px; color:red" align="center"> <?php if($msg){
    echo $msg;
  }  ?> </p>
                            <div class="card-body card-block">
 
                                <div class="form-group"><label for="company" class=" form-control-label">User Name</label><input type="text" name="username" value="" class="form-control" id="username" required="true"></div>
                                                                          
                                        <div class="form-group"><label for="street" class=" form-control-label">User Address</label><textarea type="text" name="uadd" value="" id="uadd" class="form-control" required="true"></textarea></div>
                                            <div class="row form-group">
                                                <div class="col-12">
                                                    <div class="form-group"><label for="city" class=" form-control-label">Mobile Number</label><input type="text" name="mobilenumber" id="mobilenumber" value="" class="form-control" required="true" maxlength="10" pattern="[0-9]+"></div>
                                                    </div>
                                                    <div class="col-12">
                                                    <div class="form-group"><label for="city" class=" form-control-label">Email</label><input type="email" name="email" id="email" value="" class="form-control" required="true"></div>
                                                    </div>
                                                    <div class="col-12">
                                                    <div class="form-group"><label for="city" class=" form-control-label">Computer Name</label><select type="text" name="cname" id="cname" value="" class="form-control" required="true">
                                                    <option value="">Choose Computer</option>
                                <?php $query=mysqli_query($con,"select * from  tblcomputers");
              while($row=mysqli_fetch_array($query))
              {
              ?>    
              <option value="<?php echo $row['ComputerName'];?>"><?php echo $row['ComputerName'];?></option>
                  <?php } ?>  
                                                    </select></div>
                                                    </div>
                                                    <div class="col-12">
                                                    <div class="form-group"><label for="city" class=" form-control-label">ID Proof</label><input type="text" name="idproof" id="idproof" value="" class="form-control" required="true"></div>
                                                    </div>
                                                
                                                    </div>
                                                    
                                                    </div>
                                                    
                                                     <div class="card-footer">
                                                       <p style="text-align: center;"><button type="submit" class="btn btn-primary btn-sm" name="submit" id="submit">
                                                            <i class="fa fa-dot-circle-o"></i>  Add
                                                        </button></p>
                                                        
                                                    </div>
                                                </div>
                                                </form>
                                            </div>

                                           
                                            </div>
                                        </div><!-- .animated -->
                                    </div><!-- .content -->
                                </div><!-- /#right-panel -->
                                <!-- Right Panel -->

                            <script src="vendors/jquery/dist/jquery.min.js"></script>
                            <script src="vendors/popper.js/dist/umd/popper.min.js"></script>
                            <script src="vendors/jquery-validation/dist/jquery.validate.min.js"></script>
                            <script src="vendors/jquery-validation-unobtrusive/dist/jquery.validate.unobtrusive.min.js"></script>
                            <script src="vendors/bootstrap/dist/js/bootstrap.min.js"></script>
                            <script src="assets/js/main.js"></script>
</body>
</html>
<?php }  ?>

文件列表(部分)

名称 大小 修改日期
Cyber Cafe Management System Project0.00 KB2019-08-26
ccms0.00 KB2019-08-30
add-computer.php6.09 KB2019-08-56
add-users.php7.88 KB2019-08-22
adminprofile.php6.59 KB2019-08-44
all-users.php4.24 KB2019-05-04
assets0.00 KB2019-08-30
css0.00 KB2019-08-30
style.css134.14 KB2018-11-18
style.css.map63.52 KB2018-11-18
js0.00 KB2019-08-30
dashboard.js3.28 KB2018-11-18
index.html0.00 KB2018-11-18
init-scripts0.00 KB2019-08-30
chart-js0.00 KB2019-08-30
chartjs-init.js12.55 KB2018-11-18
data-table0.00 KB2019-08-30
datatables-init.js1.00 KB2018-11-18
flot-chart0.00 KB2019-08-30
curvedLines.js15.96 KB2018-11-18
flot-chart-init.js8.93 KB2018-11-18
flot-tooltip0.00 KB2019-08-30
jquery.flot.tooltip.min.js8.66 KB2018-11-18
gmap0.00 KB2019-08-30
gmap.init.js5.13 KB2018-11-18
peitychart0.00 KB2019-08-30
peitychart.init.js2.12 KB2018-11-18
vector-map0.00 KB2019-08-30
vector.init.js5.95 KB2018-11-18
main.js0.87 KB2018-11-18
widgets.js6.09 KB2018-11-18
scss0.00 KB2019-08-30

立即下载

相关下载

[网吧管理系统]  此项目是使用PHP和MySQL的网吧管理系统。在网吧管理系统中,我们使用PHP和Mysql数据库。 该项目保留了网吧日常用户的记录。 网吧管理系统具有一个模块,即admin。在仪表板部分中,管理员可以简要查看计算机的总数以及网吧中的用户总数。在计算机部分中,管理员可以管理计算机。在用户部分中,管理员可以添加新用户,更新主题,价格和备注以及查看旧用户的详细信息。详情请下载附件。

评论列表 共有 0 条评论

暂无评论

微信捐赠

微信扫一扫体验

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