<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Datos Piloto</title> <link rel="stylesheet" type="text/css" href="../Common/view.css" media="all"> <script type="text/javascript" src="../Common/view.js"></script> <script language="JavaScript" src="../Common/gen_validatorv4.js" type="text/javascript" xml:space="preserve"></script> </head> <body id="main_body" > <?php if (isset($_REQUEST["Registro"])) { switch ($_REQUEST["Registro"]) { case "Registrarme": $res = InsertaBD(); break; case "Actualizar": $res = ModificaBD(); break; case "Borrarme": $res = BorrarBD(); break; case "Cancelar": $res = 0; break; } if ($res) { ?> <div id="form_container_ancho"> <?php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Alta Piloto</title> <link rel="stylesheet" type="text/css" href="../Common/view.css" media="all"> <script type="text/javascript" src="../Common/view.js"></script> <script language="JavaScript" src="../Common/gen_validatorv4.js" type="text/javascript" xml:space="preserve"></script> </head> <?php if (isset($_REQUEST["form_id"])) { OpenDB(); InsertaBD(); CloseDB(); if (!$ErrorSQL) { ?> <html> <body id="main_body" > <div id="form_container"> <?php Cabecera("Alta Piloto Correcta"); ?> <div class="FAMCentral"> <div class="form_description"> <br>   Pulse <a href="./index.php">inicio</a> para inscribirse en un concurso </div> </div>