| ||
| ||
echo $Month." ".$year; ?> Next Month echo " "; $article->print_last_news($type=1,$max_news=999,$wintro=0,false,$date=true);?> Previous Month For older items, please look in the old archives. This archive will within due time contain all news items. |
session_start(); if(!$_SESSION['visitor']) { session_register('visitor'); $_SESSION['visitor'] = true; } include("functions.inc.php"); /*if(AFROL_MAP_URL) { $variables = explode('/',$_SERVER['PATH_INFO']); $year=strtolower($variables[1]); $month=strtolower($variables[2]); } */ $year = $_GET['year']; $month = $_GET['month']; if(!$year || !$month) { $month=date("n"); $year=date("Y"); } switch ($month) { case 1: $Month="January"; $NextYear=$year; $NextMonth=$month+1; $PrevYear=$year-1; $PrevMonth=12; break; case 2: $Month="February"; $NextYear=$year; $NextMonth=$month+1; $PrevYear=$year; $PrevMonth=$month-1; break; case 3: $Month="March"; $NextYear=$year; $NextMonth=$month+1; $PrevYear=$year; $PrevMonth=$month-1; break; case 4: $Month="April"; $NextYear=$year; $NextMonth=$month+1; $PrevYear=$year; $PrevMonth=$month-1; break; case 5: $Month="May"; $NextYear=$year; $NextMonth=$month+1; $PrevYear=$year; $PrevMonth=$month-1; break; case 6: $Month="June"; $NextYear=$year; $NextMonth=$month+1; $PrevYear=$year; $PrevMonth=$month-1; break; case 7: $Month="July"; $NextYear=$year; $NextMonth=$month+1; $PrevYear=$year; $PrevMonth=$month-1; break; case 8: $Month="August"; $NextYear=$year; $NextMonth=$month+1; $PrevYear=$year; $PrevMonth=$month-1; break; case 9: $Month="September"; $NextYear=$year; $NextMonth=$month+1; $PrevYear=$year; $PrevMonth=$month-1; break; case 10:$Month="October"; $NextYear=$year; $NextMonth=$month+1; $PrevYear=$year; $PrevMonth=$month-1; break; case 11:$Month="November"; $NextYear=$year; $NextMonth=$month+1; $PrevYear=$year; $PrevMonth=$month-1; break; case 12:$Month="December"; $NextYear=$year+1; $NextMonth=1; $PrevYear=$year; $PrevMonth=$month-1; break; } $article=new article($db,$idcountry,$groupby='chronological',$year,$month); //construir nombre mes $folders=array("archives","Chronological"); $title="Chronological Archives $Month $year"; if(!$variables[1]) site_header($db,$title,$folders,$externurl=false,$menu="frontpage",$flags=true,$revisit_after=1); else site_header($db,$title,$folders,$externurl=false,$menu="frontpage",$flags=true,$revisit_after=30); if (substr($_SERVER['REQUEST_URI'],0,3)=='/es') { $ads_variables['language']="es"; } else { $ads_variables['language']="en"; } if(!$Month) not_found(); ?>
| ||
| ||
echo $Month." ".$year; ?> Next Month echo " "; $article->print_last_news($type=1,$max_news=999,$wintro=0,false,$date=true);?> Previous Month For older items, please look in the old archives. This archive will within due time contain all news items. |