Indeed. That is what i mean... xD
I still use my .htaccess for this at the moment. :
RewriteCond %{REMOTE_ADDR} !^11\.111\.111\.111 #your ip (this isn't mine xD)
RewriteCond %{REQUEST_URI} !^/maintenance\.html$
RewriteRule ^(.*)$ http://domain.com/maintenance.html [R=302,L]
What do you think about a
if ($_CONF['maintenance'] = 'true'){
$TMPL['content'] = do_skin maintenance blablabla
}
else{
NORMAL CODE
}
So that the maintenance mode could be enabled from the admin area?
Make a new sources file, add the source in the index.php if you want you can add a skin .html file
Your Sources file yourcustomsourcefilename.php
<?php
//===========================================================================\\
// VISIOLIST is a proud derivative work of Aardvark Topsites...
This is a game server checker... Not a server online status script... This script gets the status, players and if you do some effort you can much more.