. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 94.23.64.18  /  Your IP : 216.73.216.185   [ Reverse IP ]
Web Server : Apache
System : Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : villadal ( 6036)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/villadal/www/wp-content/plugins/iubenda-cookie-law-solution/views/partials/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/villadal/www/wp-content/plugins/iubenda-cookie-law-solution/views/partials/languages-tabs.php
<?php
/**
 * Language tab - global - partial page.
 *
 * @package  Iubenda
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

// Check if $key is defined before using it.
if ( ! isset( $key ) ) {
	return;
}

// Check if $service is defined before using it.
if ( empty( $service ) ) {
	return;
}

?>
<div class="mb-3 p-0">

	<fieldset class="paste_embed_code tabs tabs--style2">

		<ul class="tabs__nav">
			<?php
			foreach ( iubenda()->languages as $k => $v ) :
				$_status = '';
				if ( iubenda()->lang_default === $k ) {
					$_status = 'active';
				}
				?>
				<li id="<?php echo esc_html( "code_{$k}-iubenda_{$service['name']}_solution_tab" ); ?>" class="iub-language-tab tabs__nav__item <?php echo esc_html( $_status ); ?>" data-target="tab-<?php echo esc_html( $k ); ?>" data-target-textarea="#<?php echo esc_html( "iub-embed-code-{$k}-{$service['name']}" ); ?>" data-group="language-tabs">
					<?php echo esc_html( strtoupper( $k ) ); ?>
				</li>
			<?php endforeach; ?>
		</ul>

		<?php
		$product_helper = new Product_Helper();

		foreach ( $product_helper->get_languages() as $lang_id => $v ) :
			$method = "get_{$key}_embed_code_by_lang";
			$code   = $product_helper->{$method}( $lang_id );
			?>
			<div data-target="tab-<?php echo esc_html( $lang_id ); ?>" class="tabs__target iub-embed-code-<?php echo esc_html( $key ); ?>-container <?php echo (string) iubenda()->lang_default === (string) $lang_id || 'default' === (string) $lang_id ? 'active' : ''; ?>" data-group="language-tabs">
				<textarea
						class='form-control text-sm m-0 iub-language-code iub-embed-code-<?php echo esc_html( $key ); ?>'
						data-language="<?php echo esc_html( $lang_id ); ?>"
						placeholder='<?php esc_html_e( 'Paste your embed code here', 'iubenda' ); ?>'
						id='<?php echo esc_html( "iub-embed-code-{$lang_id}-{$service['name']}" ); ?>'
						name='iubenda_<?php echo esc_html( $service['name'] ); ?>_solution[code_<?php echo esc_html( $lang_id ); ?>]'
						rows='4'
				><?php echo esc_html( $code ); ?></textarea>
			</div>
		<?php endforeach; ?>

	</fieldset>
	<div class="text-right mt-2">
		<a target="_blank" href="<?php echo esc_url( iubenda()->settings->links[ "how_generate_{$key}" ] ); ?>" class="link link-helper"><span class="tooltip-icon mr-2">?</span><?php esc_html_e( 'Where can I find this code?', 'iubenda' ); ?></a>
	</div>
</div>

Anon7 - 2022
AnonSec Team