%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/pantanal/www/
Upload File :
Create Path :
Current File : /home/pantanal/www/produto_list.php

<?php
session_start();
ob_start();

if ($_SERVER["HTTP_HOST"] <> 'localhost') {	error_reporting(0);}

if ($_SESSION['versao'] == '') {
	ob_end_clean();
	header("Location: index.php");
	exit();
}

require_once('Connections/pantanal.php');
mysql_select_db($database_pantanal, $pantanal);
include("_funcoes.php");

header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: private, no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");

mysql_select_db($database_pantanal, $pantanal);
$query_categoria = "SELECT * FROM categoria WHERE id = ".intval($_GET['id'])." ";
$categoria = mysql_query($query_categoria, $pantanal) or die(mysql_error());
$row_categoria = mysql_fetch_assoc($categoria);
$totalRows_categoria = mysql_num_rows($categoria);
?>
<?php
	require_once "Carrinho.php";
	$carrinho = new Carrinho();
	$_SESSION['Carrinho']['Produto']['Nulo'] = 'Nulo';
?>
<!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" />
<? include("inc_metatag.php"); ?>
<style>
@import url("css/estilo.css");
</style>
<script src="js/dw_event.js" type="text/javascript"></script>
<script src="js/dw_scroll.js" type="text/javascript"></script>
<script src="js/scroll_controls.js" type="text/javascript"></script>
<script src="light/js/prototype.js" type="text/javascript"></script>
<script src="light/js/scriptaculous.js?load=effects" type="text/javascript"></script>
<script src="light/js/lightbox.js" type="text/javascript"></script>
<script src="light/js/effects.js" type="text/javascript"></script>
<script src="js/funcoes.js"></script>
</head>
<body>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" id="layout">
  <tr>
    <td><? include("inc_topo.php"); ?></td>
  </tr>
  <tr>
    <td align="center" id="texto">
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td align="left">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="220" valign="top" style="font-size:11px;"><? include("inc_menu_produtos.php");?></td>
              <td valign="top">
              <table width="689" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td>&nbsp;</td>
              <td id="titulo_g">&nbsp;</td>
            </tr>
            <tr>
              <td width="45"><img src="images/title.jpg" alt="" width="45" height="32" /></td>
              <td id="titulo_g"><? echo $row_categoria['categoria_'.$_SESSION['versao']]; ?></td>
              </tr>
            <tr>
              <td>&nbsp;</td>
              <td id="titulo_g">&nbsp;</td>
            </tr>
              </table>
                <? include("inc_produto_categoria.php"); ?></td>
              </tr>
            </table>
            </td>
              </tr>
            <tr>
              <td width="220">&nbsp;</td>
              <td valign="top">&nbsp;</td>
              </tr>
            </table>
          </td>
      </tr>
      <tr>
        <td align="left">&nbsp;</td>
      </tr>
    </table>
    </td>
  </tr>
</table>
<div id="rodape">
  <? include("inc_rodape.php"); ?>
</div>
</body>
</html>

Zerion Mini Shell 1.0