AlkantarClanX12

Your IP : 3.133.124.161


Current Path : /home/thanudqk/www/wp-content/plugins/thegem-elements/inc/gdpr/inc/views/admin/
Upload File :
Current File : /home/thanudqk/www/wp-content/plugins/thegem-elements/inc/gdpr/inc/views/admin/index.php

<div class="wrap thegem-gdpr-admin-index ui-no-theme">
	<h1><?php _e('Privacy & GDPR', 'thegem'); ?></h1>

	<?php settings_errors(); ?>

	<ul class="thegem-gdpr-admin-tabs">
		<li><a <?php echo checked('', $type, false) ? 'class="active"' : ''; ?> href="<?php echo $this->get_plugin_url() ?>"><?php _e('Cookies Consent Bar', 'thegem'); ?></a></li>
		<li><a <?php echo checked(TheGemGdpr::TYPE_INTEGRATIONS, $type, false) ? 'class="active"' : ''; ?> href="<?php echo $this->get_plugin_url(TheGemGdpr::TYPE_INTEGRATIONS) ?>"><?php _e('Forms', 'thegem'); ?></a></li>
		<li><a <?php echo checked(TheGemGdpr::TYPE_SETTINGS, $type, false) ? 'class="active"' : ''; ?> href="<?php echo $this->get_plugin_url(TheGemGdpr::TYPE_SETTINGS) ?>"><?php _e('Privacy Preferences & Consents', 'thegem'); ?></a></li>
		<li><a <?php echo checked(TheGemGdpr::TYPE_EXTRAS, $type, false) ? 'class="active"' : ''; ?> href="<?php echo $this->get_plugin_url(TheGemGdpr::TYPE_EXTRAS) ?>"><?php _e('Extras', 'thegem'); ?></a></li>
	</ul>

	<div class="thegem-gdpr-admin-content">
		<?php
			switch ($type) {
				case TheGemGdpr::TYPE_INTEGRATIONS:
					$this->init_page(TheGemGdpr::TYPE_INTEGRATIONS);
					include plugin_dir_path(__DIR__).'admin/integrations.php';
					break;
				case TheGemGdpr::TYPE_SETTINGS:
					$this->init_page(TheGemGdpr::TYPE_SETTINGS);
					include plugin_dir_path(__DIR__).'admin/settings.php';
					break;
				case TheGemGdpr::TYPE_EXTRAS:
					$this->init_page(TheGemGdpr::TYPE_EXTRAS);
					include plugin_dir_path(__DIR__).'admin/extras.php';
					break;
				default:
					$this->init_page(TheGemGdpr::TYPE_CONSENT_BAR);
					include plugin_dir_path(__DIR__).'admin/consent-bar.php';
					break;
			}
		?>
	</div>
</div>