!C99Shell v. 1.0 pre-release build #13!

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)

E:\xampp\xampp\htdocs\phpscripts\   drwxrwxrwx
Free 8.81 GB of 239.26 GB (3.68%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     noticiaing.php (29.44 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$sed 
= isset($user);
if (
$sed == false) {
exit;
}else{

require(
'conexion2.php');
$stmt Ociparse($c1" SELECT EU_USERNAME FROM envista.env_users where EU_USERNAME='$user'");
$result OCIExecute($stmt);
if (
$result == false) {
exit;
}else{
$cont 0;
while (
OCIFetchInto($stmt$value1)) {
foreach (
$value1 as $val1)
{
$cont++;
}}
if (
$cont == 1) {
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Noticias Ambientales del DAMA</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
button {
    font-family: "Times New Roman", Times, serif;
    font-size: 12px;
    color: #000000;
}
input {
    font-family: "Times New Roman", Times, serif;
    font-size: 14px;
    color: #000000;
    background-color: #E6F2FF;
    border: 1px solid #999999;
}
select {
    font-family: "Times New Roman", Times, serif;
    font-size: 14px;
    color: #000000;
    background-color: #E6F2FF;
}
textarea {
    font-family: "Times New Roman", Times, serif;
    font-size: 14px;
    color: #000000;
    background-color: #E6F2FF;
}
-->
</style>
<script language="Javascript1.2">
    //Directory must end with a '/'
    //Examples:
    //  AK_editor_url = "TextAreaPro/"; 
    AK_editor_url = "";
    document.write('<scr' + 'ipt src="' + AK_editor_url+ 'wysiwyg.js" language="Javascript1.2"></scr' + 'ipt>'); 
</script>
</head>

<body text="#000000" link="#0099CC" vlink="#0099CC" alink="#0099CC">
<table width="100%" border="0" cellpadding="5">
  <tr> 
    <td><div align="center"><img src="prensa.gif" width="500" height="113"></div></td>
  </tr>
  <tr> 
    <td bgcolor="#000000"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>M&oacute;dulo 
      de Administraci&oacute;n de Noticias Men&uacute; &gt;&gt; <a href="#">Editor 
      de Noticias</a> &gt;&gt; <a href="requirenew2.php">Editor de Categorias</a> 
      <?php if ($user=="EMAIL") { ?>&gt;&gt; <a href="requirenew5.php?user=<?php echo $user?>">Editor de Permisos</a><?php ?> </strong></font></td>
  </tr>
  <tr> 
    <td><font color="#999999" size="6" face="Times New Roman, Times, serif">Selector 
      de Noticias:</font></td>
  </tr>
  <tr> 
    <td><form name="form1" method="post" action="requirenew1.php">
        <table width="100%" border="0" cellpadding="5" bgcolor="#E2E2E2">
          <tr bgcolor="#FFFFFF"> 
            <td width="50%">Seleccione el listado de Noticias que desea revisar 
              por mes y a&ntilde;o:</td>
            <td width="50%"><strong> 
              <input name="accion" type="hidden" id="accion" value="1">
              <input name="user" type="hidden" id="user" value="<?php echo $user?>">
              Mes: 
              <select name="mes" id="mes">
                <option value="01">Enero</option>
                <option value="02">Febrero</option>
                <option value="03">Marzo</option>
                <option value="04">Abril</option>
                <option value="05">Mayo</option>
                <option value="06">Junio</option>
                <option value="07">Julio</option>
                <option value="08">Agosto</option>
                <option value="09">Septiembre</option>
                <option value="10">Octubre</option>
                <option value="11">Noviembre</option>
                <option value="12">Diciembre</option>
              </select>
              A&ntilde;o: 
              <select name="ano" id="ano">
                <option value="03">2003</option>
                <option value="04">2004</option>
                <option value="05">2005</option>
                <option value="06">2006</option>
                <option value="07">2007</option>
                <option value="08">2008</option>
                <option value="09">2009</option>
                <option value="10">2010</option>
                <option value="11">2011</option>
                <option value="12">2012</option>
                <option value="13">2013</option>
              </select>
              <input type="submit" name="Submit" value="Buscar...">
              </strong></td>
          </tr>
          <tr bgcolor="#CCCCCC"> 
            <td colspan="2"><strong><font color="#33CCCC">&gt;&gt;</font> Noticias:</strong></td>
          </tr>
          <tr> 
            <td colspan="2">
            <?php
            $xtc 
= isset($accion);
            if (
$xtc == true) {
            if (
$accion == 1) {
            
?>
                <table width="100%" border="0" cellpadding="5">
  <tr bgcolor="#666666"> 
    <td width="20%"><strong><font color="#33CCCC">&gt;&gt;</font><font color="#FFFFFF"> 
      Fecha</font></strong></td>
    <td width="60%"><strong><font color="#33CCCC">&gt;&gt;</font><font color="#FFFFFF"> 
      Titular</font></strong></td>
    <td width="20%"><strong><font color="#33CCCC">&gt;&gt;</font><font color="#FFFFFF"> 
      Acci&oacute;n</font></strong></td>
  </tr>
            <?php
            $mes 
$mes 100;
            
$ano $ano 10000;
            
$fc $mes $ano;
            
$fc1 $fc 100;
            require(
'conexion.php');
                    
$consul7 "SELECT *
                    FROM usrsdt where aplyid=18 and user='
$user'"
                    
" order by id";
                    
$result7 mysql_query($consul7,$db);
                    
$num_filas7 mysql_num_rows($result7);
                    while (
$myrow7 mysql_fetch_array($result7))
                    {
                    
$permis $myrow7["permis"];
                    require(
'conexion3.php');
                    if (
$permis != 0) {
                    
$consul "SELECT *
            FROM news where fecha>=
$fc and fecha<$fc1 and cat=$permis";
                    }else{
                    
$consul "SELECT *
            FROM news where fecha>=
$fc and fecha<$fc1";
                    }
            
            
            
            
$result mysql_query($consul,$db);
            
$num_filas mysql_num_rows($result);
            while (
$myrow mysql_fetch_array($result))
            {
            
$idacc1 $myrow["id"];
            
$fechaacc1 $myrow["fecha"];
            
$catacc1 $myrow["cat"];
            
$titularacc1 $myrow["titular"];
            
$trans $fechaacc1;
            require(
'fechanew.php');
            
?>
  <tr bgcolor="#CCCCCC"> 
    <td width="20%"><font color="#666666"><?php echo $fechapresentar?></font></td>
    <td width="60%"><a href="requirenew3.php?id=<?php echo $idacc1?>"><font color="#666666"><?php echo $titularacc1?></font></a></td>
                  <td width="20%"><a href="requirenew1.php?id=<?php echo $idacc1?>&accion=2&user=<?php echo $user?>"><img src="edi.gif" width="20" height="20" border="0"></a> 
                    <a href="requirenew1.php?id=<?php echo $idacc1?>&accion=21&user=<?php echo $user?>"><img src="bor.gif" width="20" height="20" border="0"></a></td>
  </tr>
            <?php
            
}}
            
?>
            </table>
            <?php
            
}
            }else{
            echo 
"Consultar noticias para editar o borrar...";
            }
            
?>
            </td>
          </tr>
        </table>
      </form></td>
  </tr>
  <?php
  $xtc 
= isset($accion);
            if (
$xtc == true) {
            if (
$accion == 21) {
            require(
'conexion3.php');
            
$query ="DELETE FROM NEWS WHERE id=$id";
            
$result mysql_query($query,$db);
            }
            if (
$accion == or $accion == 22) {
            require(
'conexion3.php');
            if (
$accion == 22) {
            
$mesa $mesa 100;
            
$anoa $anoa 10000;
            
$fca $mesa $anoa $diaa;
            
$texta str_replace("(open)""<"$texta);
            
$texta str_replace("(close)"">"$texta);
            
$texta str_replace("(coma)""\""$texta);
            
//$texte = str_replace ("..", "<br><br>", $texta);
            
$query ="UPDATE news SET fecha='$fca',cat='$catea',titular='$titulara',texto='$texta',descri='$desca' WHERE id='$id22'";
            
$result mysql_query($query,$db);
            
$id $id22;
            }
            
$consul "SELECT *
            FROM news where id=
$id";
            
$result mysql_query($consul,$db);
            
$num_filas mysql_num_rows($result);
            while (
$myrow mysql_fetch_array($result))
            {
            
$idacc2 $myrow["id"];
            
$fechaacc2 $myrow["fecha"];
            
$catacc2 $myrow["cat"];
            
$titularacc2 $myrow["titular"];
            
$textoacc2 $myrow["texto"];
            
$textoacc2 str_replace("<""(open)"$textoacc2);
            
$textoacc2 str_replace("\"""(coma)"$textoacc2);
            
$textoacc2 str_replace(">""(close)"$textoacc2);
            
$descacc2 $myrow["descri"];
            
$trans $fechaacc2;
            require(
'fechanew.php');
            }
            
?>
  <tr> 
    <td><font color="#999999" size="6" face="Times New Roman, Times, serif">Editor 
      de Noticias:</font></td>
  </tr>
  <tr> 
    <td><form name="form2" method="post" action="requirenew1.php">
        <table width="100%" border="0" cellpadding="5">
          <tr> 
            <td width="20%" bgcolor="#CCCCCC"><div align="right"><strong><font color="#33CCCC">&gt;&gt;</font></strong> 
                <strong><font color="#666666">Fecha:</font></strong></div></td>
            <td width="80%" bgcolor="#FFFFFF"><strong>D&iacute;a: 
              <select name="diaa" id="diaa">
                <option value="1" <?php if ($xdia==1) {echo "selected";} ?>>1</option>
                <option value="2" <?php if ($xdia==2) {echo "selected";} ?>>2</option>
                <option value="3" <?php if ($xdia==3) {echo "selected";} ?>>3</option>
                <option value="4" <?php if ($xdia==4) {echo "selected";} ?>>4</option>
                <option value="5" <?php if ($xdia==5) {echo "selected";} ?>>5</option>
                <option value="6" <?php if ($xdia==6) {echo "selected";} ?>>6</option>
                <option value="7" <?php if ($xdia==7) {echo "selected";} ?>>7</option>
                <option value="8" <?php if ($xdia==8) {echo "selected";} ?>>8</option>
                <option value="9" <?php if ($xdia==9) {echo "selected";} ?>>9</option>
                <option value="10" <?php if ($xdia==10) {echo "selected";} ?>>10</option>
                <option value="11" <?php if ($xdia==11) {echo "selected";} ?>>11</option>
                <option value="12" <?php if ($xdia==12) {echo "selected";} ?>>12</option>
                <option value="13" <?php if ($xdia==13) {echo "selected";} ?>>13</option>
                <option value="14" <?php if ($xdia==14) {echo "selected";} ?>>14</option>
                <option value="15" <?php if ($xdia==15) {echo "selected";} ?>>15</option>
                <option value="16" <?php if ($xdia==16) {echo "selected";} ?>>16</option>
                <option value="17" <?php if ($xdia==17) {echo "selected";} ?>>17</option>
                <option value="18" <?php if ($xdia==18) {echo "selected";} ?>>18</option>
                <option value="19" <?php if ($xdia==19) {echo "selected";} ?>>19</option>
                <option value="20" <?php if ($xdia==20) {echo "selected";} ?>>20</option>
                <option value="21" <?php if ($xdia==21) {echo "selected";} ?>>21</option>
                <option value="22" <?php if ($xdia==22) {echo "selected";} ?>>22</option>
                <option value="23" <?php if ($xdia==23) {echo "selected";} ?>>23</option>
                <option value="24" <?php if ($xdia==24) {echo "selected";} ?>>24</option>
                <option value="25" <?php if ($xdia==25) {echo "selected";} ?>>25</option>
                <option value="26" <?php if ($xdia==26) {echo "selected";} ?>>26</option>
                <option value="27" <?php if ($xdia==27) {echo "selected";} ?>>27</option>
                <option value="28" <?php if ($xdia==28) {echo "selected";} ?>>28</option>
                <option value="29" <?php if ($xdia==29) {echo "selected";} ?>>29</option>
                <option value="30" <?php if ($xdia==30) {echo "selected";} ?>>30</option>
                <option value="31" <?php if ($xdia==31) {echo "selected";} ?>>31</option>
              </select>
              Mes: 
              <select name="mesa" id="mesa">
                <option value="01" <?php if ($xmes==1) {echo "selected";} ?>>Enero</option>
                <option value="02" <?php if ($xmes==2) {echo "selected";} ?>>Febrero</option>
                <option value="03" <?php if ($xmes==3) {echo "selected";} ?>>Marzo</option>
                <option value="04" <?php if ($xmes==4) {echo "selected";} ?>>Abril</option>
                <option value="05" <?php if ($xmes==5) {echo "selected";} ?>>Mayo</option>
                <option value="06" <?php if ($xmes==6) {echo "selected";} ?>>Junio</option>
                <option value="07" <?php if ($xmes==7) {echo "selected";} ?>>Julio</option>
                <option value="08" <?php if ($xmes==8) {echo "selected";} ?>>Agosto</option>
                <option value="09" <?php if ($xmes==9) {echo "selected";} ?>>Septiembre</option>
                <option value="10" <?php if ($xmes==10) {echo "selected";} ?>>Octubre</option>
                <option value="11" <?php if ($xmes==11) {echo "selected";} ?>>Noviembre</option>
                <option value="12" <?php if ($xmes==12) {echo "selected";} ?>>Diciembre</option>
              </select>
              A&ntilde;o: 
              <select name="anoa" id="anoa">
                <option value="03" <?php if ($xano==2003) {echo "selected";} ?>>2003</option>
                <option value="04" <?php if ($xano==2004) {echo "selected";} ?>>2004</option>
                <option value="05" <?php if ($xano==2005) {echo "selected";} ?>>2005</option>
                <option value="06" <?php if ($xano==2006) {echo "selected";} ?>>2006</option>
                <option value="07" <?php if ($xano==2007) {echo "selected";} ?>>2007</option>
                <option value="08" <?php if ($xano==2008) {echo "selected";} ?>>2008</option>
                <option value="09" <?php if ($xano==2009) {echo "selected";} ?>>2009</option>
                <option value="10" <?php if ($xano==2010) {echo "selected";} ?>>2010</option>
                <option value="11" <?php if ($xano==2011) {echo "selected";} ?>>2011</option>
                <option value="12" <?php if ($xano==2012) {echo "selected";} ?>>2012</option>
                <option value="13" <?php if ($xano==2013) {echo "selected";} ?>>2013</option>
              </select>
              </strong></td>
          </tr>
          <tr> 
            <td bgcolor="#CCCCCC"><div align="right"><strong><font color="#33CCCC">&gt;&gt;</font></strong> 
                <strong><font color="#666666">Categoria:</font></strong></div></td>
            <td><select name="catea" id="catea">
                <?php
                
require('conexion.php');
                    
$consul7 "SELECT *
                    FROM usrsdt where aplyid=18 and user='
$user'"
                    
" order by id";
                    
$result7 mysql_query($consul7,$db);
                    
$num_filas7 mysql_num_rows($result7);
                    while (
$myrow7 mysql_fetch_array($result7))
                    {
                    
$permis $myrow7["permis"];
                    require(
'conexion3.php');
                    if (
$permis != 0) {
                    
$consul "SELECT *
                    FROM catnew where catid=
$permis";
                    }else{
                    
$consul "SELECT *
                    FROM catnew"
;
                    }
             
            
$result mysql_query($consul,$db);
            
$num_filas mysql_num_rows($result);
            while (
$myrow mysql_fetch_array($result))
            {
            
$idcx $myrow["catid"];
            
$nocx $myrow["catno"];
            if (
$catacc2 == $idcx) {
            echo 
"<option value=\"$idcx\" selected>$nocx</option>";
            }else{
            echo 
"<option value=\"$idcx\">$nocx</option>";
            }}}
              
?>
              </select></td>
          </tr>
          <tr> 
            <td width="20%" bgcolor="#CCCCCC"><div align="right"><strong><font color="#33CCCC">&gt;&gt;</font></strong> 
                <strong><font color="#666666">Titular:</font></strong></div></td>
            <td width="80%"><input name="titulara" type="text" id="titulara" size="35" value="<?php echo $titularacc2?>"></td>
          </tr>
          <tr> 
            <td width="20%" bgcolor="#CCCCCC"><div align="right"><strong><font color="#33CCCC">&gt;&gt;</font></strong> 
                <strong><font color="#666666">Descripci&oacute;n:</font></strong></div></td>
            <td width="80%"><textarea name="desca" cols="50" id="desca"><?php echo $descacc2?></textarea></td>
          </tr>
          <tr> 
            <td width="20%" valign="top" bgcolor="#CCCCCC">
<div align="right"><strong><font color="#33CCCC">&gt;&gt;</font></strong> <strong><font color="#666666">Texto:</font></strong></div></td>
            <td width="80%"><table width="100%" border="0" cellpadding="6">
                <tr>
                  <td width="70%"> 
                    <p><a href="reqeditxt.php?id=<?php echo $idacc2?>&user=<?php echo $user?>">Editar 
                      el texto</a></p></td>
                  <td width="30%">&nbsp;</td>
                </tr>
              </table>
              
            </td>
          </tr>
          <tr> 
            <td colspan="2" bgcolor="#666666"> <div align="center"><strong>
                <input name="texta" type="hidden" id="texta" value="<?php echo $textoacc2?>">
                <input name="user" type="hidden" id="user" value="<?php echo $user?>">
                </strong> 
                <input name="accion" type="hidden" id="accion" value="22">
                <input name="id22" type="hidden" id="id22" value="<?php echo $idacc2?>">
                <input type="submit" name="Submit2" value="Actualizar el registro de la noticia...">
              </div></td>
          </tr>
        </table>
      </form></td>
  </tr>
  <?php
  
}}
  
?>
  <tr> 
    <td><p><font color="#999999" size="6" face="Times New Roman, Times, serif">Agregar 
        Noticias:</font></p>
      <?php
      $xtc 
= isset($accion);
            if (
$xtc == true) {
            if (
$accion == 3) {
            
$mesb $mesb 100;
            
$anob $anob 10000;
            
$fcb $mesb $anob $diab;
            
//$textd = str_replace ("..", "<br><br>", $textb);
            // Ingreso de la imagen
            
$err=0;
            
$link1 "images/" $file_name;
            
//echo $link1;
                
$unix file_exists($link1);
                
//////////////////////// ----------------- >> Cambio de carpeta
                
if ($file_name != "") {
                if (
$unix == 1) {
                
?>
                <p><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Error:</b> 
                    Al parecer existe un archivo con el mismo nombre del que usted quiere cargar,
                    por favor renombrelo y vuelva a intentarlo.</font></p>
                <?php
                $err
=1;
                }else{
                        
                if (
$file_name != "") {
                
$dest "c:/siteadmon/images/" $file_name;
                
$destn "../images/" $file_name;
                
$dest2 "c:/maps/tumbs/" $file_name;
                
copy("$file$dest2); 
                
$dest1 $dest;
                
/////////////// se comprueba que sea gif o jpg
                
$newfile $dest2;
                
$size GetImageSize($newfile); 
                if ((
$size[2] == or $size[2] == 2) and $size[0] <= 300 and $size[1] <= 300) {
                @
copy("$file$dest); 
            }else{
            
?>
                <p><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Error:</b> 
                    Al parecer el archivo que usted quiere agregar no es de ninguna de las extensiones permitidas o excede el ancho
                    o alto máximo permitido, confirme las caracteríticas del archivo y vuelva a intentarlo.</font></p>
                <?php
                $err
=0;
            }
            }}}else{
            
$destn "";
            }
            
///////////////////////
            
if ($err == 0) {
            require(
'conexion3.php');
            
$query ="INSERT INTO news VALUES('','$fcb','$cateb','$titularb','$MyTextAreaName','$descb','$destn','$user',$foro)";
            
$result mysql_query($query,$db);
            
$ars mysql_insert_id($db);
            if (
$result == 0) {
            
?>
            <p><font color="#000000" size="3" face="Times New Roman, Times, serif">Error: No se pudo agregar la noticia, intente nuevamente.</font></p>
            <?php
            
}else{
            
// Inclusión como foro
            
if ($foro == 1) {
            
$query ="INSERT INTO moderador VALUES('','$moderador','$ars')";
            
$result mysql_query($query,$db);
            }
            
?>
            <p><font color="#000000" size="3" face="Times New Roman, Times, serif">Se 
        agrego con &eacute;xito la nueva noticia: <?php echo $titularb?></font></p>
            <?php
            
}
            }}}
        
?></td>
  </tr>
  <tr>
    <td>
<form action="requirenew1.php" method="post" enctype="multipart/form-data" name="form3">
        <table width="100%" border="0" cellpadding="5">
          <tr> 
            <td width="20%" bgcolor="#CCCCCC"><div align="right"><strong><font color="#33CCCC">&gt;&gt;</font></strong> 
                <strong><font color="#666666">Fecha:</font></strong></div></td>
            <td width="80%" bgcolor="#FFFFFF"><strong>D&iacute;a: 
              <select name="diab" id="diab">
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
                <option value="4">4</option>
                <option value="5">5</option>
                <option value="6">6</option>
                <option value="7">7</option>
                <option value="8">8</option>
                <option value="9">9</option>
                <option value="10">10</option>
                <option value="11">11</option>
                <option value="12">12</option>
                <option value="13">13</option>
                <option value="14">14</option>
                <option value="15">15</option>
                <option value="16">16</option>
                <option value="17">17</option>
                <option value="18">18</option>
                <option value="19">19</option>
                <option value="20">20</option>
                <option value="21">21</option>
                <option value="22">22</option>
                <option value="23">23</option>
                <option value="24">24</option>
                <option value="25">25</option>
                <option value="26">26</option>
                <option value="27">27</option>
                <option value="28">28</option>
                <option value="29">29</option>
                <option value="30">30</option>
                <option value="31">31</option>
              </select>
              Mes: 
              <select name="mesb" id="mesb">
                <option value="01">Enero</option>
                <option value="02">Febrero</option>
                <option value="03">Marzo</option>
                <option value="04">Abril</option>
                <option value="05">Mayo</option>
                <option value="06">Junio</option>
                <option value="07">Julio</option>
                <option value="08">Agosto</option>
                <option value="09">Septiembre</option>
                <option value="10">Octubre</option>
                <option value="11">Noviembre</option>
                <option value="12">Diciembre</option>
              </select>
              A&ntilde;o: 
              <select name="anob" id="anob">
                <option value="03">2003</option>
                <option value="04">2004</option>
                <option value="05">2005</option>
                <option value="06">2006</option>
                <option value="07">2007</option>
                <option value="08">2008</option>
                <option value="09">2009</option>
                <option value="10">2010</option>
                <option value="11">2011</option>
                <option value="12">2012</option>
                <option value="13">2013</option>
              </select>
              </strong></td>
          </tr>
          <tr> 
            <td bgcolor="#CCCCCC"><div align="right"><strong><font color="#33CCCC">&gt;&gt;</font></strong> 
                <strong><font color="#666666">Categoria:</font></strong></div></td>
            <td><select name="cateb" id="cateb">
                <?php
              
require('conexion.php');
                    
$consul7 "SELECT *
                    FROM usrsdt where aplyid=18 and user='
$user'"
                    
" order by id";
                    
$result7 mysql_query($consul7,$db);
                    
$num_filas7 mysql_num_rows($result7);
                    while (
$myrow7 mysql_fetch_array($result7))
                    {
                    
$permis $myrow7["permis"];
                    require(
'conexion3.php');
                    if (
$permis != 0) {
                    
$consul "SELECT *
                    FROM catnew where catid=
$permis";
                    }else{
                    
$consul "SELECT *
                    FROM catnew"
;
                    }
            
$result mysql_query($consul,$db);
            
$num_filas mysql_num_rows($result);
            while (
$myrow mysql_fetch_array($result))
            {
            
$idcx $myrow["catid"];
            
$nocx $myrow["catno"];
            echo 
"<option value=\"$idcx\">$nocx</option>";
            }}
              
?>
              </select></td>
          </tr>
          <tr> 
            <td width="20%" bgcolor="#CCCCCC"><div align="right"><strong><font color="#33CCCC">&gt;&gt;</font></strong> 
                <strong><font color="#666666">Titular:</font></strong></div></td>
            <td width="80%"><input name="titularb" type="text" id="titularb" size="35"></td>
          </tr>
          <tr> 
            <td width="20%" bgcolor="#CCCCCC"><div align="right"><strong><font color="#33CCCC">&gt;&gt;</font></strong> 
                <strong><font color="#666666">Descripci&oacute;n:</font></strong></div></td>
            <td width="80%"><textarea name="descb" cols="50" id="descb"></textarea></td>
          </tr>
          <tr> 
            <td bgcolor="#CCCCCC"><div align="right"><strong><font color="#33CCCC">&gt;&gt;</font></strong> 
                <strong><font color="#666666">Imagen*:<br>
                </font></strong><font color="#666666"><font size="1">*La imagen 
                que se a&ntilde;ade debe estar en formato .jpg o .gif y no debe 
                exceder los 300 pixeles de ancho por 250 pixeles de alto en una 
                resoluci&oacute;n m&aacute;xima de 72ppp</font></font></div></td>
            <td><input type="file" name="file"></td>
          </tr>
          <tr> 
            <td bgcolor="#CCCCCC"><div align="right"><strong><font color="#33CCCC">&gt;&gt;</font></strong> 
                <strong><font color="#666666">Foro*:<br>
                </font></strong><font color="#666666"><font size="1">*Permitir 
                la adici&oacute;n de comentarios a esta noticia.</font></font></div></td>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="8">
                <tr>
                  <td><select name="foro">
                      <option value="0">No</option>
                      <option value="1">Si</option>
                    </select></td>
                  <td><select name="moderador">
                  <?php
                  
require('conexion2.php');
                  
$stmt Ociparse($c1" SELECT EU_USERNAME FROM envista.env_users");
                  echo 
$c1;
$result OCIExecute($stmt);
if (
$result == false) {
echo 
OCIError($stmt);
}else{
while (
OCIFetchInto($stmt$value1)) {
foreach (
$value1 as $val1)
{
$usrx $val1;
echo 
"<option value=\"$usrx\">$usrx</option>";
}}}
$c2 OciLogoff($c1);
                      
                      
                
?>
                    </select></td>
                </tr>
              </table></td>
          </tr>
          <tr> 
            <td width="20%" bgcolor="#CCCCCC"><div align="right"><strong><font color="#33CCCC">&gt;&gt;</font></strong> 
                <strong><font color="#666666">Texto:</font></strong></div></td>
            <td width="80%"><textarea cols="70" rows="20" name="MyTextAreaName">
<font size="+1" color="#0000ff">TESTING</font>
</textarea> 
              <script language="JavaScript">
    //comment any button that you want to hide
    var AK_DisplayedButtons = Array(    
                            'FontName',
                            'FontSize',
                            'SelectAll',
                            'Delete',
                            'Cut',
                            'Copy',
                            'Paste',
                            'SaveAs',
                            'Print',
                            'Separator',    
                            'Bold',
                            'Italic',
                            'Underline',
                            'Strikethrough',
                            'Separator',
                            'JustifyLeft',
                            'JustifyCenter',
                            'JustifyRight',
                            'JustifyFull',
                            'Separator',
                            'InsertOrderedList',
                            'InsertUnorderedList',
                            'Outdent',
                            'Indent',
                            'Separator',
                            'SuperScript',
                            'SubScript',
                            'Separator',
                            'CreateLink',
                            'Unlink',
                            'Image',
                            'Separator',
                            'Forecolor',
                            'Backcolor',
                            'Separator'                            
                                                //the last one has NO comma
                        );
        var AK_width = 600;
        var AK_height = 300;
        
    // All fields are optional. Place "null" where you don't want to specify.
    //ak_wysiwyg_generator(width, height, "TextAreaName", DisplayedButtonList);
      ak_wysiwyg_generator(AK_width, AK_height, "MyTextAreaName", AK_DisplayedButtons);
    
    //Examples:
    // ak_wysiwyg_generator(null, null, "MyTextAreaName", AK_DisplayedButtons);
    // ak_wysiwyg_generator(AK_width, AK_height, null, AK_DisplayedButtons);
    // ak_wysiwyg_generator(AK_width, AK_height, "MyTextAreaName", null);
    
    // It can be no parameter at all
    // ak_wysiwyg_generator();  
</script> </td>
          </tr>
          <tr> 
            <td colspan="2" bgcolor="#666666"> <div align="center"><strong> 
                <input name="user" type="hidden" id="user3" value="<?php echo $user?>">
                </strong> 
                <input name="accion" type="hidden" id="accion" value="3">
                <input type="submit" name="Submit22" value="Agregar el registro de la noticia...">
              </div></td>
          </tr>
        </table>
      </form>
      
    </td>
  </tr>
  <tr> 
    <td><p><font size="3" face="Times New Roman, Times, serif"><strong>&iquest;C&oacute;mo 
        usar esta aplicaci&oacute;n?</strong></font></p>
      </td>
  </tr>
  <tr> 
    <td bgcolor="#000000">&nbsp;</td>
  </tr>
  <tr> 
    <td><div align="center"><font color="#999999" size="2" face="Times New Roman, Times, serif">Cont&aacute;ctenos 
        en: <a href="mailto:prensa@dama.gov.co">prensa@dama.gov.co</a><br>
        Todos los Derechos Reservados para el DAMA<br>
        Departamento T&eacute;cnico Administrativo del Medio Ambiente.<br>
        <strong>Subsistema del Sistema de Informaci&oacute;n Ambiental SIA-DAMA<br>
        2003 - 2004</strong></font></div></td>
  </tr>
</table>
<p>&nbsp;</p>
</body>
</html>
<?php
}}
$c2 OciLogoff($c1);
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]--