<?php
/**
 * Template Name: عرض الفيديوهات
 */
?>
	<?php get_header(); ?>
<link href="<?php echo get_template_directory_uri(); ?>/theme-files/css/home-slider.css" rel="stylesheet" type="text/css" media="all">

			<?php do_action( 'bp_before_blog_page' ) ?>





<!-- start of main body -->
<div class="w960px">



<!-- start of colums erea -->
  <div id="columns">
        <span class="postvedio posticon"></span>
			<h2 class="post-title page-title"><?php the_title(); ?></h2>

            





<div id="vedioslider" style="height: auto !important;">

<div class="vediotitlast"></div>



<?php
// set the $paged variable
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
// query the posts of your custom post types
query_posts( array(
		'post_type' => array(
					'video',
				),
        'showposts' => '25',				
				'paged' => $paged ) // for paging links to work
			);

if (have_posts()) :
	while (have_posts()) : the_post(); ?> 
    
    


        <div class="image-slid"> 
        <span class="vedioprev">
          <div class="more"></div>         
           <img class="youtubeprevved" width="100" title="<?php the_title(); ?>" alt=" <?php the_title(); ?>" height="100" src="http://img.youtube.com/vi/<?php echo $meta = get_post_meta( get_the_ID(), 'MHGOZPRESS_post_mhgoz_video', true );?>/1.jpg"/>
        </span> 
          <a href="<?php the_permalink(); ?>" title=" <?php the_title(); ?>" class="hov-img"></a> 
        </div>
   
<?php endwhile; endif; ?>


</div></div></div>




			<?php do_action( 'bp_after_blog_page' ) ?>



	<?php get_footer(); ?>