<?php

$year = $_GET['year'];
if(!isset($year) || $year<1995 || $year>strftime('%Y')){
	header("Location: publications.php?year=blah");
	exit;
}

require_once('php/aqr.php.inc');

// Page title

page_header('AQR Group Publications for '.$year);

function navigator()
{
	global $year;
	echo '<p /><div style="text-align:center"> [ ';

	$this_year = strftime('%Y');
	for ($i=1995; $i<=$this_year; $i++) {
		if ($i==$year) echo "<strong>$year</strong>" ;
		else echo '<a href="pubs.php?year='.$i.'">'.$i."</a>";
	
		if ($i<$this_year) echo ' | ';
		else echo ' ]</div><p />';
	}
}


?>

<h1><?php echo $year ?> Publications</h1>

<STRONG>The list of publications is arranged chronologically in
reverse order of appearance. <P>

Please note: due to copyright agreements with journals and
conferences, full electronic versions of the published papers are
available within the University of Edinburgh
<EM>only</EM>.</STRONG><P>

<?php navigator() ?>

<table border="0" cellpadding="5" cellspacing="1" height="1" width="95%">

<?php require('publications/'.$year.'Pubs.html'); ?>

</table>

<?php navigator(); ?>


<?php // Do not delete or modify anything below this line.

page_footer();

?>
