session_start() ; include "../connexion.php" ; include "redirection.php" ; //include "../inc/trace_ip.php" ; //require_once "../ipbwi/ipbwi.inc.php"; include "../fonctions.php" ; include "fonctions.php" ; include "../variables.php" ; $base = $base_us ; $f = fopen ("warning.txt","r") ; $warn = fgets ($f,4096) ; fclose ($f) ; $page_en_cours = $_SERVER["REQUEST_URI"] ; // CONTENU DES METAS PAR DEFAUT $titre = "60's, 70's, 80's, 90's and 2000's TV Shows and Actors : Series-80.net" ; $desc = "60's, 70's, 80's, 90's and 2000's TV Shows : X-Files, Fresh Prince, Wild Wild West, Starsky and Hutch, Knight Rider, Magnum P.I., The A-Team, etc... Photos, Pictures, Trivia and filming locations, adress of the actors,..." ; $keys = "tv shows, actors, 80s, eighties, 70s, seventies, 60s, sixties, 90s, nineties, photos, pictures, themes, video clips, audio, extracts, mp3, avi, knight rider, david hasselhoff, hulk, bill bixby, the a-team, mr t, magnum pi, tom selleck, the fally guy, lee majors, macgyver, richard dean anderson, v, jane badler, the dukes of hazzard, street hawk, airwolf, manimal, quantum leap, 21 Jump Street, diff'rent strokes, Alf, hart to hart, miami vice, six million dollar man, wonder woman, lynda carter, starsky and hutch, david soul, paul michael glaser, highway to heaven, love boat, George Peppard, Dwight Schultz, Dirk Benedict, Edward Mulhare, Douglas Barr, Heather Thomas, Marc Singer, Faye Grant, June Chadwick, Frank Ashmore, Jennifer Cooke, Robert Englund, Jeff Yagher, Michael Wright, Michael Ironside, John Schneider, Tom Wopat, Denver Pyle, James Best, Catherine Bach, Sorrel Booke, Rex Smith, Joe Regalbuto, Richard Venture, Jan Michael Vincent, Ernest Borgnine, Alex Cord, John Hillerman, Roger E. Mosley, Larry Manetti, Simon MacCorkindale, Melody Anderson, Michael D. Roberts, Scott Bakula, Dean Stockwell, Johnny Depp, Peter DeLuise, Steven Williams, Richard Grieco, Gary Coleman" ; $titre_page = "60's, 70's, 80's, 90's and 2000's TV Shows" ; $tser_def = $titre_page ; $dser_def = "TV Shows from 60's, 70's, 80's, and 90's" ; $tact_def = "60's, 70's, 80's, 90's and 2000's TV Actors" ; $dact_def = "TV Actors from 60's, 70's, 80's, and 90's" ; // FIN CONTENU DES METAS PAR DEFAUT // TITLE + ARIANE if (isset($_GET["page"])) $page = $_GET["page"] ; else $page = "accueil" ; if (isset($_GET["cat"])) $cat = $_GET["cat"] ; if (isset($_POST["action"])) $action = $_POST["action"] ; elseif (isset($_GET["action"])) $action = $_GET["action"] ; else $action = "" ; if (isset($_GET["lettre"])) $aff_lettre = " - Letter " . strtoupper($_GET["lettre"]) ; $ariane = "Series-80 > " ; if (!$_GET["page"]) $ariane .= "Home" ; // LISTES SERIES TV if ($page == "liste") { if ($cat == "series") { $ariane .= "TV Shows > " ; switch($action) { case "list" : $ariane .= "List" ; $titre = "$tser_def$aff_lettre" ; $desc = "$dser_def : List$aff_lettre" ; $titre_page = $titre ; break ; case "photos" : $ariane .= "Pictures" ; $titre = "$tser_def : Photos$aff_lettre" ; $desc = "$dser_def : Pictures$aff_lettre" ; $titre_page = $titre ; break ; } } elseif ($cat == "acteurs") { $ariane .= "TV Actors > " ; switch($action) { case "list" : $ariane .= "List" ; $titre = "$tact_def$aff_lettre" ; $desc = "$tact_def : List$aff_lettre" ; $titre_page = $titre ; break ; case "photos" : $ariane .= "Pictures" ; $titre = "$tact_def : Photos$aff_lettre" ; $desc = "$dact_def : Pictures$aff_lettre" ; $titre_page = $titre ; break ; case "contact" : $ariane .= "Contact" ; $titre = "Contact an $tact_def$aff_lettre" ; $desc = "Contact an $dact_def$aff_lettre" ; $titre_page = $titre ; break ; } } } if ($page == "ringtones") { $ariane .= "TV Shows > Ringtones" ; $titre = "$tser_def : Ringtones$aff_lettre" ; $desc = "$dser_def : Ringtones$aff_lettre" ; $titre_page = $titre ; } if ($page == "liste_boutique") { $ariane .= "TV Shows > DVD Shop" ; $titre = "$tser_def : DVD$aff_lettre" ; $desc = "$dser_def : DVD$aff_lettre" ; $titre_page = $titre ; } if ($page == "submit-tv-show") { $ariane .= "TV Shows > Submit a TV Show" ; $titre = "Submit a $tser_def" ; $desc = "Submit a $dser_def" ; $titre_page = $titre ; } if ($page == "upload-pictures" OR $page == "upload") { $ariane .= " Submit Pictures" ; $titre = "Submit Pictures for $tser_def" ; $desc = "Submit Photos for $dser_def" ; $titre_page = $titre ; } if ($page == "submit-actor") { $ariane .= "TV Actors > Submit a TV Actor" ; $titre = "Submit a $tact_def" ; $desc = "Submit a $dact_def" ; $titre_page = $titre ; } if ($page == "dcd") { $ariane .= "TV Actors > Deceased Actors" ; $titre = "Deceased $tact_def" ; $desc = "Deceased $dact_def" ; $titre_page = $titre ; } if ($page == "accueil_jeux") { if ($section == "tv-shows") { $ariane .= "TV Shows > Photo Game" ; $titre = "$tser_def : Photo Game" ; $desc = "$dser_def : Photo Game" ; $titre_page = $titre ; } elseif ($section == "actors") { $ariane .= "TV Actors > Photo Game" ; $titre = "$tact_def : Photo Game" ; $desc = "$tact_def : Photo Game" ; $titre_page = $titre ; } } if ($page == "recherche") { $ariane .= "TV Shows, Actors Search" ; $titre = "Search for $tser_def" ; $desc = "Search for $dser_def" ; $titre_page = $titre ; } if ($page == "popularite") { $ariane .= "Most Popular TV Shows and Actors" ; $titre = "Most Popular $tser_def" ; $desc = "Most Popular $dser_def" ; $titre_page = $titre ; } if ($page == "profil") { $ariane .= "My Account" ; $titre = "My Account on Series-80" ; $titre_page = $titre ; } if ($page == "contact") $ariane .= "Contact" ; // FIN TITLE + ARIANE if (isset($_POST["id"])) $id = $_POST["id"] ; elseif (isset($_GET["id"])) $id = $_GET["id"] ; if (isset($_GET["idm"])) $idm = $_GET["idm"] ; if (isset($_GET["actjour"])) $actjour = $_GET["actjour"] ; elseif (isset($_POST["actjour"])) $actjour = $_POST["actjour"] ; else $actjour = "" ; if (isset($_POST["motclef"])) $motclef = $_POST["motclef"] ; if (isset($_GET["cat"])) $cat = $_GET["cat"] ; if (isset($_GET["section"])) $section = $_GET["section"] ; if (isset($_POST["acte"])) $acte = $_POST["acte"] ; elseif (isset($_GET["acte"])) $acte = $_GET["acte"] ; else $acte = "" ; if (isset ($_POST["news"]) ) $news = $_POST["news"] ; if (isset ($_POST["tranche"]) ) $tranche = $_POST["tranche"] ; if (isset ($_POST["sexe"]) ) $sexe = $_POST["sexe"] ; if (isset($_GET["acteur2"])) $acteur2 = $_GET["acteur2"] ; if (isset($_GET["titre2"])) $titre2 = $_GET["titre2"] ; if (isset($_GET["int"])) $int = $_GET["int"] ; if (isset($_GET["intitule"])) $intitule = $_GET["intitule"] ; if (isset ($_POST["rubrique"]) ) $rubrique = $_POST["rubrique"] ; if (isset ($_POST["infos"]) ) $infos = $_POST["infos"] ; if (isset($_GET["tit"])) $tit = $_GET["tit"] ; // TITRE ACTEUR if ($page == "acteur") { $key1ser = "" ; if (isset($_GET["idat"])) { $idat = $_GET["idat"] ; $req = " select nom,pseudo,bio_us,id_serie,id_serie2,id_serie3,lien FROM acteurs WHERE valid = '1' AND id = '$idat' " ; } else $req = " select nom,pseudo,bio_us,id_serie,id_serie2,id_serie3,lien FROM acteurs WHERE valid = '1' AND lien LIKE '$tit' " ; $recherche = $req ; $resultat = mysqli_query($db,$recherche) ; while( $acteurs = mysqli_fetch_array($resultat) ) { $id_serie = $acteurs["id_serie"] ; $id_serie2 = $acteurs["id_serie2"]; $id_serie3 = $acteurs["id_serie3"]; $nom = $acteurs["nom"] ; $pseudo = $acteurs["pseudo"] ; $tit = $acteurs["lien"] ; $bio = str_replace("\r\n"," ",str_replace("\"","'",strip_tags($acteurs["bio_us"]))) ; // BIO if (strlen($bio) > 150) $bio2 = substr($bio, 0, 150) . "..."; else $bio2 = $bio ; // LISTE DES SERIES DANS LEQUEL IL (ELLE) A JOUÉ $recherche2 = " select titre_vo,titre_court FROM series WHERE valid = '1' AND id = '$id_serie' " ; $resultat2 = mysqli_query($db,$recherche2) ; while( $series = mysqli_fetch_array($resultat2) ) { $titre1 = $series["titre_vo"] ; $titre_court = $series["titre_court"] ; $titres = "- $titre1" ; // MOT CLES ACTEURS $key1ser .= $titre1 . ", " ; } if (!empty($id_serie2)) { $recherche3 = " select titre_vo FROM series WHERE valid = '1' AND id = '$id_serie2' " ; $resultat3 = mysqli_query($db,$recherche3) ; while( $series = mysqli_fetch_array($resultat3) ) { $titre12 = $series["titre_vo"] ; $titres .= ", $titre12" ; // MOT CLES ACTEURS $key1ser .= $titre12 . ", " ; } } if (!empty($id_serie3)) { $recherche4 = " select titre_vo FROM series WHERE valid = '1' AND id = '$id_serie3' " ; $resultat4 = mysqli_query($db,$recherche4) ; while( $series = mysqli_fetch_array($resultat4) ) { $titre13 = $series["titre_vo"] ; $titres .= ", $titre13" ; // MOT CLES ACTEURS $key1ser .= $titre13 . ", " ; } } if (!empty($id_serie4)) { $recherche4 = " select titre_vo FROM series WHERE valid = '1' AND id = '$id_serie4' " ; $resultat4 = mysqli_query($db,$recherche4) ; while( $series = mysqli_fetch_array($resultat4) ) { $titre14 = $series["titre_vo"] ; $titres .= ", $titre14" ; // MOT CLES ACTEURS $key1ser .= $titre14 . ", " ; } } } // NUMERO DE PAGE $endTitle = '' ; if (isset($_GET["num_page"])) $numPage = $_GET["num_page"] ; else $numPage = 1 ; // TITLES if ($titre12) $titre12a = ", " . $titre12 ; if ($titre13) $titre13a = ", " . $titre13 ; if ($action == "filmography") $ent = " Filmography" ; elseif ($action == "trivia") $ent = " Trivia" ; elseif ($action == "family") $ent = " Family" ; elseif ($action == "photos") { $ent = " Photos - Page $numPage" ; $endTitle = " - Page $numPage" ; } elseif ($action == "contact") $ent = " Contact" ; elseif ($action == "comments") $ent = " Forum" ; else $ent = "" ; if ( !empty($pseudo) ) $nom = $pseudo ; $titre = $nom . " $ent $titres on Series-80.net" ; if ($action == "biography") $desc = $bio2 ; else $desc = "$nom$ent $titres" ; $titre_page = "$nom : Biography, Pictures, Photos, Trivia, Address, Filmography ($titre1$titre12a$titre13a)" ; $ariane .= "TV Actors > $nom" ; $key1 .= $nom . ", " ; $keys = $key1 . $key1ser . $keys ; } // TITRE SERIE elseif ($page == "serie") { $key1act = "" ; if (isset($_GET["idst"])) { $idst = $_GET["idst"] ; $req = " select id,titre,titre_court,titre_vo,lienus FROM series WHERE valid = '1' AND id = '$idst' " ; } else $req = " select id,titre,titre_court,titre_vo,lienus FROM series WHERE valid = '1' AND lienus LIKE '$tit' " ; $recherche = $req ; $resultat = mysqli_query($db,$recherche) ; while( $series = mysqli_fetch_array($resultat) ) { $id = $series["id"] ; $titre = $series["titre_vo"] ; $titreser = $titre ; $titre_court = $series["titre_court"] ; $tit = $series["lienus"] ; // NUMERO DE PAGE $endTitle = '' ; if (isset($_GET["num_page"])) $numPage = $_GET["num_page"] ; else $numPage = 1 ; if ($action == "medias") $ent = " Ringtones" ; elseif ($action == "photos") $ent = " Pictures - Page $numPage" ; elseif ($action == "trivia") $ent = " Trivia" ; elseif ($action == "filming") $ent = " Filming Locations" ; elseif ($action == "dvd-shop") $ent = " DVD" ; elseif ($action == "links") $ent = " Links" ; elseif ($action == "comments") $ent = " Forum" ; else $ent = "" ; $titre1 = $titre ; $titre .= $ent . " on Series-80.net"; } $ariane .= "TV Shows > $titreser" ; // LISTE DES ACTEURS $liste = "" ; $recherche2 = " select * FROM acteurs WHERE valid = '1' AND id_serie = '$id' or id_serie2 = '$id' or id_serie3 = '$id' order by id asc" ; $resultat2 = mysqli_query($db,$recherche2) ; while( $acteurs = mysqli_fetch_array($resultat2) ) { $ids2 = $acteurs["id_serie2"] ; $ids3 = $acteurs["id_serie3"] ; $ida = $acteurs["id"] ; $nom = $acteurs["nom"] ; $pseudo = $acteurs["pseudo"] ; $nom_photo = $acteurs["nom_photo"] ; $personnage = $acteurs["personnage"] ; $personnage2 = $acteurs["personnage2"] ; $personnage3 = $acteurs["personnage3"] ; if ( $ids2 == $id ) $perso = $personnage2 ; elseif ( $ids3 == $id ) $perso = $personnage3 ; else $perso = $personnage ; if ( !empty($pseudo)) $nom2 = $pseudo ; else $nom2 = $nom ; $liste .= "$nom2 ($perso), " ; // MOT CLES ACTEURS $key1act .= $nom2 . ", " ; } $desc = str_replace("\"", "'", "$titre1$ent : With $liste") ; $titre_page = "$titre1 : Synopsis, Pictures, Photos, Trivia, Filming Locations" ; // MOTS CLES $keys = $titre1 . ", " . $key1act . $keys ; } // PAGES A NE PAS INDEXER $pages_no_index = array ("profil","profil2","contact"); if (in_array ($page, $pages_no_index)) $meta_robot = ' '; else $meta_robot = " " ; ?>
> Welcome
Profile | Card History
Updates History |
My Rates | Logout
> My account
Login | Register | Password ?
}?>
|
include "../inc_us/notes_series.php" ;
?>
if ($page == "accueil")
{
?>
include "../inc_us/top_membres.php" ;
?>
}
?>
include "../inc_us/serie_dujour.php" ;
?>
include "../inc_us/acteur_dujour.php" ;
?>
|