include("../include/_connection.php");
$hereIs = ORIGIN_IS_NEWS;
$typeNews = GetValDefault( "typeNews", "-1" );
$page = GetValDefault( "page", 1 );
$limitInf = LIMIT_20 * ( $page - 1 );
PutHtmlHeader( "News" );
?>
PutLeftCol();
?>
Les news
$typeNews = ( $typeNews == "-1" ? null : $typeNews );
$totalrows = displayNews( $typeNews, null, true, $limitInf );
?>
$myURL = "/news/news.php?typeNews=&from=".$hereIs;
PutPagination( $page, $totalrows, $myURL );
?>
PutRightCol();
?>
PutHtmlFooter( null, null );
?>