process(trim($_GET['t_id'])); $trailer_song='Trailer'; }else if(isset($_GET['s_id'])){ $trailerSongId=$filterObj->process(trim($_GET['s_id'])); $trailer_song='Song'; } $metaid=WATCH_TRAILER_META_ID; $url="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; $showyouTube=$movieObj->getTrailerSongRow($trailerSongId); if(trim($showyouTube['id'])>0){ $moveId=$showyouTube['movie_id']; $MySqlDriverObj->updateValue(MOVIE_VIDEO, "id='".trim($showyouTube['id'])."'", "views=views+1"); $result=$theatresObj->TheatresInfo($moveId); $url="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; if(trim($showyouTube['title'])!=''){ $link=BASEURL.strtolower($trailer_song)."-".trim($showyouTube['id'])."-".getUrlStringTitle_new(strtolower(stripslashes(trim($showyouTube['title'])))).".html"; }else{ $link=BASEURL.strtolower($trailer_song)."-".trim($showyouTube['id'])."-".getUrlStringTitle_new(strtolower(stripslashes(trim($result['title'])))).".html"; } if($url!=$link){ echo ''; die; } }else{ @header("location: ".baseUrl()."404.html"); echo ''; die; } $moviename=(stripslashes(trim($showyouTube['embedded_code']))); $trailer=(stripslashes(trim($showyouTube['trailer_thumb']))); $trailer_name=(stripslashes(trim($showyouTube['title']))); $year=(stripslashes(trim($result['year']))); $movienameShow=(ucfirst(stripslashes(trim($result['title'])))); $siteurl=getUrlStringTitle_new(strtolower(trim($result['title']))); $AdvertiseObj = new Advertise(); $AdvertiseData=$AdvertiseObj->getAdvertise(TRAILER_SONG_CENTER_AD_ID); $banner_link2="http://".$AdvertiseData['banner_link']; if($AdvertiseData['advertise_type']==2){ $banner2="".$AdvertiseData['advertise_data'].""; } else if($AdvertiseData['advertise_type']==1){ if(file_exists(BASE_DIR_ROOT_BANNER_FILES.$AdvertiseData['advertise_data'])){ $banner2=" "; } } $TrailerSongSlider=$movieObj->getTrailerSongSlider($moveId,trim($showyouTube['id'])); $HEADER_AD_ID=TRAILER_SONG_HEADER_AD_ID; $RIGHT_TOP_AD_ID=TRAILER_SONG_RIGHT_TOP_AD_ID; $RIGHT_BOTTOM_AD_ID=TRAILER_SONG_RIGHT_BOTTOM_AD_ID; ?>

Recently_ViewedMoves($moveId,$ip);?>