Viewing file: quejaform.phtml (8.87 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$de = isset($loc);
if ($de == false) {
$loc = 0;
}
$db = "sia";
$c1 = OciLogon("EMAIL","EMAIL2003",$db);
?>
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<title>Formulario de Quejas y Reclamos...</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
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_jumpMenuGo(selName,targ,restore){ //v3.0
var selObj = MM_findObj(selName); if (selObj) MM_jumpMenu(targ,selObj,restore);
}
//-->
</script>
</head>
<body topmargin="0" link="#F97C00" vlink="#000000">
<table border="0" width="687" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0"
bordercolor="#FFFFFF">
<tr>
<td width="100%" colspan="2"><img src="../ince/encabe4.gif" width="744" height="70"
alt="encabe.gif (14884 bytes)"></td>
</tr>
<tr>
<td width="50%"> </td>
<td width="50%"><p align="right"><a href="http://www.dama.gov.co"><img src="../ince/back.gif"
width="73" height="16" alt="Regresar al Home..." align="left" border="0"></a></td>
</tr>
<tr>
<td width="100%" colspan="2"><div align="center"><img src="../ince/qyr.gif" width="500" height="99"></div></td>
</tr>
</table>
<form name="form1" method="post" action="queja.phtml">
<p>
<table border="1" width="687" cellspacing="0" cellpadding="5" bordercolor="#FFFFFF">
<tr bgcolor="#009966">
<td colspan="3" align="center"> <div align="left"><font face="Arial Black" color="#FFFFFF"><small>Datos
del Solicitante</small></font></div></td>
</tr>
<tr>
<td valign="top"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
* Razón Social o Nombre:</font></div></td>
<td colspan="2" valign="top"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="nombre" type="text" id="nombre" size="30">
<font size="1">Persona Natural
<input name="radiobutton" type="radio" value="radiobutton" checked>
Persona Jurídica
<input type="radio" name="radiobutton" value="radiobutton">
</font> </font></td>
</tr>
<tr>
<td valign="top"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
* Identificación No.</font></div></td>
<td width="33%" valign="top"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="id" type="text" id="id" size="15">
</font></td>
<td width="34%" valign="top"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">*
Tipo:
<select name="kindid" id="kindid">
<option value="cc">Cédula de Ciudadanía</option>
<option value="ti">Tarjeta de Identidad</option>
<option value="ce">Cédula de Extranjería</option>
<option value="ni">NIT</option>
</select>
</font></td>
</tr>
<tr>
<td valign="top"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">*
Dirección:</font></div></td>
<td colspan="2" valign="top"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="direccion" type="text" id="direccion" size="50">
</font></td>
</tr>
<tr>
<td width="33%" valign="top"><div align="right"><small><small><font size="2"
face="Verdana, Arial, Helvetica, sans-serif"> * Teléfono:</font></small></small></div></td>
<td colspan="2" valign="top"> <p><font face="Verdana, Arial, Helvetica, sans-serif"><font face="Verdana, Arial, Helvetica, sans-serif"><font size="2"></font><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="telefono" type="text" id="telefono" size="15">
</font></font></font></p></td>
</tr>
<tr bgcolor="#00CC66">
<td colspan="3" valign="top"><font face="Arial Black" color="#FFFFFF"><small>Datos
del Presunto Infractor</small></font></td>
</tr>
<tr>
<td valign="top"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
* Nombres o Razón Social:</font></div></td>
<td colspan="2" valign="top"><div align="left"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"></font><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="razoninfra" type="text" id="nombre5" size="50">
</font></div></td>
</tr>
<tr>
<td valign="top"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
* Dirección del Infractor:</font></div></td>
<td colspan="2" valign="top"><div align="left"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"></font><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="dirinfra" type="text" id="razoninfra" size="50">
</font></div></td>
</tr>
<tr>
<td valign="top"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
* Localidad:</font></div></td>
<td colspan="2" valign="top"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<select name="loc" onChange="MM_jumpMenu('parent',this,0)">
<?php
$stmt = ociparse($c1,"SELECT LOCALIDAD_ID, NOMBRE FROM envista.LOCALIDAD ORDER BY LOCALIDAD_ID");
$result = OCIExecute($stmt);
while (OCIFetchInto($stmt, $cur)) {
$il = $cur[0];
$nl = $cur[1];
if ($loc == 0) {
echo "<option value=\"quejaform.phtml?loc=$il\">$nl</option>";
}else{
if ($il == $loc) {
echo "<option value=\"quejaform.phtml?loc=$il\">$nl</option>";
}
}
}
?>
</select>
<input name="localidad" type="hidden" id="localidad" value="<?php echo $loc; ?>">
</font><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Barrio:
<select name="barrio" id="barrio">
<?php
if ($loc == 0) {
?>
<option value="0">Ninguno</option>
<?php
}else{
$stmt = ociparse($c1,"SELECT BARRIO_ID, NOMBRE FROM envista.BARRIO WHERE COD_LOC = $loc ORDER BY NOMBRE");
$result = OCIExecute($stmt);
while (OCIFetchInto($stmt, $cur)) {
$ib = $cur[0];
$nb = $cur[1];
echo "<option value=\"$ib\">$nb</option>";
}
}
?>
</select>
</font></td>
</tr>
<tr>
<td valign="top"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">*
Clase:</font></div></td>
<td colspan="2" valign="top"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<select name="clase">
<?php
$stmt = ociparse($c1,"SELECT OBJETO_DESC, TIPO_DESC, CODIGO, INFRACCION_ID FROM SIA_INFRACCION order by objeto_desc");
$result = OCIExecute($stmt);
while (OCIFetchInto($stmt, $cur)) {
$un = $cur[0];
$do = $cur[1];
$tr = $cur[3];
$st = $un . "-" . $do;
echo "<option value=\"$tr\">$st</option>";
}
?>
</select>
</font></td>
</tr>
<tr>
<td valign="top"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Observaciones:</font></div></td>
<td colspan="2" valign="top"><div align="left"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"></font><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<textarea name="observaciones" cols="50" id="observaciones"></textarea>
</font></div></td>
</tr>
<tr bordercolor="#999999">
<td height="97" valign="top" bordercolor="#FFFFFF"> <p align="center"><font face="Arial"><small><small><img
src="../ince/logalc.gif" width="80" height="85" alt="logalc.gif (3822 bytes)"></small></small></font></td>
<td height="97" colspan="2" valign="top" bordercolor="#CCCCCC"> <p align="center">
<input type="submit" name="Submit" value="Enviar mi queja o reclamo.">
</p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">* Los campos
marcados con asterisco son indespensables.</font></p>
<p><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Todos los
Derechos Reservados para el DAMA.<br>
El presente servicio es un producto del Sistema de Información
del DAMA - SIA<br>
Bogotá, 2003.</font></p></td>
</tr>
</table>
</form>
<p> </p>
</body>
</html>
|