ROOTPLOIT
Server: LiteSpeed
System: Linux in-mum-web1878.main-hosting.eu 5.14.0-570.21.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 11 07:22:35 EDT 2025 x86_64
User: u435929562 (435929562)
PHP: 7.4.33
Disabled: system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: //home/u435929562/domains/tec-edu.in/public_html/wp-content/themes/enlighten/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 enlighten
 */

get_header(); 
$enlighten_post_id = get_the_ID();
$enlighten_page_layout = esc_attr(get_post_meta( $enlighten_post_id, 'enlighten_sidebar_layout', true ));
if($enlighten_page_layout == ''){
    $enlighten_page_layout = 'right';
}
?>
<div class="<?php echo 'ak-container-'.esc_attr($enlighten_page_layout); ?> <?php if($enlighten_page_layout != 'both'){echo 'ak-container';}?>">
    <?php if($enlighten_page_layout !== 'no'){
            if($enlighten_page_layout == 'both' || $enlighten_page_layout == 'left'){?>
                <div id="secondary" class="<?php echo esc_attr($enlighten_page_layout).'_left' ?> clearfix">
                    <?php
                        get_sidebar('left');
                    ?>
                </div>
            <?php } ?>
    <?php } ?>
    <div id="primary" class="content-area <?php echo esc_attr($enlighten_page_layout); ?>">
    	<main id="main" class="site-main" role="main">
    
    		<?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.
    		?>
    
    	</main><!-- #main -->
    </div><!-- #primary -->
    <?php if($enlighten_page_layout !== 'no'){
            if( $enlighten_page_layout == 'both' || $enlighten_page_layout == 'right'){ ?>
                <div id="secondary" class="<?php echo esc_attr($enlighten_page_layout).'_right' ?>">
                    <?php
                        get_sidebar();
                    ?>
                </div>
            <?php } ?>
    <?php } ?>
</div>
<?php
get_footer();