Server IP : 108.163.255.210 / Your IP : 3.135.184.124 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/www/Intellilead/users/ |
Upload File : |
<?php include('../template/header.php'); ?> <style> .demoInputBox{padding:7px; border:#F0F0F0 1px solid; border-radius:4px;} .status-available{color:#2FC332;} .status-not-available{color:#D60202;} </style> <script> function checkAvailability() { $("#loaderIcon").show(); jQuery.ajax({ url: "check_availability.php", data:'username='+$("#username").val(), type: "POST", success:function(data){ $("#user-availability-status").html(data); $("#loaderIcon").hide(); }, error:function (){} }); } function checkAvailabilityEmail(){ jQuery.ajax({ url: "check_availability.php", data:'email_id='+$("#email").val(), type: "POST", success:function(data){ $("#email-availability-status").html(data); }, error:function (){} }); } </script> <!-- page heading start--> <div class="panel box-shadow-none content-header"> <div class="panel-body"> <div class="col-md-12"> <h3 class="animated fadeInLeft">Manage Users</h3> <p class="animated fadeInDown"> Users <span class="fa-angle-right fa"></span>Manage Users </p> </div> </div> </div> <!-- page heading end--> <!--body wrapper start--> <div class="col-md-12"> <?php include('../template/response.php');?> <div class="col-md-12 panel"> <div class="col-md-12 panel-heading"> <h4></h4> </div> <form id="commentForm" method="post" enctype="multipart/form-data" action="add_user.php"> <div class="col-md-12 panel-body"> <div class="col-md-12"> <div class="col-md-6"> <?php if($_SESSION['user_type']<=1){ ?> <div class="form-group form-animate-text" style="margin-top:40px !important;"> <select class="form-text mask-name" name="" disabled> <?php for($i=$_SESSION['user_type']+1; $i< sizeof($userlist); $i++){ ?> <option value="<?php echo $_SESSION['user_type']+1; ?>" <?php ?>><?php echo $userlist[$i]; ?></option> <?php } ?> </select> <span class="bar"></span> <!--label>User Type</label--> </div> <input name="usertype" type="hidden" value="<?php echo $_SESSION['user_type']+1; ?>"/> <?php } ?> <div class="form-group form-animate-text" style="margin-top:40px !important;"> <input class="form-text mask-name noSpace" id="username" name="user" minlength="2" type="text" onBlur="checkAvailability()" value="" required/> <span class="bar"></span> <label>User Name</label> <span id="user-availability-status"></span> </div> <div class="form-group form-animate-text" style="margin-top:40px !important;"> <input class="form-text mask-name" id="cname" name="name" minlength="2" type="text" value="" required/> <span class="bar"></span> <label>Name</label> </div> <div class="form-group form-animate-text" style="margin-top:40px !important;"> <input class="form-text mask-name" id="email" type="email" name="email" onBlur="checkAvailabilityEmail()" value="" required /> <span class="bar"></span> <label>E-Mail Address</label> <span id="email-availability-status"></span> </div> </div> <div class="col-md-6"> <div class="form-group form-animate-text" style="margin-top:40px !important;"> <input class="form-text mask-name noSpace numeric" id="ccontact" type="text" name="contact" value="" required minlength="10" maxlength="10" oninvalid="setCustomValidity('Please insert 10 digit contact number')" /> <span class="bar"></span> <label>Contact Number</label> </div> <div class="form-group form-animate-text" style="margin-top:40px !important;"> <input class="form-text mask-name" id="cpassword" type="password" name="password" value="" required /> <span class="bar"></span> <label>Password</label> </div> <div class="form-group form-animate-text" style="margin-top:40px !important;"> <label for="exampleInputFile" class="control-label col-lg-2">Image</label> <div class="col-md-9"> <div class="fileupload fileupload-new" data-provides="fileupload"> <div class="fileupload-new thumbnail" style="max-width:100px;max-height:100px;"> <img src="../resources/user/no_image.jpg" alt="" /> </div> <div class="fileupload-preview fileupload-exists thumbnail" style="max-width: 200px; max-height: 150px; line-height: 20px;"></div> <div> <span class="btn btn-default btn-file"> <span class="fileupload-new"><i class="fa fa-paper-clip"></i> Select image</span> <span class="fileupload-exists"><i class="fa fa-undo"></i> Change</span> <input type="file" class="default" name="image" /> </span> <a href="#" class="btn btn-danger fileupload-exists" data-dismiss="fileupload"><i class="fa fa-trash"></i> Remove</a> </div> </div> </div> </div> </div> <div class="form-group hidden"> <label for="caction" class="control-label col-lg-2">Action</label> <div class="col-lg-5"> <?php for($i=1; $i<= sizeof($actionlist); $i++){ if(in_array($i, $action_menu)){?> <label class="checkbox-inline"><input type="checkbox" name="action[]" value="<?php echo $i;?>"><?php echo $actionlist[$i]; ?></label> <?php }} ?> </div> </div> <div class="form-group"> <div class="col-lg-offset-2 col-lg-10"> <button class="btn btn-primary" type="submit" name="adduser" value="submit">Submit</button> </div> </div> </div> </div> </form> </div> </div> <!--body wrapper end--> <!--file upload--> <script type="text/javascript" src="../style/js/bootstrap-fileupload.min.js"></script> <?php include('../template/footer.php');?>