Hello I've created a script that only shows loader
when your hotel is online.
When the hotel is offline it shows text.
Code:<?php $server=Your IP:Your Port'; $split=explode(':',$server); $ip=$split[0]; $port=(empty($split[1]))?'Your Port':$split[1]; $server=$ip.':'.$port; $fp = @fsockopen($ip, $port, $errno, $errstr, 1); if($fp){ include 'link to loader'; fclose($fp); } else{ echo 'Offline Text'; } ?>
How to make it work?
1. Put it in the same folder as your loader!
2. Make sure to save as .php extenstion
3. Change "your ip & your port" to your ip and port numbers.
4. Change "link to loader" to the name of the loader.
(not the whole link just "loader.html" etc.
5. Change "offline text" to the text you want to show.
Now it should work!
Can't get it to work?
Post it here or send me a PM.
Greetings,
KaasManiak
:fish2:


![[rel]Page that shows loader when online/text when offline!](http://ragezone.com/hyper728.png)


