????

Your IP : 18.119.166.141


Current Path : /home2/morganrand/backup.morganrand.com/wp-content/themes/wanderfuls/
Upload File :
Current File : /home2/morganrand/backup.morganrand.com/wp-content/themes/wanderfuls/page-design-rooms.php

<?php
/**
 * The template for displaying all pages.
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages and that other
 * 'pages' on your WordPress site will use a different template.
 *
 * @package Wanderfuls WordPress Theme
 * @subpackage Templates
 */

// Get site header
get_header(); ?>

    <div id="content-wrap" class="container clr">

        <?php tb_hook_primary_before(); ?>

        <div id="primary" class="content-area clr">

            <?php tb_hook_content_before(); ?>

            <div id="content" class="clr site-content">

                <?php tb_hook_content_top(); ?>

                <?php
                // Main page loop
                while ( have_posts() ) : the_post(); ?>

                    <article class="clr">

                        <?php
                        // Check if page should display featured image
                        if ( has_post_thumbnail() && tb_get_mod( 'page_featured_image' ) ) : ?>

                            <div id="page-featured-img" class="clr">

                                <?php
                                // Dislpay full featured image
                                tb_post_thumbnail( array(
                                    'size'  => 'full',
                                    'alt'   => tb_get_esc_title(),
                                ) ); ?>
                                
                            </div><!-- #page-featured-img -->

                        <?php endif; ?>

                        <div class="row rooms-row flash-row" id="flash-row" style="margin-top: 60px; display: none;">
                        
                            <h1 style="text-align: center; color: #cc3366;">Design Rooms</h1>
                            <?php
                            // Output page content
                            //the_content(); ?>
                            <div class="col-sm-4 col-xs-6 col-sm-offset-2 col-xs-offset-0">
                                <?php for($i=1; $i<=12; $i++): ?>
                                <p style="text-align: center;"><a class="biliboard electronic" href="/droom.html?dr=<?= $i; ?>"> Design Room #<?= $i; ?> </a></p>
                                <?php endfor; ?>
                            </div>
                            <div class="col-sm-4 col-xs-6">
                                <?php for($i=13; $i<=24; $i++): ?>
                                <p style="text-align: center;"><a class="biliboard electronic" href="/droom.html?dr=<?= $i; ?>"> Design Room #<?= $i; ?> </a></p>
                                <?php endfor; ?>
                            </div>

                        </div><!-- .entry-content -->
                        
                        <div class="row rooms-row js-row" id="js-row" style="margin-top: 60px;">
                        
                            <h1 style="text-align: center; color: #cc3366;">Design Rooms</h1>
                            <?php
                            // Output page content
                            //the_content(); ?>
                            <div class="col-sm-4 col-xs-6 col-sm-offset-2 col-xs-offset-0">
                                <?php for($i=1; $i<=12; $i++): ?>
                                <p style="text-align: center;"><a class="biliboard electronic" href="/droom-no-flash.html?dr=<?= $i; ?>"> Design Room #<?= $i; ?> </a></p>
                                <?php endfor; ?>
                            </div>
                            <div class="col-sm-4 col-xs-6">
                                <?php for($i=13; $i<=24; $i++): ?>
                                <p style="text-align: center;"><a class="biliboard electronic" href="/droom-no-flash.html?dr=<?= $i; ?>"> Design Room #<?= $i; ?> </a></p>
                                <?php endfor; ?>
                            </div>

                        </div><!-- .entry-content -->
                        
                        <script type="text/javascript"> 
                        /*
                    	if(!FlashDetect.installed){
                    		var divs = document.getElementsByClassName('rooms-row');
                            for(var i = 0; i < divs.length; i = i + 1) {
                                divs[i].style.display="none";
                            }
                            document.getElementById('js-row').style.display = 'block';
                    	}else{
                    		var divs = document.getElementsByClassName('rooms-row');
                            for(var i = 0; i < divs.length; i = i + 1) {
                                divs[i].style.display="none";
                            }
                            document.getElementById('flash-row').style.display = 'block';
                    	}
                        
                        */
                        
                    	</script>	
                        
                        <?php
                            // Output page pagination
                            wp_link_pages( array(
                                'before'        => '<div class="page-links clr">',
                                'after'         => '</div>',
                                'link_before'   => '<span>',
                                'link_after'    => '</span>',
                            ) ); ?>

                        <?php
                        // Get social sharing template part
                        get_template_part( 'partials/social', 'share' ); ?>

                    </article><!-- #post -->

                    <?php
                    // Check if comments are enabled for pages
                    if ( tb_get_mod( 'page_comments' ) ) : ?>
                    
                        <?php
                        // Display comments
                        comments_template(); ?>

                    <?php endif; ?>

                <?php
                // End main loop
                endwhile; ?>

                <?php tb_hook_content_bottom(); ?>

            </div><!-- #content -->

            <?php tb_hook_content_after(); ?>

        </div><!-- #primary -->

        <?php tb_hook_primary_after(); ?>

    </div><!-- #content-wrap -->

<?php
// Get site footer
get_footer(); ?>