Hola buenas estoy modificando un login para una web pero tengo un problema no se ve por el IE y no se como hacer para que se vea.
Me podeis ayudar porfabor el codigo es este:
<?
// Comprobamos si el archivo indispensable para le funcionamiento este presente
if(!file_exists("conectar.php")){
echo"<body><title>
Error: archivo conectar inexistente!!</title><b><font size=3>¡¡El Archivo conectar.php no existe!!</font></b><br><br><h1><font face=verdana>Sin ese archivo dificilmente vas a poder usar el minichat ¬¬, arreglalo! xD</font></h1></body>";
} else {
// Comprobamos si el instalador esta presente en la carpeta
if(file_exists("instalador.php")){
echo"<body><title>
Error: debes borrar el archivo instalar.php!!</title><b><font size=3>¡¡Para poder usar el minichat debes borrar el archivo instalador.php!!</font></b><br><br>
<h1><font face=verdana>Mas facil no puede ser, BORRA EL ARCHIVO instalador.php ;)</font></h1></body>";
} else {
session_start();
session_cache_limiter('nocache,private');
include("configtag.php");
include("lanzaralerta.php");
include("lanzaralertageneral.php");
include("colores.php");
include("funciones.php");
include("language/lang-".$langactual.".php");
// Panel del usuario v1 by: RamFu
// Chekamos DB
$check = mysql_query("SELECT * from `usuarios` where nick='".$_SESSION['nnick']."'");
$user = mysql_fetch_array($check);
// Variables
$nombre = $_SESSION['nnick'];
$habboname = $user['habbo'];
$pixels = $user['pixeles'];
$fichas = $user['cantidad'];
$rango = $user['rol'];
$mensajes = $user['mensajes'];
$hotel = $user['hotel'];
// Placas
$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;
}
?>
<? if ($activarMant == "off") { ?>
<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>Login</title>
<link REL="STYLESHEET" HREF="style.css" TYPE="text/css">
<script language="javascript">
<? include("funciones.js"); ?>
function catalogo(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,menubar=0,resizable=0,width=980,height=990,left = 500,top = 500');");
}
function registro(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,menubar=0,resizable=0,width=230,height=260,left = 152,top = 134');");
}
function badges(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,menubar=0,resizable=0,width=230,height=200,left = 152,top = 134');");
}
function guias(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,menubar=0,resizable=0,width=230,height=260,left = 152,top = 134');");
}
function ayuda(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,menubar=0,resizable=0,width=307,height=263,left = 152,top = 134');");
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
</script>
<style type="text/css">
.CampoTexto {
font-size: 10px;
font-family: verdana;
border: 1px solid <? echo $bordecampo; ?>;
background: <? echo $fondocampo; ?>;
}
#caja1 {
margin:0px;
padding:0px;
width:161px;
height:auto;
}
#caja2 {
margin:0px;
padding:0px;
width:161px;
height:auto;
background-image:url(img/vip_middle.png);
background-repeat:repeat;
}
.Texto {
font-family: verdana;
font-size: 10px;
font-weight: normal;
color: <?=$colortexto; ?>;
}
.toolbar{
background-image:url(menu_new/back.png);
border:#37798A SOLID 1PX;
}
body {
background-image: url();
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.buttonv3 {
BORDER-RIGHT: #37798A 2px solid; BORDER-TOP: #37798A 2px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #37798A 2px solid; CURSOR: pointer; COLOR: #37798A; BORDER-BOTTOM: #37798A 4px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #E0EFF3; border-radius: 4px; moz-border-radius: 4px
}
.buttonv31 { BORDER-RIGHT: #37798A 2px solid; BORDER-TOP: #37798A 2px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #37798A 2px solid; CURSOR: pointer; COLOR: #37798A; BORDER-BOTTOM: #37798A 4px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #E0EFF3; border-radius: 4px; moz-border-radius: 4px
}
.Estilo17 {font-size: 12}
.Estilo5 {font-size: 9}
.buttonv32 { BORDER-RIGHT: #37798A 2px solid; BORDER-TOP: #37798A 2px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #37798A 2px solid; CURSOR: pointer; COLOR: #37798A; BORDER-BOTTOM: #37798A 4px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #E0EFF3; border-radius: 4px; moz-border-radius: 4px
}
.Estilo19 {
font-size: 12px;
font-weight: bold;
}
</style>
</head>
<body style="background-color: transparent">
<span class="Estilo5">
<?php
if (isset($_SESSION['nnick'])) {
?>
</span>
<img src="http://www.habbies.nl/img/text-gen/es/<?php echo $nombre; ?>/0/¡Hola!.gif" border="0"></a>
<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="119" valign="top"><table width="208" height="110" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="68" height="129" valign="top"><span class="Estilo5"><img src="http://www.habbo.es/habbo-imaging/avatarimage?user=<?php echo $nombre; ?>&action=wav&direction=3&head_direction=3&img_format=gif&gesture=sml" width="64" height="110"></span></td>
<td width="140" valign="top"><table width="132" height="133" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="140" valign="top"><table width="132" height="103" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="39"><table width="120" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="63" align="center"><a href="upanel.php" target="_blank"><img src="images/upanel.png" border="0"></a></td>
<td width="57" align="center"><img src="<? echo $mybadge; ?>"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="32">
<a href="ftag.php" target="_blank" onClick="window.open(this.href, this.target, 'width=720,height=640'); return false;"><table width="152" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="152" height="29" background="images/botonpanel.png"><table width="125" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="22"><img src="images/v20_3.gif" width="17" height="17" border="0"></td>
<td width="103"><img src="images/entrarmc.gif" width="75" height="13" border="0"></td>
</tr>
</table></td>
</tr>
</table></a></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td height="32"><a href="logout.php"><table width="152" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="152" height="29" background="images/botonpanel.png"><table width="125" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="22"><img src="images/new_09.gif" width="16" height="16" border="0"></td>
<td width="103"><img src="images/desconectmc.gif" width="90" height="13" border="0"></td>
</tr>
</table></td>
</tr>
</table></a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<span class="Estilo5">
<?php
} else {?>
</span>
<table width="187" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
</tr>
</table>
<span class="Estilo5"></span>
<form action="procesar2.php?<? echo session_name()."=".session_id() ?>" method="post" name="tag" id="tag" onSubmit="return enviado()">
<div align="center"><span class="Estilo17">
<?
include ("main.php");
if ($_GET['mostrar'] == "tag.php") {
?>
<?
if (isset($_SESSION['nnick'])) {
echo _WELLCOME." <b>".$_SESSION['nnick']."";
echo "</b> <a href=\"logout.php\" class=\"EnlaceMenu\">"._LOGOUT."</a> ";
if (isset($_SESSION['nnick'])){
$nick = $_SESSION['nnick'];
}
else if (isset($_POST['nick'])) {
echo "</b> <a href=\"logout.php\" class=\"EnlaceMenu\">"._LOGOUT."</a> ";
}
} else {
if ($activarReg == "on")
$size = "17";
else
$size = "30";
if (!isset($_GET['n']) || $_GET['n'] == "")
$nick =_NICKNAME;
else
$nick = $_GET['n'];
?>
<? } ?>
<br>
</span>
<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" align="center"><table width="165" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="165" height="22" background="images/ulogbox.png"><table width="164" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="40"> </td>
<td width="124"><span class="Estilo17">
<input name="nick" id="nick" style="border:0" onFocus="this.value=(this.value=='<?=$nick; ?>') ? '' : this.value;"
onBlur="this.value=(this.value=='') ? '<?=$nick; ?>' : this.value;" value="<?=$nick; ?>" size="19" maxlength="<? echo $maxNick; ?>" />
</span></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center"><span class="Estilo17"><strong>
</strong></span>
<table width="165" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="165" height="22" background="images/upassbox.png"><table width="164" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="40"> </td>
<td width="124"><strong>
<input name="clave" id="clave" type="password" style="border: 0" onFocus="this.value=(this.value=='<?=_PASSWORD; ?>') ? '' : this.value;"
onBlur="this.value=(this.value=='') ? '<?=_PASSWORD; ?>' : this.value;" value="<?=_PASSWORD; ?>" size="19" maxlength="10" />
</strong></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="46" align="center"><table width="190" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="190"><input type="image" src="images/enter_butt.png"value="Entrar" name="enviar" id="enviar">
<a href="#" onClick="MM_openBrWindow('autoregistro.php','reg','scrollbars=yes,width=532,height=362')"><img src="images/reg_butt.png" width="95" height="26" border="0"></a> </td>
</tr>
</table></td>
</tr>
</table>
<?
} else {
?>
<? include($_GET['mostrar']); ?>
<?php
if (isset($_SESSION['nnick'])) {
} else {
?>
<?php
}
if (isset($_SESSION['nnick'])) {
} else {
}
?>
<? } ?>
</div>
</form>
<? } ?>
</body>
</html>
<? } else { ?>
<? include ("maintenmance.php");?>
<? } } } ?>
<? if ($raton == "off") {?>
<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;
else
if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3))
{
if (vie < 5) // -- para el IE4 -- \\
{
alert('Puedes personalizar este mensaje');
return false;
}
else
if (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 -->
<? } ?>