Archives by Issue

“;
print “

\n”;

$start_year = date(‘Y’);

$col_count = 0;

for ($y = $start_year; $y >= 2005; $y–) {

if ($y == $start_year) {
$start_month = date(‘n’);
} else {
$start_month = 12;
}

for ($m = $start_month; $m > 0; $m–) {

$show = TRUE;
if (($y == 2009) AND ($m == 7)) {
$show = FALSE;
}
if (($y != 2009) AND ($m == 8)) {
$show = FALSE;
}

if ($show) {

if (strlen($m) == 1) {
$m = ‘0’.$m;
}

$epoch_time = mktime(0,0,0,$m,1,$y);
$month_title = date(‘F’,$epoch_time);
$cover_image = “/wp-content/themes/deadline-responsive-child-theme/images/content/”.$y.”/”.$m.”/cover.jpg”;
$issue_address = “/”.$y.”/”.$m;

print “

\n”;
print ““;
print “
“;
print $month_title.” “.$y;
print “

\n”;
print “

\n”;

$col_count++;

if ($col_count == 4) {
$col_count = 0;
print “ \n”;
}

}

}

}

print “

\n”;
print “

\n”;

?>