<?php get_header(); ?>
	<div class="Body">
	    <?php
		$loop      = new TOROFLIX_Movies();
		$blocks    = get_option( 'block_home_views', false );
		$serialize = get_option('serialize_toroflix');
		$alphabet  = get_option('alphabet_show');
		$data      = array(
			'loop'      => $loop,
			'block'     => $blocks,
			'serialize' => $serialize
	    );
	    $sidebar_position = TOROFLIX_Add_Theme_Support::get_position_sidebar();
	    do_action( 'home_movielist', $data );
	    	#10: Slider home ?>
	    <div class="Main Container">
	        <?php
	        if($alphabet){
	        	get_template_part('public/partials/template/letters');
	        } ?>
	        <section>
	        	<?php do_action( 'home_after_slider', $data );
	        		#10: Most popular ?>
	        </section>
	        <div class="TpRwCont <?php echo $sidebar_position; ?>">
	            <main>
	                <?php do_action( 'main_post', $data );
	                		#10: Movies
	                		#20: Series
	                		#30: Seasons
	                		#40: Episodes ?>
	            </main>
	            <?php if($sidebar_position != 'NoSdbr'){ ?>
	            	<?php get_sidebar(); ?>
	            <?php } ?>
	        </div>
	    </div>
	</div>
<?php get_footer(); ?>