Viewing file: conceptos.php (17.75 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Formulario de Ingreso Conceptos Jurídicos</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META http-equiv=content-script-type content=text/JScript>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
</script><script language="JavaScript" src="../../js/popcalendar.js"></script>
<style type="text/css">
<!--
.Estilo2 {font-family: Georgia, "Times New Roman", Times, serif}
.Estilo5 {
font-family: Verdana;
font-size: 8pt;
}
-->
</style>
<script type="text/JavaScript">
<!--
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_validateForm() { //v4.0
var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
} } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
} if (errors) alert('The following error(s) occurred:\n'+errors);
document.MM_returnValue = (errors == '');
}
//-->
</script>
</HEAD>
<BODY bgcolor="#FCFAE6">
<?php include("../../conex.php");
if( $_POST['inserta'] ){
$sql = "select * from conceptos where no ='$_POST[no]' and fecha_concepto = '$_POST[fecha_concepto]'";
$cursor = mysql_query( $sql, $conexion );
if( mysql_fetch_array( $cursor ) )
echo " <script language='JavaScript' type='text/javascript'>
alert('Ya existe Concepto No. $_POST[no] del $_POST[fecha_concepto]') </script>";
else{
$sql = "insert into conceptos values ('$id','$radicado_entrada','$fecha_entrada','$solicitante','$cargo','$entidad','$no','$fecha_concepto','$objeto','$abogado','$radicado_salida','$fecha_salida','$observaciones','$publicacion','$vinculo')";
if( mysql_query ( $sql, $conexion ) ){
echo " <script language='JavaScript' type='text/javascript'>
alert('Registro ingresado') </script>";
}
}
} ?>
<FORM id=form1 name=form1 method=post>
<DIV>
<TABLE width=806 border=0 align="center">
<TBODY>
<TR>
<TD width="800" align=middle vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD height="115"><IMG
src="../Datos básicos para Inscripcion_archivos/Encabeza1.jpg" height="112" id=image1
style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px"></TD>
<TD><IMG
src="../Datos básicos para Inscripcion_archivos/Encabeza2.jpg" name="image2" height="112" id=image2
style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px"></TD>
<TD><IMG
src="../Datos básicos para Inscripcion_archivos/Encabeza3.jpg" height="112" id=image3
style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px"></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD align=middle>
<TABLE border=2 cellPadding=0
cellSpacing=0
style="BORDER-LEFT-COLOR: blue; BORDER-BOTTOM-COLOR: blue; BORDER-TOP-COLOR: blue; BORDER-RIGHT-COLOR: blue">
<TBODY>
<TR>
<TD height="437" border=2
colSpan=3 style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Verdana">
<TABLE>
<TBODY>
<TR>
<TD
align=middle
style="FONT-SIZE: 10pt; COLOR: black; HEIGHT: 18px; BACKGROUND-COLOR: #cccccc"><strong>Formulario de Ingreso Conceptos Juridicos: <span class="Estilo5">L</span></strong><span style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana"><strong>os campos con * deben ser
diligenciados (obligatorios)</strong></span> <BR></TD>
</TR>
<TR>
<TD style="COLOR: white; BACKGROUND-COLOR: #8EE910">
<TABLE width="100%">
<TBODY>
<TR>
<TD style="HEIGHT: 15px"
align=middle> </TD>
<TD style="HEIGHT: 15px"
align=right></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD
style="FONT-SIZE: 12pt; COLOR: red; BACKGROUND-COLOR: gainsboro; TEXT-ALIGN: center"><p><SPAN
style="FONT-SIZE: 10pt">Si usted ya se encuentra en este modulo es porque tiene acceso a el. El ingreso de información no autorizado a este modulo está prohibido y puede estar sujeto a acciones civiles y penales.</SPAN> </p> </TD>
</TR>
<TR>
<TD
style="FONT-SIZE: 8pt; COLOR: white; BACKGROUND-COLOR: #8EE910">
<TABLE width="100%">
<TBODY>
<TR>
<TD style="HEIGHT: 15px"
align=middle><div align="left"><STRONG>Solicitud Concepto Jurídico </STRONG></div></TD>
<TD style="HEIGHT: 15px" align=right><A
id=linAyudaNombre
title="">Ayuda</A></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD
style="HEIGHT: 42px; BACKGROUND-COLOR: activeborder; TEXT-ALIGN: center; background-color:#FFFFFF">
<TABLE width="100%">
<TBODY>
<TR>
<TD width="198" bgcolor="#D4D0C8" style="WIDTH: 198px; HEIGHT: 15px"><strong>Radicado de Entrada* </strong></TD>
<TD colspan="2" bgcolor="#D4D0C8" style="HEIGHT: 15px"><strong>Fecha de Radicado* </strong></TD>
<TD width="300" bgcolor="#D4D0C8" style="WIDTH: 214px; HEIGHT: 15px"><strong>Solicitante*</strong></TD>
<TD width="175" bgcolor="#D4D0C8" style="HEIGHT: 15px"><strong>Cargo*</strong> </TD>
<TD width="447" bgcolor="#D4D0C8" style="HEIGHT: 15px"><strong>Entidad</strong>* </TD>
</TR>
<TR>
<TD
align=middle bgcolor="#D4D0C8" style="WIDTH: 198px; HEIGHT: 26px"><INPUT name=radicado_entrada id=radicado_entrada tabIndex=1 size="12"
maxLength=12></TD>
<TD width="74" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><input name="fecha_entrada" maxlength="10" size="10" onBlur="return document.MM_returnValue" type="text" readonly=""></TD>
<TD width="58" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><input name="button" type="button" onclick='popUpCalendar(this,fecha_entrada, "yyyy/mm/dd")' value=""></TD>
<TD
align=middle bgcolor="#D4D0C8" style="WIDTH: 214px; HEIGHT: 26px"><span style="HEIGHT: 26px">
<INPUT
name=solicitante
id=solicitante tabIndex=4 size="40" maxLength=50>
</span></TD>
<TD align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><INPUT
name=cargo
id=cargo tabIndex=4 value="" maxLength=200> </TD>
<TD align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><INPUT
name=entidad
id=entidad tabIndex=4 value="" maxLength=200> </TD>
</TR></TBODY></TABLE></TD></TR>
<TR>
<TD
style="FONT-SIZE: 8pt; COLOR: white; BACKGROUND-COLOR: #8EE910">
<TABLE width="100%">
<TBODY>
<TR>
<TD style="HEIGHT: 15px"
align=middle><div align="left"><STRONG>Concepto</STRONG></div></TD>
<TD style="HEIGHT: 15px" align=right><A
id=linAyudaNombre
title="">Ayuda</A></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD
style="HEIGHT: 42px; BACKGROUND-COLOR: activeborder; TEXT-ALIGN: center; background-color:#FFFFFF">
<TABLE width="100%">
<TBODY>
<TR>
<TD width="206" bgcolor="#D4D0C8" style="WIDTH: 198px; HEIGHT: 15px; BACKGROUND-COLOR: activeborder" ><strong>No. </strong></TD>
<TD colspan="2" bgcolor="#D4D0C8" style="HEIGHT: 15px"><strong>Fecha de Concepto </strong> </TD>
<TD width="363" bgcolor="#D4D0C8" style="WIDTH: 214px; HEIGHT: 15px"><strong>Objeto</strong></TD>
<TD width="557" bgcolor="#D4D0C8" style="HEIGHT: 15px"><strong>Abogado</strong> </TD>
</TR>
<TR>
<TD
align=middle bgcolor="#D4D0C8" style="WIDTH: 198px; HEIGHT: 26px"><INPUT name=no id=no tabIndex=1 size="11"
maxLength=50></TD>
<TD width="66" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><input name="fecha_concepto" maxlength="10" size="10" onBlur="return document.MM_returnValue" type="text" readonly="" ></TD>
<TD width="64" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><input name="button2" type="button" onclick='popUpCalendar(this,fecha_concepto, "yyyy/mm/dd")' value="" size="5"></TD>
<TD
align=middle bgcolor="#D4D0C8" style="WIDTH: 214px; HEIGHT: 26px"><span style="HEIGHT: 26px">
<INPUT
name=objeto
id=objeto tabIndex=4 size="60" maxLength=400>
</span></TD>
<TD align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><INPUT
name=abogado
id=abogado tabIndex=4 maxLength=50>
<a href="file://///pc-p12-1000380-/Documentos/NORMAS AMBIENTALES/NORMAS AMBIENTALES"></a></TD>
</TR></TBODY></TABLE></TD></TR>
<TR>
<TD
style="FONT-SIZE: 8pt; COLOR: white; BACKGROUND-COLOR: #8EE910">
<TABLE width="100%">
<TBODY>
<TR>
<TD style="HEIGHT: 15px"
align=middle><div align="left"><strong>Respuesta Concepto Jurídico </strong></div></TD>
<TD style="HEIGHT: 15px" align=right><A
id=linAyudaNombre
title="">Ayuda</A></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD
style="HEIGHT: 42px; BACKGROUND-COLOR: activeborder; TEXT-ALIGN: center; background-color:#FFFFFF">
<TABLE width="100%">
<TBODY>
<TR>
<TD width="198" bgcolor="#D4D0C8" style="WIDTH: 150px; HEIGHT: 15px; BACKGROUND-COLOR: activeborder "><strong>Radicado de Salida </strong></TD>
<TD colspan="2" bgcolor="#D4D0C8" style="HEIGHT: 15px"><div align="center"><strong>Fecha de Radicado</strong></div></TD>
<TD bgcolor="#D4D0C8" style="HEIGHT: 15px"><strong>Vinculo</strong></TD>
</TR>
<TR>
<TD
align=middle bgcolor="#D4D0C8" style="WIDTH: 198px; HEIGHT: 26px"><INPUT name=radicado_salida id=radicado_salida tabIndex=1 size="12"
maxLength=12></TD>
<TD width="90" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px">
<div align="center">
<input name="fecha_salida" maxlength="10" size="15" onBlur="return document.MM_returnValue" type="text" readonly="">
</div></TD>
<TD width="17" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><input name="button3" type="button" onclick='popUpCalendar(this,fecha_salida, "yyyy/mm/dd")' value=""></TD>
<TD width="955" align=left bgcolor="#D4D0C8" style="HEIGHT: 26px"><input name="vinculo" type="file" id="vinculo" size="15" maxlength="10"></TD>
</TR></TBODY></TABLE></TD></TR>
<TR>
<TD style="COLOR: white; BACKGROUND-COLOR: #8EE910">
<TABLE width="100%">
<TBODY>
<TR>
<TD align=middle><div align="left"><STRONG>Observaciones</STRONG></div></TD>
<TD align=right><A id=HyperLink3
title="Ayuda ">Ayuda</A></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD style="TEXT-ALIGN: center">
<TABLE width="100%">
<TBODY>
<TR>
<TD
style="WIDTH: 163px; HEIGHT: 15px; BACKGROUND-COLOR: activeborder"> </TD>
<TD
style="HEIGHT: 15px; BACKGROUND-COLOR: activeborder"> </TD>
<TD
style="HEIGHT: 15px; BACKGROUND-COLOR: activeborder"> </TD></TR>
<TR>
<TD colspan="3" style="WIDTH: 163px"><span class="Estilo2">
<textarea name="observaciones"
rows="2"
cols="100"
dir="ltr"
id="field_4_3"
onpropertychange="return unNullify('resuelve', '0')" tabindex="10"
></textarea>
</span></TD>
</TR></TBODY></TABLE> </TD></TR>
<TR>
<TD style="COLOR: white; BACKGROUND-COLOR: #8EE910">
<TABLE width="100%">
<TBODY>
<TR>
<TD align=middle><div align="left"><STRONG>Publicación</STRONG></div></TD>
<TD align=right><A id=HyperLink1
title="Diligencie los datos solicitados">Ayuda</A></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD height="56" style="TEXT-ALIGN: center">
<TABLE width="100%">
<TBODY>
<TR>
<TD
style="WIDTH: 250px; BACKGROUND-COLOR: activeborder"><strong>Publicar?:</strong>
<INPUT id=rbGenero_0 tabIndex=8 type=radio
CHECKED value=s name=publicacion>
<LABEL
for=rbGenero_0>Si
<INPUT id=rbGenero_1 tabIndex=8 type=radio
value=n name=publicacion>
No</LABEL></TD>
<TD
style="WIDTH: 211px; BACKGROUND-COLOR: activeborder"><span style="WIDTH: 211px; HEIGHT: 64px">
<input type="reset" name="limpiar" value="Limpiar">
<input name="inserta" type="submit" id="inserta" value="Guardar" >
</span></TD>
<TD style="BACKGROUND-COLOR: activeborder"
colSpan=2> </TD></TR>
</TBODY></TABLE>
</TD>
</TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
</form>
</BODY></HTML>
|