[REL]DarkPhoenix Loader with php script[REL]
Hiya RaGEZONER's!
I made a Loader with a php script that shows loader if server is Online and shows another page if it's not.
here you are codes:
Save this page in .php
Quote:
<?php
$server = "YOUR IP";
$split=explode(':',$server);
$ip=$split[0];
$port=(empty($split[1]))?'PORT OF SERVER':$split[1];
$server=$ip.':'.$port;
$fp = @fsockopen($ip, $port, $errno, $errstr, 1);
if($fp)
{
header("Location: LOADER LINK");
fclose($fp);
}
else
{
header("Location: OFFLINE PAGE");
}
?>
This is the Offline page
Save it in .html
Quote:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title>DarkPhoenix Loader - Offline</title>
</head>
<body style="background-image: url(http://darknesshotel.altervista.org/Immagini/sfondo1.gif);">
<div style="text-align: center;"><img style="width: 486px; height: 52px;" alt="DarkPhoenix Loader" src="http://img503.imageshack.us/img503/94/scrittaht9.gif"><br>
<br>
<br>
<br>
<span editable="true" id="tt"></span><br>
<br>
<br>
<br>
<br>
<br>
<img style="width: 458px; height: 51px;" alt="Hotel Offline" src="http://img140.imageshack.us/img140/8152/fancypirate102220071241oa6.gif"></div>
</body>
</html>
Finally the Loader.
Edit and save it in .html
Quote:
<div class="logo"><img src="http://img62.imageshack.us/img62/2517/font1180540846ud1.gif" alt="" align="middle"/></div>
<div class="habbocount"><div id="habboCountUpdateTarget">
"DarkPhoenix Loader"
</div>
<script language="JavaScript" type="text/javascript">
setTimeout(function() {
HabboCounter.init(600);
}, 20000);
</script>
</div>
<div class="logout"><a href="/account/logout?origin=popup">Logout</a></div>
</div>
<div>
<script type="text/javascript" language="javascript">
printHabbo();
</script>
<div style="text-align: center;"><img
src="http://img503.imageshack.us/img503/94/scrittaht9.gif"
alt=""></div>
<body
style="background-image: url(http://darknesshotel.altervista.org/Immagini/sfondo1.gif);">
<br>
<div align='center'>
<object classid='clsid:166B1BCA-3F9C-11CF-8075-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,8,5,1,0' id='habbo' width='720' height='540'>
<param name='src' value='http://phoenixhost.netsons.org/v3/habbo.dcr'>
<param name='swRemote' value='swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='Habbo Hotel' swContextMenu='true' '>
<param name='swStretchStyle' value='none'>
<param name='swText' value=''>
<param name='bgColor' value='#000000'>
<param name='sw6' value='external.texts.txt=http://phoenixhost.netsons.org/texts/external_texts.txt'>
<param name='sw2' value='connection.info.host=YOUR IP;connection.info.port=SERVER PORT'
<param name='sw4' value='connection.mus.host=game.habbohotel.it;connection.mus.port=30001'>
<param name='sw3' value='client.reload.url=LINK OF YOUR HOTEL'>
<param name='sw1' value='site.url=http://www.habbo.it;url.prefix=http://www.habbo.it'>
<param name='sw5' value='external.variables.txt=http://phoenixhost.netsons.org/texts/external_variables.txt'>
<embed src='http://phoenixhost.netsons.org/v3/habbo.dcr' bgColor='#000000' width='720' height='540' swRemote='swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='Habbo Hotel' swContextMenu='true'' swStretchStyle='none' swText='' type='application/x-director' pluginspage='http://www.macromedia.com/shockwave/download/'
sw6='external.texts.txt=http://phoenixhost.netsons.org/texts/external_texts.txt'
sw2='connection.info.host=YOUR IP;connection.info.port=SERVER PORT'
sw4='connection.mus.host=game.habbohotel.it;connection.mus.port=30001'
sw3='client.reload.url=LINK OF YOUR HOTEL'
sw1='site.url=http://www.habbo.it;url.prefix=http://www.habbo.it'
sw5='external.variables.txt=http://phoenixhost.netsons.org/texts/external_variables.txt'></embed>
</object>
</div></body>
</html>
Enjoy it!
Re: [REL]DarkPhoenix Loader with php script[REL]
Re: [REL]DarkPhoenix Loader with php script[REL]
really thanks for the old vars (Y)
Re: [REL]DarkPhoenix Loader with php script[REL]
WOW! Love It Thanks Mate!
Re: [REL]DarkPhoenix Loader with php script[REL]
It doesnt work for me :S my hotel is most the time up and i upload the files and it comes onto the offline page everytime - my hotel is up right now and look PremierHotel ~ Offline
Re: [REL]DarkPhoenix Loader with php script[REL]
Check your server port or ip in the page .php ;)
Re: [REL]DarkPhoenix Loader with php script[REL]
Re: [REL]DarkPhoenix Loader with php script[REL]
Re: [REL]DarkPhoenix Loader with php script[REL]
Fk you Cell - I've only strted Retros bout 2 months ago and i already have 550+ registered users (PremierHotel - Under Maintenance ATM) but earlier when i tried this ti ddi not work - and i checked 3 times and started again 3 times - it jst dont work for me
Re: [REL]DarkPhoenix Loader with php script[REL]
thanks phoenix its helpfull :) keep up the good work
Re: [REL]DarkPhoenix Loader with php script[REL]
Re: [REL]DarkPhoenix Loader with php script[REL]
I'm happy that you like it!
Re: [REL]DarkPhoenix Loader with php script[REL]
Note for funpic.de/funpic.org users
fsockopen is not support at funpic
& @the thread
Its not secure you can still acces the loader,
Better way is to include it
&
Can be better 5 or something becouse not all servers can respond in 1 sec
Re: [REL]DarkPhoenix Loader with php script[REL]
Re: [REL]DarkPhoenix Loader with php script[REL]