Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Maiquel Pedrosa

Sistema de Administraçao

Recommended Posts

Ola pessoal,

 

 

 

 

 

Bom estou trabalhando num sistema de administraçao para o meu site que esta hospedado em um servidor, ja tenho o sisitema de login funcionando perfeitamente mas ocorreu dois probleminhas:

 

 

Ao acessar meu painel de controle onde contem o formulario de envio de textos para o banco de dados, veio essa mensagem no topo:

 

Warning: main(): open_basedir restriction in effect. File(d:\/Connections/especial.php) is not within the allowed path(s): (../.;d:\www\php\htdocs\tmp) in d:\www\minhapagina.com\htdocs\admin\painel especial.php on line 1

 

Warning: main(/Connections/especial.php): failed to open stream: Operation not permitted in d:\www\minhapagina.com\htdocs\admin\painel especial.php on line 1

 

Warning: main(): Failed opening '/Connections/especial.php' for inclusion (include_path='.;c:\php\pear') in d:\www\minhapagina.com\htdocs\admin\painel especial.php on line 1

 

 

 

E na pagina pra onde sera inserido os dados da tabela apareceu essa:

 

Warning: main(): open_basedir restriction in effect. File(d:\/Connections/especial.php) is not within the allowed path(s): (../.;d:\www\php\htdocs\tmp) in d:\www\minhapagina.com\htdocs\ESPECIAL\index.php on line 1

 

Warning: main(/Connections/especial.php): failed to open stream: Operation not permitted in d:\www\minhapagina.com\htdocs\ESPECIAL\index.php on line 1

 

Warning: main(): Failed opening '/Connections/especial.php' for inclusion (include_path='.;c:\php\pear') in d:\www\minhapagina.com\htdocs\ESPECIAL\index.php on line 1

 

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in d:\www\minhapagina.com\htdocs\ESPECIAL\index.php on line 32

 

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in d:\www\minhapagina.com\htdocs\ESPECIAL\index.php on line 34

 

 

O que eu devo fazer para corrigir ou adicionar algum codigo que eu nao coloquei. E o primeiro script que eu faço e fiquei parei nessas mensagens.

Quem puder me ajudar agradeço d+

 

 

 

 

Maiquel

Compartilhar este post


Link para o post
Compartilhar em outros sites

ESTE é O CODIGO DA PAGINA DO SITE QUE RECEBE OS DADOS:

 

 

<?php include('/Connections/especial.php'); ?>

<?php

if (!function_exists("GetSQLValueString")) {

function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

{

$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;

 

$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

 

switch ($theType) {

case "text":

$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";

break;

case "long":

case "int":

$theValue = ($theValue != "") ? intval($theValue) : "NULL";

break;

case "double":

$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";

break;

case "date":

$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";

break;

case "defined":

$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;

break;

}

return $theValue;

}

}

 

mysql_select_db($database_especial, $especial);

$query_exibir = "SELECT * FROM `pagina especial`";

$exibir = mysql_query($query_exibir, $especial) or die(mysql_error());

$row_exibir = mysql_fetch_assoc($exibir);

$totalRows_exibir = mysql_num_rows($exibir);

?><!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"><!-- InstanceBegin template="/Templates/magazine.dwt.php" codeOutsideHTMLIsLocked="false" -->

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<!-- InstanceBeginEditable name="doctitle" -->

<title>HOPEDESIGNER MAGAZINE</title>

<!-- InstanceEndEditable -->

<link href="/Hopedesigner Post/csshopedesigner.css" rel="stylesheet" type="text/css" />

<style type="text/css">

<!--

body {

margin-left: 0px;

margin-top: 0px;

margin-right: 0px;

margin-bottom: 0px;

}

.Style5 {font-family: Arial, Helvetica, sans-serif; color: #FFFFFF; font-size: 12px; }

.Style10 {

color: #666666;

font-family: Arial, Helvetica, sans-serif;

font-size: 10px;

}

.Style13 {

font-family: Arial, Helvetica, sans-serif;

color: #FFFFFF;

font-size: 24px;

}

.Style15 {

color: #666666;

font-size: 36px;

}

-->

</style>

<script src="file:///Macintosh HD/Users/maiquelpedrosa/Desktop/WEBDESIGNER/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>

<link href="/HOPEDESIGNER MAGAZINE/csshopedesigner.css" rel="stylesheet" type="text/css" />

<style type="text/css">

<!--

.Style16 {font-size: 12px; color: #CC0000;}

.Style19 {font-size: 12px; color: #CC0000; font-family: Arial, Helvetica, sans-serif; }

a:link {

text-decoration: none;

}

a:visited {

text-decoration: none;

}

a:hover {

text-decoration: underline;

}

a:active {

text-decoration: none;

}

.Style23 {

font-family: Arial, Helvetica, sans-serif;

font-size: 12px;

}

.Style31 {font-size: 18px; color: #666666; }

.Style32 {

font-size: 12px;

color: #333333;

}

.Style33 {color: #333333}

.Style34 {color: #FFFFFF}

-->

</style>

<!-- InstanceBeginEditable name="head" -->

<style type="text/css">

<!--

.Style39 {

font-size: 36px

}

.Style40 {

color: #FFFFFF;

font-family: "Baskerville Old Face";

}

.Style41 {

color: #FFCC33;

font-family: Gabrielle;

}

.Style42 {color: #CC0000}

.Style45 {font-size: 12px}

-->

</style>

<!-- InstanceEndEditable -->

</head>

 

<body>

<div id="geral">

<div id="topo">

<table width="100%" height="20" border="0" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF">

<!-- InstanceBeginEditable name="menus" -->

<tr>

<th width="8%" align="left" valign="top" bgcolor="#CC0000" scope="col"><div align="center" class="Style16"><a href="/HOPEDESIGNER MAGAZINE/HOME.php" class="Style5">HOME</a></div></th>

<th width="12%" align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><a href="/HOPEDESIGNER MAGAZINE/ESPECIAL/2009.php" class="Style5 Style42">ESPECIAL</a></div></th>

<th width="10%" align="left" valign="top" bgcolor="#CC0000" scope="col"><div align="center"><a href="/HOPEDESIGNER MAGAZINE/OPINIAO/materia.php" class="Style5">OPINIÃO</a></div></th>

<th width="16%" align="left" valign="top" bgcolor="#CC0000" scope="col"><div align="center"><a href="/HOPEDESIGNER MAGAZINE/COLUNISTAS/colunas.php" class="Style5">COLUNISTAS</a></div></th>

<th width="18%" align="left" valign="top" bgcolor="#CC0000" scope="col"><div align="center"><a href="/HOPEDESIGNER MAGAZINE/ESTRANGEIRO/principal.php" class="Style5">ESTRANGEIRO</a></div></th>

<th width="16%" align="left" valign="top" bgcolor="#009900" scope="col"><div align="center"><a href="/HOPEDESIGNER MAGAZINE/PAGE VERTE/page.php" class="Style5">PAGE VERTE</a></div></th>

<th width="20%" align="left" valign="top" bgcolor="#CC0000" scope="col"><div align="center"><a href="/HOPEDESIGNER MAGAZINE/HOPEDESIGNER/index.php" class="Style5">HOPEDESIGNER</a></div></th>

</tr>

<!-- InstanceEndEditable -->

</table>

<div id="topo noticias">

<div id="topo titulopub">

<div id="titulo">

<table width="100%" height="119" border="1" cellspacing="2" bordercolor="#EDEDED" bgcolor="#FFFFFF">

<tr align="left" valign="top">

<th height="113" valign="middle" scope="col"><p align="center">

<script type="text/javascript">

AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','964','height','109','title','banner topo','src','/banners/pubtopo01','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','/banners/pubtopo01' ); //end AC code

</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="964" height="109" title="banner topo">

<param name="movie" value="/banners/pubtopo01.swf" />

<param name="quality" value="high" />

<embed src="/banners/pubtopo01.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="964" height="109"></embed>

</object></noscript>

 

</p></th>

</tr>

</table>

</div>

<div id="titulo">

<div align="center">

<table width="100%" height="58" border="0">

<!-- InstanceBeginEditable name="titulo pagina" -->

<tr>

<td align="left" valign="middle" bgcolor="#CC0000" scope="col"><blockquote>

<p class="Style39"><span class="Style40">Hope</span><span class="Style41">Especial</span></p>

</blockquote></td>

<th width="26%" align="left" valign="top" bgcolor="#000000" scope="col"> </th>

</tr>

<!-- InstanceEndEditable -->

</table>

</div>

</div>

<div id="centro">

<table width="100%" height="461" border="0" cellspacing="1" bordercolor="#E7E7E7" bgcolor="#FFFFFF">

<tr>

<td align="left" valign="top" scope="col"><!-- InstanceBeginEditable name="centro" -->

<table width="100%" height="689" border="0" cellspacing="5" id="centro especial">

<tr>

<td height="26" align="left" valign="top" class="Style10" scope="col"><table width="100%" border="0" cellpadding="0" cellspacing="0" id="titulo especial">

<tr>

<th height="24" align="left" valign="top" scope="col"><?php echo $row_exibir['titulo']; ?></th>

</tr>

</table></td>

</tr>

<tr>

<td height="541" align="left" valign="top" class="Style10 Style33 Style45" scope="col"><table width="100%" height="546" border="0" cellpadding="0" cellspacing="0" id="texto especial">

<tr>

<th height="546" align="left" valign="top" scope="col"><?php echo $row_exibir['texto']; ?></th>

</tr>

</table></td>

</tr>

<tr>

<td height="20" align="left" valign="middle" class="Style10 Style45" scope="col">Ultimos artigos</td>

</tr>

 

<tr>

<td height="20" align="left" valign="top" class="Style10 Style45" scope="col"><table width="100%" border="0" id="especial link 01">

<tr>

<th align="left" valign="top" scope="col"> </th>

</tr>

</table></td>

</tr>

<tr>

<td height="20" align="left" valign="top" class="Style10 Style45" scope="col"><table width="100%" border="0" id="especial link 02">

<tr>

<th align="left" valign="top" scope="col"> </th>

</tr>

</table></td>

</tr>

<tr>

<td align="left" valign="top" class="Style10 Style45" scope="col"><table width="100%" border="0" id="especial link 03">

<tr>

<th align="left" valign="top" scope="col"> </th>

</tr>

</table></td>

</tr>

</table>

<!-- InstanceEndEditable --></td>

<th width="30%" align="left" valign="top" bgcolor="#EDEDED" scope="col"><table width="100%" height="679" border="0" cellpadding="5" cellspacing="5">

<tr>

<td height="156" align="left" valign="top" bgcolor="#F7F7F7" scope="col">Noticias</td>

</tr>

<tr>

<td height="282" align="left" valign="top" bgcolor="#F7F7F7" scope="row">Banner</td>

</tr>

<tr>

<td align="left" valign="top" bgcolor="#F7F7F7" scope="row">Tempo</td>

</tr>

<tr>

<td align="left" valign="top" bgcolor="#F7F7F7" scope="row">Moeda</td>

</tr>

</table></th>

</tr>

</table>

</div>

<div id="base">

<table width="100%" border="0" cellspacing="10" bgcolor="#EDEDED">

<tr>

<td width="30%" align="left" valign="top" class="Style13" scope="col"><p><span class="Style15">HopeDesigner</span> </p>

<p><span class="Style31">©Todos os direitos</span></p></td>

<td width="70%" height="25" align="left" valign="middle" class="Style5" scope="col"><div align="center" class="Style10"> <a href="/HOME.php" class="Style10 Style32">Home</a> l <a href="/ESPECIAL/index.php" class="Style32">Especial</a> l <a href="/OPINIAO/index.php" class="Style32">Opinião</a> l <a href="/COLUNISTAS/index.php" class="Style32">Colunistas</a> l <a href="/ESTRANGEIRO/index.php" class="Style32">Estrangeiro</a> l <a href="/PAGE VERTE/index.php" class="Style32">Page Verte</a> l <a href="/HOPEDESIGNER/index.php" class="Style32">HopeDesigner </a>

<p class="Style23"><a href="/termos.php" class="Style33">Termos de Uso</a> l <a href="/privacidade.php" class="Style33">Politica de Privacidade</a></p>

</div></td>

</tr>

</table>

</div>

</div>

</div>

</div>

</div>

</body>

<!-- InstanceEnd --></html>

<?php

mysql_free_result($exibir);

?>

 

 

 

 

ESTE é O CODIGO DO PAINEL DE ADMINISTRAÇAO:

 

 

 

<?php include('/Connections/especial.php'); ?>

<?php

if (!function_exists("GetSQLValueString")) {

function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

{

$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;

 

$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

 

switch ($theType) {

case "text":

$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";

break;

case "long":

case "int":

$theValue = ($theValue != "") ? intval($theValue) : "NULL";

break;

case "double":

$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";

break;

case "date":

$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";

break;

case "defined":

$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;

break;

}

return $theValue;

}

}

 

$editFormAction = $_SERVER['PHP_SELF'];

if (isset($_SERVER['QUERY_STRING'])) {

$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);

}

 

if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {

$insertSQL = sprintf("INSERT INTO `pagina especial` (titulo, texto) VALUES (%s, %s)",

GetSQLValueString($_POST['titulo'], "text"),

GetSQLValueString($_POST['texto'], "text"));

 

mysql_select_db($database_especial, $especial);

$Result1 = mysql_query($insertSQL, $especial) or die(mysql_error());

 

$insertGoTo = "/admin/painel ok.php";

if (isset($_SERVER['QUERY_STRING'])) {

$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";

$insertGoTo .= $_SERVER['QUERY_STRING'];

}

header(sprintf("Location: %s", $insertGoTo));

}

?><!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"><!-- InstanceBegin template="/Templates/painel.dwt.php" codeOutsideHTMLIsLocked="false" -->

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>Document sans titre</title>

<style type="text/css">

<!--

body {

background-image: url();

background-repeat: repeat;

background-color: #c80000;

}

body,td,th {

font-family: Geneva;

color: #666666;

}

.Style5 {color: #FF0000; font-size: 12px; }

.Style6 {font-size: 10px}

.Style7 {color: #FF0000}

.Style8 {color: #FF0000; font-size: 10px; }

a:link {

text-decoration: none;

}

a:visited {

text-decoration: none;

}

a:hover {

text-decoration: underline;

}

a:active {

text-decoration: none;

}

.Style10 {color: #009900; font-size: 10px; }

-->

</style></head>

 

<body>

<table width="700" height="28" border="0" align="center">

<tr align="left" valign="middle">

<td height="24" bgcolor="#FFFFFF" scope="col"><div align="center" class="Style6">

<div align="center"><span class="Style7"><a href="/admin/painel home.php" class="Style8">HOME</a></span></div>

</div></td>

<td bgcolor="#FFFFFF" scope="col"><div align="center" class="Style6">

<div align="center"><span class="Style7"><a href="/admin/painel especial.php" class="Style8">ESPECIAL</a></span></div>

</div></td>

<td bgcolor="#FFFFFF" scope="col"><div align="center" class="Style6">

<div align="center"><span class="Style7"><a href="/admin/painel opiniao.php" class="Style8">OPINÃO</a></span></div>

</div></td>

<td bgcolor="#FFFFFF" scope="col"><div align="center" class="Style6">

<div align="center"><a href="/admin/painel coluna a.php"><span class="Style8">COLUNA A</span></a></div>

</div></td>

<td bgcolor="#FFFFFF" scope="col"><div align="center" class="Style6">

<div align="center"><a href="/admin/painel coluna b.php"><span class="Style8">COLUNA B</span></a></div>

</div></td>

<td bgcolor="#FFFFFF" scope="col"><div align="center" class="Style6">

<div align="center"><a href="/admin/painel coluna c.php"><span class="Style8">COLUNA C</span></a></div>

</div></td>

<td bgcolor="#FFFFFF" scope="col"><div align="center" class="Style6">

<div align="center"><span class="Style7"><a href="/admin/painel estrangeiro.php" class="Style8">ESTRANGEIRO</a></span></div>

</div></td>

<td bgcolor="#FFFFFF" scope="col"><div align="center" class="Style6">

<div align="center"><a href="/admin/painel page verte.php"><span class="Style10">PAGE VERTE</span></a></div>

</div></td>

<td bgcolor="#FFFFFF" scope="col"><div align="center"><span class="Style8"><a href="/admin/painel hopedesigner.php" class="Style8">HOPEDESIGNER</a></span></div></td>

<td bgcolor="#FFFFFF" scope="col"><div align="center"><span class="Style8"><a href="/admin/painel hopeweb.php" class="Style8">HOPEWEB</a></span></div></td>

<td bgcolor="#FFFFFF" scope="col"><div align="center"><span class="Style8"><a href="/admin/painel hopefoto.php" class="Style8">HOPEFOTO</a></span></div></td>

<td bgcolor="#FFFFFF" scope="col"><div align="center" class="Style6">

<div align="center"><span class="Style7"><a href="/admin/painel hopevideo.php" class="Style7">HOPEVIDEO</a></span></div>

</div></td>

</tr>

</table>

<p> </p>

<!-- InstanceBeginEditable name="form texto" -->

<form action="<?php echo $editFormAction; ?>" method="post" name="form1" id="form1">

<table width="312" height="104" align="center">

<tr valign="baseline">

<td width="51" align="right" nowrap="nowrap" class="Style7">Titulo</td>

<td width="327"><input type="text" name="titulo" value="" size="32" /></td>

</tr>

<tr valign="baseline">

<td height="48" align="right" nowrap="nowrap" bgcolor="#FFFFFF" class="Style7">Texto</td>

<td><input name="texto" type="text" value="" size="32" /></td>

</tr>

<tr valign="baseline">

<td height="23" align="right" nowrap="nowrap"> </td>

<td><input type="submit" value="Insérer l'enregistrement" /></td>

</tr>

</table>

<input type="hidden" name="MM_insert" value="form1" />

</form>

<p> </p>

<!-- InstanceEndEditable -->

<p> </p>

<p> </p>

<p> </p>

</body>

<!-- InstanceEnd --></html>

 

 

 

 

TAI GALERA, QUEM PUDER ME AJUDAR NISSO VALEU D+ MESMO

 

 

MAIQUEL

Compartilhar este post


Link para o post
Compartilhar em outros sites

Esse é o painel especial.php ?

 

O erro diz onde está o erro.

Warning: main(): open_basedir restriction in effect. File(d:\/Connections/especial.php) is not within the allowed path(s): (../.;d:\www\php\htdocs\tmp) in d:\www\minhapagina.com\htdocs\admin\painel especial.php on line 1

Compartilhar este post


Link para o post
Compartilhar em outros sites

Bom antes de fazer qualquer alterção vai o codigo da especial.php

 

 

<?php include('/Connections/especial.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
{
  $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;

  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

  switch ($theType) {
	case "text":
	  $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
	  break;	
	case "long":
	case "int":
	  $theValue = ($theValue != "") ? intval($theValue) : "NULL";
	  break;
	case "double":
	  $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
	  break;
	case "date":
	  $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
	  break;
	case "defined":
	  $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
	  break;
  }
  return $theValue;
}
}

mysql_select_db($database_especial, $especial);
$query_exibir = "SELECT * FROM `pagina especial`";
$exibir = mysql_query($query_exibir, $especial) or die(mysql_error());
$row_exibir = mysql_fetch_assoc($exibir);
$totalRows_exibir = mysql_num_rows($exibir);
?><!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"><!-- InstanceBegin template="/Templates/magazine.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>HOPEDESIGNER MAGAZINE</title>
<!-- InstanceEndEditable -->
<link href="/Hopedesigner Post/csshopedesigner.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.Style5 {font-family: Arial, Helvetica, sans-serif; color: #FFFFFF; font-size: 12px; }
.Style10 {
	color: #666666;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
}
.Style13 {
	font-family: Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	font-size: 24px;
}
.Style15 {
	color: #666666;
	font-size: 36px;
}
-->
</style>
<script src="file:///Macintosh HD/Users/maiquelpedrosa/Desktop/WEBDESIGNER/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<link href="/HOPEDESIGNER MAGAZINE/csshopedesigner.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.Style16 {font-size: 12px; color: #CC0000;}
.Style19 {font-size: 12px; color: #CC0000; font-family: Arial, Helvetica, sans-serif; }
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
.Style23 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.Style31 {font-size: 18px; color: #666666; }
.Style32 {
	font-size: 12px;
	color: #333333;
}
.Style33 {color: #333333}
.Style34 {color: #FFFFFF}
-->
</style>
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.Style39 {
	font-size: 36px
}
.Style40 {
	color: #FFFFFF;
	font-family: "Baskerville Old Face";
}
.Style41 {
	color: #FFCC33;
	font-family: Gabrielle;
}
.Style42 {color: #CC0000}
.Style45 {font-size: 12px}
-->
</style>
<!-- InstanceEndEditable -->
</head>

<body>
<div id="geral">
  <div id="topo">
	<table width="100%" height="20" border="0" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
	  <!-- InstanceBeginEditable name="menus" -->
	  <tr>
		<th width="8%" align="left" valign="top" bgcolor="#CC0000" scope="col"><div align="center" class="Style16"><a href="/HOPEDESIGNER MAGAZINE/HOME.php" class="Style5">HOME</a></div></th>
		<th width="12%" align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><a href="/HOPEDESIGNER MAGAZINE/ESPECIAL/2009.php" class="Style5 Style42">ESPECIAL</a></div></th>
		<th width="10%" align="left" valign="top" bgcolor="#CC0000" scope="col"><div align="center"><a href="/HOPEDESIGNER MAGAZINE/OPINIAO/materia.php" class="Style5">OPINIÃO</a></div></th>
		<th width="16%" align="left" valign="top" bgcolor="#CC0000" scope="col"><div align="center"><a href="/HOPEDESIGNER MAGAZINE/COLUNISTAS/colunas.php" class="Style5">COLUNISTAS</a></div></th>
		<th width="18%" align="left" valign="top" bgcolor="#CC0000" scope="col"><div align="center"><a href="/HOPEDESIGNER MAGAZINE/ESTRANGEIRO/principal.php" class="Style5">ESTRANGEIRO</a></div></th>
		<th width="16%" align="left" valign="top" bgcolor="#009900" scope="col"><div align="center"><a href="/HOPEDESIGNER MAGAZINE/PAGE VERTE/page.php" class="Style5">PAGE VERTE</a></div></th>
		<th width="20%" align="left" valign="top" bgcolor="#CC0000" scope="col"><div align="center"><a href="/HOPEDESIGNER MAGAZINE/HOPEDESIGNER/index.php" class="Style5">HOPEDESIGNER</a></div></th>
	  </tr>
	  <!-- InstanceEndEditable -->
	</table>
	<div id="topo noticias">
	  <div id="topo titulopub">
		<div id="titulo">
		  <table width="100%" height="119" border="1" cellspacing="2" bordercolor="#EDEDED" bgcolor="#FFFFFF">
			<tr align="left" valign="top">
			  <th height="113" valign="middle" scope="col"><p align="center">
				<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','964','height','109','title','banner topo','src','/banners/pubtopo01','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','/banners/pubtopo01' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="964" height="109" title="banner topo">
				  <param name="movie" value="/banners/pubtopo01.swf" />
				  <param name="quality" value="high" />
				  <embed src="/banners/pubtopo01.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="964" height="109"></embed>
				</object></noscript>
				
			  </p></th>
			</tr>
		  </table>
		</div>
		<div id="titulo">
		  <div align="center">
			<table width="100%" height="58" border="0">
			  <!-- InstanceBeginEditable name="titulo pagina" -->
			  <tr>
				<td align="left" valign="middle" bgcolor="#CC0000" scope="col"><blockquote>
				  <p class="Style39"><span class="Style40">Hope</span><span class="Style41">Especial</span></p>
				</blockquote></td>
				<th width="26%" align="left" valign="top" bgcolor="#000000" scope="col"> </th>
			  </tr>
			  <!-- InstanceEndEditable -->
			</table>
		  </div>
		</div>
		<div id="centro">
		  <table width="100%" height="461" border="0" cellspacing="1" bordercolor="#E7E7E7" bgcolor="#FFFFFF">
			<tr>
			  <td align="left" valign="top" scope="col"><!-- InstanceBeginEditable name="centro" -->
				<table width="100%" height="689" border="0" cellspacing="5" id="centro especial">
				  <tr>
					<td height="26" align="left" valign="top" class="Style10" scope="col"><table width="100%" border="0" cellpadding="0" cellspacing="0" id="titulo especial">
					  <tr>
						<th height="24" align="left" valign="top" scope="col"><?php echo $row_exibir['titulo']; ?></th>
					  </tr>
					</table></td>
				  </tr>
				  <tr>
					<td height="541" align="left" valign="top" class="Style10 Style33 Style45" scope="col"><table width="100%" height="546" border="0" cellpadding="0" cellspacing="0" id="texto especial">
					  <tr>
						<th height="546" align="left" valign="top" scope="col"><?php echo $row_exibir['texto']; ?></th>
					  </tr>
					</table></td>
				  </tr>
				  <tr>
					<td height="20" align="left" valign="middle" class="Style10 Style45" scope="col">Ultimos artigos</td>
				  </tr>
				  
				  <tr>
					<td height="20" align="left" valign="top" class="Style10 Style45" scope="col"><table width="100%" border="0" id="especial link 01">
					  <tr>
						<th align="left" valign="top" scope="col"> </th>
					  </tr>
					</table></td>
				  </tr>
				  <tr>
					<td height="20" align="left" valign="top" class="Style10 Style45" scope="col"><table width="100%" border="0" id="especial link 02">
					  <tr>
						<th align="left" valign="top" scope="col"> </th>
					  </tr>
					</table></td>
				  </tr>
				  <tr>
					<td align="left" valign="top" class="Style10 Style45" scope="col"><table width="100%" border="0" id="especial link 03">
					  <tr>
						<th align="left" valign="top" scope="col"> </th>
					  </tr>
					</table></td>
				  </tr>
				</table>
			  <!-- InstanceEndEditable --></td>
			  <th width="30%" align="left" valign="top" bgcolor="#EDEDED" scope="col"><table width="100%" height="679" border="0" cellpadding="5" cellspacing="5">
				<tr>
				  <td height="156" align="left" valign="top" bgcolor="#F7F7F7" scope="col">Noticias</td>
				</tr>
				<tr>
				  <td height="282" align="left" valign="top" bgcolor="#F7F7F7" scope="row">Banner</td>
				</tr>
				<tr>
				  <td align="left" valign="top" bgcolor="#F7F7F7" scope="row">Tempo</td>
				</tr>
				<tr>
				  <td align="left" valign="top" bgcolor="#F7F7F7" scope="row">Moeda</td>
				</tr>
			  </table></th>
			</tr>
		  </table>
		</div>
		<div id="base">
		  <table width="100%" border="0" cellspacing="10" bgcolor="#EDEDED">
			<tr>
			  <td width="30%" align="left" valign="top" class="Style13" scope="col"><p><span class="Style15">HopeDesigner</span>				</p>
			  <p><span class="Style31">©Todos os direitos</span></p></td>
			  <td width="70%" height="25" align="left" valign="middle" class="Style5" scope="col"><div align="center" class="Style10">				<a href="/HOME.php" class="Style10 Style32">Home</a> l <a href="/ESPECIAL/index.php" class="Style32">Especial</a> l <a href="/OPINIAO/index.php" class="Style32">Opinião</a> l <a href="/COLUNISTAS/index.php" class="Style32">Colunistas</a> l <a href="/ESTRANGEIRO/index.php" class="Style32">Estrangeiro</a> l <a href="/PAGE VERTE/index.php" class="Style32">Page Verte</a> l <a href="/HOPEDESIGNER/index.php" class="Style32">HopeDesigner </a>
				<p class="Style23"><a href="/termos.php" class="Style33">Termos de Uso</a> l <a href="/privacidade.php" class="Style33">Politica de Privacidade</a></p>
			  </div></td>
			</tr>
		  </table>
		</div>
	  </div>
	</div>
  </div>
</div>
</body>
<!-- InstanceEnd --></html>
<?php
mysql_free_result($exibir);
?>

Provavelmente sera ela mas vale conferir

 

 

 

Maiquel

Compartilhar este post


Link para o post
Compartilhar em outros sites

Fiz a alteração na linha 1 por:

 

<?php include('Connections/ESPECIAL/index.php'); ?>

 

 

As mensagens persistem ainda:

 

 

 

Warning: main(Connections/ESPECIAL/index.php): failed to open stream: No such file or directory in d:\www\hopedesigner.com\htdocs\ESPECIAL\index.php on line 1

 

Warning: main(): Failed opening 'Connections/ESPECIAL/index.php' for inclusion (include_path='.;c:\php\pear') in d:\www\hopedesigner.com\htdocs\ESPECIAL\index.php on line 1

 

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in d:\www\hopedesigner.com\htdocs\ESPECIAL\index.php on line 32

 

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in d:\www\hopedesigner.com\htdocs\ESPECIAL\index.php on line 34

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.