55
Validation results

sawahMag

sawahMag

WordPress 4.9.5 theme
55
  • THEME TYPEWordPress theme 4.9.5
  • FILE NAMEsawahMag.zip
  • FILE SIZE2383906 bytes
  • MD5b8055bb8745129bc7057e57246eae0b9
  • SHA15631326c4b5a9692d52e30c03d360de597bd87f5
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • VERSION11
  • CREATION DATE2017-05-13
  • LAST FILE UPDATE2017-05-13
  • LAST VALIDATION2017-05-13 07:55
Critical alerts
  1. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe width="100%" height="232px" src="https://www.youtube.com/embed/UP3C-nCB4Sk" frameborder="0" allowfullscreen></iframe></div> </div> <div class="tours-panel bottom-tabs"> <h3>جائزة التفوق</h3> <div><img height='' src='<?php bloginfo('template_url'); ?> in file index.php.
    Line 1: <?php
    
    /**
    
     * The template for displaying home page.
    
     *
    
     * This is the template that displays all pages by default.
    
     * Please note that this is the WordPress construct of pages
    
     * and that other 'pages' on your WordPress site will use a
    
     * different template.
    
     *
    
     * @package Precious Lite
    
     */
    
    
    
    get_header(); 
    
    ?>
    
    <?php if ( is_front_page() ) { ?>
           
    <div class='slider-main'>
      <?php
    
    	   		
    
    			$slideimage = '';
    
    			$slideimage = array(
    
    					'1'	=>	get_template_directory_uri().'/images/slides/slider1.jpg',
    
    					'2'	=>  get_template_directory_uri().'/images/slides/slider2.jpg',
    
    					'3'	=>  get_template_directory_uri().'/images/slides/slider3.jpg',
    
    			);
    
    	   
    
    			$slAr = array();
    
    			$m = 0;
    
    			for ($i=1; $i<4; $i++) {
    
    				if ( get_theme_mod('slide_image'.$i, true) != '' ) {
    
    					$imgSrc 	= esc_url(get_theme_mod('slide_image'.$i, $slideimage[$i]));
    
    					$imgTitle	= esc_attr(get_theme_mod('slide_title'.$i, true));
    
    					$imgDesc	= esc_attr(get_theme_mod('slide_desc'.$i, true));
    
    					$imglink	= esc_url(get_theme_mod('slide_link'.$i, true));
    
    					if ( strlen($imgSrc) > 4 ) {
    
    						$slAr[$m]['image_src'] = esc_url(get_theme_mod('slide_image'.$i, $slideimage[$i]));
    
    						$slAr[$m]['image_title'] = esc_attr(get_theme_mod('slide_title'.$i, true));
    
    						$slAr[$m]['image_desc'] = esc_attr(get_theme_mod('slide_desc'.$i, true));
    
    						$slAr[$m]['image_url'] = esc_url(get_theme_mod('slide_link'.$i, true));
    
    						$m++;
    
    					}
    
    				}
    
    				
    
    			}
    
    			$slideno = array();
    
    			if( $slAr > 0 ){
    
    				$n = 0;?>
    
      <div id='slider' class='nivoSlider'>
    
        <?php 
    
                    foreach( $slAr as $sv ){
    
                        $n++; ?><img src='<?php echo esc_url($sv['image_src']); ?>' alt='<?php echo esc_attr($sv['image_title']);?>' title='<?php if ( ($sv['image_title']!='') && ($sv['image_desc']!='')) { echo '#slidecaption'.$n ; } ?>'/><?php
    
                        $slideno[] = $n;
    
                    }
    
                    ?>
    
      </div><?php
                    foreach( $slideno as $sln ){ ?>
                        <div id='slidecaption<?php echo $sln; ?>' class='nivo-html-caption'>
                        <div class='slide-cap'>
                            <?php if( get_theme_mod('slide_title'.$sln, true) != '' ){ ?>
                                <h4><?php echo esc_attr(get_theme_mod('slide_title'.$sln, __('Slide Title ','corporate-lite').$sln)); ?></h4>
                            <?php } ?>
                            <?php if( get_theme_mod('slide_desc'.$sln, true) != '' ){ ?>
                                <p><?php echo esc_attr(get_theme_mod('slide_desc'.$sln, __('سوّاح، مجلة عربية متخصصة في السياحة والسفر، وتصدر من المملكة العربية السعودية بشكل دوري كل ثلاثة أشهر منذ 1999م، وتميزت بطرح العديد من الموضوعات المتعلقة بالسياحة والسفر، وساهمت في نشر الوعي السياحي لدى المجتمعات العربية','corporate-lite'))); ?></p>
                            <?php } ?>
    						<?php if( get_theme_mod('slide_link'.$sln, true) != ''){ ?>
                            	<a class='read-more' href='<?php echo esc_url(get_theme_mod('slide_link'.$sln,'#')); ?>'><?php _e('تفاصيل أكثر','corporate-lite'); ?></a>
                            <?php } ?>
                        </div>
                        </div><?php 
                    } ?>
                    
                    </div>
    				
    				<div id='latest_blogs'>
      <h3><a href='<?php echo get_category_link( 6 ); ?>'>اخر الأخبار</a></h3>
      
        <?php
    	$recent_posts = wp_get_recent_posts(array(
            'numberposts' => 3, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 6
        ));
        foreach($recent_posts as $post) : ?>
    	<div class='news-single-colum'>
    	<div class='news-single-colum-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-single-colum-content'>
    	<a href=''
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
    		<p style='text-align:left;display:none;'><?php echo date( 'Y-m-d', strtotime( $post['post_date'] ) ); ?></p>
          </a>
    	</div><div class='clear'></div>
    	</div>
        
        <?php endforeach; wp_reset_query(); ?>
      <div id='latest_blogs_more'><span><a href='<?php echo get_category_link(6); ?>'>المزيد</a></span></div>
    </div>
    
             
    <?php 
    
    			}
    
                ?>
    <div class='clear'></div>
    
    <div class='tours-panels'>
      <h1 class='section-title'>جولات سياحية</h1>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(1360); ?>'>سعودية</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 1360
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	   
    	</div><div class='clear'></div>
    	</div>
        
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(1361); ?>'>عربية</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 1361
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div><div class='clear'></div>
    	</div>
        
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(1362); ?>'>عالمية</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 1362
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div><div class='clear'></div>
    	</div>
        
          <?php endforeach; wp_reset_query(); ?>
        <div class='clear'></div>
      </div>
    </div>
    <div class='clear'></div>
    </div>
    
    <div class='wrap mettings-container'>
    <div style='direction:ltr;'>
      <h1 class='section-title-new'>اعداد سواح</h1>
      <?php echo do_shortcode('[logo_showcase id='1802']');?>
    </div>
    </div>
    
    <div class='wrap'>
    <div class='clear'></div>
    
    <div class='tours-panels'>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(33); ?>'>أخبار فندقية</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 33
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div><div class='clear'></div>
    	</div>
        
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(44); ?>'>جولات فندقية</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 1385
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div><div class='clear'></div>
    	</div>
        
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(44); ?>'>إخترنا لكم</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 20
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div><div class='clear'></div>
    	</div>
        
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
    </div>
    <div class='clear'></div>
    </div>
    <div class='wrap mettings-container'>
      <h1 class='section-title-new'>لقاءات سواح</h1>
      <div class='mettings'>
    
        <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 5, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 848
        ));
        foreach($recent_posts as $post) : ?>
        <div class='mettings-item'>
          <a href='
            <?php echo get_permalink($post['ID']) ?>'>
    		<div class='mettings-item-thumb'> 
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
    </div>
            <p class='mettings-item-golden-text'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
        </div>
        <?php endforeach; wp_reset_query(); ?>
    
      </div>
    <div class='clear'></div>
    </div>
    <div class='wrap'>
    <div class='clear'></div>
    <div class='section-8'>
      <div class='section-8-spas'>
      <h3><a href='<?php echo get_category_link(27); ?>'>منتجعات</a></h3>
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 27
        ));
        foreach($recent_posts as $post) : ?>
         <div class='news-item-full-width'>
    	<div class='news-item-full-width-height-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='section-8-authrs'>
      <h3>كتاب سواح</h3>
        
    <div class='news-item'>
    	<div class='news-item-thumb'><img src='https://pbs.twimg.com/profile_images/3216026238/13e63d188a13283ebe124d8573c8f6fc_400x400.jpeg'
                    width='60' height='60' alt='' class='avatar avatar-60 wp-user-avatar wp-user-avatar-60 photo avatar-default'
                    src-orig='https://pbs.twimg.com/profile_images/3216026238/13e63d188a13283ebe124d8573c8f6fc_400x400.jpeg'
                    scale='2'>
    	</div>
    	<div class='news-item-content'>
    	<a class='news-item-content-author' href='http://sawah.sa/?tag=%D8%A3%D8%AD%D9%85%D8%AF-%D8%A7%D9%84%D8%B4%D8%B1%D9%8A%D8%AF%D9%8A'
                        rel='author'>احمد الشريدي</a>
    					<a href='http://sawah.sa/?p=3328' title='الرومانسية .. بين رذاذ المطر وضجيج الاختناقات المرورية!'
                            class='featured-contrib-story'>الرومانسية .. بين رذاذ المطر وضجيج الاختناقات المرورية!</a>
    					
    	</div>
    	</div>
        <div class='clear'></div>
    	<div class='news-item'>
    	<div class='news-item-thumb'><img src='http://i0.wp.com/sawah.sa/wp-content/uploads/2016/10/IMG-20161031-WA0004-e1477939326174.jpg?w=365'
                    width='60' height='60' alt='' class='avatar avatar-60 wp-user-avatar wp-user-avatar-60 photo avatar-default'
                    src-orig='http://i0.wp.com/sawah.sa/wp-content/uploads/2016/10/IMG-20161031-WA0004-e1477939326174.jpg?w=365'
                    scale='2'>
    	</div>
    	<div class='news-item-content'>
    					<a lass='news-item-content-author' href='http://sawah.sa/?tag=%D8%A7%D9%84%D8%AF%D9%83%D8%AA%D9%88%D8%B1-%D9%85%D8%AD%D8%B3%D9%86-%D8%A7%D9%84%D8%B4%D9%8A%D8%AE-%D8%A2%D9%84-%D8%AD%D8%B3%D8%A7%D9%86'
                        rel='author'>د.محسن الشيخ آل حسان</a>
    					 <a href='http://sawah.sa/?p=2380' title='ماذا يجذب السائح السعودي؟' class='featured-contrib-story'>
                            ماذا يجذب السائح السعودي؟</a>
    					
    	</div>
    	</div>
        <div class='clear'></div>
    	
        <div class='news-item' style='display:none'>
    	<div class='news-item-thumb'><img src='http://sawah.sa/wp-content/uploads/2016/10/%D8%B9%D8%A8%D8%AF%D8%A7%D9%84%D9%84%D9%87-%D8%A7%D9%84%D8%AC%D8%B9%D9%8A%D8%AB%D9%86-1.png'
                    width='60' height='60' alt='' class='avatar avatar-60 wp-user-avatar wp-user-avatar-60 photo avatar-default'
                    src-orig='http://sawah.sa/wp-content/uploads/2016/10/%D8%B9%D8%A8%D8%AF%D8%A7%D9%84%D9%84%D9%87-%D8%A7%D9%84%D8%AC%D8%B9%D9%8A%D8%AB%D9%86-1.png'
                    scale='2'>
    	</div>
    	<div class='news-item-content' >
    					
    						
    						<a class='news-item-content-author' href='http://sawah.sa/?tag=%D8%B9%D8%A8%D8%AF%D8%A7%D9%84%D9%84%D9%87-%D8%A7%D9%84%D8%AC%D8%B9%D9%8A%D8%AB%D9%86'
                        rel='author'>عبدالله الجعيثن</a>
    					<a href='http://sawah.sa/?p=1470' title='الشوق زاد المسافر' class='featured-contrib-story'>
                            الشوق زاد المسافر</a>
    					
    	</div>
    	</div>
        <div class='clear'></div>
    	
    	<div class='news-item'>
    	<div class='news-item-thumb'><img src='http://i0.wp.com/sawah.sa/wp-content/uploads/2016/10/%D8%B2%D9%8A%D8%AF-%D8%A8%D9%86-%D8%B9%D9%84%D9%8A-%D8%A7%D9%84%D9%81%D8%B6%D9%8A%D9%84.jpg?w=520'
                    width='60' height='60' alt='' class='avatar avatar-60 wp-user-avatar wp-user-avatar-60 photo avatar-default'
                    src-orig='http://i0.wp.com/sawah.sa/wp-content/uploads/2016/10/%D8%B2%D9%8A%D8%AF-%D8%A8%D9%86-%D8%B9%D9%84%D9%8A-%D8%A7%D9%84%D9%81%D8%B6%D9%8A%D9%84.jpg?w=520'
                    scale='2'>
    	</div>
    	<div class='news-item-content'>
    									
    						<a class='news-item-content-author' href='http://sawah.sa/?tag=%D8%B2%D9%8A%D8%AF-%D8%A7%D9%84%D9%81%D8%B6%D9%8A%D9%84'
                        rel='author'>د. زيد الفضيل</a>
    					<a href='http://sawah.sa/?p=1470' title='نحن لسنا نبتةً جافةً في أرض قاحلة' class='featured-contrib-story'>
                            نحن لسنا نبتةً جافةً في أرض قاحلة</a>
    					
    	</div>
    	</div>
        <div class='clear'></div>
    	
    	
    	<div class='news-item'>
    	<div class='news-item-thumb'> <img src='http://sawah.sa/wp-content/uploads/2016/10/%D8%AC%D8%A7%D8%B3%D8%B1-%D8%A7%D9%84%D8%AC%D8%A7%D8%B3%D8%B1.jpg'
                    width='60' height='60' alt='' class='avatar avatar-60 wp-user-avatar wp-user-avatar-60 photo avatar-default'
                    src-orig='http://sawah.sa/wp-content/uploads/2016/10/%D8%AC%D8%A7%D8%B3%D8%B1-%D8%A7%D9%84%D8%AC%D8%A7%D8%B3%D8%B1.jpg'
                    scale='2'>
    	</div>
    	<div class='news-item-content'>
    						
    						<a class='news-item-content-author' href='http://sawah.sa/?tag=%D8%B2%D9%8A%D8%AF-%D8%A7%D9%84%D9%81%D8%B6%D9%8A%D9%84'
                        rel='author'>د. جاسر الجاسر</a>
    					<a href='http://sawah.sa/?p=1476' title='مفهوم سياحتنا الداخلية' class='featured-contrib-story'>
                            مفهوم سياحتنا الداخلية</a>
    					
    	</div>
    	</div>
        <div class='clear'></div>
       
        
        </div>
       
      </div>
    
    <div class='clear'></div>
    
    <div class='tours-panels'>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(44); ?>'>تحقيقات</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 36
        ));
        foreach($recent_posts as $post) : ?>
         <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(30); ?>'>من عادات وتقاليد الشعوب</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 30
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(16); ?>'>طرائف وعجائب</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 16
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
    </div>
    <div class='clear'></div>
    
    <div class='tours-panels'>
      <div class='tours-panel-same-height'>
        <h3><a href='<?php echo get_category_link(44); ?>'>معارض</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish' // Show only the published posts
        ));
        foreach($recent_posts as $post) : ?>
           <div class='news-item-full-width' style='border-bottom:none;'>
    	<div class='news-item-full-width-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel-same-height'>
        <h3><a href='<?php echo get_category_link(21); ?>'>فعاليات</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 21
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item-full-width' style='border-bottom:none;'>
    	<div class='news-item-full-width-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel-same-height'>
        <h3><a href='<?php echo get_category_link(19); ?>'>مناسبات</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 19
        ));
        foreach($recent_posts as $post) : ?>
           <div class='news-item-full-width' style='border-bottom:none;'>
    	<div class='news-item-full-width-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
    </div>
    <div class='clear'></div>
    
    <div class='section-8'>
      <div class='section-8-spas'>
      <h3><a href='<?php echo get_category_link(34); ?>'>طيران</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 2, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 34
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item-2-colum'>
    	<div class='news-item-2-colum-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-2-colum-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div><div class='clear'></div>
    	</div>
        
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='section-8-authrs'>
      <h3><a href='<?php echo get_category_link(44); ?>'>سياحة بحرية</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish' // Show only the published posts
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item-full-width'>
    	<div class='news-item-full-width-thumb'>
    	<center>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	  </center>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='clear'></div>
    </div>
    <div class='clear'></div>
    
    
    <div class='tours-panels'>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(26); ?>'>مطاعم</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 3, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 26
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(22); ?>'>أسواق</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 3, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 22
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(31); ?>'>دليل الفنادق</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 31
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item-full-width'>
    	<div class='news-item-full-width-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
    </div>
    <div class='clear'></div>
    
    <div class='tours-panels'>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(22); ?>'>عروض سياحية</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 909 //959 // Show only the published posts
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item-full-width'>
    	<div class='news-item-full-width-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
    	  
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(25); ?>'>تجربة سائح</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 25 // Show only the published posts
        ));
        foreach($recent_posts as $post) : ?>
    	<div class='news-item-full-width'>
    	<div class='news-item-full-width-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(29); ?>'>المجتمع السياحي</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 29 // Show only the published posts
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item-full-width'>
    	<div class='news-item-full-width-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
       
      </div>
    </div>
    <div class='clear'></div>
    
    <div class='tours-panels'>
    
      <div class='tours-panel bottom-tabs'>
        <h3><a href='https://www.youtube.com/channel/UCebfrvSGQZJYNU3zFmTCWaw'>الفيديو الأكثر مشاهدة</a></h3>
    	<div><iframe width='100%' height='232px' src='https://www.youtube.com/embed/UP3C
  2. Deprecated functions : bloginfo bloginfo('template_url') was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Line 12: <?php wp_head(); ?>
    <link href='<?php bloginfo('template_url'); ?>/css/ionicons.min.css' rel='stylesheet' type='t
    bloginfo('template_url') was found in the file index.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Line 1: <?php
    
    /**
    
     * The template for displaying home page.
    
     *
    
     * This is the template that displays all pages by default.
    
     * Please note that this is the WordPress construct of pages
    
     * and that other 'pages' on your WordPress site will use a
    
     * different template.
    
     *
    
     * @package Precious Lite
    
     */
    
    
    
    get_header(); 
    
    ?>
    
    <?php if ( is_front_page() ) { ?>
           
    <div class='slider-main'>
      <?php
    
    	   		
    
    			$slideimage = '';
    
    			$slideimage = array(
    
    					'1'	=>	get_template_directory_uri().'/images/slides/slider1.jpg',
    
    					'2'	=>  get_template_directory_uri().'/images/slides/slider2.jpg',
    
    					'3'	=>  get_template_directory_uri().'/images/slides/slider3.jpg',
    
    			);
    
    	   
    
    			$slAr = array();
    
    			$m = 0;
    
    			for ($i=1; $i<4; $i++) {
    
    				if ( get_theme_mod('slide_image'.$i, true) != '' ) {
    
    					$imgSrc 	= esc_url(get_theme_mod('slide_image'.$i, $slideimage[$i]));
    
    					$imgTitle	= esc_attr(get_theme_mod('slide_title'.$i, true));
    
    					$imgDesc	= esc_attr(get_theme_mod('slide_desc'.$i, true));
    
    					$imglink	= esc_url(get_theme_mod('slide_link'.$i, true));
    
    					if ( strlen($imgSrc) > 4 ) {
    
    						$slAr[$m]['image_src'] = esc_url(get_theme_mod('slide_image'.$i, $slideimage[$i]));
    
    						$slAr[$m]['image_title'] = esc_attr(get_theme_mod('slide_title'.$i, true));
    
    						$slAr[$m]['image_desc'] = esc_attr(get_theme_mod('slide_desc'.$i, true));
    
    						$slAr[$m]['image_url'] = esc_url(get_theme_mod('slide_link'.$i, true));
    
    						$m++;
    
    					}
    
    				}
    
    				
    
    			}
    
    			$slideno = array();
    
    			if( $slAr > 0 ){
    
    				$n = 0;?>
    
      <div id='slider' class='nivoSlider'>
    
        <?php 
    
                    foreach( $slAr as $sv ){
    
                        $n++; ?><img src='<?php echo esc_url($sv['image_src']); ?>' alt='<?php echo esc_attr($sv['image_title']);?>' title='<?php if ( ($sv['image_title']!='') && ($sv['image_desc']!='')) { echo '#slidecaption'.$n ; } ?>'/><?php
    
                        $slideno[] = $n;
    
                    }
    
                    ?>
    
      </div><?php
                    foreach( $slideno as $sln ){ ?>
                        <div id='slidecaption<?php echo $sln; ?>' class='nivo-html-caption'>
                        <div class='slide-cap'>
                            <?php if( get_theme_mod('slide_title'.$sln, true) != '' ){ ?>
                                <h4><?php echo esc_attr(get_theme_mod('slide_title'.$sln, __('Slide Title ','corporate-lite').$sln)); ?></h4>
                            <?php } ?>
                            <?php if( get_theme_mod('slide_desc'.$sln, true) != '' ){ ?>
                                <p><?php echo esc_attr(get_theme_mod('slide_desc'.$sln, __('سوّاح، مجلة عربية متخصصة في السياحة والسفر، وتصدر من المملكة العربية السعودية بشكل دوري كل ثلاثة أشهر منذ 1999م، وتميزت بطرح العديد من الموضوعات المتعلقة بالسياحة والسفر، وساهمت في نشر الوعي السياحي لدى المجتمعات العربية','corporate-lite'))); ?></p>
                            <?php } ?>
    						<?php if( get_theme_mod('slide_link'.$sln, true) != ''){ ?>
                            	<a class='read-more' href='<?php echo esc_url(get_theme_mod('slide_link'.$sln,'#')); ?>'><?php _e('تفاصيل أكثر','corporate-lite'); ?></a>
                            <?php } ?>
                        </div>
                        </div><?php 
                    } ?>
                    
                    </div>
    				
    				<div id='latest_blogs'>
      <h3><a href='<?php echo get_category_link( 6 ); ?>'>اخر الأخبار</a></h3>
      
        <?php
    	$recent_posts = wp_get_recent_posts(array(
            'numberposts' => 3, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 6
        ));
        foreach($recent_posts as $post) : ?>
    	<div class='news-single-colum'>
    	<div class='news-single-colum-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-single-colum-content'>
    	<a href=''
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
    		<p style='text-align:left;display:none;'><?php echo date( 'Y-m-d', strtotime( $post['post_date'] ) ); ?></p>
          </a>
    	</div><div class='clear'></div>
    	</div>
        
        <?php endforeach; wp_reset_query(); ?>
      <div id='latest_blogs_more'><span><a href='<?php echo get_category_link(6); ?>'>المزيد</a></span></div>
    </div>
    
             
    <?php 
    
    			}
    
                ?>
    <div class='clear'></div>
    
    <div class='tours-panels'>
      <h1 class='section-title'>جولات سياحية</h1>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(1360); ?>'>سعودية</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 1360
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	   
    	</div><div class='clear'></div>
    	</div>
        
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(1361); ?>'>عربية</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 1361
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div><div class='clear'></div>
    	</div>
        
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(1362); ?>'>عالمية</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 1362
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div><div class='clear'></div>
    	</div>
        
          <?php endforeach; wp_reset_query(); ?>
        <div class='clear'></div>
      </div>
    </div>
    <div class='clear'></div>
    </div>
    
    <div class='wrap mettings-container'>
    <div style='direction:ltr;'>
      <h1 class='section-title-new'>اعداد سواح</h1>
      <?php echo do_shortcode('[logo_showcase id='1802']');?>
    </div>
    </div>
    
    <div class='wrap'>
    <div class='clear'></div>
    
    <div class='tours-panels'>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(33); ?>'>أخبار فندقية</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 33
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div><div class='clear'></div>
    	</div>
        
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(44); ?>'>جولات فندقية</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 1385
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div><div class='clear'></div>
    	</div>
        
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(44); ?>'>إخترنا لكم</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 20
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div><div class='clear'></div>
    	</div>
        
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
    </div>
    <div class='clear'></div>
    </div>
    <div class='wrap mettings-container'>
      <h1 class='section-title-new'>لقاءات سواح</h1>
      <div class='mettings'>
    
        <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 5, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 848
        ));
        foreach($recent_posts as $post) : ?>
        <div class='mettings-item'>
          <a href='
            <?php echo get_permalink($post['ID']) ?>'>
    		<div class='mettings-item-thumb'> 
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
    </div>
            <p class='mettings-item-golden-text'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
        </div>
        <?php endforeach; wp_reset_query(); ?>
    
      </div>
    <div class='clear'></div>
    </div>
    <div class='wrap'>
    <div class='clear'></div>
    <div class='section-8'>
      <div class='section-8-spas'>
      <h3><a href='<?php echo get_category_link(27); ?>'>منتجعات</a></h3>
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 27
        ));
        foreach($recent_posts as $post) : ?>
         <div class='news-item-full-width'>
    	<div class='news-item-full-width-height-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='section-8-authrs'>
      <h3>كتاب سواح</h3>
        
    <div class='news-item'>
    	<div class='news-item-thumb'><img src='https://pbs.twimg.com/profile_images/3216026238/13e63d188a13283ebe124d8573c8f6fc_400x400.jpeg'
                    width='60' height='60' alt='' class='avatar avatar-60 wp-user-avatar wp-user-avatar-60 photo avatar-default'
                    src-orig='https://pbs.twimg.com/profile_images/3216026238/13e63d188a13283ebe124d8573c8f6fc_400x400.jpeg'
                    scale='2'>
    	</div>
    	<div class='news-item-content'>
    	<a class='news-item-content-author' href='http://sawah.sa/?tag=%D8%A3%D8%AD%D9%85%D8%AF-%D8%A7%D9%84%D8%B4%D8%B1%D9%8A%D8%AF%D9%8A'
                        rel='author'>احمد الشريدي</a>
    					<a href='http://sawah.sa/?p=3328' title='الرومانسية .. بين رذاذ المطر وضجيج الاختناقات المرورية!'
                            class='featured-contrib-story'>الرومانسية .. بين رذاذ المطر وضجيج الاختناقات المرورية!</a>
    					
    	</div>
    	</div>
        <div class='clear'></div>
    	<div class='news-item'>
    	<div class='news-item-thumb'><img src='http://i0.wp.com/sawah.sa/wp-content/uploads/2016/10/IMG-20161031-WA0004-e1477939326174.jpg?w=365'
                    width='60' height='60' alt='' class='avatar avatar-60 wp-user-avatar wp-user-avatar-60 photo avatar-default'
                    src-orig='http://i0.wp.com/sawah.sa/wp-content/uploads/2016/10/IMG-20161031-WA0004-e1477939326174.jpg?w=365'
                    scale='2'>
    	</div>
    	<div class='news-item-content'>
    					<a lass='news-item-content-author' href='http://sawah.sa/?tag=%D8%A7%D9%84%D8%AF%D9%83%D8%AA%D9%88%D8%B1-%D9%85%D8%AD%D8%B3%D9%86-%D8%A7%D9%84%D8%B4%D9%8A%D8%AE-%D8%A2%D9%84-%D8%AD%D8%B3%D8%A7%D9%86'
                        rel='author'>د.محسن الشيخ آل حسان</a>
    					 <a href='http://sawah.sa/?p=2380' title='ماذا يجذب السائح السعودي؟' class='featured-contrib-story'>
                            ماذا يجذب السائح السعودي؟</a>
    					
    	</div>
    	</div>
        <div class='clear'></div>
    	
        <div class='news-item' style='display:none'>
    	<div class='news-item-thumb'><img src='http://sawah.sa/wp-content/uploads/2016/10/%D8%B9%D8%A8%D8%AF%D8%A7%D9%84%D9%84%D9%87-%D8%A7%D9%84%D8%AC%D8%B9%D9%8A%D8%AB%D9%86-1.png'
                    width='60' height='60' alt='' class='avatar avatar-60 wp-user-avatar wp-user-avatar-60 photo avatar-default'
                    src-orig='http://sawah.sa/wp-content/uploads/2016/10/%D8%B9%D8%A8%D8%AF%D8%A7%D9%84%D9%84%D9%87-%D8%A7%D9%84%D8%AC%D8%B9%D9%8A%D8%AB%D9%86-1.png'
                    scale='2'>
    	</div>
    	<div class='news-item-content' >
    					
    						
    						<a class='news-item-content-author' href='http://sawah.sa/?tag=%D8%B9%D8%A8%D8%AF%D8%A7%D9%84%D9%84%D9%87-%D8%A7%D9%84%D8%AC%D8%B9%D9%8A%D8%AB%D9%86'
                        rel='author'>عبدالله الجعيثن</a>
    					<a href='http://sawah.sa/?p=1470' title='الشوق زاد المسافر' class='featured-contrib-story'>
                            الشوق زاد المسافر</a>
    					
    	</div>
    	</div>
        <div class='clear'></div>
    	
    	<div class='news-item'>
    	<div class='news-item-thumb'><img src='http://i0.wp.com/sawah.sa/wp-content/uploads/2016/10/%D8%B2%D9%8A%D8%AF-%D8%A8%D9%86-%D8%B9%D9%84%D9%8A-%D8%A7%D9%84%D9%81%D8%B6%D9%8A%D9%84.jpg?w=520'
                    width='60' height='60' alt='' class='avatar avatar-60 wp-user-avatar wp-user-avatar-60 photo avatar-default'
                    src-orig='http://i0.wp.com/sawah.sa/wp-content/uploads/2016/10/%D8%B2%D9%8A%D8%AF-%D8%A8%D9%86-%D8%B9%D9%84%D9%8A-%D8%A7%D9%84%D9%81%D8%B6%D9%8A%D9%84.jpg?w=520'
                    scale='2'>
    	</div>
    	<div class='news-item-content'>
    									
    						<a class='news-item-content-author' href='http://sawah.sa/?tag=%D8%B2%D9%8A%D8%AF-%D8%A7%D9%84%D9%81%D8%B6%D9%8A%D9%84'
                        rel='author'>د. زيد الفضيل</a>
    					<a href='http://sawah.sa/?p=1470' title='نحن لسنا نبتةً جافةً في أرض قاحلة' class='featured-contrib-story'>
                            نحن لسنا نبتةً جافةً في أرض قاحلة</a>
    					
    	</div>
    	</div>
        <div class='clear'></div>
    	
    	
    	<div class='news-item'>
    	<div class='news-item-thumb'> <img src='http://sawah.sa/wp-content/uploads/2016/10/%D8%AC%D8%A7%D8%B3%D8%B1-%D8%A7%D9%84%D8%AC%D8%A7%D8%B3%D8%B1.jpg'
                    width='60' height='60' alt='' class='avatar avatar-60 wp-user-avatar wp-user-avatar-60 photo avatar-default'
                    src-orig='http://sawah.sa/wp-content/uploads/2016/10/%D8%AC%D8%A7%D8%B3%D8%B1-%D8%A7%D9%84%D8%AC%D8%A7%D8%B3%D8%B1.jpg'
                    scale='2'>
    	</div>
    	<div class='news-item-content'>
    						
    						<a class='news-item-content-author' href='http://sawah.sa/?tag=%D8%B2%D9%8A%D8%AF-%D8%A7%D9%84%D9%81%D8%B6%D9%8A%D9%84'
                        rel='author'>د. جاسر الجاسر</a>
    					<a href='http://sawah.sa/?p=1476' title='مفهوم سياحتنا الداخلية' class='featured-contrib-story'>
                            مفهوم سياحتنا الداخلية</a>
    					
    	</div>
    	</div>
        <div class='clear'></div>
       
        
        </div>
       
      </div>
    
    <div class='clear'></div>
    
    <div class='tours-panels'>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(44); ?>'>تحقيقات</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 36
        ));
        foreach($recent_posts as $post) : ?>
         <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(30); ?>'>من عادات وتقاليد الشعوب</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 30
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(16); ?>'>طرائف وعجائب</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 4, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 16
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
    </div>
    <div class='clear'></div>
    
    <div class='tours-panels'>
      <div class='tours-panel-same-height'>
        <h3><a href='<?php echo get_category_link(44); ?>'>معارض</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish' // Show only the published posts
        ));
        foreach($recent_posts as $post) : ?>
           <div class='news-item-full-width' style='border-bottom:none;'>
    	<div class='news-item-full-width-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel-same-height'>
        <h3><a href='<?php echo get_category_link(21); ?>'>فعاليات</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 21
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item-full-width' style='border-bottom:none;'>
    	<div class='news-item-full-width-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel-same-height'>
        <h3><a href='<?php echo get_category_link(19); ?>'>مناسبات</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 19
        ));
        foreach($recent_posts as $post) : ?>
           <div class='news-item-full-width' style='border-bottom:none;'>
    	<div class='news-item-full-width-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
    </div>
    <div class='clear'></div>
    
    <div class='section-8'>
      <div class='section-8-spas'>
      <h3><a href='<?php echo get_category_link(34); ?>'>طيران</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 2, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 34
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item-2-colum'>
    	<div class='news-item-2-colum-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-2-colum-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div><div class='clear'></div>
    	</div>
        
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='section-8-authrs'>
      <h3><a href='<?php echo get_category_link(44); ?>'>سياحة بحرية</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish' // Show only the published posts
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item-full-width'>
    	<div class='news-item-full-width-thumb'>
    	<center>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	  </center>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='clear'></div>
    </div>
    <div class='clear'></div>
    
    
    <div class='tours-panels'>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(26); ?>'>مطاعم</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 3, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 26
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(22); ?>'>أسواق</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 3, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 22
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item'>
    	<div class='news-item-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'thumbnail'); ?>
          </a>
    	</div>
    	<div class='news-item-content'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p class='slider-caption-class'>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(31); ?>'>دليل الفنادق</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 31
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item-full-width'>
    	<div class='news-item-full-width-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
    </div>
    <div class='clear'></div>
    
    <div class='tours-panels'>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(22); ?>'>عروض سياحية</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 909 //959 // Show only the published posts
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item-full-width'>
    	<div class='news-item-full-width-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
    	  
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(25); ?>'>تجربة سائح</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 25 // Show only the published posts
        ));
        foreach($recent_posts as $post) : ?>
    	<div class='news-item-full-width'>
    	<div class='news-item-full-width-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
        
      </div>
      <div class='tours-panel'>
        <h3><a href='<?php echo get_category_link(29); ?>'>المجتمع السياحي</a></h3>
        
          <?php
        $recent_posts = wp_get_recent_posts(array(
            'numberposts' => 1, // Number of recent posts thumbnails to display
            'post_status' => 'publish', // Show only the published posts
    		'category' => 29 // Show only the published posts
        ));
        foreach($recent_posts as $post) : ?>
          <div class='news-item-full-width'>
    	<div class='news-item-full-width-thumb'>
    	<a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <?php echo get_the_post_thumbnail($post['ID'], 'full'); ?>
          </a>
    	  <a href='
            <?php echo get_permalink($post['ID']) ?>'>
            <p>
              <?php echo $post['post_title'] ?>
            </p>
          </a>
    	</div>
    	</div>
        <div class='clear'></div>
          <?php endforeach; wp_reset_query(); ?>
       
      </div>
    </div>
    <div class='clear'></div>
    
    <div class='tours-panels'>
    
      <div class='tours-panel bottom-tabs'>
        <h3><a href='https://www.youtube.com/channel/UCebfrvSGQZJYNU3zFmTCWaw'>الفيديو الأكثر مشاهدة</a></h3>
    	<div><iframe width='100%' height='232px' src='https://www.youtube.com/embed/UP3C-nCB4Sk' frameborder='0' allowfullscreen></iframe></div>
        
      </div>
      <div class='tours-panel bottom-tabs'>
        <h3>جائزة التفوق</h3>
        <div><img height='' src='<?php bloginfo('template_url'); ?>/images/reward.jpg' alt='' width='100%' /></div
    bloginfo('template_url') was found in the file footer.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Line 36: <div><img height='' src='<?php bloginfo('template_url'); ?>/images/global.png' alt='' /></div>
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  2. Text domain : Incorrect use of translation functions.Wrong installation directory for the theme name. The directory name must match the slug of the theme. This theme's correct slug and text-domain is sawahmag.
  3. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file style.css.
  4. CSS files : Presence of theme descriptionDescription is missing from style.css header.
  5. Screenshot : Screenshot fileScreenshot dimensions are wrong! Detected: 200x125px (16:10). Ratio of width to height should be 4:3.Screenshot size is 200x125px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.Bad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  2. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  3. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  4. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  5. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  6. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  7. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  8. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  9. Use of includes : Use of include or requireThe theme appears to use include or require : header.php
    Line 14: <body <?php body_class(); ?>>
    
    <div class='top-menu'>
    
    
    <div class='weather-top'>
    
    <h1>حالة الطقس في اهم المدن السعودية</h1>
    <div style='direction:rtl;'>
    <?php	
    $servername = 'localhost';
    $username = 'sawah_moaaz';
    $password = '773330449Sawah';
    $dbname = 'sawah_moaaz';
    	//opeining db connection
    // Create connection
    $conn = new mysqli($servername, $username, $password, $dbname);
    // Check connection
    if ($conn->connect_error) {
        die('Connection failed: ' . $conn->connect_error);
    }
    $sql = 'SELECT * FROM sawah_moaaz.sawah_weather where weather_notes='sa'';
    
    $result = $conn->query($sql);
    
    if ($result->num_rows > 0) {
        // output data of each row
    	
    	$u=get_template_directory_uri();
        while($row = $result->fetch_assoc()) {
            echo '<div class='weather-item'><div class='weather-item-name'>'.$row['weather_name'].'</div><div><img src=''.$u.'/images/weather/'.$row['weather_icon_url'].'.png'/></div><div>'.$row['weather_condition'].'</div><div>'.$row['weather_temp'].'</div></div>';
        }
    	
    } else {
        echo '0 results';
    }
    $conn->close();
    ?>
    </div>
    <h1>حالة الطقس في اهم المدن العربية</h1>
    <div style='text-align:center;'>
    <?php	
    $servername = 'localhost';
    $username = 'sawah_moaaz';
    $password = '773330449Sawah';
    $dbname = 'sawah_moaaz';
    	//opeining db connection
    // Create connection
    $conn = new mysqli($servername, $username, $password, $dbname);
    // Check connection
    if ($conn->connect_error) {
        die('Connection failed: ' . $conn->connect_error);
    }
    $sql = 'SELECT * FROM sawah_moaaz.sawah_weather where weather_notes='ar'';
    
    $result = $conn->query($sql);
    
    if ($result->num_rows > 0) {
        // output data of each row
    	
        while($row = $result->fetch_assoc()) {
    		echo '<div class='weather-item'><div class='weather-item-name'>'.$row['weather_name'].'</div><div><img src=''.$u.'/images/weather/'.$row['weather_icon_url'].'.png'/></div><div>'.$row['weather_condition'].'</div><div>'.$row['weather_temp'].'</div></div>';
            
        }
    	
    } else {
        echo '0 results';
    }
    $conn->close();
    ?>
    </div>
    <h1>حالة الطقس في اهم المدن العالمية</h1>
    <div><?php	
    $servername = 'localhost';
    $username = 'sawah_moaaz';
    $password = '773330449Sawah';
    $dbname = 'sawah_moaaz';
    	//opeining db connection
    // Create connection
    $conn = new mysqli($servername, $username, $password, $dbname);
    // Check connection
    if ($conn->connect_error) {
        die('Connection failed: ' . $conn->connect_error);
    }
    $sql = 'SELECT * FROM sawah_moaaz.sawah_weather where weather_notes='wd'';
    
    $result = $conn->query($sql);
    
    if ($result->num_rows > 0) {
        // output data of each row
    	
        while($row = $result->fetch_assoc()) {
            echo '<div class='weather-item'><div class='weather-item-name'>'.$row['weather_name'].'</div><div><img src=''.$u.'/images/weather/'.$row['weather_icon_url'].'.png'/></div><div>'.$row['weather_condition'].'</div><div>'.$row['weather_temp'].'</div></div>';
        }
    	
    } else {
        echo '0 results';
    }
    $conn->close();
    ?></div>
    </div>
    
    
    <div class='wrap'>
    <ul>
    
    <li><i class='ion-android-calendar'></i>
    <?php
     
    switch(date('D'))
    {
    	case 'Sat':$d= 'السبت ';break;
    	case 'Sun':$d= 'الأحد ';break;
    	case 'Mon':$d= 'الإثنين ';break;
    	case 'Tus':$d= 'الثلاثاء ';break;
    	case 'Wed':$d= 'الأربعاء ';break;
    	case 'Thu':$d= 'الخميس ';break;
    	case 'Fri':$d= 'الجمعة ';break;
    }
    switch(date('m'))
    {
    	case '1':$d= '$d'.date('j').'  يناير'; break;
    	case '2':$d= '$d'.date('j').'  فبراير'; break;
    	case '3':$d= '$d'.date('j').'  مارس'; break;
    	case '4':$d= '$d'.date('j').'  ابريل'; break;
    	case '5':$d= '$d'.date('j').'  مايو'; break;
    	case '6':$d= '$d'.date('j').'  يونيو'; break;
    	case '7':$d= '$d'.date('j').'  يوليو'; break;
    	case '8':$d= '$d'.date('j').'  اغسطس'; break;
    	case '9':$d= '$d'.date('j').'  سبتمبر'; break;
    	case '10':$d= '$d'.date('j').'  اكتوبر'; break;
    	case '11':$d= '$d'.date('j').'  نوفمبر'; break;
    	case '12':$d= '$d'.date('j').'  ديسمبر'; break;
    }
    
    echo $d;
     ?></li>
    
    <li id='button-weather'><i class='ion-ios-flower-outline'></i>
    حالة الطقس
    </li>
    <li><a href='https://www.facebook.com/SawahMAG/'><i class='ion-social-facebook'></i></a></li> 
    <li><a href='https://twitter.com/SawahMAG'><i class='ion-social-twitter'></i></a></li>
    <li><a href='https://youtube.com/sawahmag'><i class='ion-social-googleplus'></i></a></li>
    <li><a href='http://sawah.sa/mails'><i class='ion-email'></i></a></li><li style='float:left;'><?php include'searchform.php'; ?></li>
    </ul>
    </div></div>
    				 
    			
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : 404.php
    Line 18: <?php include'searchform.php'; ?>
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
Other checked themes