HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: /home/httpd/html/stoptube.com/wp-content/themes/tubetheme-2017-v3-filled/single.php
<?php get_header(); ?>
<div class="wrapper">





    	<div class="contentpost">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php
          setPostViews(get_the_ID());
?>
            <div class="blogitem">
            
<h3>Watch more free videos at <a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a></h3> 

<div id="videoblock">



<video id="MY_VIDEO_1" class="video-js vjs-default-skin" controls
 preload="auto" autoplay width="720" height="440" poster="<?php $my_meta = get_post_meta($post->ID,'_my_meta',TRUE); echo $my_meta['videothumbnail'];?>" data-setup="{}">
  <source src="<?php $my_meta = get_post_meta($post->ID,'_my_meta',TRUE); echo $my_meta['videosource'];?>">
  <p class="vjs-no-js">To view this video please enable JavaScript, and consider upgrading to a web browser</p>
</video>	


</div>
			        
						



<div class="button">
<a href="<?php $my_meta = get_post_meta($post->ID,'_my_meta',TRUE); echo $my_meta['paysitelink'];?>" target="_blank">
<?php $my_meta = get_post_meta($post->ID,'_my_meta',TRUE); echo $my_meta['salespitch'];?>
</a>
</div>
 
<div class="clear"></div> 

 
<div class="fb-like" data-href="<?php the_permalink() ?>" data-send="true" data-width="450" data-show-faces="true"></div> 
 
                
<a href="https://twitter.com/share" class="twitter-share-button" data-url="mylink" data-text="#cam #porn #sex #video <?php the_permalink() ?>" data-count="horizontal" >Tweet</a>
<script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>

                <div class="clear"></div>
                <div class="clear"></div>
                <?php the_content(''); ?>
                <div class="postdetails">
                <ul>
                <li><span>Title :</span><?php the_title() ?></li>
                <li><span>Tags :</span><div class="tags"><?php the_tags('',', ',''); ?></div> </li>
                <li><span>Paysite :</span><a href="http://a.cam4free.com/track/MjYzOTozOjE/">Cam 4 Free</a></li>
                </ul>
                </div>




 </div>
          




  
<div class="clear addspace"></div> 
<h2>Related Videos</h2>
        <!--related video-->
<?php $orig_post = $post;
global $post;
$categories = get_the_category($post->ID);
if ($categories) {
$category_ids = array();
foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id;

$args=array(
'category__in' => $category_ids,
'post__not_in' => array($post->ID),
'posts_per_page'=> 12, // Number of related posts that will be shown.
'caller_get_posts'=>1
);

$my_query = new wp_query( $args );
if( $my_query->have_posts() ) {
echo '<div id="related_posts">';
while( $my_query->have_posts() ) {
$my_query->the_post();?>

    
<div class="itempost">
<div class="covershotpost">
<div class="imgteaser">
<a href="<?php the_permalink() ?>"> 
<img src="<?php $my_meta = get_post_meta($post->ID,'_my_meta',TRUE); echo $my_meta['videothumbnail'];?>" alt="<?php the_title() ?>" />
<span class="desc">
<img src="<?php bloginfo('template_directory'); ?>/images/play.png" alt="watch scene" width="160" height="120" border="0" /></span>
</a>
</div>

</div>
<div id="post-title-single">
<a href="<?php the_permalink() ?>"><p align="center"><?php $title = the_title('','',FALSE); echo substr($title, 0, 25); ?></p></a>
</div>
</div>      
      
<?
}
echo '</div>';
}
}
$post = $orig_post;
wp_reset_query(); ?>
<!--end related video-->
 <div class="clear addspace"></div>  
 
 <h2>Comments</h2>  
    <?php comments_template(); ?>  
    
   
  
  
   
  
  
  
<div class="clear"></div> 
       
			<?php endwhile; ?>
            <?php else : ?>
<div id="fourofour">
            	<h1>No matching results</h1>
                <p>You seem to have found a mis-linked page or search query with no associated results. Please trying your search again. If you feel that you should be staring at something a little more concrete, feel free to email the author of this site or browse the archives.</p>
</div>
            <?php endif; ?>
                         		
        </div>
        
        
        
        
        <?php include (TEMPLATEPATH . '/sidebar.php'); ?>
        
   
    <div class="clear"></div>
</div>
<?php get_footer(); ?>