File "usuario.php"
Full path: /var/www/html/recibos/usuario.php
File size: 3.43 KiB (3511 bytes)
MIME-type: text/x-php
Charset: utf-8
<?php
include "cabecera.php";
?>
<style>
.cabecera {
padding: 10px;
}
.cabecera img {
height: 25px;
float: right;
margin-top: 8px;
margin-right: 7px;
}
.formulario {
margin-top: 5px;
background-color: #007bff;
padding: 20px;
color: white;
border-radius: 5px;
}
.modal-body label{
font-weight: bold;
/*
#datos {
font-size:1px;
}
*/
}
</style>
<div class="container-fluid">
<div class="row cabecera">
<div class="col-lg-12">
<h2>Bienvenido/a:
<a href="login.php?logout=0"><img src="img/cerrar2.png" alt="Cerrar sesión"></a>
<a href="javascript:void(0)"><img src="img/pass.png" alt="Cambiar contraseña" data-toggle="modal" data-target="#exampleModal"></a>
</h2>
</div>
<div class="col-xl-12">
<h3><?php echo $_SESSION["nombre"]; ?> </h3>
</div>
</div>
<div class="row datos">
<div class="col-md-12">
<form class="formulario" action="">
<h4>Buscar recibo de nómina:</h4>
<h4>Año:</h4><input type="text" name="anio" class="form-control" id="anio">
<h4>Quincena:</h4><input type="text" name="quincena" class="form-control" id="quincena">
<input type="hidden" name="" id="rfc" value="<?php echo $_SESSION['usuario']?>">
<br>
<!--
<input type="submit" value="Buscar" class="btn btn-success">
<input type="submit" value="Cancelar" class="btn btn-danger">
-->
</form>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div id="datos" class="col-md-12 col-xs-12 col-12"></div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Cambio de contraseña</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form action="">
<label for="actual">Contraseña actual</label>
<input type="password" name="" id="actual" class="form-control input-sm">
<label for="nuevo">Nueva contraseña</label>
<input type="password" name="" id="nuevo" class="form-control input-sm">
<label for="confirma">Confirmación de contraseña</label>
<input type="password" name="" id="confirma" class="form-control input-sm">
<input type="hidden" name="" id="pass_sesion" value="<?php echo $_SESSION['pass'];?>">
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal" id="cambia_pass">Guardar</button>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="js/main.js"></script>