Tema: Tcpdf
Ver Mensaje Individual
  #10 (permalink)  
Antiguo 05/11/2010, 09:29
juancondarts
 
Fecha de Ingreso: julio-2010
Mensajes: 70
Antigüedad: 14 años, 4 meses
Puntos: 0
Respuesta: Tcpdf

Esta es la segunda mitad, gracias por la ayuda





!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=iso-8859-1" />
<title>Inscripcion a Competencias</title>
<style type="text/css">
<!--
body,td,th {
color: #900;
}
body {
background-color: #999;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
#form1 table tr td h2 {
font-family: Arial, Helvetica, sans-serif;
}
#form1 table {
font-family: Arial, Helvetica, sans-serif;
color: #666;
}
.REALIZARINSCRIPCION {
color: #FFF;
}
#apDiv1 {
position:absolute;
left:810px;
top:11px;
width:60px;
height:20px;
z-index:1;
}
-->
</style>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_nbGroup(event, grpName) { //v6.0
var i,img,nbArr,args=MM_nbGroup.arguments;
if (event == "init" && args.length > 2) {
if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
nbArr[nbArr.length] = img;
for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} }
} else if (event == "over") {
document.MM_nbOver = nbArr = new Array();
for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
nbArr[nbArr.length] = img;
}
} else if (event == "out" ) {
for (i=0; i < document.MM_nbOver.length; i++) {
img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
} else if (event == "down") {
nbArr = document[grpName];
if (nbArr)
for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
document[grpName] = nbArr = new Array();
for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
nbArr[nbArr.length] = img;
} }
}
//-->
</script>
</head>

<body onload="MM_preloadImages('Volver_down.gif','Volver _over.gif')">
<div id="apDiv1"><a href="inicio.php" target="barrabotones" onclick="MM_nbGroup('down','group1','Volver','Volv er_down.gif',1)" onmouseover="MM_nbGroup('over','Volver','Volver_ov er.gif','',1)" onmouseout="MM_nbGroup('out')"><img src="Volver.gif" alt="" name="Volver" width="60" height="20" border="0" id="Volver" onload="" /></a><br />
</div>
<form id="form1" name="form1" method="POST" action="<?php echo $editFormAction; ?>">
<table width="82%" border="0" align="center">
<tr>
<td colspan="7" align="center"><h2>INSCRIPCION A COMPETENCIAS

</h2></td>
</tr>
<tr>
<td colspan="7" bgcolor="#999999">Tirador :
<input name="apenom" type="text" id="apenom" value="<?php echo $row_quienentro['Apellido'].", ".$row_quienentro['Nombre'] ; ?>" size="50" />
N° Documento : <?php echo number_format($row_quienentro['numdoc'],0,".",","); ?></td>
</tr>
<tr>
<td width="8%">&nbsp;</td>
<td width="13%"><input name="sexo" type="hidden" id="sexo" value="<?php echo $row_quienentro['sexo']; ?>" />
<input name="mail" type="hidden" id="mail" value="<?php echo $row_quienentro['mail']; ?>" />
<input name="Apellido" type="hidden" id="Apellido" value="<?php echo $row_quienentro['Apellido']; ?>" />
<input name="Nombre" type="hidden" id="Nombre" value="<?php echo $row_quienentro['Nombre']; ?>" /></td>
<td width="50%">&nbsp;</td>
<td width="10%">&nbsp;</td>
<td width="3%">&nbsp;</td>
<td width="6%">&nbsp;</td>
<td width="10%">&nbsp;</td>
</tr>
<tr>
<td colspan="7" align="center"><select name="nombretorneo" id="nombretorneo">
<option value="">Seleccione el torneo en el que desea inscribirse</option>
<?php
do {
?>
<option value="<?php echo $row_Seleccionartorneos['nombretorneo']?>"><?php echo $row_Seleccionartorneos['nombretorneo']?></option>
<?php
} while ($row_Seleccionartorneos = mysql_fetch_assoc($Seleccionartorneos));
$rows = mysql_num_rows($Seleccionartorneos);
if($rows > 0) {
mysql_data_seek($Seleccionartorneos, 0);
$row_Seleccionartorneos = mysql_fetch_assoc($Seleccionartorneos);
}
?>
</select></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Promocional </td>
<td><input type="radio" name="categoria" id="categoria" value="Promocional" /></td>
<td>Espada</td>
<td><input type="radio" name="arma" id="espada" value="Espada" /></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Pre-Mini</td>
<td><input type="radio" name="categoria" id="categoria2" value="Pre-mini" /></td>
<td>Florete</td>
<td><input type="radio" name="arma" id="florete" value="Florete" /></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Mini</td>
<td><input type="radio" name="categoria" id="categoria3" value="Mini" /></td>
<td>Sable</td>
<td><input type="radio" name="arma" id="sable" value="Sable" /></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Menores</td>
<td><input type="radio" name="categoria" id="categoria4" value="Menores" /></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Mayores</td>
<td><input type="radio" name="categoria" id="categoria5" value="Mayores" /></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Sala :</td>
<td><label>
<select name="sala" id="sala">
<?php
do {
?>
<option value="<?php echo $row_salas['nombresala']?>"><?php echo $row_salas['nombresala']?></option>
<?php
} while ($row_salas = mysql_fetch_assoc($salas));
$rows = mysql_num_rows($salas);
if($rows > 0) {
mysql_data_seek($salas, 0);
$row_salas = mysql_fetch_assoc($salas);
}
?>
</select>
</label></td>
<td colspan="4" align="center" bgcolor="#000066" class="REALIZARINSCRIPCION">REALIZAR INSCRIPCION</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Maestro :</td>
<td><input name="maestro" type="text" id="maestro" size="30" maxlength="30" /></td>
<td colspan="4" rowspan="3" align="center" bgcolor="#000066"><input type="submit" name="INSCRIBIR" id="INSCRIBIR" value="INSCRIBIR EN COMPETENCIA" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Provincia :</td>
<td><select name="provincia" id="provincia">
<option value="C.A.B.A." selected="selected">C.A.B.A.</option>
<option value="Buenos Aires">Buenos Aires</option>
<option value="Cordoba">Cordoba</option>
<option value="Mendoza">Mendoza</option>
<option value="Santa Fé">Santa Fé</option>
<option value="Tierra del Fuego">Tierra del Fuego</option>
</select></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Teléfono :</td>
<td><input name="telefono" type="text" id="telefono" size="20" maxlength="20" /></td>
</tr>
</table>
<input type="hidden" name="MM_insert" value="form1" />
<a href="<?php echo $logoutAction ?>">Desconectar</a>
</form>
<script type="text/javascript">
<!--

//-->
</script>
</body>
</html>
<?php
mysql_free_result($Seleccionartorneos);

mysql_free_result($quienentro);

mysql_free_result($salas);
?>