<div id="content"> <?php if(have_posts()): ?><?php while(have_posts()):the_post(); ?> <div class="post"> <div class="post-title"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2> </div> <div class="content"><div class="postmetadt"> <ul> <li class="author"><?php the_author() ?></li> <li class="date"><?php the_time(__('F j Y','record')) ?></li> <li class="rate"></li> </ul> <div class="rate"><?php if(function_exists('the_ratings')) { the_ratings(); } ?></div></div> <?php the_content(''); ?></div> </div> <div class="tags"><h3><?php the_tags( __('Tags: ','record')); ?></h3></div> <?php endwhile; ?> <?php else: ?> <?php endif; ?><div class="mt-info"><figure class="mt-poster"><?php imdbi('poster',True); ?></figure><ul class="imdb-info"><li><?phpif ( get_field('imdb_link') ) {echo '<a href=' . get_field('imdb_link') . ' " target="_blank">IMDB</a>';}?></li><br><li><?php if(get_field('quality') ) { ?><?php _e('Quality : ', 'record'); ?><?php echo get_field('quality');?><br><?php } ?></li><li><?php _e('Imdb Rating : ', 'record'); ?><?php imdbi('imdbRating'); ?>/10 <?php _e(' from ', 'record'); ?><span class="imdbVotes"><?php imdbi('imdbVotes'); ?></span></li><br><li><?php _e('Metascore : ', 'record'); ?><?php imdbi('Metascore'); ?>/100</li><br><li><?php _e('Released : ', 'record'); ?><?php imdbi('Released'); ?></li><br><li><?php _e('Genre : ', 'record'); ?><?php imdbi('Genre'); ?></li><br><li><?php _e('Director(s) : ', 'record'); ?><?php imdbi('Director'); ?></li><br><li><?php _e('Writer(s) : ', 'record'); ?><?php imdbi('Writer'); ?></li><br><li style="line-height: 16px;"><?php _e('Stars : ', 'record'); ?><?php imdbi('Actors'); ?></li><br><li><?php _e('Runtime : ', 'record'); ?><?php imdbi('Runtime'); ?></li><br><li><?php _e('Country : ', 'record'); ?><?php imdbi('Country'); ?></li><br><li><?php if(get_field('encoder') ) { ?><?php _e('Encoder : ', 'record'); ?><?php echo get_field('Encoder');?><br><?php } ?></li><li style="line-height: 16px;"><?php _e('Awards : ', 'record'); ?><?php imdbi('Awards'); ?></li><br><li><?php if(get_field('plot') ) { ?><?php _e('Plot : ', 'record'); ?><?php echo get_field('plot');?><br><?php } ?></li><li><?php echo get_field('add_info');?></li><br></ul><div class="clear"></div></div><div class="dl-box"><?php if( get_field('torrent_dl')):?><div class="trnt-head"><h3><?php _e('Torrent Download', 'record'); ?></h3><div class="torrent"><?php echo get_field('torrent_dl');?></div></div><div class="dl-head"><h3><?php _e('Download With Mirror link(s)', 'record'); ?></h3><div class="dl-link"><?php echo get_field('download_link');?></div></div><?php endif;?></div>