Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.96.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : form.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( 'You are not allowed to call this page directly.' );
}
?>
<div id="form_global_settings" class="frm_wrap">
	<form name="frm_settings_form" method="post" class="frm_settings_form"
		action="?page=formidable-settings<?php echo esc_html( $current ? '&amp;t=' . $current : '' ); ?>">
		<div>

			<?php
			FrmAppHelper::get_admin_header(
				array(
					'label'   => __( 'Settings', 'formidable' ),
					'publish' => array( 'FrmSettingsController::save_button', array() ),
				)
			);
			?>

			<div class="columns-2">
				<div class="frm-right-panel frm-scrollbar-wrapper">
					<?php require FrmAppHelper::plugin_path() . '/classes/views/frm-settings/tabs.php'; ?>
				</div>

				<div id="post-body-content" class="frm-fields">

					<?php require FrmAppHelper::plugin_path() . '/classes/views/shared/errors.php'; ?>
					<input type="hidden" name="frm_action" value="process-form"/>
					<input type="hidden" name="action" value="process-form"/>
					<?php wp_nonce_field( 'process_form_nonce', 'process_form' ); ?>

					<?php
					foreach ( $sections as $section ) {
						if ( $current === $section['anchor'] ) {
							?>
							<style type="text/css">.<?php echo esc_attr( $section['anchor'] ); ?> {
								display: block;
							}</style>
						<?php } ?>
						<div id="<?php echo esc_attr( $section['anchor'] ); ?>"
								class="<?php echo esc_attr( $section['anchor'] ); ?> tabs-panel <?php echo esc_attr( $current === $section['anchor'] ? 'frm_block' : 'frm_hidden' ); ?>">
								<h2 class="frm-h2">
									<?php FrmAppHelper::kses_echo( $section['name'], array( 'span' ) ); ?>
								</h2>
							<?php if ( isset( $section['ajax'] ) ) { ?>
								<div class="frm_ajax_settings_tab frm_<?php echo esc_attr( $section['anchor'] ); ?>_ajax">
									<span class="frm-wait"></span>
								</div>
							<?php } else { ?>
								<?php
								if ( isset( $section['class'] ) ) {
									call_user_func( array( $section['class'], $section['function'] ) );
								} elseif ( isset( $section['function'] ) ) {
									call_user_func( $section['function'] );
								}
							}
							do_action( 'frm_' . $section['anchor'] . '_form', $frm_settings );
							?>
						</div>
						<?php
					}//end foreach

					do_action( 'frm_after_settings_tabs' );
					?>
				</div>
			</div>
		</div>
	</form>
	<?php do_action( 'frm_after_settings' ); ?>
</div>
© 2025 XylotrechusZ