[
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: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 690.89 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:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: N/A