<?php 
    }
}
?>
		
		
		<div id='vimeo' class="multimedia">
		<h2>Videos</h2>
		<?php 
$vimeo = new VimeoObject();
$vimeo->video_players_by_ID();
//*/
?>
		</div>
		<div id='flickr' class="multimedia">
		<h2>Images</h2>
		<?php 
$flickr = new FlickrObject();
$flickr->params = array('per_page' => '10');
$flickr->images_and_links();
$flickr->get_image_by_id('c**k');
?>
		</div>
		
		
	</div>
		
		
		
<?php 
get_footer();
        while (have_posts()) {
            the_post();
            ?>

		<div class="post" id="post-<?php 
            the_ID();
            ?>
">
			
			<?php 
            mf_post_thumbnail('large-uncropped');
            ?>
			
			<div id="multimedia-block">
				<?php 
            $flickr = new FlickrObject();
            $vimeo = new VimeoObject();
            $image_id = get_post_meta(get_the_ID(), 'mf_SALF_multimedia_meta_flickr_image', true);
            if ($image_id) {
                ?>
					<div id='flickr_image' class="multimedia">
						<h3>Click the image to view this image on flickr</h3>
						<?php 
                $flickr->get_image_by_id($image_id);
                ?>
					</div>
				<?php 
            }
            ?>
				
				<?php 
    $player = $vimeo->get_requested_video($films['first_film_id']);
    echo '<h4>' . $player['title'] . '</h4>';
    echo "<p class='video-nav'>Next Video:" . $player['next'] . "</p>";
    echo "<p class='video-nav'>Previous Video:" . $player['prev'] . "</p>";
    echo $player['video'];
    echo '<p>' . $player['desc'] . '</p>';
    ?>
		
			</div>
		<?php 
} else {
    ?>
			<div id='flickr' class="multimedia">
		
			<?php 
    $flickr = new FlickrObject();
    ?>
		
		
			<div id="photoset_select" class='clear'>		
				<?php 
    $flickr->get_sets();
    ?>
			</div>
			<div id="photoset" class='clear'>	
			<?php 
    if ($_GET['id']) {
        ?>
			
				<?php 
        if ($_GET['title']) {