Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $option = get_option('trt_options'); ?>
- <?php get_header(); ?>
- <!--CONTENT-->
- <div id="content">
- <div class="center">
- <div id="posts" class="single_page_post">
- <div class="post_wrap">
- <!--THE POST-->
- <?php if(have_posts()): ?><?php while(have_posts()): ?><?php the_post(); ?>
- <div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
- <div class="post_content">
- <div class="thumbnail">
- <?php
- if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
- the_post_thumbnail(medium);
- }
- ?></div>
- <h2 class="postitle"><a href="<?php the_permalink();?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
- <div class="site">
- <?php $key = get_post_meta($post->ID, 'site', true);
- //Checking if anything exists for the key Songs
- if ($key) { ?>
- <a href="<?php $key="mykey"; echo get_post_meta($post->ID, site, true); ?>" ">Official Site</a> </br>
- <?php } //if there is nothing for songs then display
- else { ?>
- <?php } ?></div>
- <?php the_content(); ?>
- <div class="film1">
- <?php $key = get_post_meta($post->ID, 'clip1', true);
- //Checking if anything exists for the key Songs
- if ($key) { ?>
- <a href="<?php $key="mykey"; echo get_post_meta($post->ID, clip1, true); ?>" rel="shadowbox;player=flv;width=640;height=380"">Watch Clip 1</a> </br>
- <?php } //if there is nothing for songs then display
- else { ?>
- <?php } ?>
- </div>
- <div class="film">
- <?php $key = get_post_meta($post->ID, 'clip2', true);
- //Checking if anything exists for the key Songs
- if ($key) { ?>
- <a href="<?php $key="mykey"; echo get_post_meta($post->ID, clip2, true); ?>" rel="shadowbox;player=flv;width=640;height=380"">Watch Clip 2</a> </br>
- <?php } //if there is nothing for songs then display
- else { ?>
- <?php } ?>
- <?php $key = get_post_meta($post->ID, 'clip3', true);
- //Checking if anything exists for the key Songs
- if ($key) { ?>
- <a href="<?php $key="mykey"; echo get_post_meta($post->ID, clip3, true); ?>" rel="shadowbox;player=flv;width=640;height=380"">Watch Clip 3</a> </br>
- <?php } //if there is nothing for songs then display
- else { ?>
- <?php } ?>
- </div>
- <div class="film2">
- <?php $key = get_post_meta($post->ID, 'clip4', true);
- //Checking if anything exists for the key Songs
- if ($key) { ?>
- <a href="<?php $key="mykey"; echo get_post_meta($post->ID, clip4, true); ?>" rel="shadowbox;player=flv;width=640;height=380"">Watch Clip 4</a> </br>
- <?php } //if there is nothing for songs then display
- else { ?>
- <?php } ?>
- <?php $key = get_post_meta($post->ID, 'clip5', true);
- //Checking if anything exists for the key Songs
- if ($key) { ?>
- <a href="<?php $key="mykey"; echo get_post_meta($post->ID, clip5, true); ?>" rel="shadowbox;player=flv;width=640;height=380"">Watch Clip 5</a> </br>
- <?php } //if there is nothing for songs then display
- else { ?>
- <?php } ?>
- <?php $key = get_post_meta($post->ID, 'clip6', true);
- //Checking if anything exists for the key Songs
- if ($key) { ?>
- <a href="<?php $key="mykey"; echo get_post_meta($post->ID, clip6, true); ?>" rel="shadowbox;player=flv;width=640;height=380"">Watch Clip 6</a> </br>
- <?php } //if there is nothing for songs then display
- else { ?>
- <?php } ?>
- </div>
- <div class="slideshow">
- <?php $images =& get_children( 'post_parent='.$id.'&post_type=attachment&post_mime_type=image' );
- if( count($images) > 1 ) {?>
- <a href="http://www.rotatingplanet.com/rotatin/wp-content/themes/triton-lite/images/slideshow.jpg" rel="shadowbox[sbalbum-<?php the_ID(); ?>]">Slideshow</a>
- <?php } else {
- }
- ?>
- </div>
- <?php echo do_shortcode('[gallery option1="value1"]'); ?>
- <div style="clear:both"></div>
- <?php wp_link_pages('<p class="pages"><strong>'.__('Pages:').'</strong> ', '</p>', 'number'); ?>
- <!--Post Footer-->
- </div>
- </div>
- <!--Share This-->
- <?php if($option["trt_diss_sss"] == "1"){ ?><?php } else { ?>
- <?php get_template_part('share_this');?>
- <?php } ?>
- <?php endwhile ?>
- <?php endif ?>
- </div>
- </div>
- <div id="content">
- <div class="center">
- <div class="sidebarpost"><?php get_sidebar(); ?></div>
- <div id="content">
- <div class="center">
- <?php rewind_posts(); ?>
- <?php
- query_posts( array( 'cat' => 61, 'paged' => get_query_var('paged') ) );
- while ( have_posts() ) : the_post();
- endwhile;
- ?>
- <?php if( empty($option['trt_lay'])) { ?>
- <?php get_template_part('layout1');?>
- <?php }?>
- <?php if($option['trt_lay']== "Layout 1") { ?>
- <?php get_template_part('layout1');?>
- <?php }?>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div id="midrow"><!--MIDROW-->
- <?php if($option["trt_diss_ftw"] == "1"){ ?><?php } else { ?>
- <div id="midrow">
- <div class="center">
- <div class="widgets">
- <ul>
- <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Midrow Widgets') ) : ?>
- <?php endif; ?></ul>
- </div>
- </div></div>
- <?php }?></div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement