403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/d2m/sofident_cz/wp-content/themes/sofident/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/d2m/sofident_cz/wp-content/themes/sofident/page.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 may use a
 * different template.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package Sofident
 */
get_header();
?>

<div id="primary" class="content-area container">
    <main id="main" class="site-main row" role="main">
        <div class="col-xs-12 col-sm-8 wow fadeIn">

            <?php
            while (have_posts()) : the_post();

                get_template_part('template-parts/content', 'page');

                // If comments are open or we have at least one comment, load up the comment template.
                if (comments_open() || get_comments_number()) :
                    comments_template();
                endif;

            endwhile; // End of the loop.
            ?>
        </div>
        <aside id="secondary" class="widget-area col-xs-12 col-sm-4" role="complementary">
            <section id="call-use" class="widget">
                <h3 class="wow fadeInDown"><?php _e('Objednat se', 'sofident'); ?> </h3>
                <strong id="phone-number" class="wow fadeInUp">+420 777 134 305</strong>
            </section>
            
            <section id="subform" class="widget white-back">
                <h3 class="wow fadeInDown"><?php _e('Objednat se', 'sofident'); ?> </h3>
                <?php if (ICL_LANGUAGE_CODE == 'en') { ?>
                    <?php echo do_shortcode('[contact-form-7 id="560" title="Request page EN"]'); ?>
                <?php } elseif (ICL_LANGUAGE_CODE == 'ru') { ?>
                    <?php echo do_shortcode('[contact-form-7 id="559" title="Request page RU"]'); ?>
                <?php } else { ?>
                    <?php echo do_shortcode('[contact-form-7 id="558" title="Request page CS"]'); ?>
                <?php } ?>
            </section>

            <?php
            $offer = get_field('selected_offer');
            if ($offer):

                // override $post
                $post = $offer;
                setup_postdata($post);
                ?>

                <section id="widget-offer" class="widget">
                    <div style="background: url('<?php the_post_thumbnail_url(); ?>') center left 60px no-repeat">
                        <h2 class="wow fadeInDown"><?php the_title(); ?></h2>
                        <a class="btn btn-orange wow fadeInUp" href="<?php the_field('offer_link'); ?>"><?php _e('Objednat', 'sofident'); ?></a>
                    </div>
                </section>

                <?php wp_reset_postdata(); // IMPORTANT - reset the $post object so the rest of the page works correctly   ?>
            <?php endif; ?>

            <?php get_sidebar(); ?>
        </aside>
    </main><!-- #main -->
</div><!-- #primary -->

<?php
get_footer();

Youez - 2016 - github.com/yon3zu
LinuXploit