require ("funciones.php"); conexion(); include("includes/header.php"); echo "
Browse recommendations
"; if ($show) { $query = "SELECT * FROM slashrecs_series WHERE tipo LIKE '%$show%' ORDER by serie"; $total_recs = total_where("slashrecs_series", "tipo LIKE '%$show%'"); switch ($show) { case movie: $tipo_print = "Movies"; break; case 'tv serie': $tipo_print = "TV Series"; break; case 'book': $tipo_print = "Books"; break; case 'comics/animation': $tipo_print = "Comics/Animation"; break; case 'manga/anime/videogames': $tipo_print = "Manga/Anime/Videogames"; break; case original: $tipo_print = "Original"; break; } $navbar = "Showing: [ ".$tipo_print." ]
\nShow All | Show Only: [ Movies ] [ TV Series ] [ Books ] [ Comics & Animation ] [ Manga/Anime/Videogames ] [ Original ]
"; } else { $total_recs = total(slashrecs_series); $query = "SELECT * FROM slashrecs_series ORDER by serie"; $navbar = "Showing: [ All ]
\nShow Only: [ Movies ] [ TV Series ] [ Books ] [ Comics & Animation ] [ Manga/Anime/Videogames ] [ Original ]
"; } echo $navbar; $tercio = $total_recs / 3; $tercio2 = round($tercio); $i = 0; $y = 0; $noaug = 0; $result = mysql_query($query) or die("La Consulta SQL ha fallado!!"); echo "\n";
echo "
| \n\n";
echo " |