template_dir = '../smarty/templates'; $smarty->compile_dir = '../smarty/templates_c'; $smarty->cache_dir = '../smarty/cache'; $smarty->config_dir = '../smarty/configs'; $smarty->assign('pagename',$pagename); $smarty->assign('annex',$links[0]); $smarty->assign('presentation',$links[1]); $smarty->assign('panel',$links[2]); if ($pagename=="Actual") { $year=$links[3]+1; $condition="delivery>'2009-01-16'"; $smarty->assign('condition',$condition); } elseif ($pagename=="Previous") { $condition="delivery<'2009-01-16'"; $smarty->assign('condition',$condition); } if ($pagename=="Home") $text=$smarty->fetch('reviewhome.tpl'); elseif ($pagename=="Pending") { include "view_table_content.php"; $pagename="PendingJ"; $smarty->assign('pagename',$pagename); $textC="

Conferences


".$text."
"; include "view_table_content.php"; $text=$textC."

Magazines


".$text; } elseif ($pagename=="Conferences" || $pagename=="Journals") { $condition="&& pdate>'2008-00-00' && pdate<'2009-00-00'"; $smarty->assign('condition',$condition); include "view_table_content.php"; if ($text!=="") $textC="

2008


".$text."
"; else $textC=$text; //$condition="&& pdate>'2009-00-00' && pdate<'2010-00-00'"; $condition="&& pdate>='2009-00-00' && pdate<'2010-00-00'"; $smarty->assign('condition',$condition); include "view_table_content.php"; if ($text!=="") $textC=$textC."

2009


".$text; else $textC=$text; $condition="&& pdate>='2010-00-00' && pdate<'2011-00-00'"; $smarty->assign('condition',$condition); include "view_table_content.php"; if ($text!=="") $text=$textC."

2010


".$text; else $text=$textC; } else include "view_table_content.php"; $smarty->assign('content',$text); $smarty->assign($pagename,"selected"); $smarty->display('review.tpl'); ?>