Server IP : 108.163.255.210 / Your IP : 18.191.118.36 Web Server : Apache System : Linux blossom.urlnameserver.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64 User : ( 1172) PHP Version : 7.2.34 Disable Function : eval,escapeshellarg,proc_close,proc_get_status,proc_nice,proc_open,symlink,system,pcntl_exec,getrusage,chown,chgp,closelog,openlog,syslog,define_syslog_variables,php_ini_loaded_file,getservbyname,getservbyport,posix_getgid,posix_getgrgid,proc_terminate,pfsockopen,apache_child_terminate,posix_mkfifo,posix_setpgid,posix_setuid,hypot,pg_host,pos,posix_access,posix_getcwd,posix_getservbyname,myshellexec,getpid,posix_getsid,posix_isatty,posix_kill,posix_mknod,posix_setgid,posix_setsid,posix_setuid,posix_times,posix_uname,ps_fill,posix_getpwuid,global,ini_restore,zip_open,zip_read,rar_open,bzopen,bzread,bzwrite,apache_get_modules,apache_get_version,phpversionphpinfo,php_ini_scanned_files,get_current_user,disk_total_space,diskfreespace,leak,imap_list,hypo,filedump,safe_mode,getmygid,apache_getenv,apache_setenv,bzread,bzwrite,bzopen,phpini,higlight_file,dos_conv,get_cwd,er_log,cmd,e_name,vdir,get_dir,only_read,ftok,ftpexec,posix_getpwnam,mysql_list_dbs,disk_free_space,session_save_path,confirm_phpdoc_compiled,zip_entry_rea,php_u,psockopen,crack_opendict,crack_getlastmessage,crack_closedict,crack_check,fpassthru,posix_get_last_error,posix_getlogin,posix_getgroups,posix_strerror,posix_getrlimit,posix_getpgrp,posix_getgrnam,pos,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/unilinki/public_html/payroll/admin/ |
Upload File : |
<?php error_reporting(0); session_start(); if(isset($_POST['continue'])) { include ("../include/db.php"); if($_POST['password']==$_POST['password1']) { $query=mysql_query("update employee set password='".$_POST['password']."' , login_counter='1' where (`pf`='".$_SESSION['id']."' || `id`='".$_SESSION['id']."')"); $select=mysql_query("select login_counter from employee where (`pf`='".$_SESSION['id']."' || `id`='".$_SESSION['id']."')"); $s=mysql_fetch_array($select); $_SESSION['login_counter']=$s['login_counter']; header("location:dashboard.php"); } } ?> <?php if($_SESSION['admin_email']=="" && $_SESSION['id']=="") { header("location:../index.php"); } ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Concord Logistics | Change Password</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <!-- Bootstrap 3.3.5 --> <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css"> <!-- Font Awesome --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> <!-- Ionicons --> <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css"> <!-- Theme style --> <link rel="stylesheet" href="dist/css/AdminLTE.min.css"> <!-- iCheck --> <link rel="stylesheet" href="plugins/iCheck/square/blue.css"> <link rel="stylesheet" href="dist/css/jquery.validation.css"> <!-- HTML5 Shim and Respond.js 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="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body class="hold-transition login-page"> <div class="login-box"><center><b>WELCOME, <?php echo $_SESSION['first_name']; ?></b></center> <div class="login-logo"> <a href="index.html">Change your Password.</a> </div><!-- /.login-logo --> <div class="login-box-body"> <p class="login-box-msg"><?php if($_REQUEST['message']=='invalidpassword'){?> <div class="redtext">Opps! Wrong Password. Please try again</div> <?php }elseif($_REQUEST['message']=='norecord'){?> <div class="redtext">Opps! Wrong Username/Password. Please try again</div> <?php }?></p> <form name="form-signup_v1" method="post" action="" class="form-horizontal validation-form-container"> <div class="form-group has-feedback"> <input type="password" class="form-control" placeholder="Password" name="password" data-validation="[NOTEMPTY]" data-validation-message="Password must not be empty"> <span class="fa fa-key form-control-feedback"></span> </div> <div class="form-group has-feedback"> <input type="password" class="form-control" placeholder="Re-type Password" name="password1" id="password" data-validation="[NOTEMPTY]" data-validation-message="Re-type above password"><span class="fa fa-key form-control-feedback"></span> </div> <div class="row"> <div class="col-xs-8"> <div class="checkbox icheck"> </div> </div><!-- /.col --> <div class="col-xs-4"> <input type="submit" name="continue" value="Continue" class="btn btn-primary btn-block btn-flat"> <input type="hidden" name="login" value="login"> </div><!-- /.col --> </div> </form> <!-- <div class="social-auth-links text-center"> <p>- OR -</p> <a href="#" class="btn btn-block btn-social btn-facebook btn-flat"><i class="fa fa-facebook"></i> Sign in using Facebook</a> <a href="#" class="btn btn-block btn-social btn-google btn-flat"><i class="fa fa-google-plus"></i> Sign in using Google+</a> </div>/.social-auth-links --> <!-- <a href="register.html" class="text-center">Register a new membership</a>--> </div><!-- /.login-box-body --> </div><!-- /.login-box --> <!-- jQuery 2.1.4 --> <script src="plugins/jQuery/jQuery-2.1.4.min.js"></script> <!-- Bootstrap 3.3.5 --> <script src="bootstrap/js/bootstrap.min.js"></script> <!-- iCheck --> <script src="plugins/iCheck/icheck.min.js"></script> <script> $(function () { $('input').iCheck({ checkboxClass: 'icheckbox_square-blue', radioClass: 'iradio_square-blue', increaseArea: '20%' // optional }); }); </script> <script language="javascript" type="text/javascript" src="dist/js/jquery.validation.js"></script> <script language="javascript" type="text/javascript" src="jquery.validation.js"></script> <script type="text/javascript" src="dist/js/function.js"></script> <script type="text/javascript"> jQuery(document).ready(function(){ //newly added jQuery('#smtdonor').click(function() { var emailVal = jQuery('#useremail').val(); // assuming this is a input text field jQuery.post('checkemail.php', {'useremail' : emailVal}, function(data) { //alert(data); if(data=='exist'){ //alert("Email Id Already Exist."); return false; }else{ //jQuery('#formID').submit(); } }); });}); jQuery(document).ready(function(){ //newly added jQuery('#smtrecepient').click(function() { var emailVal = jQuery('#useremail').val(); // assuming this is a input text field jQuery.post('checkemail1.php', {'useremail' : emailVal}, function(data) { //alert(data); if(data=='exist'){ //alert("Email Id Already Exist."); return false; }else{ //jQuery('#formID').submit(); } }); });}); $('#form-signup_v1').validate({ submit: { settings: { inputContainer: '.field' }, callback: { onBeforeSubmit: function (node) { myBeforeSubmitFunction(':D', ':)', node); $('#form-signup_v1').submit(); } } }, debug: false }); function myBeforeSubmitFunction(a, b, node) { console.log(a, b); $(node).find('input:not([type="submit"]), select, textarea').attr('readonly', 'true'); $(node).append('<div class="ui active loader"></div>'); } </script> </body> </html>