File manager - Edit - /home/adiance/public_html/wp-content/plugins/page-builder-add/admin/views/ntifs/bfs.php
Back
<?php if ( ! defined( 'ABSPATH' ) ) exit; if( !function_exists("bfsNoticeDefault") ){ function bfsNoticeDefault(){ $btnLink = 'https://pluginops.com/page-builder/?ref=specDiscount&src=wpdash&ut=0'; global $wp; $nobugurl = home_url( $wp->request ) . '?plugOPB_hide_holiday=1'; if(strpos($nobugurl, 'wp-admin') == false){ $nobugurl = get_admin_url() . '?plugOPB_hide_holiday=1'; } $thisAdminURL = get_admin_url(); $thisDefaultUrlProtocol = 'http://'; if (strpos($thisAdminURL, 'https') !== false ) { $thisDefaultUrlProtocol = 'https://'; } $imgUrl = ULPB_PLUGIN_URL.'/images/icons/holiday-icons.png'; $actual_link = "$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; if (strpos($actual_link, '?') == false) { $nobugurl = $actual_link . '?plugOPB_hide_holiday=1'; }else{ $nobugurl = $actual_link . '&plugOPB_hide_holiday=1'; } $nobugurl = $thisDefaultUrlProtocol.$nobugurl; $install_date = get_option( 'plugOPB_activation_date' ); return " <style> @import url('https://fonts.googleapis.com/css2?family=Tourney&display=swap'); </style> <div class='notice' style='background:#1e1e1e;color:#fff; padding:10px 25px;'> <div style='display:flex;'> <div style='width:100%;'> <div style='text-align:center;'> <p style='font-size:22px;'>PluginOps Landing Page Builder <br> <span style='font-size:34px;font-family:tourney; color:#EDCD60;'>Black Friday / <span style='color:#00BCD4;'> Cyber Monday </span> </span> - Upto 50% Off</p> <p style='font-size:12px;' >Valid through 20-30 November 2023 </p> <br /> <a href='$btnLink' style='text-decoration:none; color:#fff; padding:10px 20px; font-size: 22px; background:#5f0ef7; border-radius:5px; ' >Avail Special Discount Now</a> </div> <a href=".$nobugurl." style='color:#fff;'>Dismiss</a> </div> <div style='width:5%'> <a href=".$nobugurl."><button type='button' class='notice-dismiss' style='display:inline-block; position:relative; float:right;margin-top:45px;'><span class='screen-reader-text'>Dismiss this notice.</span></button></a> </div> </div> </div> "; } } ?>
| ver. 1.4 |
Github
|
.
| PHP 7.3.33 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings