ascvh@#%(^-^)V ?host,ip,port,protocol,title,domain,country,city,link,org ???à JFIF  x x ?? C         ?? C   ?à   " ??     ?? μ  } !1AQa "q2?‘?#B±áR?e$3br? %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??…???‰?’“”?–—???¢£¤¥|§¨?a23′μ?·?1o??????èéêòó???×?ùúáa?????èéê?òó???÷?ùú??     ?? μ   w !1AQ aq"2?B‘?±á #3Rebr?{ gilour

File "settings-page.php"

Full Path: /home/zcziejy/ryadselyen/parts/settings-page.php
File size: 1.17 KB
MIME-type: text/x-php
Charset: utf-8

<?php
	// Exits if accessed directly.
	if ( ! defined( 'ABSPATH' ) ) exit;
	
	flush_rewrite_rules();
?>

<div class="wrap ymfseo-settings-page">
	<h1><?php echo esc_html( get_admin_page_title() ); ?></h1>

	<!-- Navigation -->
	<nav class="ymfseo-settings-page__nav">
		<?php foreach ( YMFSEO_Settings::$registered_sections as $section ) : ?>
			<div class="ymfseo-settings-page__nav-item" data-target="<?php echo esc_attr( $section[ 'slug' ] ); ?>">
				<span class="dashicons <?php echo esc_attr( $section[ 'icon' ] ); ?>"></span>
				<span class="label"><?php echo esc_attr( $section[ 'title' ] ); ?></span>
			</div>
		<?php endforeach; ?>
	</nav>

	<!-- Form -->
	<form method="POST" action="options.php">
		<?php settings_fields( YMFSEO_Settings::$params[ 'page_slug' ] ); ?>

		<section>
			<?php do_settings_sections( YMFSEO_Settings::$params[ 'page_slug' ] ); ?>
		</section>
			
		<?php submit_button(); ?>
	</form>

	<!-- JS -->
	<script>
		window.addEventListener( 'DOMContentLoaded', e => {
			YMFSEO_Settings.initSettingsNav();
			YMFSEO_Settings.initSettingsSaveButtons();
			YMFSEO_Settings.initSettingsSections();
		});
	</script>
</div>