员工离职管理系统(ELMS)

此项目是员工离职管理系统(ELMS)。这个管理系统分为两个模块:员工模块和管理模块。安装步骤(配置):1.在本地系统上下载并解压缩文件。2.复制elms文件夹并将此文件放在根目录中(对于xampp是htdocs,对于wamp是www,对于lamp是var / www /)。3.数据库配置。本人只展示一小段代码,如想了解更详细请下载附件。

预览截图

应用介绍

此项目是员工离职管理系统(ELMS)。这个管理系统分为两个模块:员工模块和管理模块。管理模块详细信息:管理员可以添加/更新/删除休假类型和部门、管理员可以添加员工,也可以更新员工信息, 也可以主动或阻止员工、管理员还可以管理请假申请(批准和不批准)、每当员工申请休假时,管理员都会收到通知、管理员可以在登录后更改自己的密码、管理员还可以查看管理控制台。员工模块:员工可以使用有效的电子邮件和密码登录、更新他/她的个人资料、申请请假、查看请假记录、更改他/她的密码、使用有效的电子邮件ID和Empid进行密码恢复。安装步骤(配置):1.在本地系统上下载并解压缩文件。2.复制elms文件夹并将此文件放在根目录中(对于xampp是htdocs,对于wamp是www,对于lamp是var / www /)。3.数据库配置。本人只展示一小段代码,如想了解更详细请下载附件。

<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(isset($_POST['signin']))
{
$uname=$_POST['username'];
$password=md5($_POST['password']);
$sql ="SELECT EmailId,Password,Status,id FROM tblemployees WHERE EmailId=:uname and Password=:password";
$query= $dbh -> prepare($sql);
$query-> bindParam(':uname', $uname, PDO::PARAM_STR);
$query-> bindParam(':password', $password, PDO::PARAM_STR);
$query-> execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
{
 foreach ($results as $result) {
    $status=$result->Status;
    $_SESSION['eid']=$result->id;
  } 
if($status==0)
{
$msg="Your account is Inactive. Please contact admin";
} else{
$_SESSION['emplogin']=$_POST['username'];
echo "<script type='text/javascript'> document.location = 'emp-changepassword.php'; </script>";
} }
else{
  
  echo "<script>alert('Invalid Details');</script>";
}
}
?><!DOCTYPE html>
<html lang="en">
    <head>
        
        <!-- Title -->
        <title>ELMS | Home Page</title>
        
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
        <meta charset="UTF-8">
        <meta name="description" content="Responsive Admin Dashboard Template" />
        <meta name="keywords" content="admin,dashboard" />
        <meta name="author" content="Steelcoders" />
        
        <!-- Styles -->
        <link type="text/css" rel="stylesheet" href="assets/plugins/materialize/css/materialize.min.css"/>
             <link href="assets/css/materialdesign.css" rel="stylesheet">
        <link href="assets/plugins/material-preloader/css/materialPreloader.min.css" rel="stylesheet">        
         
        <!-- Theme Styles -->
        <link href="assets/css/alpha.min.css" rel="stylesheet" type="text/css"/>
        <link href="assets/css/custom.css" rel="stylesheet" type="text/css"/>
        
        
        <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
        <script src="http://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
        <script src="http://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
        <![endif]-->
        
    </head>
    <body>
        <div class="loader-bg"></div>
        <div class="loader">
            <div class="preloader-wrapper big active">
                <div class="spinner-layer spinner-blue">
                    <div class="circle-clipper left">
                        <div class="circle"></div>
                    </div><div class="gap-patch">
                    <div class="circle"></div>
                    </div><div class="circle-clipper right">
                    <div class="circle"></div>
                    </div>
                </div>
                <div class="spinner-layer spinner-spinner-teal lighten-1">
                    <div class="circle-clipper left">
                        <div class="circle"></div>
                    </div><div class="gap-patch">
                    <div class="circle"></div>
                    </div><div class="circle-clipper right">
                    <div class="circle"></div>
                    </div>
                </div>
                <div class="spinner-layer spinner-yellow">
                    <div class="circle-clipper left">
                        <div class="circle"></div>
                    </div><div class="gap-patch">
                    <div class="circle"></div>
                    </div><div class="circle-clipper right">
                    <div class="circle"></div>
                    </div>
                </div>
                <div class="spinner-layer spinner-green">
                    <div class="circle-clipper left">
                        <div class="circle"></div>
                    </div><div class="gap-patch">
                    <div class="circle"></div>
                    </div><div class="circle-clipper right">
                    <div class="circle"></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="mn-content fixed-sidebar">
            <header class="mn-header navbar-fixed">
                <nav class="cyan darken-1">
                    <div class="nav-wrapper row">
                        <section class="material-design-hamburger navigation-toggle">
                            <a href="#" data-activates="slide-out" class="button-collapse show-on-large material-design-hamburger__icon">
                                <span class="material-design-hamburger__layer"></span>
                            </a>
                        </section>
                        <div class="header-title col s3">      
                            <span class="chapter-title">ELMS | Employee Leave Management System</span>
                        </div>
                      
                           
                        </form>
                     
                        
                    </div>
                </nav>
            </header>
           
           
            <aside id="slide-out" class="side-nav white fixed">
                <div class="side-nav-wrapper">
                   
                  
                <ul class="sidebar-menu collapsible collapsible-accordion" data-collapsible="accordion" style="">
                    <li>&nbsp;</li>
                    <li class="no-padding"><a class="waves-effect waves-grey" href="index.php"><i class="material-icons">account_box</i>Employe Login</a></li>
                    <li class="no-padding"><a class="waves-effect waves-grey" href="forgot-password.php"><i class="material-icons">account_box</i>Emp Password Recovery</a></li>
                
                       <li class="no-padding"><a class="waves-effect waves-grey" href="admin/"><i class="material-icons">account_box</i>Admin Login</a></li>
                
                </ul>
          <div class="footer">
                    <p class="copyright"><a href="http://phpgurukul.com/">ELMS </a>©</p>
                
                </div>
                </div>
            </aside>
            <main class="mn-inner">
                <div class="row">
                    <div class="col s12">
                        <div class="page-title"><h4>Welcome to Employee Leave Management System</h4></div>
                          <div class="col s12 m6 l8 offset-l2 offset-m3">
                              <div class="card white darken-1">
                                  <div class="card-content ">
                                      <span class="card-title" style="font-size:20px;">Employee Login</span>
                                         <?php if($msg){?><div class="errorWrap"><strong>Error</strong> : <?php echo htmlentities($msg); ?> </div><?php }?>
                                       <div class="row">
                                           <form class="col s12" name="signin" method="post">
                                               <div class="input-field col s12">
                                                   <input id="username" type="text" name="username" class="validate" autocomplete="off" required >
                                                   <label for="email">Email Id</label>
                                               </div>
                                               <div class="input-field col s12">
                                                   <input id="password" type="password" class="validate" name="password" autocomplete="off" required>
                                                   <label for="password">Password</label>
                                               </div>
                                               <div class="col s12 right-align m-t-sm">
                                                
                                                   <input type="submit" name="signin" value="Sign in" class="waves-effect waves-light btn teal">
                                               </div>
                                           </form>
                                      </div>
                                  </div>
                              </div>
                          </div>
                    </div>
                </div>
            </main>
            
        </div>
        <div class="left-sidebar-hover"></div>
        
        <!-- Javascripts -->
        <script src="assets/plugins/jquery/jquery-2.2.0.min.js"></script>
        <script src="assets/plugins/materialize/js/materialize.min.js"></script>
        <script src="assets/plugins/material-preloader/js/materialPreloader.min.js"></script>
        <script src="assets/plugins/jquery-blockui/jquery.blockui.js"></script>
        <script src="assets/js/alpha.min.js"></script>
        
    </body>
</html>

文件列表(部分)

名称 大小 修改日期
Employee Leave Management System0.00 KB2019-03-34
elms0.00 KB2019-03-54
admin0.00 KB2019-03-36
adddepartment.php5.34 KB2017-11-48
addemployee.php9.83 KB2017-11-00
addleavetype.php4.90 KB2017-11-16
approvedleave-history.php6.50 KB2017-12-30
changepassword.php4.98 KB2017-11-54
check_availability.php1.25 KB2017-11-08
dashboard.php8.84 KB2017-12-02
editdepartment.php5.83 KB2017-11-36
editemployee.php9.11 KB2017-11-30
editleavetype.php5.30 KB2017-11-14
includes0.00 KB2019-03-36
config.php0.38 KB2017-10-46
header.php5.25 KB2017-12-08
sidebar.php4.08 KB2019-03-30
index.php4.26 KB2017-12-00
leave-details.php10.18 KB2017-12-58
leaves.php6.38 KB2017-12-06
logout.php0.37 KB2017-12-12
managedepartments.php5.58 KB2017-11-04
manageemployee.php7.14 KB2017-11-38
manageleavetype.php5.45 KB2017-11-30
notapproved-leaves.php6.51 KB2017-12-12
pending-leavehistory.php6.50 KB2017-12-22
apply-leave.php6.50 KB2018-10-22
assets0.00 KB2019-03-36
css0.00 KB2019-03-36
alpha.css80.42 KB2016-08-22
alpha.min.css58.49 KB2016-08-02
custom.css0.03 KB2016-08-20

立即下载

相关下载

[员工离职管理系统(ELMS)] 此项目是员工离职管理系统(ELMS)。这个管理系统分为两个模块:员工模块和管理模块。安装步骤(配置):1.在本地系统上下载并解压缩文件。2.复制elms文件夹并将此文件放在根目录中(对于xampp是htdocs,对于wamp是www,对于lamp是var / www /)。3.数据库配置。本人只展示一小段代码,如想了解更详细请下载附件。

评论列表 共有 0 条评论

暂无评论

微信捐赠

微信扫一扫体验

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