Jili 50 cash in philippines login.Claim Your Free 999 Pesos Bonus Today https://www.ads-software.com/support Fri, 26 Jul 2024 13:22:37 +0000 en-US hourly 1 https://www.ads-software.com/?v=6.8-alpha-59461 https://s.w.org/favicon.ico?2 Topic Tag: Get_Option | www.ads-software.com https://www.ads-software.com/support 32 32 151909983 MYSQL options table links – how did they get there? https://www.ads-software.com/support/topic/mysql-options-table-links-how-did-they-get-there/ Fri, 26 Jul 2024 13:22:37 +0000 https://www.ads-software.com/support/topic/mysql-options-table-links-how-did-they-get-there/ I have social media links in the footer of my wordpress template that are pulled from my options database. This is the Instagram one:

echo get_option($GLOBALS['SHORTNAME'].'_instagram_link','');

The trouble is I can’t find where these would have been entered into the options table from. The links are not in the links section of my admin and there doesn’t seem to be a widget for this. I did this so long ago I can’t remember how I did it. Is it possible that these could have been added to options via a plugin and if so does anyone know what plugin this might be as I don’t have a plugin installed that currently does this?

Many thanks.

]]>
17915124
Query only sticky posts (without “normal” posts) https://www.ads-software.com/support/topic/query-only-sticky-posts-without-normal-posts/ Wed, 15 Feb 2023 22:21:18 +0000 https://www.ads-software.com/support/topic/query-only-sticky-posts-without-normal-posts/ Hello!

I want to show max. 2 sticky posts on my blog in a specific loop. But if there is only one or no sticky post, the loop shouldn’t show “normal”posts.

But the following code shows “normal” posts if there are not 2 or more sticky posts:

$args   = array(
        'numberposts'         => 2,
	'post__in'            => get_option( 'sticky_posts'),
	'ignore_sticky_posts' => 1
        );
$sticky_posts = get_posts( $args );

Thank you a lot in advance!
Daniel

]]>
16475230
PHP Fatal error: Uncaught TypeError: in_array() … admin-functions.php:149 https://www.ads-software.com/support/topic/php-fatal-error-uncaught-typeerror-in_array-admin-functions-php149/ Thu, 09 Feb 2023 22:45:51 +0000 https://www.ads-software.com/support/topic/php-fatal-error-uncaught-typeerror-in_array-admin-functions-php149/ Fresh install of Duplicate Post 4.5 in WordPress 6.1.1 causes this PHP Fatal Error:

PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, bool given in .../duplicate-post/admin-functions.php:149

Function duplicate_post_plugin_upgrade() uses get_option() in line 145 which returns false which is not checked before in_array() call.

145:	$taxonomies_blacklist = get_option( 'duplicate_post_taxonomies_blacklist' );
146:	if ( $taxonomies_blacklist === '' ) {
147:		$taxonomies_blacklist = [];
148:	}
149:	if ( in_array( 'post_format', $taxonomies_blacklist, true ) ) {

Possible fix: Use second parameter in get_option() to supply '' or array() as default return value.

]]>
16457406
get_option is not working when Surge is active https://www.ads-software.com/support/topic/get_option-is-not-working-when-surge-is-active/ Wed, 09 Nov 2022 09:05:56 +0000 https://www.ads-software.com/support/topic/get_option-is-not-working-when-surge-is-active/ Hi Konstantin,

Thank you for great plugin.

Currently, trying to create a new custom plugin for REST API custom endpoints. When i try to use get_option in my api class located in my-plugin/api/customapi.class.php it is not working when surge plugin is active. When i deactivate the surge plugin it is working properly. can you please suggest a solution on this.

Thank you.

]]>
16180396
get_option does not return expected value https://www.ads-software.com/support/topic/get_option-does-not-return-expected-value/ Tue, 01 Nov 2022 11:50:22 +0000 https://www.ads-software.com/support/topic/get_option-does-not-return-expected-value/ Hello,

I ran into the issue when get_option does not return any value:
get_option( “_wp_session_{$this->session_id}”, array() );

It returns an empty value, but the value exists in DB and in cache.

I tested with 3 different methods one-by-one for option _wp_session_5c1f3b8058ca4b6cf9e637c31300bc23:

1) get_option
get_option( “_wp_session_5c1f3b8058ca4b6cf9e637c31300bc23”, array() );
It returns an empty value (but sometimes it works fine)

2) wp_cache_get
wp_cache_get( “_wp_session_f5f8546504975ed39fb121b6b1b7c829”, ‘options’ );
It returns correct value
a:6:{s:8:"edd_cart";s:40:"[{"id":79377,"options":[],"quantity":1}]";s:13:"edd_cart_fees";s:0:"";s:18:"edd_resume_payment";s:0:"";s:14:"cart_discounts";s:0:"";s:10:"edd_errors";s:0:"";s:12:"edd_purchase";s:1072:"{"downloads":[{"id":147706,"options":[],"quantity":1}],"fees":[],"subtotal":0,"discount":0,"tax":"0.00","tax_rate":0,"price":0,"purchase_key":"f7f8403a9d9edb93f9be9376d117c1f0","user_email":"","date":"2022-10-31 13:59:43","user_info":{"id":37847,"email":"","first_name":"","last_name":"","discount":"none","address":[]},"post_data":{"edd_email":"","edd_first":"","edd_last":"","edd_agree_to_terms":"1","edd-user-id":"","edd_action":"purchase","edd-gateway":"manual","edd-process-checkout-nonce":"911cf02037"},"cart_details":[{"name":"","id":,"item_number":{"id":147706,"options":[],"quantity":1},"item_price":0,"quantity":1,"discount":0,"subtotal":0,"tax":0,"fees":[],"price":0}],"gateway":"manual","card_info":{"card_name":"","card_cvc":"","card_exp_month":"","card_exp_year":"","card_address":"","card_address_2":"","card_city":"","card_state":"","card_country":"","card_zip":""}}";}
I removed some private information here.

3) direct DB request
$wpdb->get_results(‘SELECT * FROM wp_options WHERE option_name = “_wp_session_f5f8546504975ed39fb121b6b1b7c829″‘)
It returns correct value

Array
(
    [edd_cart] => [{"id":79377,"options":[],"quantity":1}]
    [edd_cart_fees] =>
    [edd_resume_payment] =>
    [cart_discounts] =>
    [edd_errors] =>
    [edd_purchase] => {"downloads":[{"id":147706,"options":[],"quantity":1}],"fees":[],"subtotal":0,"discount":0,"tax":"0.00","tax_rate":0,"price":0,"purchase_key":"f7f8403a9d9edb93f9be9376d117c1f0","user_email":"","date":"2022-10-31 13:59:43","user_info":{"id":37847,"email":"","first_name":"","last_name":"","discount":"none","address":[]},"post_data":{"edd_email":"","edd_first":"","edd_last":"","edd_agree_to_terms":"1","edd-user-id":"37847","edd_action":"purchase","edd-gateway":"manual","edd-process-checkout-nonce":"911cf02037"},"cart_details":[{"name":"","id":147706,"item_number":{"id":147706,"options":[],"quantity":1},"item_price":0,"quantity":1,"discount":0,"subtotal":0,"tax":0,"fees":[],"price":0}],"gateway":"manual","card_info":{"card_name":"","card_cvc":"","card_exp_month":"","card_exp_year":"","card_address":"","card_address_2":"","card_city":"","card_state":"","card_country":"","card_zip":""}}
)

I removed some private information here.

———————–

So the problem only with function get_option. I checked this function as well. It selects values for notoptions
$notoptions = wp_cache_get( ‘notoptions’, ‘options’ );

And if current option exists in this array – it do return

if ( isset( $notoptions[ $option ] ) ) {
			/**
			 * Filters the default value for an option.
			 *
			 * The dynamic portion of the hook name, <code>$option</code>, refers to the option name.
			 *
			 * @since 3.4.0
			 * @since 4.4.0 The <code>$option</code> parameter was added.
			 * @since 4.7.0 The <code>$passed_default</code> parameter was added to distinguish between a <code>false</code> value and the default parameter value.
			 *
			 * @param mixed  $default The default value to return if the option does not exist
			 *                        in the database.
			 * @param string $option  Option name.
			 * @param bool   $passed_default Was <code>get_option()</code> passed a default value?
			 */
			return apply_filters( "default_option_{$option}", $default, $option, $passed_default );
		}

Current option exists in this array, so it applies filter “default_option_{$option}”, function filter_default_option. But this function check get_registered_settings, and there is no information about this option, so it returns empty result.

That’s all information I have so far.

This problem exists at least for 1 year, for this time we always update WordPress core and Plugins for latest version, and it does not any affect.

]]>
16152417
home_url returns ip address instead of site url https://www.ads-software.com/support/topic/home_url-returns-ip-address-instead-of-site-url/ Mon, 06 Jun 2022 14:44:28 +0000 https://www.ads-software.com/support/topic/home_url-returns-ip-address-instead-of-site-url/ I am using WC webhooks for update order and new order events. The API processor looks at the x-wc-webhook-source to identify from which site does the webhook come from.
The problem is that in some random cases, the x-wc-webhook-source is filled with the ip address of the site, instead of the domain name. This causes problem at the API processor as it cannot identify the source properly with the ip address.

The header is set here: https://github.com/woocommerce/woocommerce/blob/3611d4643791bad87a0d3e6e73e031bb80447417/plugins/woocommerce/includes/class-wc-webhook.php#L339

I see that it calls the get_option function, so it’s probably a wp issue and not a wc issue, but I’m not sure.

Any idea why can it be and how can this be fixed?

]]>
15712949
Passing settings plugin arguments to front-end https://www.ads-software.com/support/topic/passing-settings-plugin-arguments-to-front-end/ Wed, 30 Mar 2022 06:39:07 +0000 https://www.ads-software.com/support/topic/passing-settings-plugin-arguments-to-front-end/ Hi, I’m a newbee on WP, I’m not a code writer by profession but I do google and yt around to get it working. probably a duck tape solution that can be rewritten in 10 times less code…
but here it goes. I have created a plugin where I have arguments. (text, textarea, checkboxes). all those arguments are saved via the plugin that is reachable via the backend.
How can I use these arguments in the front end?
I hoped that: $options = get_option( ‘older_MSI_version’ ); but it does not…

<?php

function loginflow_add_settings_page() {
    add_options_page( 'Loginflow Settings', 'Loginflow', 'manage_options', 'login-plugin', 'loginflow_settings_template_callback' );
}

add_action( 'admin_menu', 'loginflow_add_settings_page' );

function loginflow_settings_template_callback() {
    if( isset( $_GET[ 'tab' ] ) ) {
             $active_tab = $_GET[ 'tab' ];
        } 
    ?>
        <h2>Login flow Settings</h2>
    <h2 class="nav-tab-wrapper">
        <a href="?page=login-plugin&tab=old_msi" class="nav-tab <?php echo $active_tab == 'old_msi' ? 'nav-tab-active' : ''; ?>">Old MSI</a>
        <a href="?page=login-plugin&tab=message_1" class="nav-tab <?php echo $active_tab == 'message_1' ? 'nav-tab-active' : ''; ?>">Message 1</a>
        <a href="?page=login-plugin&tab=message_2" class="nav-tab <?php echo $active_tab == 'message_2' ? 'nav-tab-active' : ''; ?>">Message 2</a>
        <a href="?page=login-plugin&tab=message_3" class="nav-tab <?php echo $active_tab == 'message_3' ? 'nav-tab-active' : ''; ?>">Message 3</a>
        <a href="?page=login-plugin&tab=message_4" class="nav-tab <?php echo $active_tab == 'message_4' ? 'nav-tab-active' : ''; ?>">Message 4</a>
        <a href="?page=login-plugin&tab=message_5" class="nav-tab <?php echo $active_tab == 'message_5' ? 'nav-tab-active' : ''; ?>">Message 5</a>
        <a href="?page=login-plugin&tab=message_6" class="nav-tab <?php echo $active_tab == 'message_6' ? 'nav-tab-active' : ''; ?>">Message 6</a>
        <a href="?page=login-plugin&tab=message_7" class="nav-tab <?php echo $active_tab == 'message_7' ? 'nav-tab-active' : ''; ?>">Message 7</a>
        <a href="?page=login-plugin&tab=message_8" class="nav-tab <?php echo $active_tab == 'message_8' ? 'nav-tab-active' : ''; ?>">Message 8</a>
        <a href="?page=login-plugin&tab=message_9" class="nav-tab <?php echo $active_tab == 'message_9' ? 'nav-tab-active' : ''; ?>">Message 9</a>
        <a href="?page=login-plugin&tab=message_10" class="nav-tab <?php echo $active_tab == 'message_10' ? 'nav-tab-active' : ''; ?>">Message 10</a>
    </h2>
    
    

    
    <?php
        if( $active_tab == 'old_msi' ) { ?>
    
            <form  method="post">
                <?php
                settings_fields( 'loginflow-settings-old-msi' );
                do_settings_sections( 'loginflow-settings-page-old-msi' ); 
                ?>
                <input name="submit_old_msi" class="button button-primary" type="submit" value="Save" />
            </form>
        <?php
        } elseif ( $active_tab == 'message_1' ) { ?>
            <form  method="post">
                <?php
                settings_fields( 'loginflow-settings-message-1' );
                do_settings_sections( 'loginflow-settings-page-message-1' ); 
                ?>
                <input name="submit_message_1" class="button button-primary" type="submit" value="Save" />
            </form>
        <?php            
        } elseif ( $active_tab == 'message_2' ) { ?>
            <form  method="post">
                <?php
                settings_fields( 'loginflow-settings-message-2' );
                do_settings_sections( 'loginflow-settings-page-message-2' ); 
                ?>
                <input name="submit_message_2" class="button button-primary" type="submit" value="Save" />
            </form>
        <?php  
        } elseif ( $active_tab == 'message_3' ) { ?>
            <form  method="post">
                <?php
                settings_fields( 'loginflow-settings-message-3' );
                do_settings_sections( 'loginflow-settings-page-message-3' ); 
                ?>
                <input name="submit_message_3" class="button button-primary" type="submit" value="Save" />
            </form>
        <?php 
        } elseif ( $active_tab == 'message_4' ) { ?>
            <form  method="post">
                <?php
                settings_fields( 'loginflow-settings-message-4' );
                do_settings_sections( 'loginflow-settings-page-message-4' ); 
                ?>
                <input name="submit_message_4" class="button button-primary" type="submit" value="Save" />
            </form>
        <?php 
        } elseif ( $active_tab == 'message_5' ) { ?>
            <form  method="post">
                <?php
                settings_fields( 'loginflow-settings-message-5' );
                do_settings_sections( 'loginflow-settings-page-message-5' ); 
                ?>
                <input name="submit_message_5" class="button button-primary" type="submit" value="Save" />
            </form>
        <?php 
        } elseif ( $active_tab == 'message_6' ) { ?>
            <form  method="post">
                <?php
                settings_fields( 'loginflow-settings-message-6' );
                do_settings_sections( 'loginflow-settings-page-message-6' ); 
                ?>
                <input name="submit_message_6" class="button button-primary" type="submit" value="Save" />
            </form>
        <?php 
        } elseif ( $active_tab == 'message_7' ) { ?>
            <form  method="post">
                <?php
                settings_fields( 'loginflow-settings-message-7' );
                do_settings_sections( 'loginflow-settings-page-message-7' ); 
                ?>
                <input name="submit_message_7" class="button button-primary" type="submit" value="Save" />
            </form>
        <?php 
        } elseif ( $active_tab == 'message_8' ) { ?>
            <form  method="post">
                <?php
                settings_fields( 'loginflow-settings-message-8' );
                do_settings_sections( 'loginflow-settings-page-message-8' ); 
                ?>
                <input name="submit_message_8" class="button button-primary" type="submit" value="Save" />
            </form>
        <?php 
        } elseif ( $active_tab == 'message_9' ) { ?>
            <form  method="post">
                <?php
                settings_fields( 'loginflow-settings-message-9' );
                do_settings_sections( 'loginflow-settings-page-message-9' ); 
                ?>
                <input name="submit_message_9" class="button button-primary" type="submit" value="Save" />
            </form>
        <?php
        } elseif ( $active_tab == 'message_10' ) { ?>
            <form  method="post">
                <?php
                settings_fields( 'loginflow-settings-message-10' );
                do_settings_sections( 'loginflow-settings-page-message-10' ); 
                ?>
                <input name="submit_message_10" class="button button-primary" type="submit" value="Save" />
            </form>
        <?php 
        } else {   

        }    
            
        ?>

    <?php
}

// OLD MSI CODE -----   START -------
function loginflow_register_settings_old_msi() {
    register_setting( 'loginflow-settings-old-msi', 'loginflow-settings-old-msi', 'loginflow_settings_page_validate_old_msi' );
    add_settings_section( 'older_MSI_settings', '', '', 'loginflow-settings-page-old-msi' );
    add_settings_field( 'older_MSI_setting_version', 'Version : ', 'older_MSI_setting_version', 'loginflow-settings-page-old-msi', 'older_MSI_settings' );
    add_settings_field( 'older_MSI_setting_action', 'Action : ', 'older_MSI_setting_action', 'loginflow-settings-page-old-msi', 'older_MSI_settings' );
    add_settings_field( 'older_MSI_setting_timer', 'timer : ', 'older_MSI_setting_timer', 'loginflow-settings-page-old-msi', 'older_MSI_settings' );
    add_settings_field( 'older_MSI_setting_text', 'text : ', 'older_MSI_setting_text', 'loginflow-settings-page-old-msi', 'older_MSI_settings' );
}

add_action( 'admin_init', 'loginflow_register_settings_old_msi' );

function loginflow_settings_page_validate_old_msi( $input ) {
    $newinput['api_key'] = trim( $input['api_key'] );
    if ( ! preg_match( '/^[a-z0-9]{32}$/i', $newinput['api_key'] ) ) {
        $newinput['api_key'] = '';
    }
    return $newinput;
}

function older_MSI_setting_version() {
    $options = get_option( 'older_MSI_version' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='older_MSI_setting_version' name='older_MSI_setting_version' type='text' value='" . esc_attr( $options ) . "' />";
}

function older_MSI_setting_action() {
    $options = get_option( 'older_MSI_action' );/* ==> ook te gebruiken op de front end */
    $nothing = '';
    $inform = '';
    $warnanddelay = '';
    $warnandblock = '';
    switch ($options) {
        case 'Nothing':
            $nothing = selected;
            break;
        case 'Inform':
            $inform = selected;
            break;
        case 'WarnAndDelay':
            $warnanddelay = selected;
            break;
        case 'WarnAndBlock':
            $warnandblock = selected;
            break;
    }
    echo "
    <label for='older_MSI_setting_action'></label>
    <select name='older_MSI_setting_action' id='older_MSI_setting_action'>
    <option value='Nothing' " . $nothing .">Nothing</option>
    <option value='Inform'" . $inform .">Inform</option>
    <option value='WarnAndDelay' " . $warnanddelay .">Warn and delay</option>
    <option value='WarnAndBlock' " . $warnandblock .">Warn and block</option></select>";
}

function older_MSI_setting_timer() {
    $options = get_option( 'older_MSI_timer' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='older_MSI_setting_timer' name='older_MSI_setting_timer' type='text' value='" . esc_attr( $options ) . "' />";
}

function older_MSI_setting_text() {
    $options = get_option( 'older_MSI_text' ); /* ==> ook te gebruiken op de front end */
    echo "<textarea id='older_MSI_setting_text' name='older_MSI_setting_text' rows='20' cols='150'>". esc_attr( $options ) . "</textarea>";
}

if(isset($_POST['submit_old_msi'])){
    update_option('older_MSI_version', $_POST['older_MSI_setting_version']);
    update_option('older_MSI_action', $_POST['older_MSI_setting_action']);
    update_option('older_MSI_timer', $_POST['older_MSI_setting_timer']);
    update_option('older_MSI_text', $_POST['older_MSI_setting_text']);
    
}

// OLD MSI CODE -----  END -------

// MESSAGE 1 code ---------- START ------------

function loginflow_register_settings_message_1() {
    register_setting( 'loginflow-settings-message_1', 'loginflow-settings-message-1', 'loginflow_settings_page_validate_message_1' );
    add_settings_section( 'message_1_settings', '','', 'loginflow-settings-page-message-1' );
    add_settings_field( 'message_1_setting_version', 'Version : ', 'message_1_setting_version', 'loginflow-settings-page-message-1', 'message_1_settings' );
    add_settings_field( 'message_1_setting_browser', 'Browser : ', 'message_1_setting_browser', 'loginflow-settings-page-message-1', 'message_1_settings' );
    add_settings_field( 'message_1_setting_os', 'OS : ', 'message_1_setting_os', 'loginflow-settings-page-message-1', 'message_1_settings' );    
    add_settings_field( 'message_1_setting_action', 'Action : ', 'message_1_setting_action', 'loginflow-settings-page-message-1', 'message_1_settings' );
    add_settings_field( 'message_1_setting_timer', 'timer : ', 'message_1_setting_timer', 'loginflow-settings-page-message-1', 'message_1_settings' );
    add_settings_field( 'message_1_setting_text', 'text : ', 'message_1_setting_text', 'loginflow-settings-page-message-1', 'message_1_settings' );
}

add_action( 'admin_init', 'loginflow_register_settings_message_1' );

function loginflow_settings_page_validate_message_1( $input ) {
    $newinput['api_key'] = trim( $input['api_key'] );
    if ( ! preg_match( '/^[a-z0-9]{32}$/i', $newinput['api_key'] ) ) {
        $newinput['api_key'] = '';
    }
    return $newinput;
}

function message_1_setting_version() {
    $options = get_option( 'message_1_version' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_1_setting_version' name='message_1_setting_version' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_1_setting_browser() {
    $options = get_option( 'message_1_browser_chrome' ); 
    echo "Chrome <input id='message_1_setting_browser_chrome' name='message_1_setting_browser_chrome' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_1_browser_edge' ); 
    echo "Edge Chromium <input id='message_1_setting_browser_edge' name='message_1_setting_browser_edge' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_1_browser_firefox' ); 
    echo "Firefox <input id='message_1_setting_browser_firefox' name='message_1_setting_browser_firefox' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_1_browser_safari' ); 
    echo "Safari <input id='message_1_setting_browser_safari' name='message_1_setting_browser_safari' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_1_setting_os() {
    $options = get_option( 'message_1_os_win81' ); 
    echo "8.1 <input id='message_1_setting_os_win81' name='message_1_setting_os_win81' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_1_os_win10' ); 
    echo "WIN 10 <input id='message_1_setting_os_win10' name='message_1_setting_os_win10' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_1_os_win11' ); 
    echo "WIN 11 <input id='message_1_setting_os_win11' name='message_1_setting_os_win11' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_1_os_mac' ); 
    echo "MAC <input id='message_1_setting_os_mac' name='message_1_setting_os_mac' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_1_setting_action() {
    $options = get_option( 'message_1_action' );/* ==> ook te gebruiken op de front end */
    $nothing = '';
    $inform = '';
    $warnanddelay = '';
    $warnandblock = '';
    switch ($options) {
        case 'Nothing':
            $nothing = selected;
            break;
        case 'Inform':
            $inform = selected;
            break;
        case 'WarnAndDelay':
            $warnanddelay = selected;
            break;
        case 'WarnAndBlock':
            $warnandblock = selected;
            break;
    }
    echo "
    <label for='message_1_setting_action'></label>
    <select name='message_1_setting_action' id='message_1_setting_action'>
    <option value='Nothing' " . $nothing .">Nothing</option>
    <option value='Inform'" . $inform .">Inform</option>
    <option value='WarnAndDelay' " . $warnanddelay .">Warn and delay</option>
    <option value='WarnAndBlock' " . $warnandblock .">Warn and block</option></select>";
}

function message_1_setting_timer() {
    $options = get_option( 'message_1_timer' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_1_setting_timer' name='message_1_setting_timer' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_1_setting_text() {
    $options = get_option( 'message_1_text' ); /* ==> ook te gebruiken op de front end */
    echo "<textarea id='message_1_setting_text' name='message_1_setting_text' rows='20' cols='150'>". esc_attr( $options ) . "</textarea>";
}

if(isset($_POST['submit_message_1'])){
    update_option('message_1_version', $_POST['message_1_setting_version']);
    update_option('message_1_browser_chrome', $_POST['message_1_setting_browser_chrome']);
    update_option('message_1_browser_edge', $_POST['message_1_setting_browser_edge']);
    update_option('message_1_browser_firefox', $_POST['message_1_setting_browser_firefox']);
    update_option('message_1_browser_safari', $_POST['message_1_setting_browser_safari']);
    update_option('message_1_os_win81', $_POST['message_1_setting_os_win81']);
    update_option('message_1_os_win10', $_POST['message_1_setting_os_win10']);
    update_option('message_1_os_win11', $_POST['message_1_setting_os_win11']);
    update_option('message_1_os_mac', $_POST['message_1_setting_os_mac']);
    update_option('message_1_action', $_POST['message_1_setting_action']);
    update_option('message_1_timer', $_POST['message_1_setting_timer']);
    update_option('message_1_text', $_POST['message_1_setting_text']);
    
}

// MESSAGE 1 code ---------- END ------------

// MESSAGE 2 code ---------- START ------------

function loginflow_register_settings_message_2() {
    register_setting( 'loginflow-settings-message_2', 'loginflow-settings-message-2', 'loginflow_settings_page_validate_message_2' );
    add_settings_section( 'message_2_settings', '','', 'loginflow-settings-page-message-2' );
    add_settings_field( 'message_2_setting_version', 'Version : ', 'message_2_setting_version', 'loginflow-settings-page-message-2', 'message_2_settings' );
    add_settings_field( 'message_2_setting_browser', 'Browser : ', 'message_2_setting_browser', 'loginflow-settings-page-message-2', 'message_2_settings' );
    add_settings_field( 'message_2_setting_os', 'OS : ', 'message_2_setting_os', 'loginflow-settings-page-message-2', 'message_2_settings' );    
    add_settings_field( 'message_2_setting_action', 'Action : ', 'message_2_setting_action', 'loginflow-settings-page-message-2', 'message_2_settings' );
    add_settings_field( 'message_2_setting_timer', 'timer : ', 'message_2_setting_timer', 'loginflow-settings-page-message-2', 'message_2_settings' );
    add_settings_field( 'message_2_setting_text', 'text : ', 'message_2_setting_text', 'loginflow-settings-page-message-2', 'message_2_settings' );
}

add_action( 'admin_init', 'loginflow_register_settings_message_2' );

function loginflow_settings_page_validate_message_2( $input ) {
    $newinput['api_key'] = trim( $input['api_key'] );
    if ( ! preg_match( '/^[a-z0-9]{32}$/i', $newinput['api_key'] ) ) {
        $newinput['api_key'] = '';
    }
    return $newinput;
}

function message_2_setting_version() {
    $options = get_option( 'message_2_version' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_2_setting_version' name='message_2_setting_version' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_2_setting_browser() {
    $options = get_option( 'message_2_browser_chrome' ); 
    echo "Chrome <input id='message_2_setting_browser_chrome' name='message_2_setting_browser_chrome' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_2_browser_edge' ); 
    echo "Edge Chromium <input id='message_2_setting_browser_edge' name='message_2_setting_browser_edge' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_2_browser_firefox' ); 
    echo "Firefox <input id='message_2_setting_browser_firefox' name='message_2_setting_browser_firefox' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_2_browser_safari' ); 
    echo "Safari <input id='message_2_setting_browser_safari' name='message_2_setting_browser_safari' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_2_setting_os() {
    $options = get_option( 'message_2_os_win81' ); 
    echo "8.1 <input id='message_2_setting_os_win81' name='message_2_setting_os_win81' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_2_os_win10' ); 
    echo "WIN 10 <input id='message_2_setting_os_win10' name='message_2_setting_os_win10' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_2_os_win11' ); 
    echo "WIN 11 <input id='message_2_setting_os_win11' name='message_2_setting_os_win11' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_2_os_mac' ); 
    echo "MAC <input id='message_2_setting_os_mac' name='message_2_setting_os_mac' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_2_setting_action() {
    $options = get_option( 'message_2_action' );/* ==> ook te gebruiken op de front end */
    $nothing = '';
    $inform = '';
    $warnanddelay = '';
    $warnandblock = '';
    switch ($options) {
        case 'Nothing':
            $nothing = selected;
            break;
        case 'Inform':
            $inform = selected;
            break;
        case 'WarnAndDelay':
            $warnanddelay = selected;
            break;
        case 'WarnAndBlock':
            $warnandblock = selected;
            break;
    }
    echo "
    <label for='message_2_setting_action'></label>
    <select name='message_2_setting_action' id='message_2_setting_action'>
    <option value='Nothing' " . $nothing .">Nothing</option>
    <option value='Inform'" . $inform .">Inform</option>
    <option value='WarnAndDelay' " . $warnanddelay .">Warn and delay</option>
    <option value='WarnAndBlock' " . $warnandblock .">Warn and block</option></select>";
}

function message_2_setting_timer() {
    $options = get_option( 'message_2_timer' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_2_setting_timer' name='message_2_setting_timer' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_2_setting_text() {
    $options = get_option( 'message_2_text' ); /* ==> ook te gebruiken op de front end */
    echo "<textarea id='message_2_setting_text' name='message_2_setting_text' rows='20' cols='150'>". esc_attr( $options ) . "</textarea>";
}

if(isset($_POST['submit_message_2'])){
    update_option('message_2_version', $_POST['message_2_setting_version']);
    update_option('message_2_browser_chrome', $_POST['message_2_setting_browser_chrome']);
    update_option('message_2_browser_edge', $_POST['message_2_setting_browser_edge']);
    update_option('message_2_browser_firefox', $_POST['message_2_setting_browser_firefox']);
    update_option('message_2_browser_safari', $_POST['message_2_setting_browser_safari']);
    update_option('message_2_os_win81', $_POST['message_2_setting_os_win81']);
    update_option('message_2_os_win10', $_POST['message_2_setting_os_win10']);
    update_option('message_2_os_win11', $_POST['message_2_setting_os_win11']);
    update_option('message_2_os_mac', $_POST['message_2_setting_os_mac']);
    update_option('message_2_action', $_POST['message_2_setting_action']);
    update_option('message_2_timer', $_POST['message_2_setting_timer']);
    update_option('message_2_text', $_POST['message_2_setting_text']);
    
}

// MESSAGE 2 code ---------- END ------------

// message-3 code ---------- START ------------

function loginflow_register_settings_message_3() {
    register_setting( 'loginflow-settings-message_3', 'loginflow-settings-message-3', 'loginflow_settings_page_validate_message_3' );
    add_settings_section( 'message_3_settings', '','', 'loginflow-settings-page-message-3' );
    add_settings_field( 'message_3_setting_version', 'Version : ', 'message_3_setting_version', 'loginflow-settings-page-message-3', 'message_3_settings' );
    add_settings_field( 'message_3_setting_browser', 'Browser : ', 'message_3_setting_browser', 'loginflow-settings-page-message-3', 'message_3_settings' );
    add_settings_field( 'message_3_setting_os', 'OS : ', 'message_3_setting_os', 'loginflow-settings-page-message-3', 'message_3_settings' );    
    add_settings_field( 'message_3_setting_action', 'Action : ', 'message_3_setting_action', 'loginflow-settings-page-message-3', 'message_3_settings' );
    add_settings_field( 'message_3_setting_timer', 'timer : ', 'message_3_setting_timer', 'loginflow-settings-page-message-3', 'message_3_settings' );
    add_settings_field( 'message_3_setting_text', 'text : ', 'message_3_setting_text', 'loginflow-settings-page-message-3', 'message_3_settings' );
}

add_action( 'admin_init', 'loginflow_register_settings_message_3' );

function loginflow_settings_page_validate_message_3( $input ) {
    $newinput['api_key'] = trim( $input['api_key'] );
    if ( ! preg_match( '/^[a-z0-9]{32}$/i', $newinput['api_key'] ) ) {
        $newinput['api_key'] = '';
    }
    return $newinput;
}

function message_3_setting_version() {
    $options = get_option( 'message_3_version' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_3_setting_version' name='message_3_setting_version' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_3_setting_browser() {
    $options = get_option( 'message_3_browser_chrome' ); 
    echo "Chrome <input id='message_3_setting_browser_chrome' name='message_3_setting_browser_chrome' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_3_browser_edge' ); 
    echo "Edge Chromium <input id='message_3_setting_browser_edge' name='message_3_setting_browser_edge' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_3_browser_firefox' ); 
    echo "Firefox <input id='message_3_setting_browser_firefox' name='message_3_setting_browser_firefox' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_3_browser_safari' ); 
    echo "Safari <input id='message_3_setting_browser_safari' name='message_3_setting_browser_safari' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_3_setting_os() {
    $options = get_option( 'message_3_os_win81' ); 
    echo "8.1 <input id='message_3_setting_os_win81' name='message_3_setting_os_win81' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_3_os_win10' ); 
    echo "WIN 10 <input id='message_3_setting_os_win10' name='message_3_setting_os_win10' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_3_os_win11' ); 
    echo "WIN 11 <input id='message_3_setting_os_win11' name='message_3_setting_os_win11' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_3_os_mac' ); 
    echo "MAC <input id='message_3_setting_os_mac' name='message_3_setting_os_mac' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_3_setting_action() {
    $options = get_option( 'message_3_action' );/* ==> ook te gebruiken op de front end */
    $nothing = '';
    $inform = '';
    $warnanddelay = '';
    $warnandblock = '';
    switch ($options) {
        case 'Nothing':
            $nothing = selected;
            break;
        case 'Inform':
            $inform = selected;
            break;
        case 'WarnAndDelay':
            $warnanddelay = selected;
            break;
        case 'WarnAndBlock':
            $warnandblock = selected;
            break;
    }
    echo "
    <label for='message_3_setting_action'></label>
    <select name='message_3_setting_action' id='message_3_setting_action'>
    <option value='Nothing' " . $nothing .">Nothing</option>
    <option value='Inform'" . $inform .">Inform</option>
    <option value='WarnAndDelay' " . $warnanddelay .">Warn and delay</option>
    <option value='WarnAndBlock' " . $warnandblock .">Warn and block</option></select>";
}

function message_3_setting_timer() {
    $options = get_option( 'message_3_timer' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_3_setting_timer' name='message_3_setting_timer' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_3_setting_text() {
    $options = get_option( 'message_3_text' ); /* ==> ook te gebruiken op de front end */
    echo "<textarea id='message_3_setting_text' name='message_3_setting_text' rows='20' cols='150'>". esc_attr( $options ) . "</textarea>";
}

if(isset($_POST['submit_message_3'])){
    update_option('message_3_version', $_POST['message_3_setting_version']);
    update_option('message_3_browser_chrome', $_POST['message_3_setting_browser_chrome']);
    update_option('message_3_browser_edge', $_POST['message_3_setting_browser_edge']);
    update_option('message_3_browser_firefox', $_POST['message_3_setting_browser_firefox']);
    update_option('message_3_browser_safari', $_POST['message_3_setting_browser_safari']);
    update_option('message_3_os_win81', $_POST['message_3_setting_os_win81']);
    update_option('message_3_os_win10', $_POST['message_3_setting_os_win10']);
    update_option('message_3_os_win11', $_POST['message_3_setting_os_win11']);
    update_option('message_3_os_mac', $_POST['message_3_setting_os_mac']);
    update_option('message_3_action', $_POST['message_3_setting_action']);
    update_option('message_3_timer', $_POST['message_3_setting_timer']);
    update_option('message_3_text', $_POST['message_3_setting_text']);
    
}

// message-3 code ---------- END ------------

// message-4 code ---------- START ------------

function loginflow_register_settings_message_4() {
    register_setting( 'loginflow-settings-message_4', 'loginflow-settings-message-4', 'loginflow_settings_page_validate_message_4' );
    add_settings_section( 'message_4_settings', '','', 'loginflow-settings-page-message-4' );
    add_settings_field( 'message_4_setting_version', 'Version : ', 'message_4_setting_version', 'loginflow-settings-page-message-4', 'message_4_settings' );
    add_settings_field( 'message_4_setting_browser', 'Browser : ', 'message_4_setting_browser', 'loginflow-settings-page-message-4', 'message_4_settings' );
    add_settings_field( 'message_4_setting_os', 'OS : ', 'message_4_setting_os', 'loginflow-settings-page-message-4', 'message_4_settings' );    
    add_settings_field( 'message_4_setting_action', 'Action : ', 'message_4_setting_action', 'loginflow-settings-page-message-4', 'message_4_settings' );
    add_settings_field( 'message_4_setting_timer', 'timer : ', 'message_4_setting_timer', 'loginflow-settings-page-message-4', 'message_4_settings' );
    add_settings_field( 'message_4_setting_text', 'text : ', 'message_4_setting_text', 'loginflow-settings-page-message-4', 'message_4_settings' );
}

add_action( 'admin_init', 'loginflow_register_settings_message_4' );

function loginflow_settings_page_validate_message_4( $input ) {
    $newinput['api_key'] = trim( $input['api_key'] );
    if ( ! preg_match( '/^[a-z0-9]{32}$/i', $newinput['api_key'] ) ) {
        $newinput['api_key'] = '';
    }
    return $newinput;
}

function message_4_setting_version() {
    $options = get_option( 'message_4_version' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_4_setting_version' name='message_4_setting_version' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_4_setting_browser() {
    $options = get_option( 'message_4_browser_chrome' ); 
    echo "Chrome <input id='message_4_setting_browser_chrome' name='message_4_setting_browser_chrome' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_4_browser_edge' ); 
    echo "Edge Chromium <input id='message_4_setting_browser_edge' name='message_4_setting_browser_edge' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_4_browser_firefox' ); 
    echo "Firefox <input id='message_4_setting_browser_firefox' name='message_4_setting_browser_firefox' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_4_browser_safari' ); 
    echo "Safari <input id='message_4_setting_browser_safari' name='message_4_setting_browser_safari' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_4_setting_os() {
    $options = get_option( 'message_4_os_win81' ); 
    echo "8.1 <input id='message_4_setting_os_win81' name='message_4_setting_os_win81' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_4_os_win10' ); 
    echo "WIN 10 <input id='message_4_setting_os_win10' name='message_4_setting_os_win10' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_4_os_win11' ); 
    echo "WIN 11 <input id='message_4_setting_os_win11' name='message_4_setting_os_win11' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_4_os_mac' ); 
    echo "MAC <input id='message_4_setting_os_mac' name='message_4_setting_os_mac' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_4_setting_action() {
    $options = get_option( 'message_4_action' );/* ==> ook te gebruiken op de front end */
    $nothing = '';
    $inform = '';
    $warnanddelay = '';
    $warnandblock = '';
    switch ($options) {
        case 'Nothing':
            $nothing = selected;
            break;
        case 'Inform':
            $inform = selected;
            break;
        case 'WarnAndDelay':
            $warnanddelay = selected;
            break;
        case 'WarnAndBlock':
            $warnandblock = selected;
            break;
    }
    echo "
    <label for='message_4_setting_action'></label>
    <select name='message_4_setting_action' id='message_4_setting_action'>
    <option value='Nothing' " . $nothing .">Nothing</option>
    <option value='Inform'" . $inform .">Inform</option>
    <option value='WarnAndDelay' " . $warnanddelay .">Warn and delay</option>
    <option value='WarnAndBlock' " . $warnandblock .">Warn and block</option></select>";
}

function message_4_setting_timer() {
    $options = get_option( 'message_4_timer' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_4_setting_timer' name='message_4_setting_timer' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_4_setting_text() {
    $options = get_option( 'message_4_text' ); /* ==> ook te gebruiken op de front end */
    echo "<textarea id='message_4_setting_text' name='message_4_setting_text' rows='20' cols='150'>". esc_attr( $options ) . "</textarea>";
}

if(isset($_POST['submit_message_4'])){
    update_option('message_4_version', $_POST['message_4_setting_version']);
    update_option('message_4_browser_chrome', $_POST['message_4_setting_browser_chrome']);
    update_option('message_4_browser_edge', $_POST['message_4_setting_browser_edge']);
    update_option('message_4_browser_firefox', $_POST['message_4_setting_browser_firefox']);
    update_option('message_4_browser_safari', $_POST['message_4_setting_browser_safari']);
    update_option('message_4_os_win81', $_POST['message_4_setting_os_win81']);
    update_option('message_4_os_win10', $_POST['message_4_setting_os_win10']);
    update_option('message_4_os_win11', $_POST['message_4_setting_os_win11']);
    update_option('message_4_os_mac', $_POST['message_4_setting_os_mac']);
    update_option('message_4_action', $_POST['message_4_setting_action']);
    update_option('message_4_timer', $_POST['message_4_setting_timer']);
    update_option('message_4_text', $_POST['message_4_setting_text']);
    
}

// message-4 code ---------- END ------------

// message-5 code ---------- START ------------

function loginflow_register_settings_message_5() {
    register_setting( 'loginflow-settings-message_5', 'loginflow-settings-message-5', 'loginflow_settings_page_validate_message_5' );
    add_settings_section( 'message_5_settings', '','', 'loginflow-settings-page-message-5' );
    add_settings_field( 'message_5_setting_version', 'Version : ', 'message_5_setting_version', 'loginflow-settings-page-message-5', 'message_5_settings' );
    add_settings_field( 'message_5_setting_browser', 'Browser : ', 'message_5_setting_browser', 'loginflow-settings-page-message-5', 'message_5_settings' );
    add_settings_field( 'message_5_setting_os', 'OS : ', 'message_5_setting_os', 'loginflow-settings-page-message-5', 'message_5_settings' );    
    add_settings_field( 'message_5_setting_action', 'Action : ', 'message_5_setting_action', 'loginflow-settings-page-message-5', 'message_5_settings' );
    add_settings_field( 'message_5_setting_timer', 'timer : ', 'message_5_setting_timer', 'loginflow-settings-page-message-5', 'message_5_settings' );
    add_settings_field( 'message_5_setting_text', 'text : ', 'message_5_setting_text', 'loginflow-settings-page-message-5', 'message_5_settings' );
}

add_action( 'admin_init', 'loginflow_register_settings_message_5' );

function loginflow_settings_page_validate_message_5( $input ) {
    $newinput['api_key'] = trim( $input['api_key'] );
    if ( ! preg_match( '/^[a-z0-9]{32}$/i', $newinput['api_key'] ) ) {
        $newinput['api_key'] = '';
    }
    return $newinput;
}

function message_5_setting_version() {
    $options = get_option( 'message_5_version' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_5_setting_version' name='message_5_setting_version' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_5_setting_browser() {
    $options = get_option( 'message_5_browser_chrome' ); 
    echo "Chrome <input id='message_5_setting_browser_chrome' name='message_5_setting_browser_chrome' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_5_browser_edge' ); 
    echo "Edge Chromium <input id='message_5_setting_browser_edge' name='message_5_setting_browser_edge' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_5_browser_firefox' ); 
    echo "Firefox <input id='message_5_setting_browser_firefox' name='message_5_setting_browser_firefox' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_5_browser_safari' ); 
    echo "Safari <input id='message_5_setting_browser_safari' name='message_5_setting_browser_safari' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_5_setting_os() {
    $options = get_option( 'message_5_os_win81' ); 
    echo "8.1 <input id='message_5_setting_os_win81' name='message_5_setting_os_win81' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_5_os_win10' ); 
    echo "WIN 10 <input id='message_5_setting_os_win10' name='message_5_setting_os_win10' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_5_os_win11' ); 
    echo "WIN 11 <input id='message_5_setting_os_win11' name='message_5_setting_os_win11' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_5_os_mac' ); 
    echo "MAC <input id='message_5_setting_os_mac' name='message_5_setting_os_mac' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_5_setting_action() {
    $options = get_option( 'message_5_action' );/* ==> ook te gebruiken op de front end */
    $nothing = '';
    $inform = '';
    $warnanddelay = '';
    $warnandblock = '';
    switch ($options) {
        case 'Nothing':
            $nothing = selected;
            break;
        case 'Inform':
            $inform = selected;
            break;
        case 'WarnAndDelay':
            $warnanddelay = selected;
            break;
        case 'WarnAndBlock':
            $warnandblock = selected;
            break;
    }
    echo "
    <label for='message_5_setting_action'></label>
    <select name='message_5_setting_action' id='message_5_setting_action'>
    <option value='Nothing' " . $nothing .">Nothing</option>
    <option value='Inform'" . $inform .">Inform</option>
    <option value='WarnAndDelay' " . $warnanddelay .">Warn and delay</option>
    <option value='WarnAndBlock' " . $warnandblock .">Warn and block</option></select>";
}

function message_5_setting_timer() {
    $options = get_option( 'message_5_timer' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_5_setting_timer' name='message_5_setting_timer' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_5_setting_text() {
    $options = get_option( 'message_5_text' ); /* ==> ook te gebruiken op de front end */
    echo "<textarea id='message_5_setting_text' name='message_5_setting_text' rows='20' cols='150'>". esc_attr( $options ) . "</textarea>";
}

if(isset($_POST['submit_message_5'])){
    update_option('message_5_version', $_POST['message_5_setting_version']);
    update_option('message_5_browser_chrome', $_POST['message_5_setting_browser_chrome']);
    update_option('message_5_browser_edge', $_POST['message_5_setting_browser_edge']);
    update_option('message_5_browser_firefox', $_POST['message_5_setting_browser_firefox']);
    update_option('message_5_browser_safari', $_POST['message_5_setting_browser_safari']);
    update_option('message_5_os_win81', $_POST['message_5_setting_os_win81']);
    update_option('message_5_os_win10', $_POST['message_5_setting_os_win10']);
    update_option('message_5_os_win11', $_POST['message_5_setting_os_win11']);
    update_option('message_5_os_mac', $_POST['message_5_setting_os_mac']);
    update_option('message_5_action', $_POST['message_5_setting_action']);
    update_option('message_5_timer', $_POST['message_5_setting_timer']);
    update_option('message_5_text', $_POST['message_5_setting_text']);
    
}

// message-5 code ---------- END ------------

// message-6 code ---------- START ------------

function loginflow_register_settings_message_6() {
    register_setting( 'loginflow-settings-message_6', 'loginflow-settings-message-6', 'loginflow_settings_page_validate_message_6' );
    add_settings_section( 'message_6_settings', '','', 'loginflow-settings-page-message-6' );
    add_settings_field( 'message_6_setting_version', 'Version : ', 'message_6_setting_version', 'loginflow-settings-page-message-6', 'message_6_settings' );
    add_settings_field( 'message_6_setting_browser', 'Browser : ', 'message_6_setting_browser', 'loginflow-settings-page-message-6', 'message_6_settings' );
    add_settings_field( 'message_6_setting_os', 'OS : ', 'message_6_setting_os', 'loginflow-settings-page-message-6', 'message_6_settings' );    
    add_settings_field( 'message_6_setting_action', 'Action : ', 'message_6_setting_action', 'loginflow-settings-page-message-6', 'message_6_settings' );
    add_settings_field( 'message_6_setting_timer', 'timer : ', 'message_6_setting_timer', 'loginflow-settings-page-message-6', 'message_6_settings' );
    add_settings_field( 'message_6_setting_text', 'text : ', 'message_6_setting_text', 'loginflow-settings-page-message-6', 'message_6_settings' );
}

add_action( 'admin_init', 'loginflow_register_settings_message_6' );

function loginflow_settings_page_validate_message_6( $input ) {
    $newinput['api_key'] = trim( $input['api_key'] );
    if ( ! preg_match( '/^[a-z0-9]{32}$/i', $newinput['api_key'] ) ) {
        $newinput['api_key'] = '';
    }
    return $newinput;
}

function message_6_setting_version() {
    $options = get_option( 'message_6_version' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_6_setting_version' name='message_6_setting_version' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_6_setting_browser() {
    $options = get_option( 'message_6_browser_chrome' ); 
    echo "Chrome <input id='message_6_setting_browser_chrome' name='message_6_setting_browser_chrome' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_6_browser_edge' ); 
    echo "Edge Chromium <input id='message_6_setting_browser_edge' name='message_6_setting_browser_edge' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_6_browser_firefox' ); 
    echo "Firefox <input id='message_6_setting_browser_firefox' name='message_6_setting_browser_firefox' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_6_browser_safari' ); 
    echo "Safari <input id='message_6_setting_browser_safari' name='message_6_setting_browser_safari' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_6_setting_os() {
    $options = get_option( 'message_6_os_win81' ); 
    echo "8.1 <input id='message_6_setting_os_win81' name='message_6_setting_os_win81' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_6_os_win10' ); 
    echo "WIN 10 <input id='message_6_setting_os_win10' name='message_6_setting_os_win10' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_6_os_win11' ); 
    echo "WIN 11 <input id='message_6_setting_os_win11' name='message_6_setting_os_win11' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_6_os_mac' ); 
    echo "MAC <input id='message_6_setting_os_mac' name='message_6_setting_os_mac' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_6_setting_action() {
    $options = get_option( 'message_6_action' );/* ==> ook te gebruiken op de front end */
    $nothing = '';
    $inform = '';
    $warnanddelay = '';
    $warnandblock = '';
    switch ($options) {
        case 'Nothing':
            $nothing = selected;
            break;
        case 'Inform':
            $inform = selected;
            break;
        case 'WarnAndDelay':
            $warnanddelay = selected;
            break;
        case 'WarnAndBlock':
            $warnandblock = selected;
            break;
    }
    echo "
    <label for='message_6_setting_action'></label>
    <select name='message_6_setting_action' id='message_6_setting_action'>
    <option value='Nothing' " . $nothing .">Nothing</option>
    <option value='Inform'" . $inform .">Inform</option>
    <option value='WarnAndDelay' " . $warnanddelay .">Warn and delay</option>
    <option value='WarnAndBlock' " . $warnandblock .">Warn and block</option></select>";
}

function message_6_setting_timer() {
    $options = get_option( 'message_6_timer' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_6_setting_timer' name='message_6_setting_timer' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_6_setting_text() {
    $options = get_option( 'message_6_text' ); /* ==> ook te gebruiken op de front end */
    echo "<textarea id='message_6_setting_text' name='message_6_setting_text' rows='20' cols='150'>". esc_attr( $options ) . "</textarea>";
}

if(isset($_POST['submit_message_6'])){
    update_option('message_6_version', $_POST['message_6_setting_version']);
    update_option('message_6_browser_chrome', $_POST['message_6_setting_browser_chrome']);
    update_option('message_6_browser_edge', $_POST['message_6_setting_browser_edge']);
    update_option('message_6_browser_firefox', $_POST['message_6_setting_browser_firefox']);
    update_option('message_6_browser_safari', $_POST['message_6_setting_browser_safari']);
    update_option('message_6_os_win81', $_POST['message_6_setting_os_win81']);
    update_option('message_6_os_win10', $_POST['message_6_setting_os_win10']);
    update_option('message_6_os_win11', $_POST['message_6_setting_os_win11']);
    update_option('message_6_os_mac', $_POST['message_6_setting_os_mac']);
    update_option('message_6_action', $_POST['message_6_setting_action']);
    update_option('message_6_timer', $_POST['message_6_setting_timer']);
    update_option('message_6_text', $_POST['message_6_setting_text']);
    
}

// message-6 code ---------- END ------------

// message-7 code ---------- START ------------

function loginflow_register_settings_message_7() {
    register_setting( 'loginflow-settings-message_7', 'loginflow-settings-message-7', 'loginflow_settings_page_validate_message_7' );
    add_settings_section( 'message_7_settings', '','', 'loginflow-settings-page-message-7' );
    add_settings_field( 'message_7_setting_version', 'Version : ', 'message_7_setting_version', 'loginflow-settings-page-message-7', 'message_7_settings' );
    add_settings_field( 'message_7_setting_browser', 'Browser : ', 'message_7_setting_browser', 'loginflow-settings-page-message-7', 'message_7_settings' );
    add_settings_field( 'message_7_setting_os', 'OS : ', 'message_7_setting_os', 'loginflow-settings-page-message-7', 'message_7_settings' );    
    add_settings_field( 'message_7_setting_action', 'Action : ', 'message_7_setting_action', 'loginflow-settings-page-message-7', 'message_7_settings' );
    add_settings_field( 'message_7_setting_timer', 'timer : ', 'message_7_setting_timer', 'loginflow-settings-page-message-7', 'message_7_settings' );
    add_settings_field( 'message_7_setting_text', 'text : ', 'message_7_setting_text', 'loginflow-settings-page-message-7', 'message_7_settings' );
}

add_action( 'admin_init', 'loginflow_register_settings_message_7' );

function loginflow_settings_page_validate_message_7( $input ) {
    $newinput['api_key'] = trim( $input['api_key'] );
    if ( ! preg_match( '/^[a-z0-9]{32}$/i', $newinput['api_key'] ) ) {
        $newinput['api_key'] = '';
    }
    return $newinput;
}

function message_7_setting_version() {
    $options = get_option( 'message_7_version' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_7_setting_version' name='message_7_setting_version' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_7_setting_browser() {
    $options = get_option( 'message_7_browser_chrome' ); 
    echo "Chrome <input id='message_7_setting_browser_chrome' name='message_7_setting_browser_chrome' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_7_browser_edge' ); 
    echo "Edge Chromium <input id='message_7_setting_browser_edge' name='message_7_setting_browser_edge' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_7_browser_firefox' ); 
    echo "Firefox <input id='message_7_setting_browser_firefox' name='message_7_setting_browser_firefox' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_7_browser_safari' ); 
    echo "Safari <input id='message_7_setting_browser_safari' name='message_7_setting_browser_safari' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_7_setting_os() {
    $options = get_option( 'message_7_os_win81' ); 
    echo "8.1 <input id='message_7_setting_os_win81' name='message_7_setting_os_win81' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_7_os_win10' ); 
    echo "WIN 10 <input id='message_7_setting_os_win10' name='message_7_setting_os_win10' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_7_os_win11' ); 
    echo "WIN 11 <input id='message_7_setting_os_win11' name='message_7_setting_os_win11' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_7_os_mac' ); 
    echo "MAC <input id='message_7_setting_os_mac' name='message_7_setting_os_mac' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_7_setting_action() {
    $options = get_option( 'message_7_action' );/* ==> ook te gebruiken op de front end */
    $nothing = '';
    $inform = '';
    $warnanddelay = '';
    $warnandblock = '';
    switch ($options) {
        case 'Nothing':
            $nothing = selected;
            break;
        case 'Inform':
            $inform = selected;
            break;
        case 'WarnAndDelay':
            $warnanddelay = selected;
            break;
        case 'WarnAndBlock':
            $warnandblock = selected;
            break;
    }
    echo "
    <label for='message_7_setting_action'></label>
    <select name='message_7_setting_action' id='message_7_setting_action'>
    <option value='Nothing' " . $nothing .">Nothing</option>
    <option value='Inform'" . $inform .">Inform</option>
    <option value='WarnAndDelay' " . $warnanddelay .">Warn and delay</option>
    <option value='WarnAndBlock' " . $warnandblock .">Warn and block</option></select>";
}

function message_7_setting_timer() {
    $options = get_option( 'message_7_timer' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_7_setting_timer' name='message_7_setting_timer' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_7_setting_text() {
    $options = get_option( 'message_7_text' ); /* ==> ook te gebruiken op de front end */
    echo "<textarea id='message_7_setting_text' name='message_7_setting_text' rows='20' cols='150'>". esc_attr( $options ) . "</textarea>";
}

if(isset($_POST['submit_message_7'])){
    update_option('message_7_version', $_POST['message_7_setting_version']);
    update_option('message_7_browser_chrome', $_POST['message_7_setting_browser_chrome']);
    update_option('message_7_browser_edge', $_POST['message_7_setting_browser_edge']);
    update_option('message_7_browser_firefox', $_POST['message_7_setting_browser_firefox']);
    update_option('message_7_browser_safari', $_POST['message_7_setting_browser_safari']);
    update_option('message_7_os_win81', $_POST['message_7_setting_os_win81']);
    update_option('message_7_os_win10', $_POST['message_7_setting_os_win10']);
    update_option('message_7_os_win11', $_POST['message_7_setting_os_win11']);
    update_option('message_7_os_mac', $_POST['message_7_setting_os_mac']);
    update_option('message_7_action', $_POST['message_7_setting_action']);
    update_option('message_7_timer', $_POST['message_7_setting_timer']);
    update_option('message_7_text', $_POST['message_7_setting_text']);
    
}

// message-7 code ---------- END ------------

// message-8 code ---------- START ------------

function loginflow_register_settings_message_8() {
    register_setting( 'loginflow-settings-message_8', 'loginflow-settings-message-8', 'loginflow_settings_page_validate_message_8' );
    add_settings_section( 'message_8_settings', '','', 'loginflow-settings-page-message-8' );
    add_settings_field( 'message_8_setting_version', 'Version : ', 'message_8_setting_version', 'loginflow-settings-page-message-8', 'message_8_settings' );
    add_settings_field( 'message_8_setting_browser', 'Browser : ', 'message_8_setting_browser', 'loginflow-settings-page-message-8', 'message_8_settings' );
    add_settings_field( 'message_8_setting_os', 'OS : ', 'message_8_setting_os', 'loginflow-settings-page-message-8', 'message_8_settings' );    
    add_settings_field( 'message_8_setting_action', 'Action : ', 'message_8_setting_action', 'loginflow-settings-page-message-8', 'message_8_settings' );
    add_settings_field( 'message_8_setting_timer', 'timer : ', 'message_8_setting_timer', 'loginflow-settings-page-message-8', 'message_8_settings' );
    add_settings_field( 'message_8_setting_text', 'text : ', 'message_8_setting_text', 'loginflow-settings-page-message-8', 'message_8_settings' );
}

add_action( 'admin_init', 'loginflow_register_settings_message_8' );

function loginflow_settings_page_validate_message_8( $input ) {
    $newinput['api_key'] = trim( $input['api_key'] );
    if ( ! preg_match( '/^[a-z0-9]{32}$/i', $newinput['api_key'] ) ) {
        $newinput['api_key'] = '';
    }
    return $newinput;
}

function message_8_setting_version() {
    $options = get_option( 'message_8_version' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_8_setting_version' name='message_8_setting_version' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_8_setting_browser() {
    $options = get_option( 'message_8_browser_chrome' ); 
    echo "Chrome <input id='message_8_setting_browser_chrome' name='message_8_setting_browser_chrome' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_8_browser_edge' ); 
    echo "Edge Chromium <input id='message_8_setting_browser_edge' name='message_8_setting_browser_edge' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_8_browser_firefox' ); 
    echo "Firefox <input id='message_8_setting_browser_firefox' name='message_8_setting_browser_firefox' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_8_browser_safari' ); 
    echo "Safari <input id='message_8_setting_browser_safari' name='message_8_setting_browser_safari' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_8_setting_os() {
    $options = get_option( 'message_8_os_win81' ); 
    echo "8.1 <input id='message_8_setting_os_win81' name='message_8_setting_os_win81' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_8_os_win10' ); 
    echo "WIN 10 <input id='message_8_setting_os_win10' name='message_8_setting_os_win10' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_8_os_win11' ); 
    echo "WIN 11 <input id='message_8_setting_os_win11' name='message_8_setting_os_win11' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_8_os_mac' ); 
    echo "MAC <input id='message_8_setting_os_mac' name='message_8_setting_os_mac' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_8_setting_action() {
    $options = get_option( 'message_8_action' );/* ==> ook te gebruiken op de front end */
    $nothing = '';
    $inform = '';
    $warnanddelay = '';
    $warnandblock = '';
    switch ($options) {
        case 'Nothing':
            $nothing = selected;
            break;
        case 'Inform':
            $inform = selected;
            break;
        case 'WarnAndDelay':
            $warnanddelay = selected;
            break;
        case 'WarnAndBlock':
            $warnandblock = selected;
            break;
    }
    echo "
    <label for='message_8_setting_action'></label>
    <select name='message_8_setting_action' id='message_8_setting_action'>
    <option value='Nothing' " . $nothing .">Nothing</option>
    <option value='Inform'" . $inform .">Inform</option>
    <option value='WarnAndDelay' " . $warnanddelay .">Warn and delay</option>
    <option value='WarnAndBlock' " . $warnandblock .">Warn and block</option></select>";
}

function message_8_setting_timer() {
    $options = get_option( 'message_8_timer' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_8_setting_timer' name='message_8_setting_timer' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_8_setting_text() {
    $options = get_option( 'message_8_text' ); /* ==> ook te gebruiken op de front end */
    echo "<textarea id='message_8_setting_text' name='message_8_setting_text' rows='20' cols='150'>". esc_attr( $options ) . "</textarea>";
}

if(isset($_POST['submit_message_8'])){
    update_option('message_8_version', $_POST['message_8_setting_version']);
    update_option('message_8_browser_chrome', $_POST['message_8_setting_browser_chrome']);
    update_option('message_8_browser_edge', $_POST['message_8_setting_browser_edge']);
    update_option('message_8_browser_firefox', $_POST['message_8_setting_browser_firefox']);
    update_option('message_8_browser_safari', $_POST['message_8_setting_browser_safari']);
    update_option('message_8_os_win81', $_POST['message_8_setting_os_win81']);
    update_option('message_8_os_win10', $_POST['message_8_setting_os_win10']);
    update_option('message_8_os_win11', $_POST['message_8_setting_os_win11']);
    update_option('message_8_os_mac', $_POST['message_8_setting_os_mac']);
    update_option('message_8_action', $_POST['message_8_setting_action']);
    update_option('message_8_timer', $_POST['message_8_setting_timer']);
    update_option('message_8_text', $_POST['message_8_setting_text']);
    
}

// message-8 code ---------- END ------------

// message-9 code ---------- START ------------

function loginflow_register_settings_message_9() {
    register_setting( 'loginflow-settings-message_9', 'loginflow-settings-message-9', 'loginflow_settings_page_validate_message_9' );
    add_settings_section( 'message_9_settings', '','', 'loginflow-settings-page-message-9' );
    add_settings_field( 'message_9_setting_version', 'Version : ', 'message_9_setting_version', 'loginflow-settings-page-message-9', 'message_9_settings' );
    add_settings_field( 'message_9_setting_browser', 'Browser : ', 'message_9_setting_browser', 'loginflow-settings-page-message-9', 'message_9_settings' );
    add_settings_field( 'message_9_setting_os', 'OS : ', 'message_9_setting_os', 'loginflow-settings-page-message-9', 'message_9_settings' );    
    add_settings_field( 'message_9_setting_action', 'Action : ', 'message_9_setting_action', 'loginflow-settings-page-message-9', 'message_9_settings' );
    add_settings_field( 'message_9_setting_timer', 'timer : ', 'message_9_setting_timer', 'loginflow-settings-page-message-9', 'message_9_settings' );
    add_settings_field( 'message_9_setting_text', 'text : ', 'message_9_setting_text', 'loginflow-settings-page-message-9', 'message_9_settings' );
}

add_action( 'admin_init', 'loginflow_register_settings_message_9' );

function loginflow_settings_page_validate_message_9( $input ) {
    $newinput['api_key'] = trim( $input['api_key'] );
    if ( ! preg_match( '/^[a-z0-9]{32}$/i', $newinput['api_key'] ) ) {
        $newinput['api_key'] = '';
    }
    return $newinput;
}

function message_9_setting_version() {
    $options = get_option( 'message_9_version' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_9_setting_version' name='message_9_setting_version' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_9_setting_browser() {
    $options = get_option( 'message_9_browser_chrome' ); 
    echo "Chrome <input id='message_9_setting_browser_chrome' name='message_9_setting_browser_chrome' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_9_browser_edge' ); 
    echo "Edge Chromium <input id='message_9_setting_browser_edge' name='message_9_setting_browser_edge' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_9_browser_firefox' ); 
    echo "Firefox <input id='message_9_setting_browser_firefox' name='message_9_setting_browser_firefox' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_9_browser_safari' ); 
    echo "Safari <input id='message_9_setting_browser_safari' name='message_9_setting_browser_safari' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_9_setting_os() {
    $options = get_option( 'message_9_os_win81' ); 
    echo "8.1 <input id='message_9_setting_os_win81' name='message_9_setting_os_win81' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_9_os_win10' ); 
    echo "WIN 10 <input id='message_9_setting_os_win10' name='message_9_setting_os_win10' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_9_os_win11' ); 
    echo "WIN 11 <input id='message_9_setting_os_win11' name='message_9_setting_os_win11' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_9_os_mac' ); 
    echo "MAC <input id='message_9_setting_os_mac' name='message_9_setting_os_mac' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_9_setting_action() {
    $options = get_option( 'message_9_action' );/* ==> ook te gebruiken op de front end */
    $nothing = '';
    $inform = '';
    $warnanddelay = '';
    $warnandblock = '';
    switch ($options) {
        case 'Nothing':
            $nothing = selected;
            break;
        case 'Inform':
            $inform = selected;
            break;
        case 'WarnAndDelay':
            $warnanddelay = selected;
            break;
        case 'WarnAndBlock':
            $warnandblock = selected;
            break;
    }
    echo "
    <label for='message_9_setting_action'></label>
    <select name='message_9_setting_action' id='message_9_setting_action'>
    <option value='Nothing' " . $nothing .">Nothing</option>
    <option value='Inform'" . $inform .">Inform</option>
    <option value='WarnAndDelay' " . $warnanddelay .">Warn and delay</option>
    <option value='WarnAndBlock' " . $warnandblock .">Warn and block</option></select>";
}

function message_9_setting_timer() {
    $options = get_option( 'message_9_timer' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_9_setting_timer' name='message_9_setting_timer' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_9_setting_text() {
    $options = get_option( 'message_9_text' ); /* ==> ook te gebruiken op de front end */
    echo "<textarea id='message_9_setting_text' name='message_9_setting_text' rows='20' cols='150'>". esc_attr( $options ) . "</textarea>";
}

if(isset($_POST['submit_message_9'])){
    update_option('message_9_version', $_POST['message_9_setting_version']);
    update_option('message_9_browser_chrome', $_POST['message_9_setting_browser_chrome']);
    update_option('message_9_browser_edge', $_POST['message_9_setting_browser_edge']);
    update_option('message_9_browser_firefox', $_POST['message_9_setting_browser_firefox']);
    update_option('message_9_browser_safari', $_POST['message_9_setting_browser_safari']);
    update_option('message_9_os_win81', $_POST['message_9_setting_os_win81']);
    update_option('message_9_os_win10', $_POST['message_9_setting_os_win10']);
    update_option('message_9_os_win11', $_POST['message_9_setting_os_win11']);
    update_option('message_9_os_mac', $_POST['message_9_setting_os_mac']);
    update_option('message_9_action', $_POST['message_9_setting_action']);
    update_option('message_9_timer', $_POST['message_9_setting_timer']);
    update_option('message_9_text', $_POST['message_9_setting_text']);
    
}

// message-9 code ---------- END ------------

// message-10 code ---------- START ------------

function loginflow_register_settings_message_10() {
    register_setting( 'loginflow-settings-message_10', 'loginflow-settings-message-10', 'loginflow_settings_page_validate_message_10' );
    add_settings_section( 'message_10_settings', '','', 'loginflow-settings-page-message-10' );
    add_settings_field( 'message_10_setting_version', 'Version : ', 'message_10_setting_version', 'loginflow-settings-page-message-10', 'message_10_settings' );
    add_settings_field( 'message_10_setting_browser', 'Browser : ', 'message_10_setting_browser', 'loginflow-settings-page-message-10', 'message_10_settings' );
    add_settings_field( 'message_10_setting_os', 'OS : ', 'message_10_setting_os', 'loginflow-settings-page-message-10', 'message_10_settings' );    
    add_settings_field( 'message_10_setting_action', 'Action : ', 'message_10_setting_action', 'loginflow-settings-page-message-10', 'message_10_settings' );
    add_settings_field( 'message_10_setting_timer', 'timer : ', 'message_10_setting_timer', 'loginflow-settings-page-message-10', 'message_10_settings' );
    add_settings_field( 'message_10_setting_text', 'text : ', 'message_10_setting_text', 'loginflow-settings-page-message-10', 'message_10_settings' );
}

add_action( 'admin_init', 'loginflow_register_settings_message_10' );

function loginflow_settings_page_validate_message_10( $input ) {
    $newinput['api_key'] = trim( $input['api_key'] );
    if ( ! preg_match( '/^[a-z0-9]{32}$/i', $newinput['api_key'] ) ) {
        $newinput['api_key'] = '';
    }
    return $newinput;
}

function message_10_setting_version() {
    $options = get_option( 'message_10_version' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_10_setting_version' name='message_10_setting_version' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_10_setting_browser() {
    $options = get_option( 'message_10_browser_chrome' ); 
    echo "Chrome <input id='message_10_setting_browser_chrome' name='message_10_setting_browser_chrome' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_10_browser_edge' ); 
    echo "Edge Chromium <input id='message_10_setting_browser_edge' name='message_10_setting_browser_edge' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_10_browser_firefox' ); 
    echo "Firefox <input id='message_10_setting_browser_firefox' name='message_10_setting_browser_firefox' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_10_browser_safari' ); 
    echo "Safari <input id='message_10_setting_browser_safari' name='message_10_setting_browser_safari' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_10_setting_os() {
    $options = get_option( 'message_10_os_win81' ); 
    echo "8.1 <input id='message_10_setting_os_win81' name='message_10_setting_os_win81' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_10_os_win10' ); 
    echo "WIN 10 <input id='message_10_setting_os_win10' name='message_10_setting_os_win10' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_10_os_win11' ); 
    echo "WIN 11 <input id='message_10_setting_os_win11' name='message_10_setting_os_win11' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    $options = get_option( 'message_10_os_mac' ); 
    echo "MAC <input id='message_10_setting_os_mac' name='message_10_setting_os_mac' type='checkbox' value='1'" . checked(1, $options,false) . " />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

function message_10_setting_action() {
    $options = get_option( 'message_10_action' );/* ==> ook te gebruiken op de front end */
    $nothing = '';
    $inform = '';
    $warnanddelay = '';
    $warnandblock = '';
    switch ($options) {
        case 'Nothing':
            $nothing = selected;
            break;
        case 'Inform':
            $inform = selected;
            break;
        case 'WarnAndDelay':
            $warnanddelay = selected;
            break;
        case 'WarnAndBlock':
            $warnandblock = selected;
            break;
    }
    echo "
    <label for='message_10_setting_action'></label>
    <select name='message_10_setting_action' id='message_10_setting_action'>
    <option value='Nothing' " . $nothing .">Nothing</option>
    <option value='Inform'" . $inform .">Inform</option>
    <option value='WarnAndDelay' " . $warnanddelay .">Warn and delay</option>
    <option value='WarnAndBlock' " . $warnandblock .">Warn and block</option></select>";
}

function message_10_setting_timer() {
    $options = get_option( 'message_10_timer' ); /* ==> ook te gebruiken op de front end */
    echo "<input id='message_10_setting_timer' name='message_10_setting_timer' type='text' value='" . esc_attr( $options ) . "' />";
}

function message_10_setting_text() {
    $options = get_option( 'message_10_text' ); /* ==> ook te gebruiken op de front end */
    echo "<textarea id='message_10_setting_text' name='message_10_setting_text' rows='20' cols='150'>". esc_attr( $options ) . "</textarea>";
}

if(isset($_POST['submit_message_10'])){
    update_option('message_10_version', $_POST['message_10_setting_version']);
    update_option('message_10_browser_chrome', $_POST['message_10_setting_browser_chrome']);
    update_option('message_10_browser_edge', $_POST['message_10_setting_browser_edge']);
    update_option('message_10_browser_firefox', $_POST['message_10_setting_browser_firefox']);
    update_option('message_10_browser_safari', $_POST['message_10_setting_browser_safari']);
    update_option('message_10_os_win81', $_POST['message_10_setting_os_win81']);
    update_option('message_10_os_win10', $_POST['message_10_setting_os_win10']);
    update_option('message_10_os_win11', $_POST['message_10_setting_os_win11']);
    update_option('message_10_os_mac', $_POST['message_10_setting_os_mac']);
    update_option('message_10_action', $_POST['message_10_setting_action']);
    update_option('message_10_timer', $_POST['message_10_setting_timer']);
    update_option('message_10_text', $_POST['message_10_setting_text']);
    
}

// message-10 code ---------- END ------------
]]>
15508849
WordPress Options https://www.ads-software.com/support/topic/wordpress-options/ Wed, 17 Feb 2021 22:46:50 +0000 https://www.ads-software.com/support/topic/wordpress-options/ Hi,
I picked up maintenance on an older website and they realized today that their “last week’s popular posts” page was no longer pulling posts from last week, it looks to have stopped working at the end of 2020, as the last posts it is pulling are from January.

I searched through their theme files and found that they get a query for that page with a custom function:

function get_last_weeks_top_stories($count = 10)
{
    $last_weeks_top_story_ids = get_option( 'last_weeks_top_stories' );

    $last_weeks_top_stories = new WP_Query(
        array(
            'post_type' => 'news_entry',
            'post__in' => explode(',', $last_weeks_top_story_ids),
            'posts_per_page' => $count
        )
    );
    return $last_weeks_top_stories;
}

Here I can see they are retrieving the IDs stored in 'last_weeks_top_stories', and if I go to their wp-admin/options.php page I can see the ID’s being retrieved in there. It appears to be pulling the ‘correct’ posts based on the data in that options file, so this leads me to believe the issue is not with getting the correct data, but whatever is SETTING the most popular posts from last week. This is where the problem is for me.

I would think that there would have been some place in the theme or plugins files that would have an add_option(), but I cannot find where this option of 'last_weeks_top_stories' is being set at. I have downloaded the entire plugins and theme folder and searched through the files for any mention of ‘last_weeks’ and nothing comes up.

They have a plugin installed called WordPress Popular Posts so I was thinking maybe they would be utilizing that, but I cannot see anywhere where that field would be created within that plugin either, or if that is even what they were using to populate the option anyway.

Does anyone have any suggestions on how I could find out where this 'last_weeks_top_stories' option is being set?

Thank you!

]]>
14065849
Bug: get_option(‘dbem_version’) < 5.821 always true – setlocale https://www.ads-software.com/support/topic/bug-get_optiondbem_version-5-821-always-true-setlocale/ Mon, 07 Oct 2019 09:24:58 +0000 https://www.ads-software.com/support/topic/bug-get_optiondbem_version-5-821-always-true-setlocale/ In em-install.php you are testing the dbem_version with statements like

if( get_option('dbem_version') != '' && get_option('dbem_version') < 5.821 ){
  // do something here
}

With our locale settings get_option('dbem_version') returns 5,96 (note the comma) so the condition evaluates as

if( 5,96 != '' && 5,96 < 5.821 ){
  // do something here
}

5,96 < 5.821 is always true, so em_migrate_datetime_timezones() never seems to be complete. And the GDPR message (v 5.93) and Google’s new pricing (v 5.95) are shown over and over again.

I temporarily edited the code and replaced get_option('dbem_version') in the conditions with a hard coded 5.96 (with a decimal point), but in the next update this will be overwritten once again. Please rectify.

]]>
12004108
ReferenceError: get_option is not defined https://www.ads-software.com/support/topic/referenceerror-get_option-is-not-defined/ Fri, 06 Sep 2019 13:54:21 +0000 https://www.ads-software.com/support/topic/referenceerror-get_option-is-not-defined/ I see an error message on every subpage of my web hermiphoto.cz, the problem is located here:

<script>
if (typeof sfsi_plugin_version == ‘function’) {
sfsi_plugin_version(get_option(“sfsi_pluginVersion”));
}else{
‘kladflkafdkjgdklfg’;


I see an error: ReferenceError: get_option is not defined[Learn More]
When I click on Learn More, I see just this line
<anonymous> https://hermiphoto.cz/kontakt/:1253:9

I use the newest version of plugin (2.3.9).

Thank you

]]>
11906630
Malaking puwang ng bass splash review Bakit pinapayagan ng pamahalaan ang operasyon ng mga monopolyo How to play Super Ace jili Nice88 club withdrawal Esball online casino com registration Nuebe Gaming legit HB888 Casino real money Casino bonus no deposit free spins 2021 12 Titans Greek mythology online slot machines for real money free play Mines jili login download Allin88 ph login Casino Guru gratis Vegas World login Apanalo online game no deposit bonus 77ph Himala himala wikipedia 啶掂啷嵿ぐ啶ぞ啶?啶曕啶ぞ 啶灌? 啶す 啶囙い啶ㄠぞ 啶栢い啶班え啶距 啶曕啶啶?啶灌啶むぞ 啶灌? Mnl168 online casino register philippines login Bally slot machine value Jili live casino no deposit bonus Gcash gambling reddit philippines tamabetcasino Jili magic lamp app Mwplay888 net download for android Vegas Live Slots hack APK Clive and jill sidequest ffxvi Jiliasia online casino Online bingo jili withdrawal Chili for a crowd Silver Palate Jili168 register philippines Jili mk casino Jili cc download for android Habanero online casino games philippines Philucky withdrawal format 377 jili login register philippines Jili slots download Bsa387 login password Ginto Casino link 49jili login to my account login philippines app Royal777 casino no deposit bonus 8 juli feiertag wikipedia Ano ang mga flash game sa hollywoodbets app download Game of Thrones Slots referral code Igt address manila Zynga slots free coins cheat android Jilicash real money withdrawal Paano gumagana ang mga online slot machine login Ezwin online casino philippines Peso88 login register Jili kaganapan login register Winning plus 8 login philippines masuwerteng iikot ang mga nakakalokang slot 123jili app Login casino games online unblocked Transaction password USDT Baccarat games online real money Appointment slots vs appointment schedule quick hit slots commercial actor Multiclass spell slots table Slot schedule template 啶灌啶曕啶?啶曕ぞ 啶い啷嵿い啶?啶曕た啶むえ啶?啶灌啶むぞ 啶灌 Jili jackpot 777 download for android latest version Million 888 casino login register Tongits go apk unlimited money latest version Pinakamahusay na jili slot game download YE7 Download App BET99 Quebec Free 100 online casino registration facebook page 2021 slots no deposit bonus Online gambling philippines real money Jilibet casino login philippines Super Royal 777 Slots go casino login Register Youtube ng slots today Peso 888 apk Mini777 register download PG gaming casino login Wizard of Oz free coins gamehunters Philippine News today live 247Spin free 100 spin the wizard of oz slots free coins E2 jili casino login Konjac jelly Japan Big bet review korean Online casino Philippines News 7 Juli 2024 memperingati Hari Apa Jili 747 casino login Winph 777 login philippines app benefits of online casino games Wild aces online casino real money Mwcash88 Bonus hunter cc email Maduna clan names FF16 change party members Online casino games real money free spins no deposit Dbx casino real money philippines Okada online casino apk latest version Skype Download for PC Jilibet donnalyn login Register online casino 777 Pub download old version Spaghetti Jollibee price Jili no 1 login register Jiliasia app apk Super slots apk old version 646 casino login Register Philippines Listahan ng laro ng skillz login Totoong online pokies philippines release the kraken clash of the titans (1981) Casinos online real money philippines Phil168 APK Download Chumba Casino login Www 49 jili casino login password Fb jili casino login download apk Jlbet slot login Jili 777 lucky slot login register philippines apk Pagcor logo meaning Hard Rock online casino login 77ph com login password download Ano ang gamot sa mataas ang sugar Online casino download APK Geely Emgrand price Philippines BLBET Tapwin 2024 download apk Lodi 646 casino login ph Royal558 download Abc jili register philippines download LVJILI login Royal fishing jili download for android Free60 casino philippines Kk jili libre 58 real money download PHFUN login Nice88 download free ios Best penny slot machines to play at the casino for beginners portal.pagcor.ph sitemap online casino games no deposit bonus Unlapi AAA Jili login Bongobongo ug Casino Jili x yb download apk do 888 casino register Cash Rush slots 777 apk latest version Free online casino games win real money no deposit Philippines Fortune 888 login password Slots casino login no deposit bonus 49 jili time philippines download Nuebe register login Jili fishing game download free Win99 casino philippines Bingo Super Star download 55bmw win withdrawal Jili kilig login download Superball Keno online Hacksaw slots real money Pagcor address philippines 188 jili demo account hack Vegas online casino games free play Jili 49 net casino login philippines 777 jili jackpot apk latest version Fc slot demo free download Jili under maintenance today download android 3 patti slots patti online play Jili bingo download for android Smbet register philippines Osm jili register mobile number philippines MWGAMING 188 register Nuebe agent login philippines Online casino color games philippines Is Winford Casino open today Jili update today WK777 slot Jili casino review philippines slotomania online Lucky jili slots login register mobile 188 jili casino login download philippines Baccarat game strategy reddit Jili22 promotion How to withdraw in jili slot online 1xslots login Mnl168 online casino register philippines login Paano maglaro ng slot gambling login casino for real money online Best online casino Philippines reddit Jili deposit 50 withdrawal limit Nextbet philippines registration 168jili login registration Www royal888casino net register Double Win Withdrawal App Fisheries department officials 777 Lucky JILI Slots Casino APK download Nz online casino games real money 888php withdrawal Jili mines predictor apk Online casino jackpot slots free play yy777cam Jili one login download mainstream records lee young-ji 77ph com download free 49 jili years login register Jili slot club jackpot 777 download free money philippines Www betvisa games app 1888 jili casino withdrawal online July 10 religious holiday Labet88 login registration 2021 Osm jili casino online games philippines download Money 888 login download Empire slot machine download Ireland online casino games free play Kk jili casino login registration download apk 1000 free games to play with friends Poseidon god son Jili lucky slot app download Big baller club casino login registration philippines Fish Hunter - Shooting Fish Pnp 888 jili slot game login app Limbo game download for PC Highly Compressed Jili jackpot 777 download apk ios slot machine free games free spins deposit bonus Jackpot meter app for android Instant withdrawal betting app Dama N.V. casinos no deposit Bonus Joy 7 casino login free chips Eliakim Sadoki Hadaa Ya Walimwengu Gemdisco login 08 jili register app Jollibee slot casino login philippines register online Award winning chili recipe Allrecipes Helens Slot APK old version Mga kahinaan ng mga pragmatic slot machine login Jili pulang sobre register online Jili777 free 150 no deposit bonus Philippines Jili no 1 com withdrawal philippines Slot online game free real money Jackpot joker jili demo free download Best pg slot game free no download Wagi77 login Philippines Rich9 pinakamainit na laro login Fortune gaming88 login philippines Royal Slot Login Fun facts about July 19th Geely gx3 fiche technique philippines IND slots APK yono Ox jili slot withdrawal What happened on October 7 Al Jazeera 777 pub com login download Nice88 app 99 Fortune Casino login Register Tmtplay888 Jiliplay login download Love jili vip login password 888bet registration online Dragon vs Tiger hack apk Lucky JILI slots login register Kpl casino Online casino game for real money free play 777pub open now promo Video poker jacks or better strategy chart Jili 365 casino login register philippines no deposit bonus download Free slots com party bonus Animal Husbandry Minister Bihar list 188 JILI casino login registration Philippines Anuani ya katibu tawala mkoa wa dar es salaam NetBet registration Fg777 register philippines 90 jili live login download One slot game download Agent GEMDISCO Jili 999 com withdrawal Jilimk casino log in no deposit bonus tg777 login register philippines Pagcor login philippines List of licensed POGO in Philippines 2023 How many cannabinoid receptors are there in the human body Q25 jili download ios Ff777 vip login Jili 49 dot com registration philippines Ano ang speed roulette review Ph joy vip login registration philippines 4 ram slots which ones to use Mga puwang ng video youtube Jackpot Party Instagram free coins www.free facebook.com log in Betvisa download for android 49jili pogcor Betso888 login download Jollibee slot login Fruit Theme Birthday Party Wjslot claim form Nextbet Live Casino Lotto go Jili volatility calculator philippines Teenage Kraken Salish Matter Lucky 777 online casino login philippines Slotomania 777 casino real money Mega ace jili demo apk latest version Falcon Play customer service www.666.com games Bingo Jili PH Slots earning app real money no deposit Canara Bank Internet banking PIN generation 8K8 vip login Philippines No 1 jili app for android free download Gonzo's Quest max win 9 Pots of Gold land and win What does Mr Mike Slots do for a living Jili fc slot real money no deposit bonus Ph macao jili register download limbo apk + obb download Swcup6 net live login Register philippines Free slots 8888 no deposit philippines Jili tadhana slots download free Free casino slots 3 lines no download Jili okbet real money philippines Jili88 ph com register login password Slots earning app real money download Jili apps download free for android ios Kurdish traditional dress Labet88 online casino Ez jili telegram ios 94067 water heater door installation Real Boxing 3 download Best casino online Wishbone Games Nextbet login mobile registration Jili no 2 login no deposit bonus Poder Judicial Superace88 club login registration link Triple match 3d master mod apk Sino ang cowboy slots wife Jili 5678 casino login poker star Apanalo casino app login KK JILI casino login app apk Www gibson casino www gibsoncasino com login APEX slot download Best free slot machines play for free no deposit Mining Telegram group link Jili t7 real money Jili369 app download Progressive jackpot meter link Lampara ng genie philippines Best free slots with bonus Asia JILI casino register 888 ladies slots login UNO Spin Millionaire Dimm slots reddit King game app download apk Yy777 index login No deposit slots real money Yeriko by injili bora choir session 49 jili road register philippines Jili slot 777 login register online no deposit bonus philippines 啶啶?啶曕 啶啶班が啶?啶曕ぐ啶ㄠ 啶曕 啶夃お啶距く GGBet welcome bonus Is the 49ers coach a Christian Sino ang may akda ng medusa Ace Super ph casino Login games.747 games.ph/launchgame open now Tiktok video Zili 7 Gold Fruits slot Peraplay APK download Labet88 register philippines app Love jili vip login philippines Slots download free Jili slot jackpot login register Junglee Rummy APK Paddy power virtue Welke dag is het vandaag in belgie Nn777 login philippines app Pb777 login id and password free Sweet Bonanza free spins no deposit Online slots casino 888 real money no deposit online casino games real money Osm jili casino Megaways slots login Konami free slots no download Big Bass Hold and Spinner Megaways demo Jili 888 register Jili mines download free Best free video poker no download fishing slot casino - free 100 000 coins Jili22 NEW com register Big Bass Bonanza Geely subsidiaries in philippines State fish of bihar in english Game of Thrones Slots Casino free coins hack Lucky jili casino login registration philippines apk Mga laro ng slot na nagbabayad ng totoong pera apk Niceph casino real money Fortune Dragon PG slot demo Reference generator Jili88ph net register download FG7777 Jili super win apk best online casino games to win money Bagong jili register app 777sm vip login Jl bet slot register Jili casino sign up bonus no deposit philippines Phlove Casino Login Register Jili slot online real money Ez jili code free download Cannabinoids structure How does Dragon Link slot work 188 jili casino download free Which casino has the most winners in Vegas Goldfish slots apk Fisheries, Bihar gov in Medusa megaways real money Mwcash88 casino login Best time to play crazy time reddit Voslot jili register philippines Ang tao ba ay nagmula sa unggoy PHL63 login register Demo Jili Golden Empire Download app and get bonus Pogibet free 100 philippines 22FUN APK Lucky JILI Casino login registration Win win Game zambia online app download Win100 com casino group win100 originals win100 originals register Mlbb Win Rate Calculator APK Mi777 casino login philippines register Do888 casino login no deposit bonus Jill Scott net worth 8 jili slot download for android 55X Casino Login Register Philippines Ug777 app download apk for android 94067 water heater door replacement Loveph casino Tianjin University of Science and Technology How to play Fortune Gems online Earn money online Philippines legit Xo jili com register philippines Cruise casino in Goa Play slot machines for free online no deposit Is golden Cowboy good tds online casino games volatility Tmtplay casino login register mobile 啶戉え啶侧ぞ啶囙え 啶曕啶膏啶ㄠ 啶椸啶?啶曕啶膏 啶栢啶侧啶? EZJILI Login Register Game room online casino games real money Casino dealer Reddit ph Slots jackpot meter philippines app Pldt 777 real money withdrawal Jackpot World redeem code free 2024 Jilibay free 68 no deposit bonus Bet88 ph app download for android OKBet rewards app Julie emergency contraception reviews 啶ぞ啶椸啶?啶う啶侧え啷?啶曕ぞ 啶膏す啶?啶夃お啶距く Mega win login Best online casino games real money app Jiliasia ace download Jili 178 real money app Pag-IBIG membership Double DaVinci Diamonds free slot game jili 711 Slot virtual real money free Jili tongits withdrawal limit Okbet casino login philippines download Sabong derby 2023 Full Video MONOPOLY Slots download White part of eye swollen like jelly home remedies Ez jili codes 2021 Wjslot com rewards login How many evolutions can you have in a deck Clash Royale Online casino jili login register House of Fun VIP PLUS download SM Megamall 3 day sale 2024 dates Phil163 login Simple chili recipe Jili slot machine apk latest version Jili188 login download Boss88 Slot Login Jili go login philippines Online casino games with free signup bonus philippines Jili mines download apk Fc slot online philippines Y777 jili real money withdrawal Win99 online casino login register Lucky jili slots login register mobile philippines BetVictor UK Jilino1 new site Jili no minimum deposit philippines 2020 Royal777 login register philippines Forgot transaction password in phdream Casino plus jili slot real money Win99 slot games free apk Nn777 slot jili real money 38jili login GO Keyboard APK betBonanza mobile login registration Dragon cash vs Dragon Link 8k8 online casino games downloadable content philippines Best slots to play on FanDuel reddit balato8aa Crown89ph casino login Online casino builder Wjevo22 app irich slots&games casino 777 Boxing king casino real money Jili22 vip202 download online casino games with no minimum deposit Mega Wheel game download Jili apps download for android free Diablo 4 enchantment slot not working Online lucky sweepstakes no deposit bonus 747 online casino games philippines Super ace demo game online free Spin and win cash in Uganda withdrawal PG Soft Wild Bounty Showdown 777sky slot Jiliapp download latest version Www royal888casino net register Royal slots real money login ????? ?? ???? ??? ???? ????? ????? Phkuya com casino login PHIL168 new link Royal888casino net withdrawal July 8, 2024 Casino machine Jili lucky slot app apk Pragmatikong laro ng big bass bonanza videos 200jili download latest version Dometic 94067 Online slot machines philippines 12 Titans Greek mythology Online slots strategy Casinos online slots real money Jili official website app for android Play tongits online real money philippines Bmy88 net login password Jili 646 ph register app ios Kumuha ng jili app login download Ezjili com download ios Mega Ace mechanics Jili ace 777 no deposit bonus Jili live club login Jili 747 login app 291 jili 01 register download Tongits Go new version Boss JILI casino login Rich711 casino login download 9jlbet Real money casino app apk Jili event login app Jackpot fishing jili download free Pagsasalin ng teksto Sixers game today Please complete the required turnover for withdrawal tagalog Majhail X song download Mp3 April 8 2024 holiday Philippines Pg777 login register online Crazy Time prediction telegram Tadhana slots apk download old version Transaction password in scatter example Mine (Taylor Swift release date) Jili zeus slot login register International casino app Monopolyo ng big baller login Win888pub app Diablo 4 enchantments Phmacau club 啶す啶苦啶︵啶班ぞ 啶溹啶む 啶曕 啶啶∴ Apat na uri ng tunggalian at halimbawa Sw888 casino register BYU portal 49 jili vip login philippines Ubet95 Casino login Jili 178 ph register Is online gambling legal in Philippines Jili t7 login registration form Fg777 official withdrawal How to get unlimited coins on Vegas Live Slots Go88 slot login register download Slot sites philippines Pnxbet77 legit Online lucky 9 gcash download bwinners - online sports betting virtual & casino games Fachai free 150 Casino table games inside (2008) Ocean King Jackpot download Boom casino login KK JILI Casino Login app apk Nexusgaming88 agent login philippines Bonus 365 casino login Free unlimited bingo card generator PDF Microsoft login Jill meaning slang origin Grand slot Palace online casino W888 login Jili369 real money login Nexus88 Gaming login register Jackpot fishing demo free download Jajji veer punjabi gane mp3 download online casino games not real money Wagi 777 download for android free spins bonus no deposit Best casino online slots europe Bombing Fishing demo Limbo bar game Lodigame 291 login registration philippines Mammoth Gold Megaways Peraplay login Fb jili casino login download free no deposit bonus Bingo filipino machine price Login slot machine app Nextbet app download apk Slots game machine free Is DraftKings Casino legal in Massachusetts Webcam app Free unlimited bingo card generator What do CB1 receptors do 177bet cc download Jiliasia casino login philippines Online lucky 9 gcash withdrawal KK JILI register Slots rivals ladbrokes login Jilivip download ios online casino games in florida slot o pol online Jl777 Login Register Charge Buffalo free play Lucky Tongits gcash download Ph646 register mobile philippines Promotion 100 free 58jili login registration online x570 ram slots Mines predictor free Jili17 register mobile Kkjili com app download latest version Best free bonus slots real money Gba 777 casino no deposit bonus Best slots to buy bonus GGBET GCash Wild hammer megaways apk Real money gambling games philippines Jiliko photos free Libreng mga laro ng slot online register MVG SunBet login Bet777 Login Casino keno games free online no deposit Casino ng rainbow riches real money Jili referencing indian law ppt Free casino online real money Philboss link login Jili slot 777 login register online philippines Premiumbets TG777 app login 10 07 day Pocket GK Book PDF in Hindi Online casino 50 cash in no deposit Free slots paypal deposit Phlwin online casino hash encryption games traceable fair casino apk casino game casino Jili188 tv login password 5e sorcerer spell slots guide Alamat ng wizarding wars reddit Jili slot jackpot 777 withdrawal Www jilino1 club app Betso89 register Free website browser download pagcor online casino games Poker machines games casinos online free bonus Play video poker free no download for android Is Seybold journal Scopus Indexed How to withdraw in jili online gcash mwplay888.net login Phpslot app apk Top 1 game in the world 2024 Bingo plus pagcor login password 178jili HP777 Casino Jili day app apk Casino guru Brazil nuebegamingslot Jili casino app login download Jili 09 register download taylor swift july 9th 1:38 Geely Coolray 2024 Release date Philippines Jollibee picture outside Xo jili casino login register mobile Spielautomaten kaufen Royal Club apk Mod Helens gogo jili login register philippines Lucky 777 apk latest version Katangian ni apollo sa cupid at psyche Doble Engineering Casino jili real money app Slot machine png Falcon casino login register 5e multiclass spell slots Arcane Trickster Jili slot jackpot app download Paano maglaro ng slot para kumita withdrawal casino slot games real money Helens gogo jili register philippines Casino articles topics Fachai free 100 Slot 50 minimum deposit Philippines sm 3-day sale schedule 2024 Magic jili slot game login Are casino Apps rigged Tala888 download jackpotfree Big bet review guardian online casino games for free Fg777 casino login register link Betvisa best online casino Microsoft Store download lodivip3web Jili 789 download Best online casino games for real cash Tongits go 4.1 6 apk download latest version Gba333 login Register Phone club Game online azure pre-validated domain Sabong app apk Bandit Slots Youtube Jacks or Better strategy app Magandang slot ba ang Sweet Bonanza? 100 free spins no deposit no wagering requirements philippines Fg777win com login Pci slot types explained Nakakabuti ba ang sugal sa tao Tmtplay casino login register mobile Galaxy 88 casino com login register Free flash video poker download no download Winford Online casino login JIL pastor Winhq9 login register mobile W500 one Jili veo casino login registration Buenas 88 Register How to withdraw 90 jili club philippines online Jili free 100 php no deposit bonus philippines Jili com casino register Minecraft Crazy games Mitran de boot remix mp3 song download 320kbps Anjeer Dry fruit tg777 customer service 24/7 Arat365 com login Apps na pwedeng kumita ng pera legit 9k slot Casino Jili 8888 download for android William Hill live Tesla jili login philippines 啶す啶苦啶︵啶班ぞ 啶溹啶む x7-16 啶啶侧啶? Okada Online Casino download ios Lucky Neko demo play Jili lucky download for pc Original Buffalo wings recipe 777 jili Casino real money Betsson Group Glassdoor 40 jili casino login philippines app 777ku login App Byu jili register download Yesjili com login philippines Jackpot fishing game real money Ubet95 app apk 888 casino app store download Betway zambia online live sports betting download jili 80 iRich kh free download Mga nakakatawang palaro Top online slots online lucky 777 slot game download 50 deposit game online 49 jili games Online casino game with real money Freeplay Casino no deposit bonus Jili 646 777 login register philippines link Kk jili login register online philippines Anti epidemic online casino gcash login Gold 168 Casino login Royal777 register JILI6 promo code Philippines Lodislot 777 casino online real money Ijility maumelle ar Mnl168 download for android Bet 888 login philippines Boeing Secure Login 188 JILI Casino login Jili asya download Mr joker Photo Dinosaur tycoon jili ios download Jili777 login register Philippines 49 jili games download Wow888one philippines Phl63one philippines Mega Medusa Casino login Win888 casino register online Pldt 777 real money withdrawal solaire online casino games MNL63 free 100 No Deposit Jili caishen casino irich slots&games casino 777 Free slots poker online real money Casinos online for real money philippines Royal Club login app download free Online casino free real money DO888 online casino JILI188 app Charge buffalo jili download free Jili free 100 no turnover philippines no deposit bonus Gogosolot online Casino Login Superjilli ph Jili365 bet login sign up philippines Jili x super ace download 5 jili casino login register online Lolliplay login no deposit bonus Pldt jili slot download ios New online casino free chip no deposit Is transaction password and atm pin same sbi mega joker spielautomat Baccarat Strategy book Sweet Bonanza Candyland live Jili 337 withdrawal fee Baccarat Evolution Jili games download for pc slots with real money online 5jl Casino Login Super Ace slot demo SWERTRES sureball hearing today Philippines youtube Jili big win login register Online casino games no deposit free spins philippines Top online slots online lucky 777 slot game download Big baller Club info login Non working holiday Pasig 45 days from july 9, 2024 777 10 jili casino register download jackpot giant slot 90 jili register download JL777 Casino Tp777 com login register mobile Casino tr c tuy n login Gogo jili app download apk mod Legends Slot Bingo JILI 52 Club APK Jilievo888 com login register online Lucky jili real money 888bets mozambique app download Happy jackpot slots Fairground Slots no deposit bonus Wild ace demo download New Vegas slots luck Casino mania bonus Huff and more Puff slot machine for sale baccarat game how to play Jili ph register online Jolibet withdrawal Football teams Premier League sissi slot machine free play Jili vip login register philippines download app ios Transaction password in tagalog example brainly Play free casino games online without downloading for android ELK casino games Libreng computer video poker download Winph6aa philippines Jlbetslot 49 jili casino slots login Jili app casino download apk for android Mnl168 online casino register philippines apk Jili 80 login register Jili free withdrawal app Maaari ba tayong maglaro ng monopoly online play SYNOT Interactive Playzone cashback labet88.com app Jili49 login register Jili asia com casino login download Gold slots casino sa facebook login Jili balita withdrawal fee Gamezy Rummy Jili day register online 90jili game club download PH Macao game 777sky casino philippines Ibetph web casino Best online casino games philippines gcash 247 slots login Elf bingo jili online registration Funny captions for online casino games 777 lucky slot no deposit bonus OKBet App download apk Z25 Gaming P88 jili login app Jili77win philippines DuckyLuck Casino Ttjl casino link app 55jili login Cali 777 com login password LIMBO APK download latest version 200jili login philippines 646 jili 01 login app FB JILI Login Golden Wealth Baccarat live Panaloka login registration Tala0888 download apk GemDisco Login register Lion dance history Ezjili login register mobile Royal777 register Jili 337 login register philippines download Fishing era poppo How to play jackpot fishing app Libreng jili games login Swerte ng buto 77ph1 com login password How do i install tongits go on android Joy jili casino login register philippines free chips Slot machine 777 login Jili online slot apk Jili ko o casino login register APK injector Slot Pragmatic Play Gogo JILI Casino login 50 minimum Z790 ram slots for gaming Tongits Go update download How to compute special non working holiday Philippines 777 Casino 77 free spins login MWGAMING Login Password How to play taya 777 online How does Lee Young ji know English Phdream88 login app 63jili download ios ME777 Casino Login Philippines Baba Slots online casinoplusslot How to play jili super ace online Unibet sign up bonus 60 jili login download no deposit bonus Philippine online casino no deposit bonus pxbetgamingslot Online casino games that pay real money no deposit 49jili flag login password Jili 2024 login register Paano maglaro ng jili super ace login download Vip jili login philippines app Jili bingo download for android 9Y game City Jili jackpot lucky casino real money no deposit bonus Easy money jackpot fishing philippines Casino free games slots machine no deposit Slots7 Casino free spins Winjili ph login registration Jili games free 100 download apk Jiliplay999 com login Hot chilli megaways review Jili games apk latest version ang mga slot ay nagsusugal Nice 888 login philippines Playzone Casino FC jackpot Casino login Spin jackpot YONO apk Juegos de casino gratis sin descargar ni registrarse Gold slots casino sa facebook withdrawal Jili 168 login registration link Mitran De Junction Te Mp3 Song Download pagalworld Lovejili app for android apk download Helens gogo jili casino login Transaction password in scatter example mainit na jili casino Casino online free credit no deposit How do i install tongits go on iphone Boombet casino 100 JILI casino no deposit bonus Peso88aa philippines Jiliko gcash withdrawal Jili veo login philippines Jili slot game download apk latest version Macau casino online login philippines online casino Katangian ni sita sa rama at sita 49jili login to my account philippines app Forgot transaction password Fg777app download Baccarat in casino online 98 jili casino login register philippines download app Marvelbet apps download apk for android Xo jili app login Speed roulette strategy betway zambia live soccer online casino games Casino 777 lucky jili slots real money yakuza: like a dragon slots high payout token Wild Coaster PG slot Turkish Airlines flights Bet jili app download for iphone Why do slot machines have bingo cards Ez jili code philippines DOUBLE Jackpot Slot MACHINE for sale play free online casino games Bet777 Login app Supabets mobile app download Winning plus 40 apk Play top Dollar slot machine online free no download Jackpot meter jili download apk Plot 777 casino login register link Best time to play jili slot on sunday reddit