Diferencia entre revisiones de «Usuario:ManuelRomero/pruebas»
De WikiEducator
| Línea 1: | Línea 1: | ||
<source lang=php> | <source lang=php> | ||
| − | < | + | <!DOCTYPE html> |
| − | + | ||
| − | + | {*Plantilla para login. Es invocada desde login.php. solo visualiza el $error del php*} | |
| − | + | <html> | |
| − | $ | + | <head> |
| − | + | <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
| − | + | <title>Login Tienda Web con Plantillas</title> | |
| − | + | <link href="tienda.css" rel="stylesheet" type="text/css"> | |
| − | + | </head> | |
| − | + | <body> | |
| − | + | <div id='login'> | |
| − | + | <form action='login.php' method='post'> | |
| − | + | <fieldset > | |
| − | + | <legend>Login</legend> | |
| − | + | <div><span class='error'>{$error}</span></div> | |
| + | <div class='campo'> | ||
| + | <label for='usuario' >Usuario:</label><br/> | ||
| + | <input type='text' name='usuario' id='usuario' maxlength="50" /><br/> | ||
| + | </div> | ||
| + | <div class='campo'> | ||
| + | <label for='password' >Contraseña:</label><br/> | ||
| + | <input type='password' name='password' id='password' maxlength="50" /><br/> | ||
| + | </div> | ||
| − | + | <div class='campo'> | |
| − | + | <input type='submit' name='enviar' value='Enviar' /> | |
| − | + | </div> | |
| − | + | </fieldset> | |
| − | + | </form> | |
| − | + | </div> | |
| − | + | </body> | |
| − | + | </html> | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | / | + | |
| − | + | ||
| − | + | ||
</source> | </source> | ||
Revisión de 13:34 11 ene 2015
<!DOCTYPE html> {*Plantilla para login. Es invocada desde login.php. solo visualiza el $error del php*} <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Login Tienda Web con Plantillas</title> <link href="tienda.css" rel="stylesheet" type="text/css"> </head> <body> <div id='login'> <form action='login.php' method='post'> <fieldset > <legend>Login</legend> <div><span class='error'>{$error}</span></div> <div class='campo'> <label for='usuario' >Usuario:</label><br/> <input type='text' name='usuario' id='usuario' maxlength="50" /><br/> </div> <div class='campo'> <label for='password' >Contraseña:</label><br/> <input type='password' name='password' id='password' maxlength="50" /><br/> </div> <div class='campo'> <input type='submit' name='enviar' value='Enviar' /> </div> </fieldset> </form> </div> </body> </html>