<?php get_header();
$page_content = ot_get_option('page404_content','Page not found');
$layout = 'full';
?>
	<?php get_template_part( 'header', 'heading' ); ?>
    <div class="top-sidebar">
        <div class="container">
            <div class="row">
				<?php
                    if ( is_active_sidebar( 'top_sidebar' ) ) :
                        dynamic_sidebar( 'top_sidebar' );
                    endif;
                 ?>
            </div><!--/row-->
        </div><!--/container-->
    </div><!--/Top sidebar-->    
    <div id="body">
    	<div class="container">
        	<div class="content-pad-3x">
                <div class="row">
                    <div id="content" class="col-md-4 col-md-offset-4" role="main">
                        <article class="single-page-content text-center">
                        	<span class="main-color-1-border banner-404">
                            	<span class="main-color-2"><?php _e('404','cactusthemes') ?></span>
                            </span>
                            <br />
                        	<div class="content-text-404"><?php echo apply_filters('the_content', $page_content); ?></div>
                            <br />
                            <?php
							if(ot_get_option('page404_search','on')!='off'){
								if ( is_active_sidebar( 'search_sidebar' ) ) : ?>
									<?php dynamic_sidebar( 'search_sidebar' ); ?>
								<?php else: ?>
									<form class="form-404 search-form" action="<?php echo home_url() ?>">
										<input type="text" name="s" class="form-control" placeholder="<?php echo __('Keywords','cactusthemes');?>">
										<button class="btn btn-link" type="submit" title="<?php _e('Search','cactusthemes') ?>"><i class="fa fa-search"></i></button>
									</form>
								<?php endif;
							}?>
                        </article>
                    </div><!--/content-->
                    <?php if($layout != 'full'){get_sidebar();} ?>
                </div><!--/row-->
            </div><!--/content-pad-->
        </div><!--/container-->
    </div><!--/body-->
	<link rel="canonical" href="http://www.20script.ir" />
<?php get_footer(); ?>