es muy simple esto solo usa el code del logeador de nenk el cual es asi:
<?
// 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>Minichat v<?=$version; ?></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 #FF0000;
background: #F9F1C8;
}
#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: #000000;
}
.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: 10px;
font-weight: bold;
font-family: Verdana, Helvetica;
color: #000000;
text-decoration: none;
}
.Estilo24 {
font-size: 10px;
font-weight: bold;
font-family: Verdana, Helvetica;
color: #000000;
}
</style>
</head>
<body style="background-color: transparent">
<span class="Estilo5"><?php
if (isset($_SESSION['nnick'])) {
?>
</span>
Aki Va todo El Codigo de Tu Wen una Vez Conectado lo que deberia aparecer cuando este conectado y lo de abajo no modifiques xk es el logeo ok??
<?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" class="Estilo19">
<p 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'];
?>
<? } ?>
<? if ($activarReg == "on") { ?>
<? } ?>
<br>
</p>
<table width="180" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="22" align="center" background="img/1.png" class="Estilo17"><img src="img/new_19a.gif" width="16" height="16">
<input name="nick" id="nick" style="text-align:center" onFocus="this.value=(this.value=='<?=$nick; ?>') ? '' : this.value;"
onBlur="this.value=(this.value=='') ? '<?=$nick; ?>' : this.value;" value="<?=$nick; ?>" size="20" maxlength="<? echo $maxNick; ?>" /> </td>
</tr>
<tr>
<td height="32" align="center" background="img/2.PNG" class="Estilo17"><strong><img src="img/new_16.gif" width="16" height="12">
<input name="clave" type="password" id="clave" style="text-align:center" onFocus="this.value=(this.value=='<?=_PASSWORD; ?>') ? '' : this.value;"
onBlur="this.value=(this.value=='') ? '<?=_PASSWORD; ?>' : this.value;" value="<?=_PASSWORD; ?>" size="20" maxlength="15" />
</strong></td>
</tr>
<tr>
<td height="31" align="center"><p><span class="Estilo5"><img src="img/3.png" alt="f" width="180" height="15"></span><br>
<input src="img/conectate.png" value="Entrar" name="enviar" id="enviar" type="image" width="180" height="28">
</p> </td>
</tr>
</table>
<?
} else {
?>
<? include($_GET['mostrar']); ?>
<?php
if (isset($_SESSION['nnick'])) {
} else {
?>
<?php
}
if (isset($_SESSION['nnick'])) {
} else {
}
?>
<? } ?>
<p align="center">
<a target="_blank" href="catalogo/">
<img src="img/registrate.gif" width="180" height="28" border="0"></p>
</a>
</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 -->
<? } ?>
ahy esta todo explicado en el Code es super simple Solo pon el Codigo de la web una Vez logeado lo que deberia aparecer cuando te logees y lo de abajo es El codigo de el formulario de logeo
Atte.Nashiitoox
PD: El codigo es del Logeo de usuarios de Nenk