<!DOCTYPE html>
<html lang="en">
<?php include 'head.php'?>
    <link href="login/font-awesome/css/font-awesome.css" rel="stylesheet">
    <!-- Toastr style -->
    <link href="login/css/plugins/toastr/toastr.min.css" rel="stylesheet">
    <link href="login/acordeon.css" rel="stylesheet">
    <link href="login/css/animate.css" rel="stylesheet">
<body>
<?php $btns_active = ['','','is-selected','','',''] ;?>
<?php include 'header.php'?>
<!-- Home section-->
<section class="home-section" id="home">
	<div class="home-section__bg"></div>
	<div class="home-section__overlay">
		<div class="container">
			<header class="home-section__header sie_home_big">
				<p class="home-section__header-label"></p>
				<?php include 'titulo.php'?> 
			</header>
		</div>
	</div>
</section>

<section class="about-section sie_perfil_box" id="about">
	<div class="container">
		<div class="about-section__card sie_box1">
			<header class="about-section__card-header">
				<h2>Liquidacion Judicial</h2>
				<h4></h4>
			</header>

			<div class="about-section__card-info">
				<div class="row m-b-lg m-t-lg">
					<div class="col-md-12">
                	<div class="col-md-12">
                	</div>
<?php ?>
<?php
							include("login/conexion.php");
							//  consulta MySQL
							$query = 'SELECT id, name, description, caso, ruta, tipo, size FROM archivos';
							$result = mysqli_query($conexion, $query) or die('Consulta fallida: ' . mysqli_error($conexion));
							$queryz = 'SELECT id, name, description, caso, ruta, tipo, size FROM archivos';
							$resultz = mysqli_query($conexion, $query) or die('Consulta fallida: ' . mysqli_error($conexion));
						?>
                                        <div class="row">
                                                <div class="col-md-12">
                                                      <label>Caso</label><br>
                                                     <div class="col-md-12">
                                                      <select class="form-control m-b chosen-select" name="caso" id="caso">

                                        <option style="width: 220px; margin-right: 5px" value="">Seleccione</option>
                                                           <?php
                                         $queryc_port="SELECT `id`, `caso` FROM `archivos`";
                                        $resultadoc_port=$conexion->query($queryc_port);
                                        while ($rowc_port=$resultadoc_port->fetch_assoc()) {
                                           
                                       echo "<option  value='".$rowc_port['caso']."'>".$rowc_port['caso'] ."</option>";
                                     
                                        };
                                        ?>
                                    </select>

                                                    </div>
                                                </div>
                                                </div>
							
<!--							<?php while ($rowa = mysqli_fetch_array($result)){ ?>
							
<div class="qa">

  <input type="checkbox" id="qa0" />
  <label for="qa0"><?php echo $rowa['caso'] ?></label>
<div><a href="/paula/p1/login/subidas/<?php echo $rowa['ruta'] ?>" target="_blank">Descargar</a> <h3><?php echo $rowa['name'] ?></h3> <h4><?php echo $rowa['description'] ?></h4> <br><br> 
</div>
<?php } 
						?>
</div>-->
                	<!--<div class="col-md-12">
                		<?php
							include("login/conexion.php");
							//  consulta MySQL
							$query = 'SELECT id, name, description, ruta, tipo, size FROM archivos';

							$result = mysqli_query($conexion, $query) or die('Consulta fallida: ' . mysqli_error($conexion));

							?>
							<?php while ($rowa = mysqli_fetch_array($result)){ ?>
							<div class="profile-info col-md-12"><a href="/paula/p1/login/subidas/<?php echo $rowa['ruta'] ?>" target="_blank" style="text-align: left;float: left;padding-right: 5%;padding-top: 5%">Descargar</a> <h3><?php echo $rowa['name'] ?></h3> <h4><?php echo $rowa['description'] ?></h4> <br><br> 
							</div>
							<?php } 
						?>

			
						<br>
						
					</div>
					</div>-->
				</div>
			</div>
		</div>
	</div>
	</div>
</section>

	<br />
	<br />
	<br />
	<br />
	<br />

	<?php include 'footer.php' ?>

</body>
</html>