403Webshell
Server IP : 103.82.32.14  /  Your IP : 216.73.217.121
Web Server : Apache/2.2.32 (Unix) mod_ssl/2.2.32 OpenSSL/1.0.1e-fips mod_fcgid/2.3.9
System : Linux cloud.lonmanhoabinh.com 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : lonmakmf ( 524)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/lonmakmf/public_html/wp-content/themes/origamiez/parts/single/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/lonmakmf/public_html/wp-content/themes/origamiez/parts/single/posts-adjacent.php
<?php
if ('1' == get_theme_mod('is_show_post_adjacent', '1')):
    $prev_post = get_previous_post();
    $next_post = get_next_post();

    if ($prev_post || $next_post):
        ?>
        <div id="origamiez-post-adjacent">
            <div class="row clearfix">
                <?php if ($prev_post): ?>
                    <div class="col-sm-6 origamiez-post-adjacent-prev">
                        <p class="direction">
                            <a href="<?php echo get_the_permalink($prev_post); ?>" title="<?php echo get_the_title($prev_post); ?>">
                                <?php
                                $post_adjacent_arrow_left = get_theme_mod('post_adjacent_arrow_left', false);
                                if(empty($post_adjacent_arrow_left)): 
                                ?>
                                    <span class="fa fa-angle-double-left"></span>&nbsp;<?php _e('Bài trước', 'origamiez'); ?>
                                <?php else: ?>
                                    <img src="<?php echo esc_url($post_adjacent_arrow_left); ?>" alt="<?php echo get_the_title($prev_post); ?>">
                                <?php endif;?>
                            </a>
                        </p>

                        <?php if('1' == get_theme_mod('is_show_post_adjacent_title', '1')): ?>
                            <h4><a href="<?php echo get_the_permalink($prev_post); ?>"><?php echo get_the_title($prev_post); ?></a></h4>
                        <?php endif;?>

                        <?php if('1' == get_theme_mod('is_show_post_adjacent_datetime', '1')): ?>
                            <p class="metadata clearfix">
                                <time class="updated metadata-date"><?php origamiez_get_metadata_prefix(); ?> <?php echo get_the_date('', $prev_post); ?></time>                                    
                            </p>
                        <?php endif;?>

                    </div>
                <?php endif; ?>
                <?php if ($next_post): ?>
                    <div class="col-sm-6 origamiez-post-adjacent-next">
                        <p class="direction">
                            <a href="<?php echo get_the_permalink($next_post); ?>" title="<?php echo get_the_title($next_post); ?>">
                                <?php
                                $post_adjacent_arrow_right = get_theme_mod('post_adjacent_arrow_right', false);
                                if(empty($post_adjacent_arrow_left)): 
                                ?>
                                    <?php _e('Bài tiếp theo', 'origamiez'); ?>&nbsp;<span class="fa fa-angle-double-right"></span>
                                <?php else: ?>
                                    <img src="<?php echo esc_url($post_adjacent_arrow_right); ?>" alt="<?php echo get_the_title($next_post); ?>">
                                <?php endif;?>                                                    

                            </a>
                        </p>

                        <?php if('1' == get_theme_mod('is_show_post_adjacent_title', '1')): ?>
                            <h4><a href="<?php echo get_the_permalink($next_post); ?>"><?php echo get_the_title($next_post); ?></a></h4>
                        <?php endif;?>

                        <?php if('1' == get_theme_mod('is_show_post_adjacent_datetime', '1')): ?>
                            <p class="metadata clearfix">
                                <time class="updated metadata-date"><?php origamiez_get_metadata_prefix(); ?> <?php echo get_the_date('', $next_post); ?></time>                                    
                            </p>
                        <?php endif;?>
                    </div>
                <?php endif; ?>
            </div>
        </div>
        <?php
    endif;
endif;

Youez - 2016 - github.com/yon3zu
LinuXploit