HEX
Server: Apache/2.4.54 (Debian)
System: Linux a5825d2beacc 4.15.0-197-generic #208-Ubuntu SMP Tue Nov 1 17:23:37 UTC 2022 x86_64
User: root (0)
PHP: 8.1.14
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/wp-mail-bank/includes/header.php
<?php
/**
 * This file is used for plugin header.
 *
 * @author  Tech Banker
 * @package wp-mail-bank/includes
 * @version 2.0.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}// Exit if accessed directly
if ( ! is_user_logged_in() ) {
	return;
} else {
	$access_granted = false;
	foreach ( $user_role_permission as $permission ) {
		if ( current_user_can( $permission ) ) {
			$access_granted = true;
			break;
		}
	}
	if ( ! $access_granted ) {
		return;
	} else {
		?>
	<div class="page-container">
		<div id="manage_messages" style="display:none;">
			<div class="radio">
			<input type="radio" value="success" checked="checked" />
			</div>
		</div>
		<div id="toastTypeGroup_error" style="display:none;">
			<div class="radio">
				<input type="radio" value="error" checked=""/>
			</div>
		</div>
		<?php
	}
}