<div id="tab-box" class="drop-shadow curved">
                            <div id="nav">
                                <ul id="main-nav">
                                    <li><a href="#tab-1"><span class="latestTab">أحدث المقالات</span></a></li>
                                    <li><a href="#tab-2"><span class="latestArti">أشهر المقالات</span></a></li>
                                    <li><a href="#tab-3"><span class="LatestVideos">فيديو اليوم</span></a></li>
                                    <li><a href="#tab-4"><span class="LatsetAuthos">كُتاب الموقع</span></a></li>
                                </ul>
                            </div><!-- end #nav -->
                            
                            <div id="tabcontent">
                              <div class="tab-content" id="tab-1">
                                <div class="tabsPosts">
                                	<?php $getposts = new WP_query(); $getposts->query('showposts=4'); ?>
									<?php global $wp_query; $wp_query->in_the_loop = true; ?>
                                    <?php while ($getposts->have_posts()) : $getposts->the_post(); ?>
                                	<div class="tabsPost">
                                    	<div class="tabPostDate">
                                        	<span class="tabPostMonth"><?php the_time('M'); ?></span>
                                            <span class="tabPostDay"><?php the_time('d'); ?></span>
                                        </div><!--End TabPost Date-->
                                        <a href="<?php the_permalink();?>"><h1 class="tabPostTitle"><?php the_title();?></h1></a>
                                        <ul class="tabPostMeta">
                                        	<li class="TabspostAuthor"><?php the_author_posts_link(); ?></li>
                                            <li class="TabspostComments">التعليقات  : <a href="<?php comments_link();?>"><?php comments_number('0','1','%');?></a></li>
                                        </ul>
                                    </div><!--End TabsPost-->
                                    <?php endwhile; ?>
							  
                                </div><!--End Tabs Posts-->
                              </div>
                              
                              <div class="tab-content" id="tab-2">
                                <div id="popularPosts" class="Sidetab_content">
                                                <ul>
											  <?php $result = $wpdb->get_results("SELECT comment_count,ID,post_title FROM $wpdb->posts ORDER BY comment_count DESC LIMIT 0 , 5");
											  foreach ($result as $post) {
											  setup_postdata($post);
											  $postid = $post->ID;
											  $title = $post->post_title;
											  $commentcount = $post->comment_count;
											  if ($commentcount != 0) { ?>
											<li><a href="<?php echo get_permalink($postid); ?>" title="<?php echo $title ?>"> <?php echo $title ?> {<?php echo $commentcount ?>}</a> </li>
											<?php } } ?>
                                        </ul>
                                            </div>
                              </div>
                              
                              <div class="tab-content" id="tab-3">
                                <div class="videoContent">
                                	<iframe width="510" height="289" src="<?php global $Webcolors; ?><?php print stripslashes($Webcolors['video_url']); ?>" frameborder="0" allowfullscreen></iframe>
                                </div><!--End Video Content-->
                              </div>
                              
                              <div class="tab-content" id="tab-4">
                                <div class="authorWidget">	
                                    <ul>
                                        <?php contributors(); ?>
                                    </ul>
                                </div><!--End Athor Widget-->
                              </div>
                            </div><!-- end #content -->
                        </div><!-- end #tab-box -->
                        <div style="clear:both"></div>