include( "../include/_connection.php" ); include( "../include/_top_flop.php" ); $topflop = GetValDefault( "topflop", TF_TOP ); $categ = GetValDefault( "categ", null ); $page = GetValDefault( "page", 1 ); $limitInf = LIMIT_20 * ( $page - 1 ); $libTop = "Les Tops"; $libFlop = "Les Flops"; switch ( $topflop ){ case TF_TOP: if ( $categ == null ) $categ = TOP_FILMCONSULT_NB; if ( !is_numeric( $categ ) ) $categ = TOP_FILMCONSULT_NB; $isTop = true; $hereIs = ORIGIN_IS_TOP; $otherlib = $libFlop; $lib = $libTop; break; case TF_FLOP: if ( $categ == null ) $categ = FLOP_MOINSAIMES; if ( !is_numeric($categ) ) $categ = FLOP_MOINSAIMES; $isTop = false; $hereIs = ORIGIN_IS_FLOP; $otherlib = $libTop; $lib = $libFlop; break; default: break; } setlocale( LC_ALL, "fr_FR" ); $locale_info = localeconv(); $aInfos = getInfos(); $type = $aInfos[$categ]["type"]; $critere = $type." ".$aInfos[$categ]["crit"]; $link = $aInfos[$categ]["page"]; $desc = $aInfos[$categ]["desc"]; PutHtmlHeader( $lib ); ?>
".$desc."
"; $aQuery = getQuery( $categ ); $query = $aQuery[0]; $queryOrder = $aQuery[1]; $rs = $dbh -> do_query( $query ); $totalrows = $dbh -> total_rows( $rs ); //echo "