<!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><?php echo $nome_site; ?></title>
<? if($categoria){ ?>
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js"></script>
<script type="text/javascript" src="js/fancyzoom.min.js"></script>
<script type="text/javascript" charset="utf-8">
	$(document).observe('dom:loaded', function() {
		$$("div.photo a").each(function(el) { new FancyZoom(el); })
		new FancyZoom('large_box_link');
	});
</script>
<? } ?>
<link href="estilos.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="background:url(images/fundo_topo.jpg) top left repeat-x;" height="86">
  <tr>
    <td width="200" height="86" style="padding-left:10px;"><a href="index2.php"><img src="images/logo.png" width="200" height="86" border="0" /></a></td>
    <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="right" height="30"><img src="images/painel_adm.jpg" width="197" height="30" /></td>
      </tr>
      <tr>
        <td height="29" align="right" valign="middle" style="padding-right:15px;" class="dados_usuario_top"><? echo $_COOKIE["usuario"]; ?><? if($_COOKIE["nivel"] == "1" OR $_COOKIE["nivel"] == "2") {?> | <a href="usuarios_admin.php">Administrar Usu&aacute;rios</a><? } ?> | <a href="usuario.php">Alterar Meus Dados</a><? if(($_COOKIE["nivel"] == "1") OR ($_COOKIE["nivel"] == "2")) {?> | <a href="configuracoes.php">Configura&ccedil;&otilde;es</a><? } ?> | <a href="user.php?acao=sair">Fazer Logoff</a></td>
      </tr>
      <tr>
        <td height="27" align="right" valign="bottom">
            <div id="tabs">
                <ul>
                    <?php require("menu.php"); ?>
                </ul>
            </div>
        </td>
      </tr>
    </table></td>
  </tr>
</table>