员工离职管理系统(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> </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>
©版权声明:本文内容由互联网用户自发贡献,版权归原创作者所有,本站不拥有所有权,也不承担相关法律责任。如果您发现本站中有涉嫌抄袭的内容,欢迎发送邮件至: www_apollocode_net@163.com 进行举报,并提供相关证据,一经查实,本站将立刻删除涉嫌侵权内容。
转载请注明出处: apollocode » 员工离职管理系统(ELMS)
文件列表(部分)
名称 | 大小 | 修改日期 |
---|---|---|
Employee Leave Management System | 0.00 KB | 2019-03-34 |
elms | 0.00 KB | 2019-03-54 |
admin | 0.00 KB | 2019-03-36 |
adddepartment.php | 5.34 KB | 2017-11-48 |
addemployee.php | 9.83 KB | 2017-11-00 |
addleavetype.php | 4.90 KB | 2017-11-16 |
approvedleave-history.php | 6.50 KB | 2017-12-30 |
changepassword.php | 4.98 KB | 2017-11-54 |
check_availability.php | 1.25 KB | 2017-11-08 |
dashboard.php | 8.84 KB | 2017-12-02 |
editdepartment.php | 5.83 KB | 2017-11-36 |
editemployee.php | 9.11 KB | 2017-11-30 |
editleavetype.php | 5.30 KB | 2017-11-14 |
includes | 0.00 KB | 2019-03-36 |
config.php | 0.38 KB | 2017-10-46 |
header.php | 5.25 KB | 2017-12-08 |
sidebar.php | 4.08 KB | 2019-03-30 |
index.php | 4.26 KB | 2017-12-00 |
leave-details.php | 10.18 KB | 2017-12-58 |
leaves.php | 6.38 KB | 2017-12-06 |
logout.php | 0.37 KB | 2017-12-12 |
managedepartments.php | 5.58 KB | 2017-11-04 |
manageemployee.php | 7.14 KB | 2017-11-38 |
manageleavetype.php | 5.45 KB | 2017-11-30 |
notapproved-leaves.php | 6.51 KB | 2017-12-12 |
pending-leavehistory.php | 6.50 KB | 2017-12-22 |
apply-leave.php | 6.50 KB | 2018-10-22 |
assets | 0.00 KB | 2019-03-36 |
css | 0.00 KB | 2019-03-36 |
alpha.css | 80.42 KB | 2016-08-22 |
alpha.min.css | 58.49 KB | 2016-08-02 |
custom.css | 0.03 KB | 2016-08-20 |
发表评论 取消回复