SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > > > forminator > library


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/plugins///forminator/library

NameTypeSizeLast ModifiedActions
abstracts Directory - -
addon Directory - -
calculator Directory - -
external Directory - -
field-autofill-providers Directory - -
fields Directory - -
gateways Directory - -
helpers Directory - -
lib Directory - -
mixpanel Directory - -
model Directory - -
modules Directory - -
protection Directory - -
render Directory - -
class-api.php File 55565 bytes March 03 2025 16:08:12.
class-autofill-loader.php File 6973 bytes September 02 2024 15:32:28.
class-captcha-verification.php File 3739 bytes April 14 2025 14:55:34.
class-core.php File 24198 bytes May 19 2025 19:14:58.
class-database-tables.php File 5302 bytes September 02 2024 15:32:28.
class-export-result.php File 2628 bytes September 02 2024 15:32:28.
class-export.php File 62263 bytes March 17 2025 17:29:02.
class-form-fields.php File 5115 bytes February 03 2025 17:11:02.
class-forminator-hub-connector.php File 9488 bytes July 14 2025 15:42:34.
class-geo.php File 4487 bytes September 02 2024 15:32:28.
class-integration-loader.php File 19792 bytes February 03 2025 17:11:02.
class-loader.php File 2597 bytes February 03 2025 17:11:02.
class-migration.php File 29191 bytes December 24 2024 20:31:58.
class-modules.php File 2028 bytes September 02 2024 15:32:28.
class-page-cache.php File 8242 bytes September 02 2024 15:32:28.
class-protection.php File 1059 bytes September 02 2024 15:32:28.
class-reports.php File 7366 bytes February 03 2025 17:11:02.
class-shortcode-generator.php File 16820 bytes November 25 2024 21:22:22.
class-template-api.php File 7716 bytes March 03 2025 16:08:12.
class-upgrade.php File 1535 bytes February 03 2025 17:11:02.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins///forminator/library/class-export-result.php

<?php
/**
 * Forminator Export Result
 *
 * @package Forminator
 */

if ( ! defined( 'ABSPATH' ) ) {
	die();
}

/**
 * Class Forminator_Export_Result
 *
 * Export result data struct
 *
 * @since 1.5.4
 */
class Forminator_Export_Result {

	/**
	 * Export data.
	 *
	 * @var array
	 */
	public $data = array();

	/**
	 * Entries count
	 *
	 * @var int
	 */
	public $entries_count = 0;

	/**
	 * New entries count
	 *
	 * @var int
	 */
	public $new_entries_count = 0;

	/**
	 * Form Model Instance
	 *
	 * @var Forminator_Base_Form_Model | null
	 */
	public $model = null;

	/**
	 * Latest entry Id
	 *
	 * @var int
	 */
	public $latest_entry_id = 0;

	/**
	 * File path
	 *
	 * @var string
	 */
	public $file_path = '';

	/**
	 * Form type
	 *
	 * @var string
	 */
	public $form_type = '';


	/**
	 * Forminator_Export_Result Constructor
	 */
	public function __construct() {
	}

	/**
	 * Parsing filters
	 *
	 * @since 1.5.4
	 */
	public function request_filters() {
		$data_range   = Forminator_Core::sanitize_text_field( 'date_range' );
		$search       = Forminator_Core::sanitize_text_field( 'search' );
		$min_id       = Forminator_Core::sanitize_text_field( 'min_id' );
		$max_id       = Forminator_Core::sanitize_text_field( 'max_id' );
		$order_by     = Forminator_Core::sanitize_text_field( 'order_by' );
		$order        = Forminator_Core::sanitize_text_field( 'order' );
		$user_stat    = Forminator_Core::sanitize_text_field( 'user_status' );
		$entry_status = Forminator_Core::sanitize_text_field( 'entry_status' );

		$filters = array();
		if ( ! empty( $data_range ) ) {
			$date_ranges = explode( ' - ', $data_range );
			if ( is_array( $date_ranges ) && isset( $date_ranges[0] ) && isset( $date_ranges[1] ) ) {
				$date_ranges[0] = gmdate( 'Y-m-d', strtotime( $date_ranges[0] ) );
				$date_ranges[1] = gmdate( 'Y-m-d', strtotime( $date_ranges[1] ) );

				forminator_maybe_log( __METHOD__, $date_ranges );
				$filters['date_created'] = array( $date_ranges[0], $date_ranges[1] );
			}
		}
		if ( ! empty( $search ) ) {
			$filters['search'] = $search;
		}

		if ( ! empty( $min_id ) ) {
			$min_id = intval( $min_id );
			if ( $min_id > 0 ) {
				$filters['min_id'] = $min_id;
			}
		}

		if ( ! empty( $max_id ) ) {
			$max_id = intval( $max_id );
			if ( $max_id > 0 ) {
				$filters['max_id'] = $max_id;
			}
		}
		if ( $order_by ) {
			$filters['order_by'] = $order_by;
		}

		if ( $order ) {
			$filters['order'] = $order;
		}

		if ( ! empty( $user_stat ) ) {
			$filters['user_status'] = $user_stat;
		}

		if ( $entry_status ) {
			$filters['entry_status'] = $entry_status;
		}

		return $filters;
	}
}

SILENT KILLER Tool