 |
 |
 |
 |
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("","",$texto) ;
$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(":)","[sonrisa.gif]",$texto) ;
$texto = str_replace(":D","[sonrisagrande.gif]",$texto) ;
$texto = str_replace(":d","[devy.gif]",$texto) ;
$texto = str_replace(":(","[triste.gif]",$texto) ;
$texto = str_replace(":0","[sorpresa.gif]",$texto) ;
$texto = str_replace(":o","[sorpresa.gif]",$texto) ;
$texto = str_replace("xD","[xd.gif]",$texto) ;
$texto = str_replace(";)","[guino.gif]",$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("["," ",$texto) ;
return $texto ;
}
// FIN DEL SISTEMA DE LOS CARETOS
?>
Entrevistas:
if ($entrevista) {
$resp = mysql_query("select * from habbofotos_entrevistas where id='$entrevista'") ;
$datos = mysql_fetch_array($resp) ;
$fecha = $datos[fecha] ;
$resp2 = mysql_query("select * from habbofotos_entrevistas where id='$entrevista'") ;
$datos = mysql_fetch_array($resp2) ;
$visto = $datos[visto];
$visto++;
mysql_query("update habbofotos_entrevistas set visto='$visto' where id='$entrevista'") ;
mysql_free_result($resp2) ;
$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 = "$diames-$mesano-$ano" ;
?>
echo $datos[usuario]; ?> - echo $fecha; ?> |
echo $datos[titulo]; ?> |
echo caretos($datos[entrevista]); ?> |
} else { ?>
Entrevista a: |
Autor |
Fecha |
Visto |
$resp = mysql_query("select id from habbofotos_entrevistas") ;
$entrevistas = mysql_num_rows($resp) ;
mysql_free_result($resp) ;
$mostrar = 30 ;
if(!$desde) { $desde = 0 ; }
$resp = mysql_query("select * from habbofotos_entrevistas order by id") ;
$desde = $desde + $mostrar ;
while($datos = mysql_fetch_array($resp)) {
$fecha = $datos[fecha] ;
$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 = "$diames-$mesano-$ano" ;
?>
echo substr($datos[titulo],0,30); ?> |
echo $datos[usuario]; ?> |
echo $fecha; ?> |
echo $datos[visto]; ?> veces |
} ?>
} ?>
|
 |
 |
|
|