Server IP : 162.0.217.223 / Your IP : 216.73.216.153 Web Server : LiteSpeed System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : mypckeys ( 1539) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mypckeys/yeslicense.org/wp-content/plugins/squirrly-seo/view/ |
Upload File : |
<?php defined( 'ABSPATH' ) || die( 'Cheatin\' uh?' ); if ( ! isset( $message ) || ! isset( $type ) ) { return; } /** * Top Notice view * */ ?> <?php if ( $type === 'error' ) { ?> <div class="sq_alert position-fixed fixed-top text-center text-white bg-danger m-0 p-3 border border-white sq-position-fixed sq-fixed-top sq-text-center sq-text-white sq-bg-danger sq-m-0 sq-p-3 sq-border sq-border-white"> <?php echo wp_kses_post( $message ); ?> </div> <script> (function ($) { $(".sq_alert").on('click', function () { $(this).remove(); }); setTimeout(function () { $('.sq_alert').remove(); }, 5000); })(jQuery); </script> <?php } elseif ( $type == 'success' ) { ?> <div class="sq_alert position-fixed fixed-top text-center text-white bg-success m-0 p-3 border border-white sq-position-fixed sq-fixed-top sq-text-center sq-text-white sq-bg-success sq-m-0 sq-p-3 sq-border sq-border-white"> <?php echo wp_kses_post( $message ); ?> </div> <script> (function ($) { $(".sq_alert").on('click', function () { $(this).remove(); }); setTimeout(function () { $('.sq_alert').remove(); }, 3000); })(jQuery); </script> <?php } else { ?> <div class="<?php echo $type ?>"><p><?php echo wp_kses_post( $message ); ?></p></div> <?php } ?>