 |
 |
 |
 |
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") ; ?>
|
|
 |
 |

if ($levelminichat=="1") { ?>
if($HTTP_COOKIE_VARS[hfusuario]) {
function caretos($texto) {
// --> Inicio caretos
$texto = str_replace("","",$texto) ;
$texto = str_replace("","",$texto) ;
$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("gay","***",$texto) ;
$texto = str_replace("guy","***",$texto) ;
$texto = str_replace("puto","***",$texto) ;
$texto = str_replace("puta","***",$texto) ;
$texto = str_replace("gilipollas","***",$texto) ;
$texto = str_replace("jilipollas","***",$texto) ;
$texto = str_replace("maricon","***",$texto) ;
$texto = str_replace("pu.to","***",$texto) ;
$texto = str_replace("pu.ta","***",$texto) ;
$texto = str_replace("mierda","***",$texto) ;
$texto = str_replace("mi.erda","***",$texto) ;
$texto = str_replace("mi.er.da","***",$texto) ;
$texto = str_replace("cabrones","***",$texto) ;
$texto = str_replace("hilipollas","***",$texto) ;
$texto = str_replace("capullos","***",$texto) ;
// --> Fin caretos
// --> Fin caretos
// FILTRO ANTI SPAMM
if ($antispam=="0") {} else {
$antispam_palabra = "SPAM";
$texto = preg_replace("/(http:\/\/|www.)[^\s]+/i",$antispam_palabra,$texto) ;
}
// FIN DE FILTRO ANTI SPAMM
$texto = str_replace("[-"," ",$texto) ;
// --> Fin caretos
return $texto ;
}
?>
$userdeadministradorcomprobacion = $HTTP_COOKIE_VARS[hfusuario];
$resp012345 = mysql_query("select * from habbofotos_usuarios WHERE usuario='$userdeadministradorcomprobacion'") ;
$roww = mysql_fetch_array($resp012345) ;
$nivel = $roww[nivel];
mysql_free_result($resp012345) ;
if ($nivel>="8") {
echo "Bienvenido Administrador ";
$resp = mysql_query("select * from mc_mensajes where idmc='1'") ;
$datos = mysql_fetch_array($resp) ;
$idd = $datos[id];
mysql_free_result($resp) ;
//si se pide borrar noticias.
if ($_GET[borrartodo]=="yes") {
mysql_query("truncate table mc_mensajes");
}
if ($_GET[borrarmensaje]) {
$booooorrrar = "delete from mc_mensajes where idm='$_GET[borrarmensaje]'";
mysql_query($booooorrrar);
echo "Borrado Mensaje $_GET[borrarmensaje].
";
}
//muestra todos los registros noticias.
$idmdmdmdmd = "1";
$resp = mysql_query("select idm from mc_mensajes where idmc='$idmdmdmdmd'") ;
$usuarios = mysql_num_rows($resp) ;
mysql_free_result($resp) ;
$mostrar = 30 ;
if(!$desde) { $desde = 0 ; }
$resp2 = mysql_query("select * from mc_mensajes where idmc='$idmdmdmdmd' order by idm desc limit $desde,$mostrar") ;
$desde = $desde + $mostrar ;
echo "Listado de Mensajes del Minichat ";
echo "Borrar Todos";
echo "";
echo "
Nick |
IP |
Mensaje |
ACCIONES | ";
while ($datos = mysql_fetch_array($resp2)) {
$mensaje = caretos($datos[mensaje]);
echo "
$datos[nick] |
$datos[ip] |
$mensaje |
Borrar | ";
}
echo " ";
// paginamos los resultados de noticias.
mysql_free_result($resp2);
if($desde > $mostrar) {
$anteriores = $mostrar * 2 ;
if($desde >= $anteriores) {
echo "Anteriores $mostrar mensajes :: " ;
}
else {
$anteriores = $desde - $mostrar * 2 ;
echo " Anteriores $mostrar mensajes :: " ;
}
}
else {
echo " " ;
}
if($desde < $usuarios) {
echo "Siguientes $mostrar mensajes" ;
}
?>
} else {
echo "No tienes suficiente level.";
}
} else {
echo "No tienes suficiente level.";
}
} else {
echo "No tienes suficiente level.";
}
?>
|
 |
 |
|
|