Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/02/2008, 02:50
oscarinho
 
Fecha de Ingreso: enero-2008
Mensajes: 61
Antigüedad: 16 años, 3 meses
Puntos: 0
Se Puede hacer Esto? Que hecho yo para merecer esto?

<script language="JavaScript">
function CubreHoraSolucion ( )
{
if(DatosIncidencia.solucionado.checked)
{
<?php $registro[8] = time() ?>
}
}





<form name = "DatosIncidencia">
<center>
<table width="80%" border="2" cellspacing="1" cellpadding="1">
<tr bordercolor="#000000" bgcolor="#993333">
<th width="110" scope="col"><span class="Estilo5">Usuario</span></th>
<th width="70" scope="col"><p class="Estilo3 Estilo6">N&ordm; incidencia </p></th>
<th width="77" scope="col"><p class="Estilo5">Extensi&oacute;n</p>
<p class="Estilo5">Telefono</p></th>
<th width="90" scope="col"><span class="Estilo5">Servicio</span></th>
<th width="90" scope="col"><span class="Estilo5">Incidencia</span></th>
<th width="82" scope="col"><span class="Estilo5">Fecha Incidencia </span></th>
<th width="92" scope="col"><p class="Estilo5">Descripcion</p>
<p class="Estilo5">acci&oacute;n</p></th>
<th width="90" scope="col"><span class="Estilo5">Solucionado</span></th>
<th width="65" scope="col"><span class="Estilo5">Fecha Solucion </span></th>
<th width="90" scope="col"><span class="Estilo5">Administrador</span></th>
</tr>
<?php
while ($registro = mysql_fetch_row($resConsult)) {
?>
<tr bordercolor="#000000" bgcolor="#999999">
<td><textarea name="textfield" cols="10"><?php echo $registro[0] ?> </textarea></td>
<td><textarea name="textfield2" cols="7"><?php echo $registro[1] ?> </textarea></td>
<td><textarea name="textfield3" cols="7"><?php echo $registro[2] ?> </textarea></td>
<td><textarea name="textfield4" cols="10"><?php echo $registro[3] ?> </textarea></td>
<td><textarea name="textarea" cols="20"><?php echo $registro[4] ?></textarea></td>
<td><textarea name="textarea2" cols="13"><?php echo $registro[5] ?></textarea></td>
<td><textarea name="textarea3"><?php echo $registro[6] ?></textarea></td>

<form >
<?php if ($registro[7] == 0) { ?>
<td><div align="center">
<input type="checkbox" name="solucionado" onclick = "CubreHoraSolucion(this.form)">
</div></td>

<?php } if ($registro[7]==1){ ?>
<td><div align="center">
<input type="checkbox" name="solucionado" checked onclick = "CubreHoraSolucion(this.form)" >
</div></td>