Modulo On Server Lineage II

Para cualquier duda sobre Joomla! 1.5 que no tenga cabida en alguno de los foros de más abajo.

Moderator: hefesto

Locked
User avatar
fmoo
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 158
Joined: Sun Oct 30, 2005 12:00 am

Modulo On Server Lineage II

Post by fmoo » Sun Mar 26, 2006 3:32 pm

Hola alguien podria ayudarme y decirme si existe algun modulo que nos indique si un server esta On o Off, agradesco de ante mano su ayuda en esto saudos...

es para un juego llamado Lineage II

:)

cheewe
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Mar 27, 2012 1:02 pm

Re: Modulo On Server Lineage II

Post by cheewe » Tue Mar 27, 2012 1:07 pm

Hola, ese modulo es facil de hacer, fijate en mi web, esta en joomla, [Mod Note: removed link]

te paso el codigo aqui abajo, tienes que usar un modulo que te permita meter php como codigo

yo uso el modulo flexi custom code

y mete dentro este codigo y ya esta

<html>

<head>

<meta http-equiv="Content-Type" content="text/html" charset="Windows-1251">

<meta http-equiv="Content-Style-Type" content="text/css">

<title>Status</title>

</head>

<body>
<center>
<?php

global $FORM;

$FORM = "";

$flogin = @fsockopen ("LAIPDETUMAQUINA",2106, $errno, $errstr, 1);

if ( $flogin )

$FORM .= "<img src=imagenes/online.png>";

else

$FORM .= " <img src=imagenes/offline.png>";

$fgame = @fsockopen ("LAIPDETUMAQUINA",7777, $errno, $errstr, 1);

if ( $fgame )

$FORM .= " <img src=imagenes/sonline.png>";

else

$FORM .= " <img src=imagenes/soffline.png>";

echo $FORM;

@fclose($flogin);

@fclose($fgame);

?>

</body>

</html>



como puedes ver es sencillo, las imagenes tienes que ponerlas en la carpeta que te indica o bien en otra pero tendras que modificar el codigo. un saludo espero que te sirva de ayuda.
Last edited by ooffick on Tue Mar 27, 2012 3:16 pm, edited 1 time in total.
Reason: Mod Note: Self Promotion URL removed


Locked

Return to “Joomla! 1.5”