<?php
##### ALL THE LOGIC GOES HERE
session_start();
setcookie();
$PageTitle='whatever';
//user auth routines
if (!$_SESSION['auth']) {
header("Location: buzzoff.php");
}
// Receiving, cleaning, and checking variables...
$pagenumber=strip_tags(trim($_GET['pagenumber']));
// Calculating stuff ...
if (date('W')%2==0) {
$week="It's black week again...";
//functions
function doNothing('') {
while ($x<1000) {
$x++;
}
}
// And then, finally after all is said/done, // the output begins...
include 'header.html';