Colabora en los FAQ. Ayudarás a la comunidad y esta te lo agradecerá.
<?session_start();session_cache_limiter('nocache,private');include("configtag.php");include("conectar.php");include("colores.php");include("funciones.php");include("language/lang-".$langactual.".php");?><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta name="Description" content="Minichat v<?=$version; ?>"><meta name="Author" content="RamFu"><meta name="Generator" content="Minichat v<?=$version; ?>"> <title>:: Minichat by RamFu MOD Ferri ::</title> <? // opcion de actualizacion cada x tiempo configurableif ($activarTiempo == "on") echo "<meta http-equiv='Refresh' content='".$tiempo."'>"; ?> <link REL="STYLESHEET" HREF="style.css" TYPE="text/css"><style type="text/css"><!--.CampoTexto { font-size: 10px; font-family: verdana; border: 1px solid <? echo $bordecampo; ?>; background: <? echo $fondocampo; ?>;}.Texto { font-family: Verdana; font-size: 10px; font-style: normal; color: <?=$colortexto; ?>;}.Estilo1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px;} --></style><script language="javascript">function perfil(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=251,height=300,left = 152,top = 134');");}</script></head> <body bgcolor="<?=$colorfondo; ?>"><script type="text/javascript" src="js/wz_tooltip.js"></script><table border="0" cellpadding="0" cellspacing="0" bgcolor="<? echo $fondotabla ?>"style="border-left: 1px solid <? echo $bordetabla ?>; border-right: 1px solid <? echo $bordetabla ?>; border-top: 1px solid <? echo $bordetabla ?>; border-bottom: 1px solid <? echo $bordetabla ?>;" width="100%" height="100%"> <tr> <? // Continua normal menos el perfil y algunos retoques mas: V3 de RamFu!if ($numMensajes == 0) $query = "SELECT * FROM `mensajes` order by id desc";else $query = "SELECT * FROM `mensajes` order by id desc limit $numMensajes"; $resp = @mysql_query($query);$rows = @mysql_num_rows($resp);if (!$rows) {?> <td class="Texto" align="center"><font color="#cc0000"> <? echo _EMPTY; ?> </font> </td> <?} else {?> <td align="center" valign="top"><table border="0" cellpadding="2" cellspacing="0" width="100%"> <?php$i = 0;while ($mensajes = mysql_fetch_array($resp)) {$nuevo = ""; if ($i % 2 == 0) $bg = $cpar; else $bg = $cimpar; if ($mensajes['usuario'] == -1) { $nombre = $mensajes['nombre']; $rol = "Visitante"; $subnicks = ""; } else { $query2 = "SELECT * FROM `usuarios` WHERE id = '".$mensajes['usuario']."'"; $resp2 = @mysql_query($query2); $rows2 = @mysql_num_rows($resp2); $user = @mysql_fetch_array($resp2); $nombre = $user['nick']; $habboname = $user['habbo']; if ($user['rol'] == "0"){ $rol = "Vip"; if($user['subnick']){ $subnicks = '<span style="font-size: 8px;">'.bbcode($user['subnick']).'</span>'; } else { $subnicks = ""; } } else { $rol = $user['rol']; if($user['subnick']){ $subnicks = '<span style="font-size: 8px;">'.bbcode($user['subnick']).'</span>'; } else {$subnicks = "";}}} if ($user['rol'] != "0") { $qbadge = mysql_query("SELECT * FROM `placas` WHERE user = '".$nombre."' and puesta=1"); $respre = mysql_fetch_array($qbadge); if ($respre['user'] == $nombre) { $mybadge = $respre['placa']; } else { $plakae = "placas/".$user['rol'].".gif"; $mybadge = $plakae; } } else { $qbadge = mysql_query("SELECT * FROM `placas` WHERE user = '".$nombre."' and puesta=1"); $respre = mysql_fetch_array($qbadge); if ($respre['user'] == $nombre) { $mybadge = $respre['placa']; } else { $plakae = "placas/".$user['rol'].".gif"; $mybadge = $plakae; }} // Unimos el mensaje a etiquetas HTML y miramos si el usuario ha introducido una url o un email if ($activarIp == "on") $nuevo .= "<b><div onmouseover=\"Tip('<div id=\'caja1\'><img src=\'img/vip_up.png\'></div><div style=\'background-image:url(img/vip_middle.png)\'><img src=\'http://www.habbo.es/habbo-imaging/avatarimage?user=".$habboname."&action=wav&direction=2&head_direction=2&gesture=sml&size=s\' align=\'left\'><strong><font size=1>Habbo:</strong> <font color=\'".$mensajes['color']."\'>".$habboname."</font><br /><strong>Nick:</strong> ".$nombre."<br><img src=\'".$mybadge."\'><br style=\'clear:both;\' /></div><div id=\'caja1\'><img src=\'img/vip_donw.png\'></div>', OFFSETX, 0, CENTERMOUSE, true, ABOVE, true, BGCOLOR, '',BORDERWIDTH, 0, WIDTH, 0)\" onmouseout=\"UnTip()\"><a href=\"javascript:perfil('perfil.php?ip=".$mensajes['ip']."&nick=".$nombre."&habbo=".$habboname."');\" class=\"EnlaceMenu\">"; else { $web = $mensajes['web']; if (eregi("@", $web)) { $web = "mailto:".$web; $nuevo .= "<b><a href=".$web." class=\"EnlaceMenu\" target=\"_blank\">"; } else if ($web != "" && $web != "http://") { if (!eregi("http://", $web)) { $web = "http://".$web; } $nuevo .= "<b><a href=".$web." class=\"EnlaceMenu\" target=\"_blank\"><i>"; } } $kueri = "SELECT * from `bbcodes` where name = '$nombre'"; $respe = @mysql_query($kueri); $rows = @mysql_num_rows($respe); $bebe = @mysql_fetch_array($respe); if ($bebe['name'] == $nombre) { $nuevo .= pintarnick($nombre)."</a></b></div>"; } else { $nuevo .= "<font color=\"".$mensajes['color']."\" face=\"Verdana\">"; $nuevo .= pintarnick($nombre)."</a></b></font><br>"; } if ($activarIp == "on" && isset($_SESSION['nnick']) && esAdmin($_SESSION['nnick'])) $nuevo .= "</a></b></div>"; else if ($web != "" && $web != "http://") $nuevo .= "</a></b></div>"; $nuevo .= "<br><img src=\"".$mybadge."\" align=\"left\"><img src='http://www.habbo.es/habbo-imaging/avatarimage?user=".$habboname."&size=s'><b><font face=\"".$mensajes['fuente']."\">".$mensajes['texto']."</font></b>"; if ($activarTiempo == "on") $clavo = "<font color=\"#003300\" face=\"Verdana\">".$mensajes['fecha']."</font>"; $total = $nuevo; $soy = $_SESSION['nnick'];$imagenr = "<a href=javascript:abrir('respetar/index.php?session=".md5($soy)."&of=".$soy."&ID=".sha1($nombre)."&for=".$nombre."')><img src='respetar/img/dar.gif' border='0'></a>";if($soy=="" or $nombre == $soy or $nombre == "Informador"){ $mostare = ""; } else { $mostare = $imagenr; } ?> <tr> <td class="Texto" background="img/bg_ramfu.png" style="border-bottom: 1px solid <?=$bordetabla ?>"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="456" height="35" valign="top"><span class="Estilo1"><? echo $total; ?></span></td> </tr> <tr> <td><span class="Texto" style="border-bottom: 1px solid <?=$bordetabla ?>"><? echo $clavo; ?></span></td> </tr> </table></td> </tr> <? $i ++; } ?> </table></td> <? } ?> </tr></table></body></html><? if ($raton == "on") {?><script language="Javascript">var vie=parseFloat(navigator.appVersion.slice(navigator.appVersion.indexOf("MSIE")+4,navigator.appVersion.length));function sinmenu(){event.cancelBubble = true;event.returnValue = false;return false;}function noclicderecho(e){ if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false;elseif (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { if (vie < 5) // -- para el IE4 -- \\{alert('Puedes personalizar este mensaje');return false;}elseif (vie >= 5) // -- para el IE5 -- \\{document.oncontextmenu = sinmenu;return false;}}return true;} document.onmousedown=noclicderecho;// -- Desabilita el clic derecho en las capas (layers) -- \\if (document.layers)window.captureEvents(Event.MOUSEDOWN); window.onmousedown=noclicderecho;</script><!--webbot bot="HTMLMarkup" endspan --><!--webbot bot="HTMLMarkup" startspan --><script language="JavaScript"><!-- function event_false() { window.event.returnValue = false }document.onselectstart = event_false//--></script><!--webbot bot="HTMLMarkup" endspan --><? }?>
en el codigo de arriba cual es la linea 53-54 ? me ayudan
}