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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/logicswapweb/downloads.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');
// echo "hello"; exit;
include('./aplicaciones/admon/fnc/bitacora.php');
include('./aplicaciones/admon/fnc/aplicacion.php');
include('./aplicaciones/admon/catalogo/fnc/ParametrosCatalogo.php');
include('./aplicaciones/admon/usuariosWeb/fnc/usuarioWeb.php');
include('./aplicaciones/admon/newsletter/fnc/newsletter.php');
include('./aplicaciones/admon/carrito/fnc/carrito.php');
include('./aplicaciones/admon/catalogo/fnc/Catalogo.php');
include('./aplicaciones/admon/catalogo/fnc/Categoria.php');
include('./aplicaciones/admon/catalogo/fnc/Producto.php');



session_start('web_demo');
// echo "hello"; exit;
$usuarioW = new usuarioWeb();
$usuarioW->setFiles(6);
$file_tittle = "file_".rand(200,300).rand(50,30);



?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>LogicSwap</title>
<style type="text/css">
<!--
@import url("main.css");
body {
	background-color: #999999;
	margin-top: 0px;
	margin-bottom: 0px;
	background-image: url(images/bkg.jpg);
}
.tble_outline {
	border: 2px solid #000000;
}
a:link {
	color: #000000;
}
.style6 {
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif, Verdana ;
	color: #FFFFFF;
}
a:visited {
	color: #000000;
}
.tbleoutlinetable {
	border: thin solid #D9EBF7;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
a:hover {
	color: #333333;
}
.style38 {font-family: Arial, Helvetica, sans-serif, font-size: 10px; color: #000000; font-weight: bold; }
.style45 {font-family: Arial, Helvetica, sans-serif; font-size: 14px;}
#Layer1 {position:absolute;
	width:200px;
	height:26px;
	z-index:1;
	left: 319px;
	top: 174px;
}
-->
</style>
<script type="text/JavaScript">

function messWelcome() {
	var top = window.screen.availHeight/4;
	var left = window.screen.availWidth/4;
	var width = 210;
	var height = 100;
	var strOpciones = 'top='+top+', left='+left+', width='+width+', height='+height+', toolbar=0, menubar=0, status=0, scrollbars=0, resizable=0, moveable=0, z-lock=0, hotkeys=0'; //, fullscreen
	var wndDetalleProd = window.open('welcome.php','wndDetalleProd',strOpciones);
	return true;
}

<!--
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_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_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_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

//-->
</script>
<script>
/*
*funcion logear
*descripcion verifica el login y password
*			 y redirecciona al archivo de cuenta
*/
function logear(frm,tarea){
	frm.tarea.value = tarea;
	if(fncCheckFormRegistro(frm,0,1)){
		document.frmLogin.submit();
	}
}

function frm_check(form){
	if( form.bus_categoria.value== '' && form.bus_referencia.value == ''){
		alert("Digite o seleccione Por favor un patron de Busqueda");
		return false;
	}else{
		return true
	}
}

</script>
<script src="js/validaciones.js" language="javascript"></script>
</head>
<body onload="MM_preloadImages('btns_r1_c3.jpg','buttons/btns_r2_c3.jpg','buttons/btns_r11c3.jpg','buttons/btns_r2_cm.jpg','buttons/btns_r3_cm.jpg','buttons/btns_r4_cm.jpg','buttons/btns_r1_cm.jpg','buttons/btns_r6_c8.jpg','buttons/btns_r7_c9.jpg')">
<div id="Layer1" class="letra_blanca">
  <? if (isset($_SESSION['carrito'])){ echo 'You are Logged In. &nbsp;&nbsp;&nbsp; <a href="fnc/main.php?tarea=salir" targer="_self" >Logout</a>';}else{ echo '<a href="downloads.php" targer="_self" class="letra_blanca" ></a>';}?>
</div>
<!-- Copyright � 2005. Spidersoft Ltd -->
<style>
A.applink:hover {border: 2px dotted #DCE6F4;padding:2px;background-color:#ffff00;color:green;text-decoration:none}
A.applink       {border: 2px dotted #DCE6F4;padding:2px;color:#2F5BFF;background:transparent;text-decoration:none}
A.info          {color:#2F5BFF;background:transparent;text-decoration:none}
A.info:hover    {color:green;background:transparent;text-decoration:underline}
</style>
<!-- /Copyright � 2005. Spidersoft Ltd -->
<table width="804" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000" class="tble_outline">
  <tr>
    <td width="800" height="681"><table width="800" height="685" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="800" height="85"><img src="logicwap_header2.jpg" width="800" height="145" /></td>
      </tr>
      <? 
	  	require ('main_w_no_sign.php');
		if ($ingreso){
			echo '<script> messWelcome(); </script>';
			$ingreso = 0;
		}
	  ?>
      <tr>
        <td height="83" bgcolor="#FFFFFF"><img src="topmid.jpg" width="800" height="83" /></td>
      </tr>
      <tr>
        <td valign="top" height="325" bgcolor="#FFFFFF"><table width="704" height="240" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <th width="704" height="240" valign="top" scope="col">
			<?
			if ( isset($_SESSION['carrito']) ){
			  echo '<p align="justify"> <em><span class="style45">Download</span></em>:</p>';
			} 
			?>
              <p align="left" class="maintxt" font="arial" ;>
			  	<?
				if ( isset($_SESSION['carrito']) ){
					if ($usuarioW->existeCarpetaAsignada($id_usuario) ){
						echo "<b>".$usuarioW->getNombreCaperta($id_usuario).'</b>';
						$usuarioW->showFilesToDownLoad($id_usuario);
					}else{
						echo "Sorry, but you don't have a space asigned.";
					}
				}else{
				?>
				  
					  
						<! <td width="205" height="197" valign="top"> 
						  <div align="center">
						  <form action="fnc/main.php" method="post" name="frmLogin" id="frmLogin" onsubmit="return fncCheckFormRegistro(this,0,1);">
                      				<table  width="210" border="1" cellpadding="2" cellspacing="2" bordercolor="#0" bgcolor="#ffffcc">
                        			<tr> 
                          				<td colspan="2" class="contenido2"><div align="center" class="style10"><strong>LOGIN<a name="login" id="login"></a></strong></div></td>
                        			</tr>
                        			<tr> 
                         				<td class="contenido2"><div align="left" class="style10">Login:</div></td>
                          				<td class="contenido2"><div align="right"> 
                              			<input name="login" id="login" type="text" class="contenido1" size="18" maxlength="30" />
                            				</div></td>
                        			</tr>
                        			<tr> 
                          				<td width="46" class="contenido2"><div align="left" class="style10">Password:</div></td>
                          				<td width="122" class="contenido2"><div align="right"> 
                              				<input name="password" type="password" class="contenido1" id="password" size="18" maxlength="20" />
                            				</div></td>
                        			</tr>
                        			<tr> 
                          				<td colspan="2" class="contenido2"><div align="center"><span class="fecha"> 
                              				<input type="hidden" name="tarea" value="ingresar" />
                              				<input name="entrar" id="entrar" onclick="javascript: logear(document.frmLogin,'ingresar')" type="button" class="contenido2" value="Enter" />
                              				&nbsp; 
                              				<input name="Submit322" type="button" onclick="javascript: logear(document.frmLogin,'miCuenta')" class="contenido2" value="My Account" alt="permite modificar los datos que hayas ingresado al momento que realizaste tu registro!" />
                              				</span></div></td>
                        			</tr>
                        		<tr> 
                          			<td colspan="2" bgcolor="#FFFFFF" class="contenido2"><div align="left"><a href="actRegistro.php?data=novalue&email=novalue" class="style10">Forgot Your Username or Password?</a></div></td>
                        		</tr>
                        		<tr> 
                          			<td colspan="2" bgcolor="#FFFFFF" class="contenido2"><div align="left"><a href="addRegistro.php" class="style10">Register 
                              		Here</a></div></td>
                        		</tr>
                      			</table>
                  		</form>
					<! </td>
					</div>
					
								
				<?
				}
				?>
			  </p>
				<?
				if ( isset($_SESSION['carrito']) ){
					if ($usuarioW->existeCarpetaAsignada($id_usuario) ){?>
                  
               <p align="left"><em><span class="style45">Upload</span></em>:<br />
               </p>
			   <p align="left" class="maintxt">In this section, you can upload files to Migration Service or Support. Please fill the next form and select your file to upload.<br />
                 All data must be zipped with password protection.</p>
               <form id="form1" name="form1" method="post" action="fnc/main.php" enctype="multipart/form-data" onsubmit="return fncCheckFormGeneral(this,0,1,2);">
                 <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" class="maintxt">
                   <tr>
                     <td width="44%" bgcolor="#0000FF" class="style6"><div align="left">Description</div></td>
                     <td bgcolor="#0000FF" class="style6"><div align="left">File Path Name</div></td>
                     </tr>
                   <tr>
                     <td>
                       <div align="left">
                         <textarea name="descripcion" cols="30" rows="4" id="descripcion"></textarea>
                         </div></td>
                     <td>
                       <div align="center">
                         <input name="url1" type="file" class="listado" id="url1" onkeypress="this.blur()" size="40" maxlength="0" />
                         </div></td>
                     </tr>
                   <tr>
                     <td bgcolor="#0000FF" class="style38"><div align="left" class="style6">Type of service </div></td>
                     <td rowspan="2" class="style38"><input type="submit" name="Submit" value="Upload" />
                       <input name="ids" type="hidden" id="ids" value="<?=$usuarioW->getIdCarpetaUpLoad($id_usuario)?>" />
                       <input name="permiso" type="hidden" id="permiso" value="publico" />
                       <input type="hidden" name="_descripcion" value="vacio" />
                       <input type="hidden" name="tarea" value="add_documento" id="tarea" />
                       <input type="hidden" name="nivel" value="2" id="nivel" />
                       <input name="encabezado" type="hidden" id="encabezado" value="file_upload_<?=rand(1,9999).rand(1,10)?>" />
                       <input name="adjunto1" type="hidden" class="listado" id="adjunto1" value="<?=$file_tittle?>"/></td>
                     </tr>
                   <tr>
                     <td><div align="left">
                       <blockquote>
                         <p>
                           <input name="tipo" type="radio" value="Migration Services" checked="checked" />
                           Migration Services
                           <input name="tipo" type="radio" value="Support" />
                           Support </p>
                       </blockquote>
                     </div></td>
                     </tr>
                 </table>
                  </form>               
				  <? }
				  		} ?>
               
  			  	<?
				if ( isset($_SESSION['carrito']) ){
					echo '<p align="left">
					<span class="maintxt">
						<strong>
							Note: Each file will be deleted automatically after 15 days.  You can also delete the files on your own. 
						</strong>
					</span>
					</p>
			              <p align="left" class="maintxt">';
					if ($usuarioW->existeCarpetaAsignada($id_usuario) ){
						$usuarioW->showFilesUpLoad($id_usuario);
					}else{
						echo "Sorry, but you don't have a space asigned.";
					}
					echo '</p>';
				}
				?>
			    </th>
          </tr>
          

          
        </table></td>
      </tr>
      <tr>
        <? require ('menu_footer.php');?>
      </tr>
    </table></td>
  </tr>
</table>

</body>
</html>

Anon7 - 2021