Viewing file: sistemas.php (6.04 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Oficina Asesora de Planeación, Sistemas</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
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_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
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_showHideLayers() { //v6.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
function despMenu(nombre,sn)
{
obj = document.all[nombre];
if (sn>0)
obj.style.visibility = "visible";
else
obj.style.visibility = "hidden";
}
function destacar(obj, val)
{
if (val==1)
{
itemOrig = obj.style.backgroundColor;
obj.style.backgroundColor="#FFFAD7";
}
else
obj.style.backgroundColor= itemOrig;
}
function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
}
//-->
</script>
</head>
<body link="#0066CC" vlink="#0066CC" alink="#0066CC" topmargin="0">
<table width="100%" border="0" cellpadding="6">
<tr>
<td width="25%"> </td>
<td width="50%"><img src="sys/bann.gif" width="600" height="120"></td>
<td width="25%"> </td>
</tr>
<tr>
<td> </td>
<td valign="top" bgcolor="#B9D7FF"><div align="right"><a href="#"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" onclick="MM_callJS('history.go(-1);')">Regresar...</font></a></div></td>
<td> </td>
</tr>
<tr>
<td width="25%"> </td>
<td width="50%"><p><font size="3" face="Verdana, Arial, Helvetica, sans-serif"><strong>1.</strong>
Resultado de la adición de su petición</font></p>
<table width="100%" border="1" cellpadding="6" cellspacing="0" bordercolor="#B9D7FF" bgcolor="#EAF3FF">
<tr>
<td>
<?php
$err=0;
include('hoy.php');
if ($user == "") {
$err=1;
?>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong><font color="#FF0000">Error,</font></strong>
su petición no ha podido ser recibida porque : no hay un nombre especificado.</font></p>
<?php } ?>
<?php if ($contact == "") {
$err=1;
?>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong><font color="#FF0000">Error,</font></strong>
su petición no ha podido ser recibida porque : no hay ningun dato de contacto.</font></p>
<?php } ?>
<?php if ($err==0) {
require('conexion3.php');
$query ="INSERT INTO soporte VALUES('','$user','$dependencia','$tipo_fun','$tipo_req','$tipo_pro','$descripcion','$fyt','','$contact','0','','','')";
$result1 = mysql_query($query,$db);
$ars = mysql_insert_id($db);
?>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Sr.
<font color="#0066CC"><strong><?php echo $user; ?></strong></font>,
su petición ha sido recibida. Su ticket para el soporte es
el número <strong><font color="#FF9900"><?php echo $ars; ?></font></strong>
ingresado en la fecha: <font color="#666666"><?php echo $fyt; ?>.</font></font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Prontamente
estaremos contactandolo a su correo, teléfono o extensión.</font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Gracias...</font></p>
<?php } ?>
<p align="center"><a href="javascript:window.close()"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Cerrar...</strong></font></a></p></td>
</tr>
</table>
</td>
<td width="25%"> </td>
</tr>
<tr>
<td width="25%"> </td>
<td width="50%"><div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Todos
los derechos reservados para el <br>
Departamento Técnico Administrativo del Medio Ambiente. <br>
<strong>DAMA 2005</strong><br>
<em>Bogotá, Colombia.</em></font></div></td>
<td width="25%"> </td>
</tr>
</table>
</body>
</html>
|