= date('j')) {
$day = date('d');
} else {
if ($day >= 25)
$day = 25;
if ($day <= 9)
$day = '0' . $day;
}
echo file_get_contents($day . '.txt');
} else {
if (date('d') > 25) {
// We are past the last day, so read the last day.
echo file_get_contents('25.txt');
} else {
// We are on a new day, so read that txt file.
echo file_get_contents(date('d\.\t\x\t'));
}
}
}
?>