<?php
// Set how often home page changes - in seconds (recommended period is 86400 for 24 hours)
$lockperiod = 86400;


$filename = array ();
$filename[0] = '1.html';
$filename[1] = '2.html';
$filename[2] = '3.html';
$filename[3] = '4.html';
$filename[4] = '5.html';
$randpos = (intval(time() / $lockperiod)) % 5;
$filepath ="http://www.article-site-power-package.com/demo3/"."sample/".$filename[$randpos];
include $filepath;
?>
