<?PHP
require 'auth.php';
require 'cur.php';
comprueba_autenticacion();
$id=$_GET["p_id"];

?>


<style type="text/css">
<!--
.Estilo1 {
	color: #0000FF;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 16px;
}
.Estilo2 {
	color: #0B1328;
	font-family: "Century Gothic";
	font-size: 14px;
}
.Estilo9 {
	font-size: 11px;
	font-family: "Century Gothic";
	color: #FFFFFF;
}
-->
</style>

<label></label>
<h1 align="center" class="Estilo1 Estilo2">Nueva Tarea</h1>




<form action="ta_alta.php" method="post">

<table width="697" align=center cellpadding="10" bgcolor="#FFCCFF">
    <!--DWLayoutTable-->
		<tr>
	  <td height="87" valign="top" bgcolor="#0B1328"><span class="Estilo9">Cod. Proyecto: </span></td>
      <td valign="top" bgcolor="#FFCCFF"><input name="cod" type=text id="cod" value=<?=$id?> size=10 maxlength=10/></td>
    </tr>

	<tr>
	  <td height="87" valign="top" bgcolor="#0B1328"><span class="Estilo9">DESCRIPCI&Oacute;N: </span></td>
      <td valign="top" bgcolor="#FFCCFF"><textarea name="descri" cols="70" rows="4" id="descri">
      </textarea>      </td>
    </tr>
	
    <tr>
      <td height="48" valign="top" bgcolor="#0B1328" class="Estilo9">INICIO</td>
      <td valign="top" bgcolor="#FFCCFF"><input name=inicio type=text id="inicio" size=10 maxlength=10  />      </td>
    </tr>
    <tr>
      <td height="42" valign="top" bgcolor="#0B1328"> <p class="Estilo9">FIN</p></td>
      <td valign="top" bgcolor="#FFCCFF"><input name=fin type=text id="fin" size=10 maxlength=10  /></td>
    </tr>
	<tr>
      <td height="48" valign="top" bgcolor="#0B1328" class="Estilo9"> HORAS </td>
      <td valign="top" bgcolor="#FFCCFF"><input name=horas type=text id="horas" size=10 maxlength=35 />
      &euro;</td>
    </tr>
		<tr>
      <td height="48" valign="top" bgcolor="#0B1328" class="Estilo9"> % COMPLETADO </td>
      <td valign="top" bgcolor="#FFCCFF"><input name=porcen type=text id="porcen" size=10 maxlength=35 />
      &euro;</td>
    </tr>
			<tr>
      <td height="48" valign="top" bgcolor="#0B1328" class="Estilo9"> PRESUPUESTO </td>
      <td valign="top" bgcolor="#FFCCFF"><input name=presu type=text id="presu" size=10 maxlength=35 />
      &euro;</td>
    </tr>
    <tr>
      <td height="48" valign="top" bgcolor="#0B1328"> <span class="Estilo9">ESTADO </span></td>
      <td><select name="estado" size="1" id="estado">
        <option value="<?=$in['ESTADO_DES']?>"><?=$in['ESTADO_DES']?></option>
        <option value="En Curso" selected="selected">En Curso</option>
        <option value="Anulado">Finalizado</option>
        <option value="Cancelado">Cancelado</option>
                  </select></td>
    </tr>

    <tr>
      <td height="44">&nbsp;</td>
      <td align=right valign="top" bgcolor="#0B1328"><label></label>
        <div align="center">
          <input type="submit" value="Actualizar Tarea" />       
      </div></td>
    </tr>
</table>
  
		
</form>



