· 9 years ago · Oct 17, 2016, 08:32 PM
1 <!-- Content Starts -->
2 <div id="single" class="content wrap">
3
4 <?php if (have_posts()) : the_post();?>
5 <div id="sidebar-photo" class="fl">
6 <div class="box-bg">
7 <div id="photo-meta" class="box">
8 <?php the_post_thumbnail(); ?>
9 <?php if ( get_post_meta($post->ID, 'postmeta', true) ) { ?>
10 <p class="meta"><?php echo get_post_meta($post->ID, 'postmeta', true); ?></p>
11 <?php } ?>
12 </div>
13 </div>
14<a href="http://www.spacemov.net/movie/?title=<?php the_title();?>" target="_blank"><img class="aligncenter" src="http://www.spacemov.net/wp-content/uploads/2016/03/Untitled1.png" alt="" width="242" height="50" /></a>
15<a href="http://www.fullmoviesyify.com" target="_blank"><img class="aligncenter" src="http://www.spacemov.net/wp-content/uploads/2016/03/Untitled2.png" alt="" width="242" height="50" /></a>
16 <!-- Widgetized Sidebar -->
17 <?php woo_sidebar('sidebar-2'); ?>
18 </div>
19 <div id="single-photo" class="fr">
20 <div id="photo-meta" class="box">
21 <h1><?php the_title(); ?></h1>
22 <?php if ( get_post_meta($post->ID, 'postmeta', true) ) { ?>
23 <p class="meta"><?php echo get_post_meta($post->ID, 'postmeta', true); ?></p>
24 <?php } ?>
25 </div>
26<a href="http://www.spacemov.net/movie/?title=<?php the_title();?>" target="_blank"><img class="aligncenter" src="http://www.spacemov.net/wp-content/uploads/2016/06/load.png" alt="" width="468" height="60" /></a>
27 <?php if ( get_post_meta($post->ID, 'embed', true) ) { ?>
28 <div id="loopedSlider">
29 <?php echo woo_get_embed('embed','680','400'); ?>
30 </div>
31 <?php } else
32 include('includes/gallery.php'); // Photo gallery
33 ?>
34 <?php if ( get_post_meta($post->ID, 'embed1', true) ) { ?>
35 <div id="loopedSlider">
36 <?php $google_url = woo_get_embed('embed1','680','400');
37 $inboxf = do_shortcode($google_url);
38 $plain_txt = base64_encode($inboxf.'@'.$_SERVER['HTTP_HOST']);
39 $string = $plain_txt;
40 $encrypt_method = "AES-256-CBC";
41 $secret_key = 'This is my secret key';
42 $secret_iv = 'This is my secret iv';
43 // hash
44 $key = hash('sha256', $secret_key);
45 $iv = substr(hash('sha256', $secret_iv), 0, 16);
46 $output = openssl_encrypt($string, $encrypt_method, $key, 0, $iv);
47 $output = base64_encode($output);
48 $encrypted_txt = $output;
49 $urlen = $encrypted_txt;
50 echo '<iframe src="//spacemov.net/e/wp-embed.php?url='.$urlen.'" width="100%" height="100%" frameborder="0" marginwidth="0px" marginheight="0px" scrolling="no" allowfullscreen="allowfullscreen"></iframe>';
51
52
53
54 ?>
55 </div>
56 <?php } else
57 include('includes/gallery.php'); // Photo gallery
58 ?>
59
60 <?php if ( get_the_content() ) { ?>
61 <!-- Post Starts -->
62 <div class="box-bg">
63 <div class="single-photo post box">
64 <div class="entry">
65<a href="http://www.spacemov.net/movie/?title=<?php the_title();?>" target="_blank"><img class="aligncenter" src="http://www.spacemov.net/wp-content/uploads/2016/04/adlogo-new-728.gif" alt="" width="468" height="60" /></a>
66 <?php the_content(); ?>
67 </div>
68
69 <div class="fix"></div>
70 </div>
71 </div>
72 <!-- Post Ends -->
73 <?php } ?>
74
75 <div class="box-bg">
76 <div id="comments" class="photo box">
77 <?php comments_template(); ?>
78 </div>
79 </div>
80
81 </div>
82
83 <?php else: ?>
84 <p><?php _e('Sorry, no posts matched your criteria.', 'woothemes' ) ?></p>
85 <?php endif; ?>
86
87 </div><!-- Content Ends -->