process(trim($_GET['m_id'])); $result=$theatresObj->TheatresInfo($moveId); //print_r($result); $movieObj->getAmazonAPIKeys(); $storyline=stripslashes(trim($result['storyline'])); $url="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; $detailPageLink=BASEURL."movie/".$result['id']."/".getUrlStringTitle_new(strtolower(trim($result['title']))).".html"; if($result['id']>0){ if($url!=$detailPageLink){ //echo ''; die; } }else{ //echo ''; die; } $PhotoShow=$theatresObj->PosterGalleryInfo($moveId); $photoNameShow=(stripslashes(trim($PhotoShow['poster_name']))); $metaid=MOVIE_META_ID; $names= strtolower(trim($result['title'])); $siteurl=getUrlStringTitle_new($names); $type=$result['title']; $watchListInfo=$userObj->getInformationOfUserWatchList($uid, $moveId); $review=$userObj->getReviewInformation($uid, $moveId); //$totalRate=$ratingObj->getMovieTotalRating($moveId); //$rateValue=$ratingObj->checkMovieAlreadyRatedByUser($uid, $moveId); $showyouTube=$movieObj->Show_moviewYoutube($moveId); $moviename=(stripslashes(trim($showyouTube['embedded_code']))); $trailer=(stripslashes(trim($showyouTube['trailer_thumb']))); $critic_status=''; if(isset($_SESSION['UID'])){ $critic_status=$MySqlDriverObj->fetchValue(USER, 'critic_status', "uid='".$uid."'"); } $AdvertiseObj = new Advertise(); $AdvertiseData2=$AdvertiseObj->getAdvertise(MOVIE_CENTER_AD_ID); $banner_link2="http://".$AdvertiseData2['banner_link']; if($AdvertiseData2['advertise_type']==2){ $banner2="".$AdvertiseData2['advertise_data'].""; } else if($AdvertiseData2['advertise_type']==1){ if(file_exists(BASE_DIR_ROOT_BANNER_FILES.$AdvertiseData2['advertise_data'])){ $banner2=" "; } } $user_ip=$_SERVER['REMOTE_ADDR']; $indexObj->setRecentlyViewedMovies($moveId,$user_ip); $recentlyViewedMovies=$indexObj->getRecentlyViewedMovies($moveId,$user_ip); $movieMusicVideos=getMovieMusicVideosArray(stripslashes(trim($result['title']))); $movieMusicAudios=getMovieMusicAudiosArray(stripslashes(trim($result['title']))); $movieTrailers=$movieObj->SliderCount($moveId); $buy_song_detail_arr=getSongInformationFromAmazonByName(stripslashes(trim($result['title']))); //echo '
'; print_r($buy_song_detail_arr);  die;

if(count($buy_song_detail_arr)>0){

if(count($buy_song_detail_arr['Items']['Item'][0])>1){
$buy_on_amazon_url=$buy_song_detail_arr['Items']['Item'][0]['DetailPageURL'];
//$album_image_url=$buy_song_detail_arr['Items']['Item'][0]['ImageSets']['ImageSet']['LargeImage']['URL'];
}else{
$buy_on_amazon_url=$buy_song_detail_arr['Items']['Item']['DetailPageURL'];
//$album_image_url=$buy_song_detail_arr['Items']['Item']['ImageSets']['ImageSet']['LargeImage']['URL'];
}
}
$path='';
$HEADER_AD_ID=MOVIE_HEADER_AD_ID;
$RIGHT_TOP_AD_ID=MOVIE_RIGHT_TOP_AD_ID;
$RIGHT_BOTTOM_AD_ID=MOVIE_RIGHT_BOTTOM_AD_ID;


$AdvertiseData1=$AdvertiseObj->getAdvertise($RIGHT_TOP_AD_ID);
$AdvertiseData2=$AdvertiseObj->getAdvertise($RIGHT_BOTTOM_AD_ID);
$banner_link1="http://".$AdvertiseData1['banner_link'];
$banner_link2="http://".$AdvertiseData2['banner_link'];
$banner_right1='';
$banner_right2='';
if($AdvertiseData1['advertise_type']==2){
$banner_right1=$AdvertiseData1['advertise_data'];
}
else if($AdvertiseData1['advertise_type']==1){
if(file_exists(BASE_DIR_ROOT_BANNER_FILES.$AdvertiseData1['advertise_data'])){
  $banner_right1='
  ';
}
}

if($AdvertiseData2['advertise_type']==2){
$banner_right2=$AdvertiseData2['advertise_data'];
}
else if($AdvertiseData2['advertise_type']==1){
if(file_exists(BASE_DIR_ROOT_BANNER_FILES.$AdvertiseData2['advertise_data'])){
  $banner_right2='
  ';
}
}


//preg_match( "@src='([^']+)'@" , $movieposter, $match );
$moviesrc = BASE_DIRPOSTER_FILES."".$result['poster']."/";//array_pop($match);
?>




        
        
        
        
        
        
        " />
        
        
        
        
        
        
        
        
        " />
        




    
    


ShowTheatresInfo($moveId);?>
()
Audience Meter
onmouseout="return getUserMovieRating(, );" onmouseout="setRating(0)" > getUserMovieRating($moveId,$uid); }else{?> 01234
getTotalReviews($moveId,0);?> getMovieRating($moveId);?>
Critic Meter
onmouseout="return getUserCriticRating(, );" onmouseout="setCriticRating(0)" '> getUserCriticRating($moveId,$uid); }else if(isset($_SESSION['UID']) && $critic_status==0){?> 01234 01234
getTotalReviews($moveId,1);?>
';} else if($watchListInfo != 1){ echo ''; } ?>
' ;} else{ $clicktowatch=($review != '1')?'onClick="viewShowUser('.$moveId.','.$uid.');"':'onclick="showErrorMsg(\''.ALREADY_SELECTED_ONE.'\');"'; echo ' ';} ?>
('.$indexObj->No_user_result($moveId).')
' ;} else{ $clicktoNotInt=($review != '1')?'onClick="noInterestUser('.$moveId.','.$uid.');"':'onclick="showErrorMsg(\''.ALREADY_SELECTED_ONE.'\');"'; echo '
('.$indexObj->No_user_result($moveId).')
';} ?>
=MOVIE_CONTENT_SHOW_CHAR){?>
: ...view more +';?>
:
:
:';} ?>
:
:
:
:
:
CastPhotoInfo($moveId);?>
Trailers & Songs View More »
getMovieMusicVideos($moveId,$movieMusicVideos,$buy_on_amazon_url);?> getMovieMusicAudios($moveId,$movieMusicAudios,$buy_on_amazon_url);?> Photo_showMoviesDetails($moveId);?>
    getReviews($moveId,0,0);?>
getLatestMovies();?>
getUpcomingMovies();?>