Erro no PHP script
Olá pessoal,
Eu peguei este site para administrar faz pouco tempo e derrepente ele não busca mais o banco de dados.
Agradeço muito pela ajuda! Ao meu parecer o caminho está errado! Não coloquei o script todo porque o css está dentro dele e é enorme. :blink:
<?php
require_once("../classdb.inc.php");
require_once("../diversas.inc.php");
$link = new bd;
$link->conecta();
if ($op == 'igreja' And $acao == 'biblia')
include("biblia/requests.php");
?>
<html>
<head>
<link rel="shortcut icon" href="../pt/images/favicon.ico" type="image/x-icon"/>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- *** MyCSSMenu copyright (c) 2007, MyCSSMenu. All Rights Reserved.
-MyCSSMenu may be manually customized by editing this document, or open this web page using
IE or Firefox to access the visual interface.
<meta http-equiv="Content-Type" content="text/html; charset=latin1" />
<link rel="stylesheet" media="screen" type="text/css" href="../ptnw/style.css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="We provide free flash templates, free templates, free flash header"/>
<meta name="keywords" content="free flash buttons, free templates, free flash header"/>
<script src="../ptnw/js/AC_RunActiveContent.js" type="text/javascript"></script>
<script src="../ptnw/js/jquery142.js" type="text/javascript"></script>
<script src="../ptnw/js/sound.js" type="text/javascript"></script>
<script src="../ptnw/js/main.js" type="text/javascript"></script>
<script language="JavaScript" src="../ptnw/java.js"></script>
<script language="JavaScript" src="../ptnw/valida_form.js"></script>
<script src="../ptnw/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script src="Scripts/AC_ActiveX.js" type="text/javascript"></script>
</head>
<link rel="stylesheet" href="../ptnw/js/lightbox/css/lightbox.css" type="text/css" media="screen" />
<script src="../ptnw/js/lightbox/prototype.js" type="text/javascript"></script>
<script src="../ptnw/js/lightbox/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body bgcolor="#000000" topmargin="0" marginheight="0">
<table border="0" align="left" cellpadding="0" cellspacing="0">
<tr align="left" valign="bottom">
<td width="980" height="350"><table width="1260" height="648" border="0" cellpadding="0" cellspacing="0">
<tr>
<th width="515" scope="col"> </th>
<th width="509" scope="col"> </th>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="2" align="center" valign="bottom"><a href="../pt/index.php?op=eventos">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<!-- Inicio do Bloco Lateral Esquerdo -->
<?php
switch ($op)
{
default :
{
require_once("home.inc.php");
break;
}
case "igreja" :
{
require_once("igreja.inc.php");
break;
}
case "programacao" :
{
require_once("programacao.inc.php");
break;
}
case "eventos" :
{
require_once("eventos.inc.php");
break;
}
case "hinos" :
{
require_once("hinos.inc.php");
break;
}
}
?>
<!-- Fim do bloco lateral direito -->
</tr>
</table> </td>
</tr>
</table>
</body>
</html>Discussão (1)
Carregando comentários...