Ver Mensaje Individual
  #3 (permalink)  
Antiguo 18/09/2008, 16:34
iozk
 
Fecha de Ingreso: mayo-2008
Mensajes: 499
Antigüedad: 16 años
Puntos: 1
Respuesta: porque no puedo registrarme

ya ahora no muestra el mensaje

aqui estam los codigos


creeo que es este de 'post'

<table width="90%" border="1" align="center" cellpadding="2" cellspacing="2" bordercolor="#000000">
<tr bgcolor="<?=$color?>">
<td width="25%" valign="top" bgcolor="gold"> <b><a name="<?=$id?>">
<?=$autor?></a>
</b><br>
<font size="2">Enviado el : <?=$enviado?></font> </td>
<td bgcolor="orange"> <table width="100%" border="2" cellspacing="1" cellpadding="1">
<tr>
<td bgcolor="orange"><strong><font size="-1">
<?=$titulo?>
</font></strong> </td>
<td width="10%" align="right">
<?
if(isset($_SESSION['s_username'])){
?>[ <a href="respuesta.php?id=<?=$id?>&citar=1">CITAR</a>
]
<?
}
?></td>
</tr>
</table>
<hr align="center" width="100%" size="2">
<?=$mensaje?></td>
</tr>
<tr>
<td colspan="2" height="5"></td>
</tr>
</table>

o si no este otro

<style type="text/css">
<!--
body {
background-color: white;
}
a:link {
color: #FFFFFF;
}
a:visited {
color: #FFFFFF;
}
a:hover {
color: #CCCCCC;
}
a:active {
color: #FF0000;
}
-->
</style>
<?php
@session_start();
require('configuracion.php');
require('funciones.php');
$id = $_GET["id"];
if(empty($id)) Header("Location: index.php");

$sql = "SELECT id, autor, titulo, mensaje, ";
$sql.= "DATE_FORMAT(fecha, '%d/%m/%Y %H:%i:%s') as enviado FROM foro ";
$sql.= "WHERE id='$id' OR identificador='$id' ORDER BY fecha ASC";
$rs = mysql_query($sql, $con);
include('header.html');
if(mysql_num_rows($rs)>0)
{
include('res.html');
include('titulos_post.html');
$template = implode("", file('post.html'));
while($row = mysql_fetch_assoc($rs))
{
$firma=$row["firma"];
$color=($color==""?"#5b69a6":"");
$row["color"] = $color;
//manipulamos el mensaje
$row["mensaje"] = nl2br($row["mensaje"]);
$row["mensaje"] = parsearTags($row["mensaje"]);
mostrarTemplate($template, $row);
}
}
include('footer.html');
?>