SILENT KILLERPanel

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


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/fields/

NameTypeSizeLast ModifiedActions
address.php File 27845 bytes July 14 2025 15:42:34.
calculation.php File 8270 bytes March 03 2025 16:08:12.
captcha.php File 9379 bytes April 14 2025 14:55:34.
consent.php File 6209 bytes July 14 2025 15:42:34.
currency.php File 13254 bytes July 14 2025 15:42:34.
custom.php File 7305 bytes March 03 2025 16:08:12.
date.php File 45471 bytes July 14 2025 15:42:34.
email.php File 14373 bytes July 14 2025 15:42:34.
gdprcheckbox.php File 5432 bytes July 14 2025 15:42:34.
group.php File 7233 bytes July 14 2025 15:42:34.
hidden.php File 5010 bytes April 14 2025 14:55:34.
html.php File 2470 bytes July 14 2025 15:42:34.
multivalue.php File 16995 bytes July 14 2025 15:42:34.
name.php File 22554 bytes July 14 2025 15:42:34.
number.php File 13488 bytes July 14 2025 15:42:34.
page-break.php File 1514 bytes December 24 2024 20:31:58.
password.php File 18982 bytes July 14 2025 15:42:34.
paypal.php File 13706 bytes December 24 2024 20:31:58.
phone.php File 15768 bytes July 14 2025 15:42:34.
postdata.php File 36756 bytes July 14 2025 15:42:34.
radio.php File 17476 bytes July 14 2025 15:42:34.
rating.php File 5749 bytes July 14 2025 15:42:34.
section.php File 3194 bytes December 24 2024 20:31:58.
select.php File 23804 bytes July 14 2025 15:42:34.
slider.php File 14350 bytes July 14 2025 15:42:34.
stripe-payment-element.php File 4076 bytes April 14 2025 14:55:34.
stripe.php File 46882 bytes April 16 2025 18:18:24.
text.php File 11490 bytes July 14 2025 15:42:34.
textarea.php File 11887 bytes July 14 2025 15:42:34.
time.php File 29459 bytes July 14 2025 15:42:34.
upload.php File 34058 bytes July 14 2025 15:42:34.
website.php File 8324 bytes July 14 2025 15:42:34.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins/forminator/library/fields//section.php

<?php
/**
 * The Forminator_Section class.
 *
 * @package Forminator
 */

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

/**
 * Class Forminator_Section
 *
 * @since 1.0
 */
class Forminator_Section extends Forminator_Field {

	/**
	 * Name
	 *
	 * @var string
	 */
	public $name = '';

	/**
	 * Slug
	 *
	 * @var string
	 */
	public $slug = 'section';

	/**
	 * Type
	 *
	 * @var string
	 */
	public $type = 'section';

	/**
	 * Position
	 *
	 * @var int
	 */
	public $position = 20;

	/**
	 * Options
	 *
	 * @var string
	 */
	public $options = array();

	/**
	 * Icon
	 *
	 * @var string
	 */
	public $icon = 'sui-icon-inlinecss';

	/**
	 * Forminator_Section constructor.
	 *
	 * @since 1.0
	 */
	public function __construct() {
		parent::__construct();

		$this->name = esc_html__( 'Section', 'forminator' );
	}

	/**
	 * Field defaults
	 *
	 * @since 1.0
	 * @return array
	 */
	public function defaults() {
		return array(
			'section_title'              => esc_html__( 'Form Section', 'forminator' ),
			'cform-section-border-style' => 'none',
		);
	}

	/**
	 * Autofill Setting
	 *
	 * @since 1.0.5
	 *
	 * @param array $settings Settings.
	 *
	 * @return array
	 */
	public function autofill_settings( $settings = array() ) {
		// Unsupported Autofill.
		$autofill_settings = array();

		return $autofill_settings;
	}

	/**
	 * Field front-end markup
	 *
	 * @since 1.0
	 *
	 * @param array                  $field Field.
	 * @param Forminator_Render_Form $views_obj Forminator_Render_Form object.
	 *
	 * @return mixed
	 */
	public function markup( $field, $views_obj ) {

		$this->field = $field;

		$html         = '';
		$id           = self::get_property( 'element_id', $field );
		$id           = $id . '-field';
		$title        = esc_html( self::get_property( 'section_title', $field ) );
		$subtitle     = esc_html( self::get_property( 'section_subtitle', $field ) );
		$border       = self::get_property( 'section_border', $field, 'none' );
		$border_width = self::get_property( 'cform-section-border-width', $field, 1 );
		$border_color = self::get_property( 'cform-section-border-color', $field, 1 );

		$html .= '<div class="forminator-field">';

		if ( ! empty( $title ) ) {
			$title = wp_specialchars_decode( $title );
			$html .= sprintf( '<h2 class="forminator-title">%s</h2>', $this->sanitize_output( $title ) );
		}

		if ( ! empty( $subtitle ) ) {
			$subtitle = wp_specialchars_decode( $subtitle );
			$html    .= sprintf( '<h3 class="forminator-subtitle">%s</h3>', $this->sanitize_output( $subtitle ) );
		}

		if ( 'none' !== $border ) {

			$border_width = self::get_property( 'cform-section-border-width', $field, 1 );
			$border_color = self::get_property( 'cform-section-border-color', $field, 1 );

			$html .= sprintf(
				'<hr class="forminator-border" style="border: %s %s %s;" />',
				$border_width . 'px',
				$border,
				$border_color
			);
		}

		$html .= '</div>';

		return apply_filters( 'forminator_field_section_markup', $html, $field );
	}

	/**
	 * Return sanitized form data
	 *
	 * @since 1.0
	 *
	 * @param string $content Content.
	 *
	 * @return mixed
	 */
	public function sanitize_output( $content ) {
		return esc_html( $content );
	}
}

SILENT KILLER Tool