Witam.To jest plik który jest do edycji, i tu link do mojej strony
http://filmtown.pl/?videos=odwazna-pani-re...je-swoje-walory i chciałbym by na filmie wyskakiwało okienko do polubienia jak tutaj
http://fust.pl/?videos=odwazna-pani-redaktor. A to jest plik odpowiedzialny za to
<?php get_header(); ?>
<?php
$views_count = get_post_meta($post->ID,'views_count',true);
update_post_meta($post->ID,'views_count',$views_count+1);
?>
<?php //if ( get_option( 'ptthemes_breadcrumbs' )) { yoast_breadcrumb('<div class="breadcrumb">','</div>'); } ?>
<h1 class="single_head"><?php the_title(); ?></h1>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/library/js/mootools.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/library/js/slimbox.js"></script>
<div class="likethis">
<?php if ( get_option('ptthemes_tweet_button') ) { ?>
<a href="http://twitter.com/share" class="twitter-share-button">Tweet</a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<?php } ?>
<?php if ( get_option('ptthemes_facebook_button') ) { ?>
<iframe class="facebook" src="http://www.facebook.com/plugins/like.php?href=
<?php echo urlencode(get_permalink
($post->ID)); ?>&layout=standard&show_faces=false&width=290&action=like&colorscheme=light" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:290px; height:24px"></iframe>
<?php } ?>
</div>
<div id="content" class="clearfix" >
<div class="single_post">
<?php if(have_posts()) : ?>
<?php $post_images = bdw_get_images($post->ID,'large');?>
<?php while(have_posts()) : the_post() ?>
<div id="post-<?php the_ID(); ?>" class="posts post_spacer">
<?php if(get_post_meta($post->ID,'video',true)){?>
<div class="video_main">
<?php echo get_post_meta
($post->ID,'video',true);?> </div>
<?php }?>
<div class="bookmark_links">
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
<?php if(get_post_meta($post->ID,'views_count',true)){?>
<span class="post-views" >
Total Views :
<?php echo get_post_meta
($post->ID,'views_count',true);?> </span>
<?php }?>
<?php if(get_post_meta($post->ID,'twitter',true)){?>
<a href="
<?php echo get_post_meta
($post->ID,'twitter',true);?>" target="_blank" class="i_twitter">
<?php _e
('Twitter');?> </a>
<?php }?>
<?php if(get_post_meta($post->ID,'facebook',true)){?>
<a href="
<?php echo get_post_meta
($post->ID,'facebook',true);?>" target="_blank" class="i_facebook">
<?php _e
('Facebook');?> </a>
<?php }?>
<div class="share">
<div class="addthis_toolbox addthis_default_style">
<a href="http://www.addthis.com/bookmark.php?v=250&username=xa-4c873bb26489d97f" class="addthis_button_compact sharethis"><?php _e('Share Video');?></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4c873bb26489d97f"></script>
</div>
</div>
</div> <!-- post #end -->
<div class="pos_navigation clearfix">
<div class="post_left fl"><?php previous_post_link('%link','« '.__('Previous')) ?></div>
<div class="post_right fr"><?php next_post_link('%link',__('Next').' »') ?></div>
</div>
</div> <!-- single post content #end -->
<?php get_related_posts($post); ?>
<?php endwhile; ?>
<?php endif; ?>
<div id="comments" class="clearfix"> <?php comments_template(); ?></div>
</div> <!-- content #end -->
<div id="sidebar" class="sidebar_bnone">
<h4> About Video </h4>
<p class="uploaded_date">Uploaded on <?php the_time('j F') ?>, <?php the_time('Y') ?> </p>
<?php the_content(); ?>
<?php if(get_post_meta($post->ID,'time',true)){?>
<p class="common_text"><span> Length :</span>
<?php echo get_post_meta
($post->ID,'time',true);?> </p>
<?php }?>
<?php the_taxonomies
(array('before'=>'<p class="common_text">','sep'=>'<p></p><p class="common_text">','after'=>'</p> ')); ?> <div class="single_sidebar">
<?php dynamic_sidebar(8); ?>
</div>
</div> <!-- sidebar right-->
<?php get_footer(); ?>