| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/prosvasi/wp-content/plugins/wp-statistics/views/components/notification/ |
Upload File : |
<?php if (!defined('ABSPATH')) exit; // Exit if accessed directly ?>
<div class="wps-notification-sidebar__card <?php echo esc_attr($notification->backgroundColor()); ?> wps-notification-<?php echo esc_attr($notification->getID()) ?>">
<?php if ($notification->getIcon()): ?>
<div class="wps-notification-sidebar__card-icon">
<span><?php echo esc_html($notification->getIcon()); ?></span>
</div>
<?php endif; ?>
<div class="wps-notification-sidebar__card-body">
<div class="wps-notification-sidebar__card-title">
<?php if ($notification->getTitle()): ?>
<div><?php echo esc_html($notification->getTitle()) ?></div>
<?php endif; ?>
<?php if ($notification->activatedAt()): ?>
<div class="wps-notification-sidebar__card-date"><?php echo esc_html($notification->activatedAt()) ?></div>
<?php endif; ?>
</div>
<?php if ($notification->getDescription()): ?>
<div class="wps-notification-sidebar__card-content">
<?php echo $notification->getDescription() ?>
</div>
<?php endif; ?>
<div class="wps-notification-sidebar__card-actions">
<?php if ($notification->primaryButtonTitle() && $notification->primaryButtonUrl()): ?>
<a href="<?php echo esc_url($notification->primaryButtonUrl()); ?>" class="wps-notification-sidebar__button" target="_blank">
<?php echo esc_html($notification->primaryButtonTitle()); ?>
</a>
<?php endif; ?>
<?php if ($notification->secondaryButtonTitle() && $notification->secondaryButtonUrl()): ?>
<a href="<?php echo esc_url($notification->secondaryButtonUrl()); ?>" class="wps-notification-sidebar__button" target="_blank">
<?php echo esc_html($notification->secondaryButtonTitle()); ?>
</a>
<?php endif; ?>
<?php if (!$notification->getDismiss()): ?>
<a href="#" class="wps-notification-sidebar__dismiss" data-notification-id="<?php echo esc_attr($notification->getID()); ?>">
<?php echo esc_html__('Dismiss', 'wp-statistics'); ?>
</a>
<?php endif; ?>
</div>
</div>
</div>