[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.227.21.101: ~ $
<?php
/**
 *
 * @package Tutor
 */

get_header(); 

if (!is_home() && is_front_page()) {
	$hideslide = get_theme_mod('hide_slider', '1');
	 if($hideslide == ''){   
$pages = array();
for($sld=7; $sld<10; $sld++) { 
	$mod = absint( get_theme_mod('page-setting'.$sld));
    if ( 'page-none-selected' != $mod ) {
      $pages[] = $mod;
    }	
} 
if( !empty($pages) ) :
$args = array(
      'posts_per_page' => 3,
      'post_type' => 'page',
      'post__in' => $pages,
      'orderby' => 'post__in'
    );
    $query = new WP_Query( $args );
    if ( $query->have_posts() ) :	
	$sld = 7;
?>
<section id="home_slider">
  <div class="slider-wrapper theme-default">
    <div id="slider" class="nivoSlider">
		<?php
        $i = 0;
        while ( $query->have_posts() ) : $query->the_post();
          $i++;
          $tutor_slideno[] = $i;
          $tutor_slidetitle[] = get_the_title();
		  $tutor_slidedesc[] = get_the_excerpt();
          $tutor_slidelink[] = esc_url(get_permalink());
          ?>
          <img src="<?php the_post_thumbnail_url('full'); ?>" title="#slidecaption<?php echo esc_attr( $i ); ?>" />
          <?php
        $sld++;
        endwhile;
          ?>
    </div>
        <?php
        $k = 0;
        foreach( $tutor_slideno as $tutor_sln ){ ?>
    <div id="slidecaption<?php echo esc_attr( $tutor_sln ); ?>" class="nivo-html-caption">
      <div class="top-bar">
        <h2><a href="<?php echo esc_url($tutor_slidelink[$k] ); ?>"><?php echo esc_html($tutor_slidetitle[$k] ); ?></a></h2>
        <p><?php echo esc_html($tutor_slidedesc[$k] ); ?></p>
        <div class="clear"></div>
        <a class="button" href="<?php echo esc_url($tutor_slidelink[$k] ); ?>">
          <?php echo esc_html(get_theme_mod('slide_text',__('Read More','tutor')));?>
          </a>
      </div>
    </div>
 	<?php $k++;
       wp_reset_postdata();
      } ?>
<?php endif; endif; ?>
  </div>
  <div class="clear"></div>
</section>
<?php } } 
?>

  <div class="main-container">
    <div class="content-area">
        <div class="middle-align content_sidebar">
            <div class="site-main" id="sitemain">
				<?php
                if ( have_posts() ) :
                    // Start the Loop.
                    while ( have_posts() ) : the_post();
                        /*
                         * Include the post format-specific template for the content. If you want to
                         * use this in a child theme, then include a file called called content-___.php
                         * (where ___ is the post format) and that will be used instead.
                         */
                        get_template_part( 'content-page', get_post_format() );
						
                    endwhile;
                    // Previous/next post navigation.
                    the_posts_pagination();
					wp_reset_postdata();
                
                else :
                    // If no content, include the "No posts found" template.
                     get_template_part( 'no-results' );
                
                endif;
                ?>
            </div>
            <?php get_sidebar();?>
            <div class="clear"></div>
        </div>
    </div><div class="clear"></div>
<?php get_footer(); ?>

Filemanager

Name Type Size Permission Actions
css Folder 0755
customize-pro Folder 0755
images Folder 0755
inc Folder 0755
js Folder 0755
404.php File 879 B 0644
archive.php File 1.15 KB 0644
change_log.txt File 209 B 0644
comments.php File 1.98 KB 0644
content-page.php File 686 B 0644
content-single.php File 1.46 KB 0644
content.php File 3.84 KB 0644
editor-style.css File 139 B 0644
footer.php File 689 B 0644
front-page.php File 3.27 KB 0644
full-width.php File 947 B 0644
functions.php File 6.16 KB 0644
header.php File 4.18 KB 0644
image.php File 3.97 KB 0644
index.php File 1.58 KB 0644
license.txt File 34.97 KB 0644
no-results.php File 998 B 0644
page.php File 1.03 KB 0644
readme.txt File 3.5 KB 0644
screenshot.png File 267.9 KB 0644
search.php File 1007 B 0644
searchform.php File 540 B 0644
sidebar.php File 822 B 0644
single.php File 909 B 0644
style.css File 16.54 KB 0644