 <?php 
    $GLOBALS['img']='404';
    get_header(); 
 ?>
 
    <div class="container">
	
        <div class="row-fluid">
		
            <div class="error_page">
            
			    <h1><?php echo of_get_option('error_title');?></h1>
            
			    <p><?php echo of_get_option('error_detail');?></p>

                <!-- divisor -->
            
			    <div class="divisor"></div>
            
			    <!-- divisor -->
			
                <span <?php echo colors('h1s');?> ><?php echo of_get_option('error_desc');?></span>

                <div class="clearfix"></div>

                <a <?php echo colors('btn');?> href="<?php echo get_template_directory_uri().'/home';?>" class="botton"><?php echo of_get_option('error_btn');?></a>        

            </div>
			
        </div>

        <div class="clearfix"></div>
        
		<!-- divisor -->
        
		<div class="divisor">
		
            <div class="circle_left"></div>
		
            <div class="circle_right"></div>
			
        </div>
		
        <!-- divisor -->

        <!-- Info error Page -->
		
        <div class="row-fluid top">
       
            <?php if(of_get_option('show_error_free')){
                $span = '';
                for($i=1; $i<=of_get_option('error_num_free'); $i++){                    
                if($i == 1?$span='span2':$span='span3');
            ?>
			
            <div class="<?php echo $span;?>">
			
                <h5><?php echo of_get_option('error_opt_title'.$i);?></h5>
				
                <ul class="infor_error">
				
                    <?php for($j=1; $j<=of_get_option('error_num_opt'.$i); $j++){?>
				
                        <li><i <?php echo font_awesome_icon_style('404'.$i);?>></i><a href="<?php echo of_get_option('error_opt_link'.$i.$j);?>"><?php echo of_get_option('error_opt_title'.$i.$j);?></a></li>
                
				    <?php }?>  
				

                </ul>
				
            </div>
			
            <?php }}?>
            
			<!-- Info error Page -->

            <!-- Support -->
			
            <?php if(of_get_option('show_error_cont')){?>
			
            <div class="span4">
                
				<div class="info">
                    
					<div class="support">
                        
						<div class="row-fluid">
                            
							<div class="span3">
                                
								<img src="<?php echo of_get_option('error_cont_img');?>" alt="">
                
				            </div>
							
                            <div class="span9">
                                
								<p><?php echo of_get_option('error_cont_title');?></p>
								
                                <?php
                                    for($i=1; $i<=of_get_option('error_contact_num'); $i++){
                                ?>
								
                                <p><?php echo of_get_option('error_contact_city'.$i);?>: <span <?php echo colors('h1s');?> ><?php echo of_get_option('error_contact_city_num'.$i);?></span></p>
                  
				                <?php }?>
                            </div>
                        
						</div>
                         
                    </div>        
                
				</div>
            
			</div>
			
            <?php }?>
            <!-- Support -->
        </div>

    </div>
	
    </div>
	
 <?php get_footer(); ?>