Newer
Older
ournorth2021 / views / cuenta.php
LuisOlaya on 8 Apr 2021 2 KB primer
<?php
	$query = mysqli_query($connect,"SELECT * FROM Asistentes WHERE id = '".$_SESSION['id_user']."' ");
	$data = mysqli_fetch_array($query);

?>

<div class="container" style="margin-top: 20px">

	<div class="row">
		<div class="col-md-12" align="left">
			
			<div class="card">
				<div class="card-header">
					Mis datos personales
				</div>
				<div class="card-body">
					
					<div class="row">
						<div class="col-md-6">
							<label>Nombres*</label>
							<input type="text" class="form-control form-control-sm inputs" name="nombre" required value="<?php echo $data["nombre"] ?>" disabled>
						</div>
                        
                        <div class="col-md-6">
							<label>Apellidos*</label>
							<input type="text" class="form-control form-control-sm inputs" name="apellidos" required value="<?php echo $data["apellidos"] ?>" disabled>
						</div>

						<div class="col-md-6">
							<label>Número de Documento / ID*</label>
							<input type="text" class="form-control form-control-sm inputs" name="cedula" value="<?php echo $data["cedula"] ?>" disabled>
						</div>

						<div class="col-md-6">
							<label>Pais*</label>
							<input type="text" class="form-control form-control-sm inputs" name="pais" required value="<?php echo $data["pais"] ?>" disabled>
						</div>
						
						

					</div>



						<div style="color: #000000; line-height: 18px; text-align: left; margin: 25px 0px;">

							<table width="100%" style="font-size: 12px;line-height: 14px;">
								<tr>
									<td width="50">
										<?php 
											if($data["tratamientos"] == ""){ 
												echo '<input type="checkbox" style="width: 30px; height: 30px" name="tratamientos" required disabled>';
											}
										   	else{
												echo '<input type="checkbox" style="width: 30px; height: 30px" name="tratamientos" required checked disabled>';
										   	}
										?>
									</td>
									<td>
										Acepto tratamiento de datos personales
									</td>
								</tr>
								
							</table>


						</div>
						
			
					
					
				</div>
			</div>
			
			
			<a href="<?php echo $url; ?>/app/controllers/close_sesion.php">
				<button type="submit" class="btn btn-primary btn-block btn_item_menu" style="margin-top: 15px">
					Cerrar Sesión
				</button>
			</a>

			
		</div>
		
	</div>
	
</div>
<script>
$( document ).ready(function() {
    $("#bt_ingreso").addClass("btn_item_menu_active"); 
});
</script>
<style>
	label{
		margin-top: 10px;
		color: #eb5a23;
	}
</style>