Ver Mensaje Individual
  #1 (permalink)  
Antiguo 02/11/2011, 05:00
edyuin
(Desactivado)
 
Fecha de Ingreso: septiembre-2011
Mensajes: 283
Antigüedad: 12 años, 8 meses
Puntos: 10
no me sale la imagen

creo que esto va aqui pero no lo se, vereis tengo el siguiente problema he creado otra pagina y le incluido el header que es donde esta toda la cabecara pero ya no me sale la imagen y nose por que es:
este es el include y los archivos:

Código PHP:
<?php
 
include("../header.php"); 

if (!isset(
$_SESSION['logueado_usuario'])) { 
    include (
"../login.php");  
echo 
"<a href='../registro.php'>Registrarse</a>" ;} 
    else {  
    
$nombre =$_SESSION['logueado_nombre']; 
    
$id_usuario=$_SESSION['logueado_id']; 
?> 

<?php
include("config.php");

$query "SELECT COUNT(*) FROM privados where leido='0'";  
$result mysql_query($query); 
$count mysql_fetch_array($result); 


$registros=mysql_query("select * from privados where para='$nombre' ORDER BY id desc ",$conexion) or
  die(
"Problemas en el select:".mysql_error());
 while(
$reg=mysql_fetch_array($registros))
{
  
 
$leido=$reg['leido'];
 
  }

if(
$leido==0)
 
{

echo 
"tienes $count[0] mensajes sin leer";
}
else
{
echo 
"no hay na nuevo";
}



mysql_close($conexion);
?>

<?php ?>
y este es el header.php
Código PHP:
<? session_start();  

include(
"db.php"); ?> 

<html> 

<head> 

    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> 

    <link href="Css/estilo.css" rel="stylesheet" type="text/css" /> <!-- Link a nuestra hoja de estilo css la cual editaremos en un momento--> 

    <script type="text/javascript" src="Js/jquery.js"></script> <!-- Usaremos la libreria JQuery para agilizar la programacion con Javascript --> 

    <script type="text/javascript" src="Js/funRed.js"></script>  <!-- Nuestro archivo de funciones ! --> 

    <title>Mi Red Social</title> 

    <style type="text/css">
<!--
.Estilo1 {color: #000000}
-->
    </style>
</head> 



<body> 



<div class="contenedor_web"> 

<div class="arriba">Tu Red Social</div> 
<div class="arriba Estilo1">aki van los menus</div>
y por ultimo el estilos.css
Código PHP:
body {    
    
font-family:ArialHelveticasans-serif;
    
font-size:14px;
    
margin2px;
}
.
otro{
    
border1px solid white;
    
margin-bottom15px;
}
#cargando{
    
width40px;
    
marginauto;
}
.
imagen{
    
floatleft;
}
legend{
    
color#5B913C;
}
/* Contenedor que tiene la caja de texto para enviar noticia */
.contenedor_muro{
    
background-color#EEEFF0;
    
padding5px;
    
width500px;
    
marginauto;
    
border-top:2px double #91969B ;
}
.
enviar_noticia, .enviar_comentario{
    
background-color:#5B74A8;
    
colorwhite;
    
widthauto;
    
heightauto;
    
padding4px;
    
cursorpointer;
    
border1px solid #142847;
    
font-weightbold;
    
font-size9pt;
    
margin-top4px;
}
.
textarea_noticia{
    
width:495px;
    
font-size:10pt;
    
font-weightbold;
    
height:50px;
}
/* Contenedor cuando se publica una noticia */
.post_box {
    
marginauto;
    
border-bottom:1px dashed #006699;
    
width:499px;
    
padding:.7em 0 .6em 0;
    
line-height:1.1em;
}
.
noticia{
    
floatleft;
    
width405px;
    
margin-left5px;
    
text-alignjustify;
}
.
eliminar_noticia{
    
floatright;
    
width40px;
    
margin0px 2px 0px 0px;
}
/* Div Donde estan el enlace comentar y Me gusta */
#pie{
    
clearboth;
    
margin-left42px;
    
margin-bottom25px;
}
.
enlace_comentar{
    
floatleft;
}
.
cotenEstado{
    
floatleft;
    
margin-left1px;
    
margin-top0;
}
.
eliminar_noticia_actualizado, .comentario_borrar_actualizar{
    
float:right
    
color:#666666;
    
display:block;
    
padding:5px;
    
text-decoration:none;
    -
moz-background-clip:border;
    -
moz-background-inline-policy:continuous;
    -
moz-background-origin:padding;
    
background:transparent none repeat scroll 0 0;
    
border:0 none;
    
color:#333333;
    
cursor:pointer;
    
font-family:'Lucida Grande',Tahoma,Verdana,Arial,sans-serif;
    
font-size:11px;
    
font-weight:bold;
    
margin:0;
    
outline-color:-moz-use-text-color;
    
outline-style:none;
    
outline-width:medium;
    
white-space:nowrap;
}
.
eliminar_noticia_actualizado:hover{
    
opacity:1;
    
filter:alpha(opacity 100);
    -
ms-filter:'alpha(opacity = 100)';
    
border:solid #B1B1B1 1px;
    
background:#EEEEEE;
    
padding:5px;
    
color:#666666;
    
text-decorationnone;
}
/* comentarios */
.conetenedor_comentarios{
    
width:350px
    
margin-left42px;
    
font-size9.5pt;
    
background-color#E7EFEF;
    
border-bottom:1px double #91969B ;
    
padding3px;
    
margin-top2px;
}
.
mostrar_comentario{
    
floatleft;
    
width287px;
    
margin-left5px;
    
text-alignjustify;
}
.
comentario_borrar{
    
floatright;
}
.
cotentComment{
    
margin-left5px;
}
.
cotentComment a, .cotentNotice a{
    
color#B81814;
    
text-decorationnone;
    
font-weightbold;
    
font-size8pt;
}
#pieComment{
    
clearboth;
    
margin-left33px;
    
margin-bottom1px;
}
/*************************/
.comentario_cargado{
    
margin-left:25px
    
padding:3px
    
background-color:#d3e7f5; 
    
width:300px
    
height:30px
    
font-size:15px
    
border-bottom:solid 1px #FFFFFF;
}
/* Enlace para comentar*/
.comentar {
    
font-style:inherit
    
font-family:Georgia
    
font-size:11px;
    
color:#333333;
    
margin2px 6px 2px 0;
    
text-decorationnone;
    
font-weightbold;
}
.
comentar:hover {
    
color#838989;
    
text-decorationnone;
}
/* Div donde esta el el form para enviar el comentarios */
#contenedor_textarea_comentario{
    
margin-top:6px;
    
margin-bottom:6px
    
display:none;
}
.
comentario_caja {
    
margin-left:35px
    
margin-bottom25px;
    
padding:10px
    
width:300px;  
    
height:50px;
}
/* Div donde se motraran en donde esta mostrar .... comentarios */
.comment_ui{
    
width:350px
    
margin-left43px;
    
font-size9.5pt;
    
background-color#040404;
    
border-bottom:2px double #2A2A2A;
    
padding3px;
}
.
comment_ui a{
    
color#5B74A8;
    
text-decorationnone;
    
font-size8pt;
}
.
comment_ui a:hover{
    
text-decorationunderline;
}
/* Formulario de login */
#bar{
    
clearboth;    
}
body 
    
background-image:url(../Img/fondo.gif); 
    
background-repeat:repeat-x
    
font-family:ArialHelveticasans-serif
    
font-size:14px

.
contenedor_web 
    
width:960px
    
height:auto
    
margin:auto
    
padding-bottom:10px

.
arriba
    
width:960px
    
height:47px
    
color:#FFF; 

#izquierda{ 
    
width:200px
    
height:auto
    
float:left

.
contenedor_muro 
    
background-color#EEEFF0; 
    
padding5px
    
width500px
    
height:auto
    
marginauto
    
border-top:2px double #91969B ; 

.
nombre 

.
img_usuario 

.
logout