Autor Tema: [AYUDA]Con mi login.  (Leído 569 veces)

Desconectado edgarmoreno2

  • PHPer@ Fijo
  • ***
  • Mensajes: 140
  • Karma: 2
  • Sexo: Masculino
    • Ver Perfil
    • FANFMRADIO
[AYUDA]Con mi login.
« en: 01 de Marzo de 2010, 22:52:58 pm »
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:
Código: [Seleccionar]
<?
// 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>&#161;&#161;El Archivo conectar.php no existe!!</font></b><br><br><h1><font face=verdana>Sin ese archivo dificilmente vas a poder usar el minichat &#172;&#172;, 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>&#161;&#161;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[&#39;nnick&#39;])) {
?>

</span>
<img src="http://www.habbies.nl/img/text-gen/es/<?php echo $nombre?>/0/&#161;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>&nbsp;";
 if (isset($_SESSION['nnick'])){
 $nick = $_SESSION['nnick'];
   }
 else if (isset($_POST['nick'])) {
      echo "</b> <a href=\"logout.php\" class=\"EnlaceMenu\">"._LOGOUT."</a>&nbsp;";
       }
 } 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">&nbsp;</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">&nbsp;</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[&#39;nnick&#39;])) {
  } else {
  ?>

    <?php
  }
  if (isset($_SESSION[&#39;nnick&#39;])) {
  } 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 -->
<? } ?>

Comunidad PHPeros

[AYUDA]Con mi login.
« en: 01 de Marzo de 2010, 22:52:58 pm »

Desconectado Mixvice

  • PHPero Experto
  • *****
  • Mensajes: 687
  • Karma: 32
  • Sexo: Masculino
  • ¡Y Tu Papá Tambien!
    • Ver Perfil
    • Tuhabbo
Re:[AYUDA]Con mi login.
« Respuesta #1 en: 02 de Marzo de 2010, 00:24:57 am »
Eso es del ftag.php de un mc que no? xD

Desconectado Fermin

  • PHPero Experto
  • *****
  • Mensajes: 783
  • Karma: 7
  • Sexo: Masculino
  • Nada que decirte.
    • Ver Perfil
Re:[AYUDA]Con mi login.
« Respuesta #2 en: 02 de Marzo de 2010, 00:29:55 am »
xd cierto es el ftag de un mc, ¿quieres sacar el login de alli? ps sacalo es rapido, o simplemente descarga uno y listo.

saludos!

Desconectado edgarmoreno2

  • PHPer@ Fijo
  • ***
  • Mensajes: 140
  • Karma: 2
  • Sexo: Masculino
    • Ver Perfil
    • FANFMRADIO
Re:[AYUDA]Con mi login.
« Respuesta #3 en: 02 de Marzo de 2010, 08:36:14 am »
No no ese codigo es el del login.Y kiero saber coo hacer para que se vea en IE
saludos

Desconectado Siquillote

  • PHPero Master
  • ******
  • Mensajes: 4.229
  • Karma: 179
  • Sexo: Masculino
    • Ver Perfil
Re:[AYUDA]Con mi login.
« Respuesta #4 en: 02 de Marzo de 2010, 14:50:02 pm »

Seguramente te esté ocurriendo el mismo problema que cuando instalas un MiniChat.

En la línea 64 si no me equivoco, sale <!--- que es lo que está bloqueando la vista previa del minichat
en tu navegador Internet Explorer. Por lo tanto, si quieres que es Login funciones, deberás buscar esa
línea y borrarlo.

#Fdo. Physlet

Desconectado edgarmoreno2

  • PHPer@ Fijo
  • ***
  • Mensajes: 140
  • Karma: 2
  • Sexo: Masculino
    • Ver Perfil
    • FANFMRADIO
Re:[AYUDA]Con mi login.
« Respuesta #5 en: 02 de Marzo de 2010, 18:07:58 pm »
Seguramente te esté ocurriendo el mismo problema que cuando instalas un MiniChat.

En la línea 64 si no me equivoco, sale <!--- que es lo que está bloqueando la vista previa del minichat
en tu navegador Internet Explorer. Por lo tanto, si quieres que es Login funciones, deberás buscar esa
línea y borrarlo.
No. He estado buscando el <!--- y no sale en ningun lado a sique creo que eso no sera si alguno sabe porfabor ayudenme??

Desconectado ferri

  • PHPero Experto
  • *****
  • Mensajes: 642
  • Karma: 40
  • Sexo: Masculino
    • Ver Perfil
Re:[AYUDA]Con mi login.
« Respuesta #6 en: 02 de Marzo de 2010, 18:10:50 pm »
<?
// 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>&#38;#161;&#38;#161;El Archivo conectar.php no existe!!</font></b><br><br><h1><font face=verdana>Sin ese archivo dificilmente vas a poder usar el minichat &#38;#172;&#38;#172;, 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>&#38;#161;&#38;#161;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(&#39;nocache,private&#39;);

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=&#39;".$_SESSION[&#39;nnick&#39;]."&#39;");
$user mysql_fetch_array($check);

// Variables
$nombre $_SESSION[&#39;nnick&#39;];
$habboname $user[&#39;habbo&#39;];
$pixels $user[&#39;pixeles&#39;];
$fichas $user[&#39;cantidad&#39;];
$rango $user[&#39;rol&#39;];
$mensajes $user[&#39;mensajes&#39;];
$hotel $user[&#39;hotel&#39;];

// Placas
$qbadge mysql_query("SELECT * FROM `placas` WHERE user = &#39;".$nombre."&#39; and puesta=1");
$respre mysql_fetch_array($qbadge);
if (
$respre[&#39;user&#39;] == $nombre) {
$mybadge $respre[&#39;placa&#39;];
} else {
$plakae "placas/".$user[&#39;rol&#39;].".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, &#39;" + id + "&#39;, &#39;toolbar=0,scrollbars=0,location=0,menubar=0,resizable=0,width=980,height=990,left = 500,top = 500&#39;);");
}
function registro(URL) {
	
day = new Date();
	
id = day.getTime();
	
eval("page" + id + " = window.open(URL, &#39;" + id + "&#39;, &#39;toolbar=0,scrollbars=0,location=0,menubar=0,resizable=0,width=230,height=260,left = 152,top = 134&#39;);");
}
function badges(URL) {
	
day = new Date();
	
id = day.getTime();
	
eval("page" + id + " = window.open(URL, &#39;" + id + "&#39;, &#39;toolbar=0,scrollbars=0,location=0,menubar=0,resizable=0,width=230,height=200,left = 152,top = 134&#39;);");
}
function guias(URL) {
	
day = new Date();
	
id = day.getTime();
	
eval("page" + id + " = window.open(URL, &#39;" + id + "&#39;, &#39;toolbar=0,scrollbars=0,location=0,menubar=0,resizable=0,width=230,height=260,left = 152,top = 134&#39;);");
}
function ayuda(URL) {
	
day = new Date();
	
id = day.getTime();
	
eval("page" + id + " = window.open(URL, &#39;" + id + "&#39;, &#39;toolbar=0,scrollbars=0,location=0,menubar=0,resizable=0,width=307,height=263,left = 152,top = 134&#39;);");
}
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[&#39;nnick&#39;])) {
	
	
	
	
?>
</span>
<img src="http://www.habbies.nl/img/text-gen/es/<?php echo $nombre?>/0/&#38;#161;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, &#39;width=720,height=640&#39;); 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[&#39;mostrar&#39;] == "tag.php") {
?>
    <?

if (isset($_SESSION[&#39;nnick&#39;])) {
 
echo _WELLCOME." <b>".$_SESSION[&#39;nnick&#39;]."";
 
echo "</b> <a href=\"logout.php\" class=\"EnlaceMenu\">"._LOGOUT."</a>&nbsp;";
 if (isset(
$_SESSION[&#39;nnick&#39;])){
 
$nick $_SESSION[&#39;nnick&#39;];
   
}
 else if (isset(
$_POST[&#39;nick&#39;])) {
      
echo "</b> <a href=\"logout.php\" class=\"EnlaceMenu\">"._LOGOUT."</a>&nbsp;";
       }
 } else {

if (
$activarReg == "on")
	
$size "17";
else 
	
$size "30";

if (!isset(
$_GET[&#39;n&#39;]) || $_GET[&#39;n&#39;] == "")
	
$nick =_NICKNAME;
else
	
$nick $_GET[&#39;n&#39;];

?>
    <? ?>
    <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">&nbsp;</td>
                  <td width="124"><span class="Estilo17">
                    <input name="nick" id="nick" style="border:0" onFocus="this.value=(this.value==&#39;<?=$nick?>&#39;) ? &#39;&#39; : this.value;" 
onBlur="this.value=(this.value==&#39;&#39;) ? &#39;<?=$nick?>&#39; : 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">&nbsp;</td>
                    <td width="124"><strong>
                      <input name="clave" id="clave" type="password" style="border: 0"  onFocus="this.value=(this.value==&#39;<?=_PASSWORD?>&#39;) ? &#39;&#39; : this.value;" 
onBlur="this.value=(this.value==&#39;&#39;) ? &#39;<?=_PASSWORD?>&#39; : 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(&#39;autoregistro.php&#39;,&#39;reg&#39;,&#39;scrollbars=yes,width=532,height=362&#39;)"><img src="images/reg_butt.png" width="95" height="26" border="0"></a> </td>
          </tr>
        </table></td>
      </tr>
    </table>
    <?
} else {
?>
    <? include($_GET[&#39;mostrar&#39;]); ?>
    <?php
	
  if (isset(
$_SESSION[&#39;nnick&#39;])) {
	
  } else {
	
  
?>
    <?php
	
  }
	
  if (isset(
$_SESSION[&#39;nnick&#39;])) {
	
  } 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 == &#39;Netscape&#39; && (e.which == 3 || e.which == 2)) return false;
else
if (navigator.appName == &#39;Microsoft Internet Explorer&#39; && (event.button == 2 || event.button == 3)) 

if (vie < 5) // -- para el IE4 -- \\
{
alert(&#39;Puedes personalizar este mensaje&#39;);
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 -->
<? ?>



Prueba ahora...

Desconectado mOrK

  • Moderador Global
  • PHPero Master
  • *****
  • Mensajes: 1.503
  • Karma: 43
  • :)
    • Ver Perfil
    • Sígueme en Twitter!
Re:[AYUDA]Con mi login.
« Respuesta #7 en: 02 de Marzo de 2010, 18:35:31 pm »
Así no aprendemos a programar... Cierro.