Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) C:\Extranet\phpscripts\ drwxrwxrwx |
Viewing file: Select action/file-type: <?php $codigosec=4; require('contar.php'); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Incendios Forestales</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body link="#FF9900" vlink="#FF9900" alink="#FF9900" topmargin="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="128"><img src="incegra/1.gif" width="149" height="109"></td> <td align="left"><img src="incegra/2.gif" width="601" height="109"></td> </tr> <tr> <td width="128" valign="top" background="incegra/f.gif" bgcolor="#FCF5C7"> <p><img src="incegra/f.gif" width="12" height="13"><font face="Verdana, Arial, Helvetica, sans-serif"> <table width="120" border="0" cellspacing="0" cellpadding="4"> <tr> <td colspan="2" valign="top" bgcolor="#F2F2F2"> <?php include('reqcollap.php'); ?> </td> </tr> </table> </font></p> </td> <td rowspan="2" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="8"> <tr> <td width="600"><table width="100%" border="1" cellpadding="6" cellspacing="0" bordercolor="#FFFFFF"> <tr> <?php require('conexion3.php'); $hora = getdate(); $yr = $hora["year"]; $mo = $hora["mon"]; $dy = $hora["mday"]; $mo = $mo * 100; $yr = $yr - 2000; $yr = $yr * 10000; $fc = $mo + $yr; $fc1 = $fc + 100; //echo $fc; //echo $fc1; //$fc = $mo + $yr + $dy; $consul = "SELECT * FROM news where fecha<'$fc1' and cat=6" . " order by fecha DESC limit 0,1"; $result = mysql_query($consul,$db); $num_filas = mysql_num_rows($result); while ($myrow = mysql_fetch_array($result)) { $idacc1 = $myrow["id"]; $descriacc1 = $myrow["descri"]; $catacc1 = $myrow["cat"]; $fechara = $myrow["fecha"]; $tax = $myrow["texto"]; $fic = $myrow["fichero"]; $titularacc1 = $myrow["titular"]; $anne = $fechara / 10000; $anne = intval($anne); $ap = $anne + 2000; $rf = $anne * 10000; $fechara = $fechara - $rf; $mun = $fechara / 100; $mun = intval($mun); $mp = $mun; $rfa = $mun * 100; $dya = $fechara - $rfa; $frj = strlen($tax); if ($frj > 150) { $resto = substr ("$tax", 0, 250); }else{ $resto = $tax; } $resto = str_replace("\n", "<br>", $resto); $veri1 = 1; if ($veri1 == 1) { ?> <td> <table width="100%" border="0" cellspacing="0" cellpadding="4"> <tr> <td width="250" valign="top"> <p><img src="incegra/3.gif" width="124" height="39"></p> <p><font color="#FF9900" size="1" face="Verdana, Arial, Helvetica, sans-serif"><?php echo $dya; ?><font color="#FF9900">/</font><?php echo $mp; ?><font color="#FF9900">/</font><?php echo $ap; ?></font><font face="Verdana, Arial, Helvetica, sans-serif"><br> <font size="4"><strong><?php echo $titularacc1; ?></strong></font><br> <font color="#666666" size="2"><?php echo $descriacc1; ?></font></font></p> <p><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><font color="#339900"><a href="#"> </a></font><img src="incegra/5.gif" width="8" height="12"> <font color="#FF9900"><a href="requirenew3.php?id=<?php echo $idacc1; ?>">Ver la historia completa...</a></font></font></p> </td> <td valign="top"> <div align="right"> <p align="left"><img src="<?php echo $fic; ?>" border="0"></p> </div></td> </tr> </table></td> <?php }} ?> </tr> </table></td> <td> </td> </tr> <tr> <td width="600"><table width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> <td width="50%" valign="top"> <table width="100%" border="1" cellpadding="4" cellspacing="0" bordercolor="#FFFFFF"> <tr> <td bordercolor="#FFFFFF"> <div align="left"><img src="incegra/6.gif" width="232" height="29"></div></td> </tr> <tr> <?php include('conect/conect.php'); $consul = "SELECT * FROM links where temas_id like '%$patron%' and perfil=1" . " order by fecha DESC,mes DESC,dis DESC,priority DESC,nombre limit 0,1"; $result = mysql_query($consul,$db); $num_filas = mysql_num_rows($result); $myrow = mysql_fetch_array($result); $tid = $myrow["id"]; $tnombre = $myrow["nombre"]; $tdescripcion = $myrow["descripcion"]; $tlink = $myrow["link"]; $tfecha = $myrow["fecha"]; $tmes = $myrow["mes"]; $tdia = $myrow["dis"]; $tdescripcion = str_replace("\n", "<br>", $tdescripcion); $fecha = $tdia . "/" . $tmes . "/" . $tfecha; ?> <td bordercolor="#CCCCCC"> <?php if($num_filas != 0) { ?> <p><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="incegra/5.gif" width="8" height="12"> <strong><?php echo $tnombre; ?></strong><br> <?php echo $tdescripcion; ?><br> </font></p> <?php } ?> </td> </tr> </table> </td> <td width="50%" valign="top"> <table width="100%" border="1" cellpadding="4" cellspacing="0" bordercolor="#FFFFFF"> <tr> <td><img src="incegra/7.gif" width="232" height="29"></td> </tr> <tr> <td bordercolor="#CCCCCC"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="incegra/5.gif" width="8" height="12"> Más Información de Incendios <br> Forestales y Programa de Cerros <br> Orientales: <a href="mailto:cerrosorientales@dama.gov.co"><font color="#FF9900">cerrosorientales@dama.gov.co</font></a>, <br> Liliana Castro y Carlos Edgar Torres</font></td> </tr> </table></td> </tr> </table></td> <td> </td> </tr> </table></td> </tr> <tr> <td width="128" valign="top" background="incegra/f.gif"> </td> </tr> <tr> <td width="128"><font face="Verdana, Arial, Helvetica, sans-serif">>> </font></td> <td><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Todos los Derechos Reservados para el DAMA, Departamento Técnico Administrativo del Medio Ambiente<br> Sistema de Información Ambiental SIA-DAMA, 1998-2004, Bogotá, Colombia. </font></td> </tr> </table> </body> </html> |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]-- |