<?php get_header();?>
            <div id="main">
            	<div id="fullContent">
					<div class="singlePost">
                
                    	<div class="article mainBorder">
                            <div class="error">
                                <h2 class="errorMessage"><?php _e('404 - Page not found!' , 'lioit' ) ?></h2>
                                
                                <div id="subsearch">
                                	<h3><?php _e("Why don't you try Search" , 'lioit' ) ?></h3>
                                    <form method="get" action="<?php echo home_url();?>">
                                        <input type="text" name="s" id="search-form" value="<?php _e('Search here ...' , 'lioit' ) ?>" onfocus="if (this.value=='<?php _e('Search here ...' , 'lioit' ) ?>') this.value       = '';" onblur="if (this.value=='') this.value='<?php _e('Search here ...' , 'lioit' ) ?>';" />
                                        <?php $select = wp_dropdown_categories('show_option_all=All Content&orderby=name&hierarchical=0&selected=-1&depth=1&show_count=1');?>
                                        <input type="submit" id="searchsubmit" class="btnMainColor" value="" />
                                    </form>
                                </div><!--End Search-->
                                <div class="errorRondomPosts">
                                    <h3><?php _e('And this Rondom Posts' , 'lioit' ) ?></h3>
                                    <div class="otherPostsContent">
                                      <?php
                                      $rand_posts = get_posts('numberposts=5&orderby=rand');
                                      foreach( $rand_posts as $post ) : ?>
                                          <div class="otherPost">
                                              <a href="<?php the_permalink();?>"><h2><?php the_title();?></h2></a>
                                          </div><!--End OtherPost-->
                                      <?php endforeach; ?>
                                  </div><!--End Other Posts Content-->
                                </div><!--End Posts-->
                            </div><!--End Error-->
                            
                            <div id="sitemap">
                            	<h3><?php _e('And this Sitemap' , 'lioit' ) ?></h3>
                                <div class="sitemapColumn">
                                    <h2><?php _e('Pages','lioit'); ?></h2>
                                    <ul id="sitemap-pages"><?php wp_list_pages('title_li='); ?></ul>
                                </div> <!-- end .sitemap-col -->
                                    
                                <div class="sitemapColumn">
                                    <h2><?php _e('Categories','lioit'); ?></h2>
                                    <ul id="sitemap-categories"><?php wp_list_categories('title_li='); ?></ul>
                                </div> <!-- end .sitemap-col -->
                                    
                                <div class="sitemapColumn">
                                    <h2><?php _e('Tags','lioit'); ?></h2>
                                    <ul id="sitemap-tags">
                                        <?php $tags = get_tags();
                                        if ($tags) {
                                            foreach ($tags as $tag) {
                                                echo '<li><a href="' . get_tag_link( $tag->term_id ) . '">' . $tag->name . '</a></li> ';
                                            }
                                        } ?>
                                    </ul>
                                </div> <!-- end .sitemap-col -->
                                                                
                                <div class="sitemapColumn<?php echo ' last'; ?>">
                                    <h2><?php _e('Authors','Lioit'); ?></h2>
                                    <ul id="sitemap-authors" ><?php wp_list_authors('optioncount=1&exclude_admin=0'); ?></ul>
                                </div> <!-- end .sitemap-col -->
                            
                            </div> <!-- end #sitemap -->
                        </div><!--End article-->
                        
                    </div><!--End ContentBox-->
                </div><!--End Main Content-->
            </div><!--End Main-->
            <?php require Lioit_TM . '/lio.php';?>
        </div><!--End Content-->
<?php get_footer();?>