├── admin ├── index.php ├── qrimage │ ├── qrcode1572272668.png │ ├── qrcode1573490880.png │ ├── qrcode1573970792.png │ ├── qrcode1573970995.png │ ├── qrcode1574191051.png │ ├── qrcode1574193111.png │ ├── qrcode1574330616.png │ ├── qrcode1574330739.png │ ├── qrcode1574331133.png │ ├── qrcode1574348814.png │ ├── qrcode1574349023.png │ ├── qrcode1574412960.png │ ├── qrcode1574413504.png │ ├── qrcode1574414049.png │ ├── qrcode1574414347.png │ ├── qrcode1574416653.png │ ├── qrcode1574424528.png │ ├── qrcode1574430531.png │ ├── qrcode1574430618.png │ ├── qrcode1574431309.png │ ├── qrcode1574705392.png │ ├── qrcode1574705506.png │ ├── qrcode1574712045.png │ ├── qrcode1574743724.png │ ├── qrcode1574749013.png │ ├── qrcode1574749315.png │ ├── qrcode1574750228.png │ ├── qrcode1574750297.png │ ├── qrcode1574772575.png │ ├── qrcode1574919441.png │ ├── qrcode1575954127.png │ ├── qrcode1579190471.png │ ├── qrcode1579584397.png │ ├── qrcode1579589719.png │ └── qrcode1573970979.png ├── connect.php ├── qr.php ├── register.php ├── admin_home.php ├── emp_details.php ├── details.php ├── updatedept.php ├── department.php ├── report.php ├── generateid.php ├── updateemp.php └── reg_employee.php ├── index.php ├── supervisor ├── index.php ├── qrimage │ ├── qrcode1572272668.png │ ├── qrcode1573490880.png │ ├── qrcode1573970792.png │ ├── qrcode1573970995.png │ ├── qrcode1574410460.png │ ├── qrcode1574414766.png │ ├── qrcode1574415829.png │ ├── qrcode1574415943.png │ ├── qrcode1574416512.png │ ├── qrcode1574416780.png │ ├── qrcode1574422809.png │ ├── qrcode1574422962.png │ ├── qrcode1574422966.png │ ├── qrcode1574424869.png │ ├── qrcode1574583107.png │ ├── qrcode1574690848.png │ ├── qrcode1574691588.png │ ├── qrcode1574750587.png │ ├── qrcode1574750724.png │ ├── qrcode1574824442.png │ ├── qrcode1574412982.jpg.png │ ├── qrcode1574412991.jpg.png │ ├── qrcode1574413406.jpg.png │ ├── qrcode1574413825.jpg.png │ ├── qrcode1574413923.jpg.png │ ├── qrcode1574413929.jpg.png │ └── qrcode1573970979.png ├── connect.php ├── qr.php ├── register.php ├── supervisor_home.php ├── emp_details.php ├── details.php ├── report.php ├── generateid.php ├── updateemp.php └── reg_employee.php ├── audio └── scan.mp3 ├── emp_photo ├── dot.jpg └── Screenshot (9).png ├── logout.php ├── qrimage └── img │ ├── qrcode1542185204.png │ ├── qrcode1542185695.png │ ├── qrcode1542188843.png │ ├── qrcode1542273715.png │ ├── qrcode1542552967.png │ ├── qrcode1543323659.png │ ├── qrcode1544692835.png │ └── qrcode1544698675.png ├── Menu Design and Database design.pdf ├── connect.php ├── forget.php ├── attendance.php ├── js ├── camera.js ├── visibility.min.js ├── FileSaver.min.js ├── store.min.js ├── qr.js ├── clipboard.min.js ├── app.js └── scanner.js ├── validatingemail.php ├── resetpass.php ├── changepassword.php ├── verify.php ├── login.php ├── scancode.php ├── style.css ├── scans.php ├── README.md ├── report.php └── processing.php /admin/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /supervisor/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /audio/scan.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/audio/scan.mp3 -------------------------------------------------------------------------------- /emp_photo/dot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/emp_photo/dot.jpg -------------------------------------------------------------------------------- /logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /emp_photo/Screenshot (9).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/emp_photo/Screenshot (9).png -------------------------------------------------------------------------------- /qrimage/img/qrcode1542185204.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/qrimage/img/qrcode1542185204.png -------------------------------------------------------------------------------- /qrimage/img/qrcode1542185695.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/qrimage/img/qrcode1542185695.png -------------------------------------------------------------------------------- /qrimage/img/qrcode1542188843.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/qrimage/img/qrcode1542188843.png -------------------------------------------------------------------------------- /qrimage/img/qrcode1542273715.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/qrimage/img/qrcode1542273715.png -------------------------------------------------------------------------------- /qrimage/img/qrcode1542552967.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/qrimage/img/qrcode1542552967.png -------------------------------------------------------------------------------- /qrimage/img/qrcode1543323659.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/qrimage/img/qrcode1543323659.png -------------------------------------------------------------------------------- /qrimage/img/qrcode1544692835.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/qrimage/img/qrcode1544692835.png -------------------------------------------------------------------------------- /qrimage/img/qrcode1544698675.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/qrimage/img/qrcode1544698675.png -------------------------------------------------------------------------------- /Menu Design and Database design.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/Menu Design and Database design.pdf -------------------------------------------------------------------------------- /admin/qrimage/qrcode1572272668.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1572272668.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1573490880.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1573490880.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1573970792.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1573970792.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1573970995.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1573970995.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574191051.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574191051.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574193111.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574193111.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574330616.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574330616.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574330739.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574330739.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574331133.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574331133.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574348814.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574348814.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574349023.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574349023.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574412960.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574412960.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574413504.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574413504.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574414049.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574414049.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574414347.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574414347.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574416653.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574416653.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574424528.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574424528.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574430531.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574430531.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574430618.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574430618.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574431309.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574431309.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574705392.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574705392.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574705506.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574705506.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574712045.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574712045.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574743724.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574743724.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574749013.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574749013.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574749315.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574749315.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574750228.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574750228.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574750297.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574750297.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574772575.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574772575.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1574919441.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1574919441.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1575954127.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1575954127.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1579190471.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1579190471.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1579584397.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1579584397.png -------------------------------------------------------------------------------- /admin/qrimage/qrcode1579589719.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/admin/qrimage/qrcode1579589719.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1572272668.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1572272668.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1573490880.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1573490880.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1573970792.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1573970792.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1573970995.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1573970995.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574410460.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574410460.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574414766.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574414766.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574415829.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574415829.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574415943.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574415943.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574416512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574416512.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574416780.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574416780.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574422809.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574422809.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574422962.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574422962.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574422966.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574422966.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574424869.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574424869.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574583107.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574583107.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574690848.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574690848.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574691588.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574691588.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574750587.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574750587.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574750724.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574750724.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574824442.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574824442.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574412982.jpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574412982.jpg.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574412991.jpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574412991.jpg.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574413406.jpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574413406.jpg.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574413825.jpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574413825.jpg.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574413923.jpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574413923.jpg.png -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1574413929.jpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xdiad47/QR_Employee_Attendance_System/HEAD/supervisor/qrimage/qrcode1574413929.jpg.png -------------------------------------------------------------------------------- /admin/connect.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /connect.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /supervisor/connect.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /forget.php: -------------------------------------------------------------------------------- 1 |
502. That’s an error. 11 |
The server encountered a temporary error and could not complete your request.
Please try again in 30 seconds. That’s all we know. 12 | -------------------------------------------------------------------------------- /supervisor/qrimage/qrcode1573970979.png: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
502. That’s an error. 11 |
The server encountered a temporary error and could not complete your request.
Please try again in 30 seconds. That’s all we know. 12 | -------------------------------------------------------------------------------- /validatingemail.php: -------------------------------------------------------------------------------- 1 | 2 | email=$a; 11 | $sql="SELECT * from super_admin WHERE email_id='$this->email'"; 12 | $res = mysqli_query($conn, $sql); 13 | $row=mysqli_num_rows($res); 14 | if($row == 1){ 15 | $r = mysqli_fetch_assoc($res); 16 | $otp=rand(0000,9999); 17 | $to = $r['email_id']; 18 | $_SESSION['email']=$to; 19 | $id = $r['admin_id']; 20 | $subject = "Password Recovery"; 21 | $message = "Please use this OTP to Verify " ."[".$otp."]"; 22 | $update = "UPDATE super_admin SET otp = '$otp' where admin_id=$id"; 23 | if(mysqli_query($conn, $update)){ 24 | if(mail($to, $subject, $message)){ 25 | ?> 29 | email=$a; 34 | $sql="SELECT * from employee_info WHERE emp_email='$this->email'"; 35 | $res = mysqli_query($conn, $sql); 36 | $row=mysqli_num_rows($res); 37 | if($row == 1){ 38 | $r = mysqli_fetch_assoc($res); 39 | $otp=rand(0000,9999); 40 | $to = $r['emp_email']; 41 | $id= $r['emp_id']; 42 | $_SESSION['email']=$to; 43 | $subject = "Password Recovery"; 44 | $message = "Please use this OTP to Verify " ."[".$otp."]"; 45 | $update = "UPDATE employee_info SET otp = '$otp' where emp_id=$id"; 46 | if(mysqli_query($conn, $update)){ 47 | if(mail($to, $subject, $message)){ 48 | ?> 52 | Please enter correct email
"; 60 | } 61 | else{ 62 | $re= new forget(); 63 | $re->getAdmin($email); 64 | $re->getUsers($email); 65 | 66 | } 67 | 68 | ?> 69 | -------------------------------------------------------------------------------- /js/visibility.min.js: -------------------------------------------------------------------------------- 1 | !function(e){"use strict";var i=-1,t={onVisible:function(e){var i=t.isSupported();if(!i||!t.hidden())return e(),i;var n=t.change(function(i,r){t.hidden()||(t.unbind(n),e())});return n},change:function(e){if(!t.isSupported())return!1;i+=1;var n=i;return t._callbacks[n]=e,t._listen(),n},unbind:function(e){delete t._callbacks[e]},afterPrerendering:function(e){var i=t.isSupported(),n="prerender";if(!i||n!=t.state())return e(),i;var r=t.change(function(i,d){n!=d&&(t.unbind(r),e())});return r},hidden:function(){return!(!t._doc.hidden&&!t._doc.webkitHidden)},state:function(){return t._doc.visibilityState||t._doc.webkitVisibilityState||"visible"},isSupported:function(){return!(!t._doc.visibilityState&&!t._doc.webkitVisibilityState)},_doc:document||{},_callbacks:{},_change:function(e){var i=t.state();for(var n in t._callbacks)t._callbacks[n].call(t._doc,e,i)},_listen:function(){if(!t._init){var e="visibilitychange";t._doc.webkitVisibilityState&&(e="webkit"+e);var i=function(){t._change.apply(t,arguments)};t._doc.addEventListener?t._doc.addEventListener(e,i):t._doc.attachEvent(e,i),t._init=!0}}};"undefined"!=typeof module&&module.exports?module.exports=t:e.Visibility=t}(this),function(e){"use strict";var i=-1,t=function(t){return t.every=function(e,n,r){t._time(),r||(r=n,n=null),i+=1;var d=i;return t._timers[d]={visible:e,hidden:n,callback:r},t._run(d,!1),t.isSupported()&&t._listen(),d},t.stop=function(e){return t._timers[e]?(t._stop(e),delete t._timers[e],!0):!1},t._timers={},t._time=function(){t._timed||(t._timed=!0,t._wasHidden=t.hidden(),t.change(function(){t._stopRun(),t._wasHidden=t.hidden()}))},t._run=function(i,n){var r,d=t._timers[i];if(t.hidden()){if(null===d.hidden)return;r=d.hidden}else r=d.visible;var a=function(){d.last=new Date,d.callback.call(e)};if(n){var o=new Date,c=o-d.last;r>c?d.delay=setTimeout(function(){a(),d.id=setInterval(a,r)},r-c):(a(),d.id=setInterval(a,r))}else d.id=setInterval(a,r)},t._stop=function(e){var i=t._timers[e];clearInterval(i.id),clearTimeout(i.delay),delete i.id,delete i.delay},t._stopRun=function(e){var i=t.hidden(),n=t._wasHidden;if(i&&!n||!i&&n)for(var r in t._timers)t._stop(r),t._run(r,!i)},t};"undefined"!=typeof module&&module.exports?module.exports=t(require("./visibility.core")):t(e.Visibility)}(window); -------------------------------------------------------------------------------- /admin/register.php: -------------------------------------------------------------------------------- 1 | Please Select Department"; 5 | } 6 | $desig=$_POST['desig']; 7 | if(empty($desig)){ 8 | echo "Please Select Designation
"; 9 | } 10 | $name=$_POST['name']; 11 | if(!preg_match("/^[a-zA-Z ]*$/",$name)){ 12 | echo "Name should contain only alphabet
"; 13 | } 14 | $phone=$_POST['phone']; 15 | if(!preg_match("/^[0-9]*$/",$phone)){ 16 | echo "Enter Valid Phone number
"; 17 | } 18 | $gen=$_POST['gen']; 19 | if(empty($gen)){ 20 | echo "Please Select gender
"; 21 | } 22 | $email=$_POST['email']; 23 | if(!preg_match("/^[0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/",$email)){ 24 | echo "Please enter correct email
"; 25 | } 26 | $pass=md5($_POST['pass']); 27 | if(empty($pass)){ 28 | echo "Please Enter Password
"; 29 | } 30 | $salary=$_POST['salary']; 31 | if(!preg_match("/^[0-9]*$/",$salary)){ 32 | echo "Enter Salary in number
"; 33 | } 34 | $image_extension = array("png","jpg","jpeg","PNG","JPG","JPEG"); 35 | $validate_photo = pathinfo($_FILES["photo"]["name"], PATHINFO_EXTENSION); 36 | $photo = $_FILES['photo']['name']; 37 | $target = "../emp_photo/"; 38 | $fileTarget = $target.$photo; 39 | $tempFileName = $_FILES["photo"]["tmp_name"]; 40 | if ($_FILES["photo"]["size"] > 2097152) { 41 | echo ""; 42 | return; 43 | } 44 | else if (! in_array($validate_photo, $image_extension)) { 45 | 46 | echo ""; 47 | return; 48 | } 49 | else{ 50 | $result = move_uploaded_file($tempFileName,$fileTarget); 51 | $sql = "INSERT INTO employee_info(dept_id,designation_id,emp_name,emp_gender,emp_phone,emp_email,emp_password,emp_photo,emp_salary) VALUES ($dept,$desig,'$name','$gender',$phone,'$email','$pass','$fileTarget',$salary)"; 52 | $query=mysqli_query($conn,$sql); 53 | if(!$query){ 54 | echo "Error in Addding Department
"; 55 | } 56 | else{ 57 | echo ""; 58 | } 59 | } 60 | ?> -------------------------------------------------------------------------------- /resetpass.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |Re-Set Password
24 | 25 | 44 | 45 |Please Select Designation
"; 9 | } 10 | $name=$_POST['name']; 11 | if(!preg_match("/^[a-zA-Z ]*$/",$name)){ 12 | echo "Name should contain only alphabet
"; 13 | } 14 | $phone=$_POST['phone']; 15 | if(!preg_match("/^[0-9]*$/",$phone)){ 16 | echo "Enter Valid Phone number
"; 17 | } 18 | $gen=$_POST['gen']; 19 | if(empty($gen)){ 20 | echo "Please Select gender
"; 21 | } 22 | $email=$_POST['email']; 23 | if(!preg_match("/^[0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/",$email)){ 24 | echo "Please enter correct email
"; 25 | } 26 | $pass=md5($_POST['pass']); 27 | if(empty($pass)){ 28 | echo "Please Enter Password
"; 29 | } 30 | $salary=$_POST['salary']; 31 | if(!preg_match("/^[0-9]*$/",$salary)){ 32 | echo "Enter Salary in number
"; 33 | } 34 | $image_extension = array("png","jpg","jpeg","PNG","JPG","JPEG"); 35 | $validate_photo = pathinfo($_FILES["photo"]["name"], PATHINFO_EXTENSION); 36 | $photo = $_FILES['photo']['name']; 37 | $target = "../emp_photo/"; 38 | $fileTarget = $target.$photo; 39 | $tempFileName = $_FILES["photo"]["tmp_name"]; 40 | if ($_FILES["photo"]["size"] > 2097152) { 41 | echo ""; 42 | return; 43 | } 44 | else if (! in_array($validate_photo, $image_extension)) { 45 | 46 | echo ""; 47 | return; 48 | } 49 | else{ 50 | $result = move_uploaded_file($tempFileName,$fileTarget); 51 | $sql = "INSERT INTO employee_info(dept_id,designation_id,emp_name,emp_gender,emp_phone,emp_email,emp_password,emp_photo,emp_salary) VALUES ($dept,$desig,'$name','$gender',$phone,'$email','$pass','$fileTarget',$salary)"; 52 | $query=mysqli_query($conn,$sql); 53 | if(!$query){ 54 | echo "Error in Addding Department
"; 55 | } 56 | else{ 57 | echo ""; 58 | } 59 | } 60 | ?> -------------------------------------------------------------------------------- /js/FileSaver.min.js: -------------------------------------------------------------------------------- 1 | /*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */ 2 | var saveAs=saveAs||function(e){"use strict";if(typeof e==="undefined"||typeof navigator!=="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent)){return}var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),o="download"in r,i=function(e){var t=new MouseEvent("click");e.dispatchEvent(t)},a=/constructor/i.test(e.HTMLElement),f=/CriOS\/[\d]+/.test(navigator.userAgent),u=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},d="application/octet-stream",s=1e3*40,c=function(e){var t=function(){if(typeof e==="string"){n().revokeObjectURL(e)}else{e.remove()}};setTimeout(t,s)},l=function(e,t,n){t=[].concat(t);var r=t.length;while(r--){var o=e["on"+t[r]];if(typeof o==="function"){try{o.call(e,n||e)}catch(i){u(i)}}}},p=function(e){if(/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)){return new Blob([String.fromCharCode(65279),e],{type:e.type})}return e},v=function(t,u,s){if(!s){t=p(t)}var v=this,w=t.type,m=w===d,y,h=function(){l(v,"writestart progress write writeend".split(" "))},S=function(){if((f||m&&a)&&e.FileReader){var r=new FileReader;r.onloadend=function(){var t=f?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");var n=e.open(t,"_blank");if(!n)e.location.href=t;t=undefined;v.readyState=v.DONE;h()};r.readAsDataURL(t);v.readyState=v.INIT;return}if(!y){y=n().createObjectURL(t)}if(m){e.location.href=y}else{var o=e.open(y,"_blank");if(!o){e.location.href=y}}v.readyState=v.DONE;h();c(y)};v.readyState=v.INIT;if(o){y=n().createObjectURL(t);setTimeout(function(){r.href=y;r.download=u;i(r);h();c(y);v.readyState=v.DONE});return}S()},w=v.prototype,m=function(e,t,n){return new v(e,t||e.name||"download",n)};if(typeof navigator!=="undefined"&&navigator.msSaveOrOpenBlob){return function(e,t,n){t=t||e.name||"download";if(!n){e=p(e)}return navigator.msSaveOrOpenBlob(e,t)}}w.abort=function(){};w.readyState=w.INIT=0;w.WRITING=1;w.DONE=2;w.error=w.onwritestart=w.onprogress=w.onwrite=w.onabort=w.onerror=w.onwriteend=null;return m}(typeof self!=="undefined"&&self||typeof window!=="undefined"&&window||this.content);if(typeof module!=="undefined"&&module.exports){module.exports.saveAs=saveAs}else if(typeof define!=="undefined"&&define!==null&&define.amd!==null){define([],function(){return saveAs})} -------------------------------------------------------------------------------- /changepassword.php: -------------------------------------------------------------------------------- 1 | email=$a; 11 | $this->pass=$b; 12 | $this->otp=$c; 13 | $updates = "UPDATE super_admin SET password = '$this->pass', otp=$this->otp where email_id='$this->email' "; 14 | $passwords=mysqli_query($conn, $updates); 15 | if($passwords){ 16 | ?> 17 | 21 | 25 | 29 | email=$a; 37 | $this->pass=$b; 38 | $this->otp=$c; 39 | $update = "UPDATE employee_info SET emp_password = '$this->pass', otp=$this->otp where emp_email='$this->email' "; 40 | $password=mysqli_query($conn, $update); 41 | if($password){ 42 | 43 | ?> 44 | 48 | 52 | 56 | Password Did not Match "; 71 | } 72 | else { 73 | $re->getAdmin($email,$pass,$otp); 74 | $re->getUsers($email,$pass,$otp); 75 | 76 | } 77 | ?> -------------------------------------------------------------------------------- /js/store.min.js: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2010-2016 Marcus Westin */ 2 | (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.store = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;oEnter OTP that has send to your mail
24 | 25 | 94 | 95 |32 | email=$a; 45 | $this->pass=$b; 46 | $sql="SELECT * FROM super_admin WHERE email_id='$this->email' and password='$this->pass'"; 47 | $loginquery=mysqli_query($conn, $sql); 48 | $checkuser=mysqli_num_rows($loginquery); 49 | if($checkuser==1){ 50 | $_SESSION['email']=$this->email; 51 | header("Location:admin/index.php"); 52 | } 53 | else{ 54 | ?> 55 | 56 | email=$a; 63 | $this->pass=$b; 64 | $this->des_id=$c; 65 | $sql="SELECT * from employee_info WHERE emp_email='$this->email' and emp_password='$this->pass' and designation_id=$this->des_id"; 66 | $loginquery=mysqli_query($conn, $sql); 67 | $checkuser=mysqli_num_rows($loginquery); 68 | if($checkuser==1){ 69 | $_SESSION['staff']=$this->email; 70 | header("Location:supervisor/index.php"); 71 | } 72 | else{ 73 | ?> 74 | 75 | getAdmin($email,$pass); 86 | $re->getStaff($email,$pass,$des_id); 87 | 88 | } 89 | ?> 90 |
91 || 81 | | 82 | | 83 | | 90 |Update | 91 |Details | 92 |Generate ID | 93 |
| 79 | | 80 | | 81 | | 88 |Update | 89 |Details | 90 |Generate ID | 91 |
| Employee profile | 74 |Contact Information | 75 | 76 | 77 |
|---|---|
|
81 | 82 | 83 | |
84 | |
| Employee Name | 88 |Department | 89 |
| 92 | | 93 | 100 | | 101 |
| Gender | 104 |Designation | 105 |
| 108 | | 109 | 116 | | 117 |
| Sl.no | 91 |Department | 92 |Action | 93 ||
|---|---|---|---|
| 106 | | 107 | | 108 | | Update | 109 |
| Emp ID | 64 |Emp Name | 65 | 67 |68 | |
|---|---|---|
| Employee profile | 80 |Contact Information | 81 | 82 | 83 ||
|
87 | 88 | 89 | |
90 | ||
| Employee Name | 94 |Department | 95 ||
| 98 | | 99 | 106 | | 107 ||
| Gender | 110 |Designation | 111 ||
| 114 | | 115 | 122 | | 123 |
| 83 | | 90 | | 91 | 92 | | 93 |94 | | 95 | 96 | |
| 83 | | 90 | | 91 | 92 | | 93 |94 | | 95 | 96 | |
| 94 | | 101 | | 102 | 103 | | 104 |105 | | 106 | 107 | |
| No Attendance Found | 115 |||||
126 | Please Select Department
"; 131 | } 132 | $desig=$_POST['desig']; 133 | if(empty($desig)){ 134 | echo "Please Select Designation
"; 135 | } 136 | $phone=$_POST['phone']; 137 | if(!preg_match("/^[0-9]*$/",$phone)){ 138 | echo "Enter Valid Phone number
"; 139 | } 140 | $email=$_POST['email']; 141 | if(!preg_match("/^[0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/",$email)){ 142 | echo "Please enter correct email
"; 143 | } 144 | $salary=$_POST['salary']; 145 | if(!preg_match("/^[0-9]*$/",$salary)){ 146 | echo "Enter Salary in number
"; 147 | } 148 | else{ 149 | 150 | $sql = "UPDATE employee_info SET dept_id='$dept',designation_id='$desig',emp_phone='$phone',emp_email='$email',emp_salary='$salary' Where emp_id=$emp_id"; 151 | $query=mysqli_query($conn,$sql); 152 | if(!$query){ 153 | echo ""; 154 | } 155 | else{ 156 | echo ""; 157 | } 158 | } 159 | } 160 | ?> 161 | 162 | 165 | 166 |125 | Please Select Department
"; 130 | } 131 | $desig=$_POST['desig']; 132 | if(empty($desig)){ 133 | echo "Please Select Designation
"; 134 | } 135 | $phone=$_POST['phone']; 136 | if(!preg_match("/^[0-9]*$/",$phone)){ 137 | echo "Enter Valid Phone number
"; 138 | } 139 | $email=$_POST['email']; 140 | if(!preg_match("/^[0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/",$email)){ 141 | echo "Please enter correct email
"; 142 | } 143 | $salary=$_POST['salary']; 144 | if(!preg_match("/^[0-9]*$/",$salary)){ 145 | echo "Enter Salary in number
"; 146 | } 147 | else{ 148 | 149 | $sql = "UPDATE employee_info SET dept_id='$dept',designation_id='$desig',emp_phone='$phone',emp_email='$email',emp_salary='$salary' Where emp_id=$emp_id"; 150 | $query=mysqli_query($conn,$sql); 151 | if(!$query){ 152 | echo ""; 153 | } 154 | else{ 155 | echo ""; 156 | } 157 | } 158 | } 159 | ?> 160 | 161 | 164 | 165 |145 | Please Select Department
"; 150 | } 151 | $desig=$_POST['desig']; 152 | if(empty($desig)){ 153 | echo "Please Select Designation
"; 154 | } 155 | $name=$_POST['name']; 156 | if(!preg_match("/^[a-zA-Z ]*$/",$name)){ 157 | echo "Name should contain only alphabet
"; 158 | } 159 | $phone=$_POST['phone']; 160 | if(!preg_match("/^[0-9]*$/",$phone)){ 161 | echo "Enter Valid Phone number
"; 162 | } 163 | $gen=$_POST['gender']; 164 | if(empty($gen)){ 165 | echo "Please Select gender
"; 166 | } 167 | $email=$_POST['email']; 168 | if(!preg_match("/^[0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/",$email)){ 169 | echo "Please enter correct email
"; 170 | } 171 | $pass=md5($_POST['pass']); 172 | if(empty($pass)){ 173 | echo "Please Enter Password
"; 174 | } 175 | $salary=$_POST['salary']; 176 | if(!preg_match("/^[0-9]*$/",$salary)){ 177 | echo "Enter Salary in number
"; 178 | } 179 | $image_extension = array("png","jpg","jpeg","PNG","JPG","JPEG"); 180 | $validate_photo = pathinfo($_FILES["photo"]["name"], PATHINFO_EXTENSION); 181 | $photo = $_FILES['photo']['name']; 182 | $target = "../emp_photo/"; 183 | $fileTarget = $target.$photo; 184 | $tempFileName = $_FILES["photo"]["tmp_name"]; 185 | if ($_FILES["photo"]["size"] > 2097152) { 186 | echo ""; 187 | return; 188 | } 189 | else if (! in_array($validate_photo, $image_extension)) { 190 | 191 | echo ""; 192 | return; 193 | } 194 | else{ 195 | $result = move_uploaded_file($tempFileName,$fileTarget); 196 | $sql = "INSERT INTO employee_info(dept_id,designation_id,emp_name,emp_gender,emp_phone,emp_email,emp_password,emp_photo,emp_salary) VALUES ($dept,$desig,'$name','$gen',$phone,'$email','$pass','$fileTarget',$salary)"; 197 | $query=mysqli_query($conn,$sql); 198 | if(!$query){ 199 | echo ""; 200 | } 201 | else{ 202 | echo ""; 203 | } 204 | } 205 | } 206 | ?> 207 | 208 | 211 | 212 |153 | Please Select Department
"; 158 | } 159 | $desig=$_POST['desig']; 160 | if(empty($desig)){ 161 | echo "Please Select Designation
"; 162 | } 163 | $name=$_POST['name']; 164 | if(!preg_match("/^[a-zA-Z ]*$/",$name)){ 165 | echo "Name should contain only alphabet
"; 166 | } 167 | $phone=$_POST['phone']; 168 | if(!preg_match("/^[0-9]*$/",$phone)){ 169 | echo "Enter Valid Phone number
"; 170 | } 171 | $gen=$_POST['gender']; 172 | if(empty($gen)){ 173 | echo "Please Select gender
"; 174 | } 175 | $email=$_POST['email']; 176 | if(!preg_match("/^[0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/",$email)){ 177 | echo "Please enter correct email
"; 178 | } 179 | $pass=md5($_POST['pass']); 180 | if(empty($pass)){ 181 | echo "Please Enter Password
"; 182 | } 183 | $salary=$_POST['salary']; 184 | if(!preg_match("/^[0-9]*$/",$salary)){ 185 | echo "Enter Salary in number
"; 186 | } 187 | $image_extension = array("png","jpg","jpeg","PNG","JPG","JPEG"); 188 | $validate_photo = pathinfo($_FILES["photo"]["name"], PATHINFO_EXTENSION); 189 | $photo = $_FILES['photo']['name']; 190 | $target = "../emp_photo/"; 191 | $fileTarget = $target.$photo; 192 | $tempFileName = $_FILES["photo"]["tmp_name"]; 193 | if ($_FILES["photo"]["size"] > 2097152) { 194 | echo ""; 195 | return; 196 | } 197 | else if (! in_array($validate_photo, $image_extension)) { 198 | 199 | echo ""; 200 | return; 201 | } 202 | else{ 203 | $result = move_uploaded_file($tempFileName,$fileTarget); 204 | $sql = "INSERT INTO employee_info(dept_id,designation_id,emp_name,emp_gender,emp_phone,emp_email,emp_password,emp_photo,emp_salary) VALUES ($dept,$desig,'$name','$gen',$phone,'$email','$pass','$fileTarget',$salary)"; 205 | $query=mysqli_query($conn,$sql); 206 | if(!$query){ 207 | echo ""; 208 | } 209 | else{ 210 | echo ""; 211 | } 212 | } 213 | } 214 | ?> 215 | 216 | 219 | 220 |