Ver Mensaje Individual
  #1 (permalink)  
Antiguo 02/11/2011, 05:00
edyuin
(Desactivado)
 
Fecha de Ingreso: septiembre-2011
Mensajes: 283
Antigüedad: 15 años
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:Arial, Helvetica, sans-serif;
    
font-size:14px;
    
margin: 2px;
}
.
otro{
    
border: 1px solid white;
    
margin-bottom: 15px;
}
#cargando{
    
width: 40px;
    
margin: auto;
}
.
imagen{
    
float: left;
}
legend{
    
color: #5B913C;
}
/* Contenedor que tiene la caja de texto para enviar noticia */
.contenedor_muro{
    
background-color: #EEEFF0;
    
padding: 5px;
    
width: 500px;
    
margin: auto;
    
border-top:2px double #91969B ;
}
.
enviar_noticia, .enviar_comentario{
    
background-color:#5B74A8;
    
color: white;
    
width: auto;
    
height: auto;
    
padding: 4px;
    
cursor: pointer;
    
border: 1px solid #142847;
    
font-weight: bold;
    
font-size: 9pt;
    
margin-top: 4px;
}
.
textarea_noticia{
    
width:495px;
    
font-size:10pt;
    
font-weight: bold;
    
height:50px;
}
/* Contenedor cuando se publica una noticia */
.post_box {
    
margin: auto;
    
border-bottom:1px dashed #006699;
    
width:499px;
    
padding:.7em 0 .6em 0;
    
line-height:1.1em;
}
.
noticia{
    
float: left;
    
width: 405px;
    
margin-left: 5px;
    
text-align: justify;
}
.
eliminar_noticia{
    
float: right;
    
width: 40px;
    
margin: 0px 2px 0px 0px;
}
/* Div Donde estan el enlace comentar y Me gusta */
#pie{
    
clear: both;
    
margin-left: 42px;
    
margin-bottom: 25px;
}
.
enlace_comentar{
    
float: left;
}
.
cotenEstado{
    
float: left;
    
margin-left: 1px;
    
margin-top: 0;
}
.
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-decoration: none;
}
/* comentarios */
.conetenedor_comentarios{
    
width:350px; 
    
margin-left: 42px;
    
font-size: 9.5pt;
    
background-color: #E7EFEF;
    
border-bottom:1px double #91969B ;
    
padding: 3px;
    
margin-top: 2px;
}
.
mostrar_comentario{
    
float: left;
    
width: 287px;
    
margin-left: 5px;
    
text-align: justify;
}
.
comentario_borrar{
    
float: right;
}
.
cotentComment{
    
margin-left: 5px;
}
.
cotentComment a, .cotentNotice a{
    
color: #B81814;
    
text-decoration: none;
    
font-weight: bold;
    
font-size: 8pt;
}
#pieComment{
    
clear: both;
    
margin-left: 33px;
    
margin-bottom: 1px;
}
/*************************/
.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;
    
margin: 2px 6px 2px 0;
    
text-decoration: none;
    
font-weight: bold;
}
.
comentar:hover {
    
color: #838989;
    
text-decoration: none;
}
/* 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-bottom: 25px;
    
padding:10px; 
    
width:300px;  
    
height:50px;
}
/* Div donde se motraran en donde esta mostrar .... comentarios */
.comment_ui{
    
width:350px; 
    
margin-left: 43px;
    
font-size: 9.5pt;
    
background-color: #040404;
    
border-bottom:2px double #2A2A2A;
    
padding: 3px;
}
.
comment_ui a{
    
color: #5B74A8;
    
text-decoration: none;
    
font-size: 8pt;
}
.
comment_ui a:hover{
    
text-decoration: underline;
}
/* Formulario de login */
#bar{
    
clear: both;    
}
body { 
    
background-image:url(../Img/fondo.gif); 
    
background-repeat:repeat-x; 
    
font-family:Arial, Helvetica, sans-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; 
    
padding: 5px; 
    
width: 500px; 
    
height:auto; 
    
margin: auto; 
    
border-top:2px double #91969B ; 
} 
.
nombre { 
} 
.
img_usuario { 
} 
.
logout { 
}