index

mail@pastecode.io avatar
unknown
html
a year ago
2.4 kB
0
Indexable
Never
<html lang="es">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- Metadatos -->
    <meta name="description" content="Capacitaciones Empresariales Miau.">
    <meta name="robots" content="index"/>
    <title>MiauCem</title>
    <!-- BOOTSTRAP -->
     <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
  </head>


  <body class="d-flex h-100 text-center text-bg-success">
    <?php 
	include("conexion.php");
	$sql="SELECT nombre FROM empresa";
	$rs=odbc_exec($conexion,$sql);
    ?>
    
    <div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
      <header class="mb-auto">
        <div>
          <h3 class="float-md-start mb-0 text-white">MiauCem</h3>
          <nav class="nav nav-masthead justify-content-center float-md-end">
          </nav>
        </div>
      </header>
    
      <main class="px-3">
        <!-- S:FORMULARIO -->
        <form action="procesa.php" method="post">
          <!-- UP -->
          <img class="mb-4" src="imagenes/logoGato.png" alt="" width="150" height="100">
          <h1 class="h3 mb-3 fw-normal text-white">Consulta de personal capacitado</h1>
          <h2 class="h3 mb-3 fw-normal text-white">Insertar nombre de la empresa:</h2>
	  <div class="form-floating mb-3">
            <select class="form-select" id="empresa" name="empresa" aria-label="size 5 select example">
		<?php
			while(odbc_fetch_row($rs)){
		?>
		<option><?php echo odbc_result($rs,"nombre")?></option>
		<?php
			}
		?>
            </select>
            <label for="empresa">Empresa</label>
          </div>     
	      <?php
		odbc_close_all();
	      ?>     
          <button class="w-100 btn btn-lg btn-warning" type="submit">Buscar</button>
        </form>
        <!-- E:FORMULARIO -->
      </main>

      <footer class="py-3 my-4 text-bg-dark">
        <p class="text-center text-white">© 2022 MiauCem, Inc. All rights reserved.</p>
      </footer>
    </div>

    <!-- Script B5 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.min.js" integrity="sha384-IDwe1+LCz02ROU9k972gdyvl+AESN10+x7tBKgc9I5HFtuNz0wWnPclzo6p9vxnk" crossorigin="anonymous"></script>
  </body>
  
    
</html>