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/productosCarrito.php
<? 
error_reporting(E_ERROR);
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/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');
include('./aplicaciones/admon/carrito/fnc/pedido.php');

session_start('web_demo');
$solo_publico = true;
if(session_is_registered('usuarioWeb'))
{
	$solo_publico = false;
}



$catalogo=new Catalogo();
$catalogo->setFiles(6);
/*session_register('carrito');
$carrito=new Carrito();*/

//print_r($carrito->items);

$id_car =   (array_key_exists('id_car', $_REQUEST)) ? $_REQUEST['id_car']: NULL;
$id_categoria =   (array_key_exists('id_categoria', $_REQUEST)) ? $_REQUEST['id_categoria']: NULL;
$ini_line = (array_key_exists('ini_line', $_REQUEST)) ? $_REQUEST['ini_line']: 1;
$inicio =   $catalogo->inicioPagina($ini_line);
$ini =      ($ini_line-1)*10;
//$matrix=$catalogo->matrix();

?>

<!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: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #FFFFFF;
}
a:visited {
	color: #000000;
}
.style25 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.style26 {
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
	font-size: 16px;
}
.style28 {font-family: Arial, Helvetica, sans-serif; font-size: 10px; }
.style30 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; }
.tbleoutlinetable {
	border: thin solid #D9EBF7;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.style31 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; }
.style32 {font-size: 12px}
.style33 {font-family: Arial, Helvetica, sans-serif}
a:hover {
	color: #333333;
}
.style34 {
	color: #000000;
	font-weight: bold;
}
.style38 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; font-weight: bold; }
.style42 {
	font-size: 14px;
	font-weight: bold;
	font-style: italic;
}
.style43 {
	font-size: 14px;
	font-weight: bold;
}
#Layer1 {	position:absolute;
	width:200px;
	height:26px;
	z-index:1;
	left: 319px;
	top: 174px;
}
-->
</style>
<script type="text/JavaScript">
<!--
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];}
}
//-->
</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 (session_is_registered('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" >Log In</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 ('menu.php');?>
      <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="100%" border="0" bgcolor="#DBECF7" >
          <tr>
            <td bgcolor="#FFFFFF" class="style26">My Shopping Cart </td>
          </tr>
          <tr>
            <td>
			<?
			
			if(session_is_registered("ped")){
				$ped->setFiles(6);
				if($ped->mostrarContenidoCarrito($carrito->items, "./aplicaciones/admon/carrito/plantillas/itemsPedido.htm")==false){
					echo "<script>document.location.href='index.php';</script>";
				}
				$ped->setFiles(5);
			}else{
				echo '<script type="text/javascript">
alert("Your Shopping Cart is empty.");
history.back();
</script>
';
			}

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

</body>
</html>

Anon7 - 2021