Hello, OtLand.
As most of you know, I released this http://otland.net/f118/homepage-script-v1-0-a-61239/ a long time ago, a simple script to present your website, however, it's an old script and outdated code that I am not willing to keep working on.
So I've come up with this idea of creating a new script, still 'homepage script', but better. It works for Modern AAC and Gesior AAC, actually, for any kind of AAC.
Well, I am pretty bad at writing my own scripts features, so I will let you discover that by checking out the preview...
Easy to install, if your intelligence quotient is over 99 you won't have any problem. The variables have a comment to tell you what's going on there. I used thunderion.net as an example cuz' of barker, he is funny.
You must put this code into your index.php file, a few lines after session_start();:
Downloads:
ZIP: http://armentaa.com/websolutions/downloads/homepagev2.0.zip
RAR: http://armentaa.com/websolutions/downloads/homepagev2.0.rar
Any question, suggestion, feedback is welcome, unnecessary replies are not.
If something is missing or something is wrong, please let me know!
Thank you, and enjoy!
As most of you know, I released this http://otland.net/f118/homepage-script-v1-0-a-61239/ a long time ago, a simple script to present your website, however, it's an old script and outdated code that I am not willing to keep working on.
So I've come up with this idea of creating a new script, still 'homepage script', but better. It works for Modern AAC and Gesior AAC, actually, for any kind of AAC.
Well, I am pretty bad at writing my own scripts features, so I will let you discover that by checking out the preview...
Easy to install, if your intelligence quotient is over 99 you won't have any problem. The variables have a comment to tell you what's going on there. I used thunderion.net as an example cuz' of barker, he is funny.
You must put this code into your index.php file, a few lines after session_start();:
PHP:
require('homepage/config.php');
if(isset($_SESSION['homepage']))
{
$homepage = time() - $_SESSION['homepage'];
if($homepage > ($config['homepage']['time'] * 60) && $config['homepage']['status'] == 'enabled')
{
unset($_SESSION['homepage']);
header('Location: homepage.php');
}
}
$_SESSION['homepage'] = time();
Downloads:
ZIP: http://armentaa.com/websolutions/downloads/homepagev2.0.zip
RAR: http://armentaa.com/websolutions/downloads/homepagev2.0.rar
Any question, suggestion, feedback is welcome, unnecessary replies are not.
If something is missing or something is wrong, please let me know!
Thank you, and enjoy!
Last edited: