KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/logicswapweb/aplicaciones/admon/documentos/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/logicswapweb/aplicaciones/admon/documentos/documentos.php
<?
include('./aplicaciones/admon/fnc/DBConnect.php');
include('./aplicaciones/admon/fnc/componente.php');
include('./aplicaciones/admon/fnc/parametro.php');
include('./aplicaciones/admon/fnc/utileria.php');
include('./aplicaciones/admon/fnc/aplicacion.php');
include('./aplicaciones/admon/newsletter/fnc/newsletter.php');
include('./aplicaciones/admon/usuariosWeb/fnc/usuarioWeb.php');
include('./aplicaciones/admon/noticias/fnc/noticia.php');
include('./aplicaciones/admon/documentos/fnc/Carpeta.php');
include('./aplicaciones/admon/documentos/fnc/documento.php');


session_start('web_demo');

$id_carpeta  = (array_key_exists('id_carpeta', $_REQUEST)) ? $_REQUEST['id_carpeta']:59;
$archivo = (array_key_exists('archivo', $_REQUEST)) ? $_REQUEST['archivo']: 'false';
$mostrarArchivo = (array_key_exists('mostrarArchivo', $_REQUEST)) ? $_REQUEST['mostrarArchivo']: 'false';
$pag = (array_key_exists('pag', $_REQUEST)) ? $_REQUEST['pag']: 1;
$id_archivo = (array_key_exists('id_archivo', $_REQUEST)) ? $_REQUEST['id_archivo']: NULL;
$id_carpeta_atras  = (array_key_exists('id_carpeta_atras', $_REQUEST)) ? $_REQUEST['id_carpeta_atras']: 59;


if($mostrarArchivo == 'false')$mostrarArchivo = false;
else $mostrarArchivo = true;

if($archivo == 'false')$archivo = false;
else $archivo = true;

$documentos = new Carpeta();
$documentos->setFiles(6);
//$documentos->obtenerJerarquiaDeCarpetas($id_carpeta);

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><!-- InstanceBegin template="/Templates/interna.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<script>
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
</script>
<!-- InstanceEndEditable --> 

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<link href="css/ordonez.css" rel="stylesheet" type="text/css">
<script src="js/validaciones.js" language="javascript"></script>
<script type="text/javascript" src="js/png.js"></script>
<script>
/*
*funcion logear
*descripcion verifica el login y password
*			 y redirecciona al archivo de cuenta
*/
function logear(frm,tarea){
	frm.elements[2].value = tarea;
	if(fncCheckFormRegistro(frm,0,1)){
		document.frmLogin.submit();
	}
}
function mgOver(obj){
	var elm = document.getElementsByTagName("a");
	elm[obj.id].setAttribute("class","migasrollOver");
}
function mgOut(obj){
	var elm = document.getElementsByTagName("a");
	elm[obj.id].setAttribute("class","migasatras");
}


</script>
<style type="text/css">
<!--
body {
	background-image: url(images/botton_bg.gif);
}
-->
</style></head>

<body onLoad="javascript: PNG_loader()">
<table width="718" height="576" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="576" valign="top"><table width="718" border="0" cellspacing="0" cellpadding="0">
        <tr valign="top">
          <td width="191" height="500" background="images/I_B_bg1.jpg"><!-- InstanceBeginEditable name="menu" --><table width="191" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/menu.jpg" width="191" height="335" border="0" usemap="#Map" href="index.php"></td>
              </tr>
            </table>
            <table width="191" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td height="10"><img src="images/M_space1.jpg" width="191" height="10"></td>
              </tr>
            </table>
            <table width="191" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="19" background="images/M_bg2L.gif">&nbsp;</td>
                <td width="158"><img src="images/M_guia_Debanner.jpg" width="158" height="52"></td>
                <td width="14" background="images/M_bg2R.gif">&nbsp;</td>
              </tr>
              <tr>
                <td height="8" background="images/M_bg2L.gif"><img src="images/comodin.gif" width="16" height="8"></td>
                <td height="8" bgcolor="#FFFFFF"><img src="images/comodin.gif" width="16" height="8"></td>
                <td width="14" height="8" background="images/M_bg2R.gif"><img src="images/comodin.gif" width="14" height="8"></td>
              </tr>
              <tr>
                <td height="8" background="images/M_bg2L.gif">&nbsp;</td>
                <td height="8" bgcolor="#FFFFFF"><img src="images/M_guia_Debanner.jpg" width="158" height="52"></td>
                <td width="14" height="8" background="images/M_bg2R.gif">&nbsp;</td>
              </tr>
            </table>
            <table width="191" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/I_Mbottommatch.jpg" width="191" height="29"></td>
              </tr>
            </table>
          <!-- InstanceEndEditable --></td>
          <td><table width="527" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="262" valign="top"><img src="images/ususario.jpg" width="262" height="29" border="0" usemap="#Map2"></td>
				<form name="frmLogin" method="post" onSubmit="return fncCheckFormRegistro(this,0,1);" action="fnc/main.php">
                <td width="265" background="images/U_bg1.gif" valign="top" align="left">
					<input name="login" id="login" type="text" class="textfield" size="14">
                    <img src="images/U_clave.gif" width="52" height="29" align="absmiddle">
                    <input name="password" id="password" type="text" class="textfield" size="14">
                    <a href="javascript: logear(document.frmLogin,'ingresar')"><img src="images/U_arrow.gif" width="15" height="15" align="absmiddle" border="0" title="Ingresar"></a><input type="hidden" name="tarea" value="ingresar">
				</td>
                </form>
              </tr>

                    </table>
              <table width="527" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="234" height="135" rowspan="2" valign="top"><img src="images/I_B_image1.jpg" width="234" height="135"></td>
                  <td width="264" rowspan="2" valign="top"><table width="264" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="104" height="83" background="images/I_buscar_bgmod.jpg">&nbsp;</td>
                      <td width="160" background="images/I_buscar_bg.jpg"><table width="160" border="0" cellspacing="0" cellpadding="0">
                        <!-- InstanceBeginEditable name="buscar" -->
                        <tr>
                          <td width="40">&nbsp;</td>
                          <td width="120"><img src="images/I_buscarTitle.jpg" width="90" height="22"></td>
                        </tr>
                        <tr>
                          <td>&nbsp;</td>
                          <td><input name="buscar" type="text" class="textfield" size="14" value=""><img src="images/B_arrow.gif" width="13" height="13" onClick="submit">
                        </tr>
                        <!-- InstanceEndEditable -->
                      </table></td>
                    </tr>
                  </table>
                    <table width="264" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td><!-- InstanceBeginEditable name="titulo" --><img src="images/I_mainTitle.jpg" width="264" height="52"><!-- InstanceEndEditable --></td>
                      </tr>
                    </table></td>
                  <td width="29" height="83"><img src="images/I_B_rightmatch1.jpg" width="29" height="83"></td>
                </tr>
                <tr>
                  <td><img src="images/I_rightmatch2.gif" width="29" height="52"></td>
                </tr>
              </table>
              <table width="527" border="0" cellspacing="0" cellpadding="0">
                <!-- InstanceBeginEditable name="contenido" -->
                <tr  valign="top">
                  <td width="1" height="337" bgcolor="#FFFFFF">&nbsp;</td>
                  <td width="474" valign="top" bgcolor="#FFFFFF"><table width="465" border="0" cellspacing="0" cellpadding="0">
                     <!-- <tr>
                        <td><p>&nbsp;</p></td>
                      </tr>-->
                    </table>
                      
<table width="464" height="95%" border="0" cellpadding="0" cellspacing="0" >
<tr><td valign="top">
<? 
if($archivo == true)
{
	$cr = 1;
}else
{
	$cr = 0;
}

$array = $documentos->obtenerJerarquiaDeCarpetas($id_carpeta, $cr);
$arch = $array[0];
$docu = $array[1];

$carps = $array[2];
if($carps)
{
	$nun_carpetas = count($carps);
	$nivel = $nun_carpetas - 1;
	
}


?>
<table width="100%"  border="0">
                                <tr class="migasfondo">

									<td colspan="4">
									   <div align="left" class="migasatras"><!--<a id="migainicio" href="documentos.php?id_carpeta=" class="migasatras" style="cursor:hand" onMouseOver="javascript: mgOver(this);" onMouseOut="javascript: mgOut(this);">Postales</a> -->
										<?
											$i = 0;
											while($nivel >= 0)
											{
												$carpeta = $carps[$nivel];
												if($i > 0)echo '/';
												echo ' <span class="migasatras"><a id="migacat'.$nivel.'" href="documentos.php?id_carpeta='.$carpeta['id'].'" class="migasatras" style="cursor:hand" title="Indice de Aplicaciones" onMouseOver="javascript: mgOver(this);" onMouseOut="javascript: mgOut(this);">'.$carpeta['nombre'].'</a>';
												$i++;
												$nivel--;
											}
											if($docu != false)
											{
												echo '/ <span class="migasatras"><a id="migacat" href="documentos.php?id_carpeta='.$docu['id'].'&archivo=true" class="migasatras" style="cursor:hand" title="Indice de Aplicaciones" onMouseOver="javascript: mgOver(this);" onMouseOut="javascript: mgOut(this);">'.$docu['titulo'].'</a>';
 											}
											if($arch != false)
											{
												echo '/ <span class="migasatras"><a id="migacat" href="documentos.php?id_carpeta='.$arch['id'].'" class="migasatras" style="cursor:hand" title="Indice de Aplicaciones" onMouseOver="javascript: mgOver(this);" onMouseOut="javascript: mgOut(this);">'.$arch['titulo'].'</a>';
 											}
										?>
										

									</td>
								</tr>
                        </table>
</td></tr>
<tr>

<td width="463" height="68" align="center" valign="middle">


<?

if($mostrarArchivo == false && $id_archivo == NULL)
{

	$styles = array();
	$styles['table'] = 'class="titulo" ';
	$styles['tr'] = 'class="titulo"';
	$styles['td'] = 'class="titulo2"';
	$styles['href'] = 'class="titulo2"';

	$navs = array('inicio'=>false, 'atras'=>true, 'pag'=>false, 'sig'=>true, 'final'=>false, 'href'=>'documentos.php?', 'sig_image'=>'images/vinetas/siguiente.jpg', 'atras_image'=>'images/vinetas/atras.jpg', 'final'=>'images/vinetas/final.jpg', 'inicio'=>'images/vinetas/inicio.jpg');
	$href = array('pag_carpetas'=>'documentos.php?id_carpeta_atras='.$id_carpeta.'&', 'pag_archivo'=>'documentos.php?id_carpeta_atras='.$id_carpeta.'&');
	$nav = $documentos->listarCarpetasWeb($id_carpeta, $pag, 10, false, $styles, 1, $archivo, $href, $navs);

	

}else
{
	$arch = $documentos->info_Archivo($id_archivo);

	echo '
		<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="400" height="200">
		  <param name="movie" value="http://azuldigital/OrdonezV2/web/aplicaciones/admon/documentos/docs/archivos/'.$arch['fichero'].'">
		  <param name="quality" value="high">
		  <embed src="http://azuldigital/OrdonezV2/web/aplicaciones/admon/documentos/docs/archivos/'.$arch['fichero'].'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="200"></embed>
		</object> ';


	
}
?>
</td>
</tr>
<tr>
  <td height="117" align="center" valign="bottom">
<?
if($id_archivo) $id_carpeta_atras = $id_carpeta."&archivo=true";
echo $nav;
echo '<br><a href="documentos.php?id_carpeta='.$id_carpeta_atras.'" class="contenido2">volver</a>';

?>
 </td>
</tr>
</table>

				 </td>
                  <td width="43" background="images/I_Rbg.gif"></td>
                </tr>
                <!-- InstanceEndEditable -->
              </table></td>
        </tr>
      </table>
      <table width="718" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="images/I_BOTTOM.jpg" width="718" height="75"></td>
        </tr>
    </table>    </td>
  </tr>
</table>
<div align="center">
  <map name="Map">
    <area shape="rect" coords="24,151,153,171" href="jose.htm" target="_self">
    <area shape="rect" coords="23,172,108,188" href="seccion.php?seleccion=3" target="_self">
    <area shape="rect" coords="21,191,128,211" href="actividades.htm">
    <area shape="rect" coords="23,210,115,230" href="seccion.php?seleccion=2">
    <area shape="rect" coords="23,227,83,248" href="show_catalogo.php">
    <area shape="rect" coords="23,253,131,271" href="contactanos.php">
    <area shape="rect" coords="23,272,120,291" href="show_productos.php">
    <area shape="rect" coords="177,6,190,22" href="addRegistro.php" target="_self">
    <area shape="circle" coords="85,75,68" href="index.php" target="_self" title="Inicio">
    <area shape="rect" coords="25,304,85,326" href="index.php" target="_self">
  </map>
  
<map name="Map2">
    <area shape="rect" coords="2,4,54,25" href="addRegistro.php" target="_self">
    <area shape="rect" coords="63,5,184,24" href="actRegistro.php?data=novalue&login=novalue" target="_self">
  </map>
  <iframe src="" width="0" height="0" name="_fraUsr" id="_fraUsr"><span class="copyright">Copyright &copy; 2005 JOS&Eacute; ORD&Oacute;&Ntilde;EZ JR <br>
&middot; Todos los derechos reservados &middot; webmaster@joseordonez net</span></iframe>
</div>
</body>
<!-- InstanceEnd --></html>

Anon7 - 2021