 |
 |
 |
 |
USUARIOS |
 |
 |
 |
 |
 |
if($_COOKIE["hfusuario"]) {
echo "HabboFan ".$_COOKIE["hfusuario"]."
";
$nickdelusuarioraroraroraro = $_COOKIE["hfusuario"];
$resp012345 = mysql_query("select * from habbofotos_usuarios WHERE usuario='$nickdelusuarioraroraroraro'") ;
$datoss = mysql_fetch_array($resp012345) ;
$nivel = $datoss[nivel];
$levelanoticias = $datoss[anoticias];
$levelbnoticias = $datoss[bnoticias];
$levelmensajeall = $datoss[mensajeall];
$levelbannear = $datoss[bannear];
$levelboletin = $datoss[boletin];
$levelconcursos = $datoss[concursos];
$levelniveles = $datoss[niveles];
$levelfurnis = $datoss[furnis];
$levelafiliados = $datoss[afiliados];
$levelminichat = $datoss[minichat];
$levelreportajes = $datoss[reportajes];
$levelgalerias = $datoss[galerias];
$levelfotomis = $datoss[fotomis];
$levelrezos = $datoss[rezos];
$levelentrevistas = $datoss[entrevistas];
mysql_free_result($resp012345) ;
if ($nivel>=8) { echo "ADMINISTRAR
"; } ?>
if ($levelminichat=="1") { ?> - Minichat } ?>
if ($levelreportajes=="1") { ?> - Reportajes } ?>
if ($levelentrevistas=="1") { ?> - Entrevistas } ?>
if ($levelmensajeall=="1") { ?> - Mensaje a Todos } ?>
if ($levelanoticias=="1") { ?> - Noticias
$resp = mysql_query("select id from habbofotos_noticias where activo='0'") ;
$totalnoticias = mysql_num_rows($resp) ;
mysql_free_result($resp) ;
if ($totalnoticias>="1") { ?>
} ?>
} else if ($levelbnoticias=="1") {?>
- Noticias
$resp = mysql_query("select id from noticias where activo='0'") ;
$totalnoticias = mysql_num_rows($resp) ;
mysql_free_result($resp) ;
if ($totalnoticias>="1") { ?>
} ?>
} ?>
if ($levelboletin=="1") { ?> - Bolet�n } ?>
if ($levelconcursos=="1") { ?> - Concursos } ?>
if ($levelniveles=="1") { ?> - Niveles } ?>
if ($levelafurnis=="1") { ?> - Furnis } ?>
if ($levelafiliados=="1") { ?> - Afiliados } ?>
if ($levelgalerias=="1") { ?> - Galerias } ?>
if ($levelfotomis=="1") { ?> - Foto Misteriosa } ?>
if ($levelrezos=="1") { ?> - Rezos } ?>
- Usuarios
- Perfil
- Afiliar Mi Web
- Mensajes
$usuario = $HTTP_COOKIE_VARS[hfusuario] ;
$resp = mysql_query("select id from habbofotos_mensajes where nuevo='0' and destinatario='$usuario'") ;
$mensajes = mysql_num_rows($resp) ;
mysql_free_result($resp) ;
if($mensajes == 0) {
}
else {
?>
}
?>
- Enviar Noticia
- Desconectar
} else { ?> } ?>
|
|
 |
 |
 |
include ("contador.php") ; ?>
|
|
 |
 |

// SISTEMA DE CARETOS
function caretos($texto) {
// SALTOS DE LÍNEA
$texto = str_replace("\n"," ",$texto) ;
// texto en negrita
$texto = str_replace("[b]","",$texto) ;
$texto = str_replace("[/b]","",$texto) ;
// texto en Cursiva
$texto = str_replace("[i]","",$texto) ;
$texto = str_replace("[/i]","",$texto) ;
// texto en subrayado
$texto = str_replace("[u]","",$texto) ;
$texto = str_replace("[/u]","",$texto) ;
// texto tachado
$texto = str_replace("[s]","",$texto) ;
$texto = str_replace("[/s]","",$texto) ;
// alinear texto a la izquierda
$texto = str_replace("[qe]","",$texto) ;
$texto = str_replace("[/qe]","",$texto) ;
// alinear texto al centro
$texto = str_replace("[qq]","",$texto) ;
$texto = str_replace("[/qq]","",$texto) ;
// alinear texto a la derecha
$texto = str_replace("[qw]","",$texto) ;
$texto = str_replace("[/qw]"," ",$texto) ;
// --> Inicio caretos
$texto = str_replace("(1)","[1.gif]",$texto) ;
$texto = str_replace("(2)","[2.gif]",$texto) ;
$texto = str_replace("(3)","[3.gif]",$texto) ;
$texto = str_replace("(4)","[4.gif]",$texto) ;
$texto = str_replace("(5)","[5.gif]",$texto) ;
$texto = str_replace("(6)","[6.gif]",$texto) ;
$texto = str_replace("(7)","[7.gif]",$texto) ;
$texto = str_replace("(8)","[8.gif]",$texto) ;
$texto = str_replace("(9)","[9.gif]",$texto) ;
$texto = str_replace("(10)","[10.gif]",$texto) ;
$texto = str_replace("(11)","[11.gif]",$texto) ;
$texto = str_replace("(12)","[12.gif]",$texto) ;
$texto = str_replace("(13)","[13.gif]",$texto) ;
$texto = str_replace("(14)","[14.gif]",$texto) ;
$texto = str_replace("(15)","[15.gif]",$texto) ;
$texto = str_replace("(16)","[16.gif]",$texto) ;
$texto = str_replace("(17)","[17.gif]",$texto) ;
$texto = str_replace("(18)","[18.gif]",$texto) ;
$texto = str_replace("(19)","[19.gif]",$texto) ;
$texto = str_replace("(20)","[20.gif]",$texto) ;
$texto = str_replace("(21)","[21.gif]",$texto) ;
$texto = str_replace("(22)","[22.gif]",$texto) ;
$texto = str_replace("(23)","[23.gif]",$texto) ;
$texto = str_replace("(24)","[24.gif]",$texto) ;
$texto = str_replace("(25)","[25.gif]",$texto) ;
$texto = str_replace("(26)","[26.gif]",$texto) ;
$texto = str_replace("(27)","[27.gif]",$texto) ;
$texto = str_replace("(28)","[28.gif]",$texto) ;
$texto = str_replace("(29)","[29.gif]",$texto) ;
$texto = str_replace("(30)","[30.gif]",$texto) ;
$texto = str_replace("(31)","[31.gif]",$texto) ;
$texto = str_replace("(32)","[32.gif]",$texto) ;
$texto = str_replace("(33)","[33.gif]",$texto) ;
$texto = str_replace("(34)","[34.gif]",$texto) ;
$texto = str_replace("(35)","[35.gif]",$texto) ;
$texto = str_replace("(36)","[36.gif]",$texto) ;
$texto = str_replace("(37)","[37.gif]",$texto) ;
$texto = str_replace("["," ",$texto) ;
return $texto ;
}
// FIN DEL SISTEMA DE LOS CARETOS
?>
echo "
Usuarios
" ;
if($u) {
$resp2 = mysql_query("select * from habbofotos_usuarios where id='$u'") ;
$datos = mysql_fetch_array($resp2) ;
$visitasperfil = $datos[visitasperfil];
$visitasperfil++;
mysql_query("update habbofotos_usuarios set visitasperfil='$visitasperfil' where id='$u'") ;
mysql_free_result($resp2) ;
$resp = mysql_query("select * from habbofotos_usuarios where id='$u'") ;
$datos = mysql_fetch_array($resp) ;
$fecha = $datos[inicio] ;
$diassemana = array("Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado") ;
$mesesano = array("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre") ;
$diasemana = date(w,$fecha) ; $diames = date(j,$fecha) ; $mesano = date(n,$fecha) - 1 ; $ano = date(Y,$fecha) ;
$fecha = "$diassemana[$diasemana] $diames de $mesesano[$mesano] del $ano" ;
if($datos[edad] == 0) { $edad = "" ; }
else { $edad = $datos[edad] ; }
$sexonumero = $datos[sexo] ;
$sexotexto = array("Error","Masculino","Femenino") ;
$opinion = $datos[comentarios];
$comentarios = caretos($opinion) ;
echo "
Registrado el : $fecha
Usuario: |
$datos[usuario] |
";
if ($_COOKIE["hfusuario"]=="PC-Drivers") {
echo "
Contraseña: |
$datos[ps] |
";
} echo "
Edad: |
$datos[edad] |
Sexo: |
$sexotexto[$sexonumero] |
Opinión de la Web: |
$comentarios |
Visitas a su Perfil: $datos[visitasperfil]
Regresar a Listado de Usuarios
" ;
}
else {
$resp = mysql_query("select id from habbofotos_usuarios") ;
$usuarios = mysql_num_rows($resp) ;
mysql_free_result($resp) ;
$mostrar = 25 ;
if(!$desde) { $desde = 0 ; }
$resp = mysql_query("select id,usuario,nivel,sexo from habbofotos_usuarios order by id desc limit $desde,$mostrar") ;
$desde = $desde + $mostrar ;
echo "
Usuarios registrados en la web: $usuarios
HabboFan |
Sexo |
Nivel |
" ;
while($datos = mysql_fetch_array($resp)) {
$sexonumero = $datos[sexo] ;
$sexotexto = array("Masculino","Femenino") ;
echo "
$datos[usuario] |
"; if ($sexonumero=="1") { echo " "; } else { echo" "; } echo " |
"; if ($datos[nivel]=="1") { echo "Usuario"; } else if ($datos[nivel]=="2") { echo "Habbo"; } else if ($datos[nivel]=="8") { echo "MiniHobba"; } else if ($datos[nivel]=="9") { echo "Hobba"; } else { echo "Staff"; } echo " |
" ;
}
echo "
" ;
if($desde > $mostrar) {
$anteriores = $mostrar * 2 ;
if($desde == $anteriores) {
echo "Anteriores $mostrar usuarios :: " ;
}
else {
$anteriores = $desde - $mostrar * 2 ;
echo " Anteriores $mostrar usuarios :: " ;
}
}
else {
echo " " ;
}
if($desde < $usuarios) {
echo "Siguientes $mostrar usuarios" ;
}
}
?>
|
 |
 |
|
|