<?php include_once('view/common/ch_header.php');?>
<div class="main">
<div class="white_bg">

<div class="row">
<div class="latest_news_left">


<div class="latest_news_bg">
<h1 class="main_head_2">Highlights</h1>
<!--<ul id="ticker">
<?php foreach($flashDetails as $results){ ?>
                    <li><a href="<?php echo stripslashes($results['flashLink']); ?>" target="_blank"><?php echo stripslashes($results['flashTitle']); ?></a></li>
<?php } ?>                    
                </ul>-->
                <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<!--<script>
function tick(){
        $('#ticker li:first').slideUp( function () { $(this).appendTo($('#ticker')).slideDown(); });
    }
    setInterval(function(){ tick () }, 5000);

$(document).ready(function() {
    $('.pgwSlider').pgwSlider();
});

</script>-->


<div class="row re_align">

<!--latest news row-->
<?php foreach($highlightDetails as $results){?>
<div class="latest_news">
<div class="latest_news_img">
<a href="<?php echo $results['highlightLink'];  ?>" target="_blank" title="<?php echo $results['highlightTitle'];  ?>">
<img src="<?php echo HIGHLIGHT_IMAGES.$results['highlightImage'];  ?>" alt="<?php echo $results['highlightTitle'];  ?>">
</a>
</div>
<div class="latest_news_head">
<a href=""><p class="head_para_alignment"><?php echo stripslashes($results['highlightTitle']); ?></p></a>
</div>
</div>
<!--latest news row end-->
<?php } ?>
</div>
</div>

<!--latest bg end-->
<!--<div ><img src="images/add_3.png" style="margin: 5px 10px;"></div>
--></div>

<div class="add_latest_news">
<?php foreach($bannerDetails as $results){ if($results['bannerPage']  == 'home-top') {?>
<a href="<?php echo $results['bannerLink']; ?>"  target="_blank"  title="<?php echo stripslashes($results['bannerTitle']); ?>">
         <img src="<?php echo BANNER_IMAGES.$results['bannerImage']; ?>" alt="<?php echo stripslashes($results['bannerTitle']); ?>">
  </a>
<?php } }?>
<!--<iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%chennaieditor%2F169785276399546&amp;width=310&amp;colorscheme=light&amp;show_faces=true&amp;border_color&amp;stream=false&amp;header=true&amp;height=290" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:301px; height:193px;" allowtransparency="true"></iframe>-->
<div style="margin-top:11px; margin-left:3px;">
<img src="images/fb_1.png">
</div>

</div>
</div>


<div class="news bg" style="float: left;width: 99%;margin: 10px 5px;">
<div class="home_new_head"><h1 class="main_head_new">News</h1></div>
<div class="row margin_bottom">

<div class="half_row  border_right " style="width:484px">
<?php foreach($leftNewsDetails as $results){?>

<div class="news_row border_bottom">
<div class="thumb_outer border">
<div class="news_thumb ">
<a href="cinema-news/<?php echo stripslashes($results['newsSlug']); ?>.html"  >
<img width="" src="<?php echo NEWS_IMAGES; ?><?php echo $results['detailImage']; ?>" alt="<?php echo stripslashes($results['newsTitle']); ?>">
</a>
</div>
</div>
<div class="news_content">
<a href="cinema-news/<?php echo stripslashes($results['newsSlug']); ?>.html" ><h3><?php echo stripslashes($results['newsTitle']); ?></h3></a>
<p> <?php echo myTruncate(strip_tags(stripslashes($results['newsDesc']),10)); ?></p>
</div>
<a href="cinema-news/<?php echo stripslashes($results['newsSlug']); ?>.html"  class="view_more">>></a>
</div>
<?php } ?>

</div>

<div class="half_row "  style="width:484px">
<?php foreach($rightNewsDetails as $results){?>

<div class="news_row border_bottom">
<div class="thumb_outer border">
<div class="news_thumb ">
<a href="cinema-news/<?php echo stripslashes($results['newsSlug']); ?>.html"  >
<img width="55px" src="<?php echo NEWS_IMAGES; ?><?php echo $results['detailImage']; ?>" alt="<?php echo stripslashes($results['newsTitle']); ?>">
</a>
</div>
</div>
<div class="news_content">
<a href="cinema-news/<?php echo stripslashes($results['newsSlug']); ?>.html" ><h3><?php echo stripslashes($results['newsTitle']); ?></h3></a>
<p> <?php echo myTruncate(strip_tags(stripslashes($results['newsDesc']),10)); ?></p>
</div>
<a href="cinema-news/<?php echo stripslashes($results['newsSlug']); ?>.html"  class="view_more">>></a>
</div>


<?php }?>

</div>


<a href="#" title="MADRAS" class="view_more"> &gt;&gt; View More </a>
</div>
</div>
<!--<div class="add_3">
<?php foreach($bannerDetails as $results){ if($results['bannerPage']  == 'home-bottom') {?>
<a href="<?php echo $results['bannerLink']; ?>"  target="_blank" title="<?php echo stripslashes($results['bannerTitle']); ?>">
         <img src="<?php echo BANNER_IMAGES.$results['bannerImage']; ?>" alt="<?php echo stripslashes($results['bannerTitle']); ?>">
  </a>
<?php } }?>
</div>-->
<div class="row margin_bottom">
<div class="half_row  bg">
<div class="home_new_head">
<a href="movie-preview-list.html"><h1 class="main_head_new">Coming Soon </h1></a></div>
<div class="home_reviews_row ">
<div class="home_reviews_outer">
<div class="home_reviews_img border">
    <!--  <a href="movie-previews/<?php echo stripslashes($results['movieSlug']); ?>.html">   -->
      <img width="123px" height="191px"  src="images/Rajnikanth-Linga-Movie-New-Poster.jpg"  title="<?php echo $results['movieName']; ?>"/>
    <!--  </a>-->

</div>
<div class="home_reviews_cont">
<a href="#" class="home_reviews_cont_link">Linga</a>
</div>
</div>




<div class="home_reviews_outer">
<div class="home_reviews_img border">
    <!--  <a href="movie-previews/<?php echo stripslashes($results['movieSlug']); ?>.html">   -->
      <img width="123px" height="191px"  src="images/Shankar-I-Movie.jpg"  title="<?php echo $results['movieName']; ?>"/>
    <!--  </a>-->

</div>
<div class="home_reviews_cont">
<a href="#l" class="home_reviews_cont_link">I Movie</a>
</div>
</div>



<div class="home_reviews_outer">
<div class="home_reviews_img border">
    <!--  <a href="movie-previews/<?php echo stripslashes($results['movieSlug']); ?>.html">   -->
      <img width="123px" height="191px"  src="images/Vishwaroop_2.png"  title="<?php echo $results['movieName']; ?>"/>
    <!--  </a>-->

</div>
<div class="home_reviews_cont">
<a href="#" class="home_reviews_cont_link">Vishwaroopam 2</a>
</div>
</div>




<?php //foreach($movieDetails as $results){?>
<!--<div class="home_reviews_outer">
<div class="home_reviews_img border">
      <a href="movie-previews/<?php echo stripslashes($results['movieSlug']); ?>.html">   
      <img width="123px" height="191px"  src="<?php echo MOVIE_IMAGES; ?><?php echo ''.$results['previewImage']; ?>"  title="<?php echo $results['movieName']; ?>"/>
      </a>

</div>
<div class="home_reviews_cont">
<a href="movie-previews/<?php echo stripslashes($results['movieSlug']); ?>.html" class="home_reviews_cont_link"><?php echo stripslashes($results['movieName']); ?></a>
</div>
</div>-->
	 <?php //}?>    
<a href="#" title="MADRAS" class="view_more"> &gt;&gt; View More </a>

</div>

</div>
<div class="half_row bg">
<div class="home_new_head">
<a href="movie-review-list.html"><h1 class="main_head_new">Reviews</h1></a>
</div>
<div class="home_reviews_row ">
<?php foreach($movieDetails as $results){?>
<!--end-->
<div class="home_reviews_outer">
<div class="home_reviews_img border">
      <a href="movie-reviews/<?php echo stripslashes($results['movieSlug']); ?>.html">   
      <img width="123px" height="191px"  src="<?php echo MOVIE_IMAGES; ?><?php echo ''.$results['movieImage']; ?>"  title="<?php echo $results['movieName']; ?>"/>
      </a>

</div>
<div class="home_reviews_cont">
<a href="movie-reviews/<?php echo stripslashes($results['movieSlug']); ?>.html" class="home_reviews_cont_link"><?php echo stripslashes($results['movieName']); ?></a>
</div>
</div>
<!--end-->
	 <?php }?>  
     <a href="movie-review-list.html" title="MADRAS" class="view_more"> &gt;&gt; View More </a>  
</div>


</div>
</div>

<!--reviews and movie gallery end-->


<div class="row margin_bottom">
<div class="half_row bg ">
<div class="home_new_head"><h1 class="main_head_new">Movie Gallery</h1></div>
<div class="home_reviews_row  ">

<?php 
  $i = 1;
  foreach($galleryDetails as $results){ if($results['gCatId'] == '1'){ if($i <= 3){?>
	  
<div class="home_reviews_outer">
<div class="home_reviews_img border">
    <a href="gallery-thumb/movie-gallery/<?php echo $results['id'];?>/<?php echo $results['gallerySlug'];?>.html" title="<?php echo $results['galleryTitle'];?>">       
      <img  width="123px" height="191px"  src="<?php echo MOVIE_GALLERY.$results['folderName'].'/thumb/'.$results['galleryImage'];?>" alt="<?php echo $results['galleryTitle'];?>" />
     </a>
</div>
<div class="home_reviews_cont">
<a href="gallery-thumb/movie-gallery/<?php echo $results['id'];?>/<?php echo $results['gallerySlug'];?>.html" title="<?php echo $results['galleryTitle'];?>" class="home_reviews_cont_link"><?php echo stripslashes($results['galleryTitle']);?></a>
</div>
</div>

<?php  $i++; } } }?>



<a href="#" title="MADRAS" class="view_more"> &gt;&gt; View More </a>
</div>

</div>
<div class="half_row bg">
<div class="home_new_head"><h1 class="main_head_new">Events Gallery</h1></div>
<div class="home_reviews_row ">


<?php 
  $i = 1;
  foreach($galleryDetails as $results){ if($results['gCatId'] == '2'){ if($i <= 3){?>
	  
<div class="home_reviews_outer">
<div class="home_reviews_img border">
    <a href="gallery-thumb/events-gallery/<?php echo $results['id'];?>/<?php echo $results['gallerySlug'];?>.html" title="<?php echo $results['galleryTitle'];?>">       
      <img  width="123px" height="191px"  src="<?php echo EVENTS_GALLERY.$results['folderName'].'/thumb/'.$results['galleryImage'];?>" alt="<?php echo $results['galleryTitle'];?>" />
     </a>
</div>
<div class="home_reviews_cont">
<a href="#" class="home_reviews_cont_link"><?php echo stripslashes($results['galleryTitle']);?></a>
</div>
</div>

<?php  $i++; } } }?>
<a href="#" title="MADRAS" class="view_more"> &gt;&gt; View More </a>

</div>


</div>
</div>
<!--trilors and evnet gallery end-->



<!--end-->

<div class="row margin_bottom">
<div class="half_row bg">
<div class="home_new_head"><h1 class="main_head_new">Top 10 Songs </h1></div>
<div class="home_reviews_row  " style="margin-bottom: 6px;">
<div class="news_row border_bottom padding-bottom">
<div class="thumb_outer border">
<div class="news_thumb ">
<img src="images/vijay-samantha.jpg" alt="kathi">
</div>
</div>
<div class="news_content">
<h3 class="topsongs">Kathi is in top list in itunes</h3>

</div>

</div>
<!--end-->
<div class="news_row border_bottom padding-bottom">
<div class="thumb_outer border">
<div class="news_thumb ">
<img src="images/vikram-ai-body.jpg" alt="I Movie">
</div>
</div>
<div class="news_content">
<h3 class="topsongs">I movie is in top list in itunes</h3>

</div>

</div>
<!--end-->

<div class="news_row border_bottom padding-bottom">
<div class="thumb_outer border">
<div class="news_thumb ">
<img src="images/news_thump.png" alt="">
</div>
</div>
<div class="news_content">
<h3 class="topsongs">kaviya thalaivan  is in top list in itunes</h3>

</div>

</div>
<!--end-->
    
<a href="#" title="MADRAS" class="view_more"> &gt;&gt; View More </a>

</div>

</div>
<div class="half_row bg">
<div class="home_new_head"><h1 class="main_head_new">Top of the Week </h1></div>
<div class="home_reviews_row ">


<div class="home_reviews_outer">
<div class="home_reviews_img border">
      <a href="#" title="Kathi">   
      <img width="123px" height="191px"  src="images/Vijay-Samantha's Kathi.jpg"  alt="Kathi"/>
      </a>

</div>
<div class="home_reviews_cont">
<a  href="#" title="<?php echo $results['movieName']; ?>" class="home_reviews_cont_link">Kathi</a>
</div>
</div>

<div class="home_reviews_outer">
<div class="home_reviews_img border">
      <a href="#" title="Kathi">   
      <img width="123px" height="191px"  src="images/Poojai.jpg"  alt="Poojai"/>
      </a>

</div>
<div class="home_reviews_cont">
<a  href="#" title="<?php echo $results['movieName']; ?>" class="home_reviews_cont_link">Poojai</a>
</div>
</div>

<div class="home_reviews_outer">
<div class="home_reviews_img border">
      <a href="#" title="Kathi">   
      <img width="123px" height="191px"  src="images/madras_movie_super_hit_songs_poster.jpg"  alt="Madras"/>
      </a>

</div>
<div class="home_reviews_cont">
<a  href="#" title="<?php echo $results['movieName']; ?>" class="home_reviews_cont_link">Madras</a>
</div>
</div>




<?php foreach($topmovieDetails as $results){?>

<!--<div class="home_reviews_outer">
<div class="home_reviews_img border">
      <a href="<?php echo stripslashes($results['movieSlug']); ?>/<?php echo stripslashes($results['id']); ?>/top10-movies.html" title="<?php echo $results['movieName']; ?>">   
      <img width="123px" height="191px"  src="<?php echo MOVIE_IMAGES; ?><?php echo ''.$results['movieImage']; ?>"  alt="<?php echo $results['movieName']; ?>"/>
      </a>

</div>
<div class="home_reviews_cont">
<a  href="<?php echo stripslashes($results['movieSlug']); ?>/<?php echo stripslashes($results['id']); ?>/top10-movies.html" title="<?php echo $results['movieName']; ?>" class="home_reviews_cont_link"><?php echo stripslashes($results['movieName']); ?></a>
</div>
</div>-->
	 <?php }?>    

<a href="#" title="MADRAS" class="view_more"> &gt;&gt; View More </a>


</div>
</div>
</div>
<div class="row margin_bottom">
<div class="half_row bg">
<div class="home_new_head"><h1 class="main_head_new">Trailers</h1></div>
<div class="home_reviews_row  ">

<?php  foreach($trailerVideo as $results){  ?>
<div class="home_reviews_outer">
<div class="home_reviews_img border">
<a href="<?php echo $urlNamesss;?>/<?php echo stripslashes($results['videoSlug']); ?>-<?php echo $vCatId;?>.html" title="<?php echo stripslashes($results['videoTitle']); ?>">
<img width="123px" height="191px" src="<?php echo VIDEO_PATH; ?><?php echo $urlNamesss; ?>/<?php echo $results['listImage']; ?>" alt="<?php echo stripslashes($results['videoTitle']); ?>"/>
</a>

</div>
<div class="home_reviews_cont">
<a  href="<?php echo $urlNamesss;?>/<?php echo stripslashes($results['videoSlug']); ?>-<?php echo $vCatId;?>.html" title="<?php echo stripslashes($results['videoTitle']); ?>" class="home_reviews_cont_link"><?php echo stripslashes($results['videoTitle']); ?></a>
</div>
</div>
<?php } ?>
<a href="trailers/video-page.html" title="MADRAS" class="view_more"> &gt;&gt; View More </a>
</div>

</div>

<div class="half_row bg">
<div class="home_new_head"><h1 class="main_head_new">Songs /Videos</h1></div>
<div class="home_reviews_row  ">

<?php  foreach($songVideo as $results){  ?>
<div class="home_reviews_outer">
<div class="home_reviews_img border">
<a href="<?php echo $urlNamesss1;?>/<?php echo stripslashes($results['videoSlug']); ?>-<?php echo $vCatId;?>.html" title="<?php echo stripslashes($results['videoTitle']); ?>">
<img width="123px" height="191px" src="<?php echo VIDEO_PATH; ?><?php echo $urlNamesss1; ?>/<?php echo $results['listImage']; ?>" alt="<?php echo stripslashes($results['videoTitle']); ?>"/>
</a>

</div>
<div class="home_reviews_cont">
<a  href="<?php echo $urlNamesss;?>/<?php echo stripslashes($results['videoSlug']); ?>-<?php echo $vCatId;?>.html" title="<?php echo stripslashes($results['videoTitle']); ?>" class="home_reviews_cont_link"><?php echo stripslashes($results['videoTitle']); ?></a>
</div>
</div>
<?php } ?>
<a href="#" title="MADRAS" class="view_more"> &gt;&gt; View More </a>
</div>

</div>
<!--<div class="half_row bg">
<div class="home_new_head"><h1 class="main_head_new">Songs / Videos </h1></div>
<div class="home_reviews_row " style="margin-bottom: 19px;">

<?php foreach($boxofficeDetails as $results){?>

<div class="boxoffice_row">
<div class="boxoffice_thumb_outer border">
<div class="boxoffice_thumb ">
<a href="" title="<?php echo $results['boxofficeTitle'] ; ?>">
<img width="98px" height="73px" src="<?php echo BOXOFFICE_IMAGES.$results['listImage'] ?>" alt="<?php echo $results['boxofficeTitle'] ; ?>">
</a>
</div>
</div>
<div class="boxoffice_news_content">
<a href="" title="<?php echo $results['boxofficeTitle'] ; ?>" style="text-decoration:none; color:#000;"><h3><?php echo $results['boxofficeTitle'] ; ?></h3></a>
<p><?php echo strip_tags(stripslashes($results['boxofficeDesc'])); ?></p>
</div>
<a href="#" title="<?php echo $results['boxofficeTitle'] ; ?>" class="view_more"> >> View More </a>
</div>

<?php } ?>



</div>


</div>-->
</div>
</div>
</div>
<?php include_once('view/common/ch_footer.php');?>