<?php /**
 * Jthoor free theme v 1.0
 *
 * this site use free theme ffrom jthoor,com.
 *
 * @package 	Jthoor free theme 
 * @copyright	Copyright (c) 2013-2014, Jthoor 
 * @license		http://www.jthoor.com
 *
 * @since 		1.0
 */
 ?>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<div id="main" class="row-fluid">
      <div id="world-now">
        <div class="title"><h4>احدث الأخبار</h4></div>
        
		<marquee  class="maq" behavior="scroll" direction="right" onmouseover="this.stop();" onmouseout="this.start();">
                  
              
         <?php $true = get_option('nt_shr_true') ;
               $catt = get_option('nt_shr_cat') ;
               $num = get_option('nt_shr_num') ;
               if($true == 'category'){$loop = new WP_Query( array( 'post_type' => 'post','offset'                 => '0', 'category_name'  => $catt ,'posts_per_page' => $num ) );}
               else{$loop = new WP_Query( array( 'post_type' => 'post','posts_per_page' => $num));}
               

 ?>
<?php while ( $loop->have_posts() ) : $loop->the_post(); ?>

                  
              
                <a href="<?php the_permalink() ?>" class="warning ">
                    <b></b> <?php echo wp_trim_words( get_the_title(), 9 ); ?>      </a>
              
                
                
                <?php endwhile; ?></marquee></div>
      <div id="alerts">
              </div>
    </div>
