PHP-Fusion Mods
Navigacija
Apsauga
Apsauga Neleista registracija: 39451
Šiandien: 31
Prisijungę nariai
» Svečių: 41
» Narių: 0

» Viso narių: 10,235
» Naujausias: ruslanas tuk

Prisijungimų istorija:
Zbigniew@ 2 Dienos
tabuxnepamenu
sanpernepamenu
CepelinasXnepamenu
VV91DDnepamenu
Minusnepamenu
priezilviciunepamenu
EdvinasG1337nepamenu
rolandas94nepamenu
Edis2nepamenu
klubogerbejasnepamenu
Miskinisnepamenu
Pask. modai
Prisijungti
Vardas

Slaptažodis



Dar ne narys?
Registruotis.

Pamiršai slaptažodį?
Prašyk naujo!.

Naujausi prašymai
[L] testas
Narių apklausa
Ar dar kuriate tinklalapius?

Ne
Ne
0% [0 Balsai]

Taip
Taip
88% [7 Balsai]

Naudojuosi socialiniais tinklais
Naudojuosi socialiniais tinklais
13% [1 Balsas]

Balsai: 8
Kad galėtum balsuoti, turi prisijungti.
Pradėta: 2022-05-29 19:54
Shoutbox
You must login to post a message.

2026-05-11 16:51
Sveiki. Norėjau pasveikinti jus su atkaklumu arba ištverme. Tai viena iš dviejų paskutinių svetainių, paremtų v7. Ar negaila švaistyti ilgametės patirties ir pereiti prie v9?

2026-03-21 19:07

2025-07-13 17:07
svx, smagu kad dar atsiranda naujų narių Šypsosi2

2024-03-07 22:13
Oj Tabux… apkabinčiau už tą moderatorių 😁

2024-02-22 17:40
Šypsosi2 jo buvo laikai.. Senukai jau mes. Bega laikas greiciau nei noretusi. Smagu matyti kad uzsuka seni nariai, ne as vienas Šypsosi

Shoutbox Archive
Panelių bazė
Sveiki, jūs panelių bazėje.

Neaktyvuotų panelių: 0
Viso panelių: 377

Ieškoti panelės

Panelės peržiūra
Pavadinimas sa-mp serverio monitorius(geras be reklamu)
Įdėjo saulienis - Pateikta: 2009-12-03 - Peržiūrėta: 13058
Aprašymas Tai tikrai geras sa-mp monitorius,kuri gavau is vieno pazystamo,vadinamo rolke,jame galite keisti spalvas uzrasu,pvz modas,zaidejau ar dar ka,ji ideti i administracijos panele/sistemos administravimas/paneles ir susirandate s,,prideti nauja panele'' ir tada idedtae tuos kodus,ir pasiredaguojate ip ir porta pagal savo serva,sekmes.P.S jei norite,sita koda isidekit i ,,pridetini puslapy'',taip graziau atrodis.
Panelė
Code
?> <?php $serverIP = "193.46.83.161"; $serverPort = 8029; try {         $rQuery = new QueryServer( $serverIP, $serverPort );         $aInformation  = $rQuery->GetInfo( );         $aServerRules  = $rQuery->GetRules( );         $aBasicPlayer  = $rQuery->GetPlayers( );         $aTotalPlayers = $rQuery->GetDetailedPlayers( );         $serverIP = "193.46.83.161";         $serverPort = 8029;         $rQuery->Close( ); } catch (QueryServerException $pError) {        echo 'Serveris i?jungtas'; } if(isset($aInformation) && is_array($aInformation)){ ?>     <b>General Information</b>     <table width="250" align="center">             <tr>                     <td style='color:#ffffff'>Pavadinimas:</td>                     <td style='color:#ffffff'><?php echo htmlentities($aInformation['Hostname']); ?></td>             </tr>             <tr>                     <td style='color:#ffffff'>Modas</td>                     <td style='color:#ffffff'><?php echo htmlentities($aInformation['Gamemode']); ?></td>             </tr>             <tr>                     <td style='color:#ffffff'>?aidejai</td>                     <td style='color:#ffffff'><?php echo $aInformation['Players']; ?> / <?php echo $aInformation['MaxPlayers']; ?></td>             </tr>             <tr>                     <td style='color:#ffffff'>?emelapis</td>                     <td style='color:#ffffff'><?php echo htmlentities($aInformation['Map']); ?></td>             </tr>                     <td style='color:#ffffff'>iP:</td>                     <td style='color:#ffffff'><?php echo $serverIP; ?> : <?php echo $serverPort; ?></td>             <tr>                     <td style='color:#ffffff'>Oras</td>                     <td style='color:#ffffff'><?php echo $aServerRules['weather']; ?></td>             </tr>             <tr>                     <td style='color:#ffffff'>Laikas</td>                     <td style='color:#ffffff'><?php echo $aServerRules['worldtime']; ?></td>             </tr>             <tr>                     <td style='color:#ffffff'>Versija</td>                     <td style='color:#ffffff'><?php echo $aServerRules['version']; ?></td>             </tr>             <tr>               </tr>          </table>     <br />     <?php     if(!is_array($aTotalPlayers) || count($aTotalPlayers) == 0){             echo '<br /><i>Niekas ne?aid?ia</i>';     } else {     ?>                      <table width="250" align="center">                <tr>                        <td style='color:#ffffff'><b>ID</b></td>                        <td style='color:#ffffff'><b>?aidejas</b></td>                        <td style='color:#ffffff'><b>XP</b></td>                </tr>        <?php        foreach($aTotalPlayers AS $id => $value){        ?>                <tr>                        <td style='color:#ffffff'><?php echo $value['PlayerID']; ?></td>                        <td style='color:#ffffff'><?php echo htmlentities($value['Nickname']); ?></td>                        <td style='color:#ffffff'><?php echo $value['Score']; ?></td>                </tr>        <?php        }            echo '</table>';    } } class QueryServer {     private $szServerIP;     private $iPort;     private $rSocketID;     private $bStatus;     function __construct( $szServerIP, $iPort )     {             $this->szServerIP = $this->VerifyAddress( $szServerIP );             $this->iPort = $iPort;             if (empty( $this->szServerIP ) || !is_numeric( $iPort )) {                     throw new QueryServerException( 'Either the ip-address or the port isn\'t filled in correctly.' );             }             $this->rSocketID = @fsockopen( 'udp://' . $this->szServerIP, $iPort, $iErrorNo, $szErrorStr, 5 );             if (!$this->rSocketID) {                     throw new QueryServerException( 'Cannot connect to the server: ' . $szErrorStr );             }             socket_set_timeout( $this->rSocketID, 0, 500000 );             $this->bStatus = true;     }     function VerifyAddress( $szServerIP )     {             if (ip2long( $szServerIP ) !== false &&                 long2ip( ip2long( $szServerIP ) ) == $szServerIP ) {                     return $szServerIP;             }             $szAddress = gethostbyname( $szServerIP );             if ($szAddress == $szServerIP) {                     return "";             }             return $szAddress;     }     function SendPacket( $cPacket )     {             $szPacket = 'SAMP';             $aIpChunks = explode( '.', $this->szServerIP );             foreach( $aIpChunks as $szChunk ) {                     $szPacket .= chr( $szChunk );             }             $szPacket .= chr( $this->iPort & 0xFF );             $szPacket .= chr( $this->iPort >> 8 & 0xFF );             $szPacket .= $cPacket;             return fwrite( $this->rSocketID, $szPacket, strlen( $szPacket ) );     }     function GetPacket( $iBytes )     {             $iResponse = fread( $this->rSocketID, $iBytes );             if ($iResponse === false) {                     throw new QueryServerException( 'Connection to ' . $this->szServerIP . ' failed or has dropped.' );             }             $iLength = ord( $iResponse );             if ($iLength > 0)                     return fread( $this->rSocketID, $iLength );             return "";     }     function Close( )     {             if ($this->rSocketID !== false) {                     fclose( $this->rSocketID );             }     }     function toInteger( $szData )     {             $iInteger = 0;             $iInteger += ( ord( @$szData[ 0 ] ) );             $iInteger += ( ord( @$szData[ 1 ] ) << 8 );             $iInteger += ( ord( @$szData[ 2 ] ) << 16 );             $iInteger += ( ord( @$szData[ 3 ] ) << 24 );             if( $iInteger >= 4294967294 )                     $iInteger -= 4294967296;             return $iInteger;     }     function GetInfo( )     {             if ($this->SendPacket('i') === false) {                     throw new QueryServerException( 'Connection to ' . $this->szServerIP . ' failed or has dropped.' );             }             $szFirstData = fread( $this->rSocketID, 4 );             if (empty( $szFirstData ) || $szFirstData != 'SAMP') {                     throw new QueryServerException( 'The server at ' . $this->szServerIP . ' is not an SA-MP Server.' );             }             fread( $this->rSocketID, 7 );             return array (                     'Password'   =>   ord( fread( $this->rSocketID, 1 ) ),                     'Players'    =>   $this->toInteger( fread( $this->rSocketID, 2 ) ),                     'MaxPlayers' =>   $this->toInteger( fread( $this->rSocketID, 2 ) ),                     'Hostname'   =>   $this->GetPacket( 4 ),                     'Gamemode'   =>   $this->GetPacket( 4 ),                     'Map'        =>   $this->GetPacket( 4 )             );     }     function GetRules( )     {             if ($this->SendPacket('r') === false) {                     throw new QueryServerException( 'Connection to ' . $this->szServerIP . ' failed or has dropped.' );             }             // Pop the first 11 bytes from the response;             fread( $this->rSocketID, 11 );             $iRuleCount = ord( fread( $this->rSocketID, 2 ) );             $aReturnArray = array( );             for( $i = 0; $i < $iRuleCount; $i ++ ) {                     $szRuleName = $this->GetPacket( 1 );                     $aReturnArray[ $szRuleName ] = $this->GetPacket( 1 );             }             return $aReturnArray;     }     function GetPlayers( )     {             if ($this->SendPacket('c') === false) {                     throw new QueryServerException( 'Connection to ' . $this->szServerIP . ' failed or has dropped.' );             }             // Again, pop the first eleven bytes send;             fread( $this->rSocketID, 11 );             $iPlayerCount = ord( fread( $this->rSocketID, 2 ) );             $aReturnArray = array( );             for( $i = 0; $i < $iPlayerCount; $i ++ )             {                     $aReturnArray[ ] = array (                             'Nickname' => $this->GetPacket( 1 ),                             'Score'    => $this->toInteger( fread( $this->rSocketID, 4 ) )                     );             }             return $aReturnArray;     }     function GetDetailedPlayers( )     {             if ($this->SendPacket('d') === false) {                     throw new QueryServerException( 'Connection to ' . $this->szServerIP . ' failed or has dropped.' );             }             fread( $this->rSocketID, 11 );             $iPlayerCount = ord( fread( $this->rSocketID, 2 ) );             $aReturnArray = array( );             for( $i = 0; $i < $iPlayerCount; $i ++ ) {                     $aReturnArray[ ] = array(                             'PlayerID'   =>  $this->toInteger( fread( $this->rSocketID, 1 ) ),                             'Nickname'   =>  $this->GetPacket( 1 ),                             'Score'      =>  $this->toInteger( fread( $this->rSocketID, 4 ) ),                             'Ping'       =>  $this->toInteger( fread( $this->rSocketID, 4 ) )                     );             }             return $aReturnArray;     } function RCON($rcon, $command)     {             echo 'Password '.$rcon.' with '.$command;             if ($this->SendPacket('x '.$rcon.' '.$command) === false) {                     throw new QueryServerException( 'Connection to ' . $this->szServerIP . ' failed or has dropped.' );             }             // Pop the first 11 bytes from the response;             $aReturnArray = fread( $this->rSocketID, 11 );             echo fread( $this->rSocketID, 11 );             return $aReturnArray;     } } class QueryServerException extends Exception {     private $szMessage;     function __construct( $szMessage )     {             $this->szMessage = $szMessage;     }     function toString( )     {             return $this->szMessage;     } } ?>


5396
saulienis · 2010-08-18 17:35

dabar jau man paciam nebeveikia :D

8923
CheateR · 2012-01-02 20:19

ee.. kas galit padet kdl man rodo serveris isjunktas ?

Mano serverio IP : 46.4.170.12:7777

5396
saulienis · 2012-06-20 06:52

pra?om u? panele.Patikslinimas-modas ?itas veikia ant php-fusion v6,ant v7 pasiredagavus irgi veiktu,tik reik mokt

Rašyti komentarą
Turite prisijungti, norėdami parašyti komentarą.