Esempio n. 1
0
                                                        </div>
                                                        <div class="form-group">
                                                            <label>Email</label>
                                                            <input class="form-control" name="email" type="email">
                                                        </div> 
                                                </div><!--Fin de acceso general-->
                                                
                                                <div id="accesoCliente" class="col-lg-6">
                                                    
                                                    <div class="form-group">

                                                        <label >Localidad</label>
                                                        <select name="localidad" class="form-control" disabled>
                                                            <?php 
        include_once "funcionSQL.php";
        $link = abriendoConexionSQL();
        $datosLocalidad = consultaDatos("SELECT * FROM localidad;");
        while ($line = mysql_fetch_array($datosLocalidad)) {
            echo "<option value=" . $line['id'] . ">" . $line['nombre'] . "</option>";
        }
        ?>
                                                        </select>
                                                    </div>
                                                    
                                                    <div class="form-group">
                                                        <label >Dirección</label>
                                                        <input type="text" class="form-control" name="direccion" disabled />
                                                    </div>

                                                    <div class="form-group">
                                                        <label >Latitud:</label>
Esempio n. 2
0
<?php 
session_start();
if (isset($_SESSION["log"])) {
    if ($_SESSION["perfil"] == "1") {
        include_once "funcionSQL.php";
        abriendoConexionSQL();
        $id = $_SESSION["id"];
        $consulta = consultaDatos("SELECT estado FROM usuario WHERE id='{$id}';");
        $estado = mysql_result($consulta, '0');
        if ($estado == '1') {
            ?>
<!DOCTYPE html>
<html class="no-js">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Cliente- </title>
    <meta name="description" content="">
    <meta name="HandheldFriendly" content="True">
    <meta name="MobileOptimized" content="320">
    <meta http-equiv="cleartype" content="on">

    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="img/touch/apple-touch-icon-144x144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="img/touch/apple-touch-icon-114x114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="img/touch/apple-touch-icon-72x72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="img/touch/apple-touch-icon-57x57-precomposed.png">
    <link rel="shortcut icon" sizes="196x196" href="img/touch/touch-icon-196x196.png">
    <link rel="shortcut icon" href="img/touch/apple-touch-icon.png">
    <link href="lightbox/css/lightbox.css" rel="stylesheet" />

     <!-- Tile icon for Win8 (144x144 + tile color) -->