SILENT KILLERPanel

Current Path: > home > transcarter > > www > wp-content > plugins > LayerSlider > > assets > templates


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/transcarter//www/wp-content/plugins/LayerSlider//assets/templates

NameTypeSizeLast ModifiedActions
html-export Directory - -
index.php File 27 bytes March 10 2023 20:45:26.
tmpl-2d-transition.php File 7430 bytes March 10 2023 20:45:26.
tmpl-3d-transition.php File 11715 bytes March 10 2023 20:45:26.
tmpl-activation-unavailable.php File 1561 bytes March 10 2023 20:45:26.
tmpl-activation.php File 4086 bytes March 10 2023 20:45:26.
tmpl-add-layer.php File 1850 bytes March 10 2023 20:45:26.
tmpl-add-new-slider.php File 992 bytes March 10 2023 20:45:26.
tmpl-addons-modal.php File 1463 bytes March 10 2023 20:45:26.
tmpl-button-presets.php File 51125 bytes March 10 2023 20:45:26.
tmpl-callback-events-modal.php File 13425 bytes March 10 2023 20:45:26.
tmpl-canceled-activation-modal.php File 1698 bytes March 10 2023 20:45:26.
tmpl-deregister-license-modal.php File 1570 bytes March 10 2023 20:45:26.
tmpl-embed-slider.php File 6334 bytes March 10 2023 20:45:26.
tmpl-font-library.php File 4616 bytes March 10 2023 20:45:26.
tmpl-import-layer.php File 1147 bytes March 10 2023 20:45:26.
tmpl-import-slide.php File 879 bytes March 10 2023 20:45:26.
tmpl-import-templates.php File 12791 bytes March 10 2023 20:45:26.
tmpl-importing.php File 328 bytes March 10 2023 20:45:26.
tmpl-insert-icons-modal.php File 4406 bytes March 10 2023 20:45:26.
tmpl-insert-media-modal.php File 2458 bytes March 10 2023 20:45:26.
tmpl-keyboard-shortcuts.php File 8702 bytes March 10 2023 20:45:26.
tmpl-layer-item.php File 1102 bytes March 10 2023 20:45:26.
tmpl-loading-modal.php File 317 bytes March 10 2023 20:45:26.
tmpl-object-modal.php File 2271 bytes March 10 2023 20:45:26.
tmpl-plugin-settings.php File 18276 bytes March 10 2023 20:45:26.
tmpl-plugin-update-easter-egg-modal.php File 1027 bytes March 10 2023 20:45:26.
tmpl-plugin-update-error-modal.php File 946 bytes March 10 2023 20:45:26.
tmpl-plugin-update-loading-modal.php File 344 bytes March 10 2023 20:45:26.
tmpl-plugin-update-success-modal.php File 1195 bytes March 10 2023 20:45:26.
tmpl-post-chooser.php File 1177 bytes March 10 2023 20:45:26.
tmpl-post-options.php File 6822 bytes March 10 2023 20:45:26.
tmpl-project-preview-iframe.php File 2859 bytes March 10 2023 20:45:26.
tmpl-project-settings.php File 65245 bytes March 10 2023 20:45:26.
tmpl-purchase-ww-popups.php File 2853 bytes March 10 2023 20:45:26.
tmpl-quick-import.php File 346 bytes March 10 2023 20:45:26.
tmpl-revisions-welcome.php File 1622 bytes March 10 2023 20:45:26.
tmpl-search-window.php File 2122 bytes March 10 2023 20:45:26.
tmpl-shape-modal.php File 24461 bytes March 10 2023 20:45:26.
tmpl-slide-tab.php File 833 bytes March 10 2023 20:45:26.
tmpl-slider-grid-item.php File 2144 bytes March 10 2023 20:45:26.
tmpl-slider-group-item.php File 483 bytes March 10 2023 20:45:26.
tmpl-slider-group-placeholder.php File 265 bytes March 10 2023 20:45:26.
tmpl-slider-group-remove-area.php File 395 bytes March 10 2023 20:45:26.
tmpl-slider-library.php File 4312 bytes March 10 2023 20:45:26.
tmpl-sliders-list-context-menu.php File 1477 bytes March 10 2023 20:45:26.
tmpl-smart-alert.php File 161 bytes March 10 2023 20:45:26.
tmpl-smart-help.php File 69956 bytes March 10 2023 20:45:26.
tmpl-static-layer-item.php File 647 bytes March 10 2023 20:45:26.
tmpl-transition-gallery.php File 821 bytes March 10 2023 20:45:26.
tmpl-transition-window.php File 5566 bytes March 10 2023 20:45:26.
tmpl-upload-sliders.php File 1315 bytes March 10 2023 20:45:26.
tmpl-version-warning.php File 670 bytes March 10 2023 20:45:26.

Reading File: /home/transcarter//www/wp-content/plugins/LayerSlider//assets/templates/tmpl-import-templates.php

<?php

// Prevent direct file access
defined( 'LS_ROOT_FILE' ) || exit;

include LS_ROOT_PATH . '/classes/class.ls.templateutils.php';

$lsTemplatesConnectionError = empty( $lsStoreData );

$lsStoreData = LS_TemplateUtils::processTemplatesData( $lsStoreData );
$demoSliders = LS_Sources::getDemoSliders();


function lsPrintTemplateGridItems( $originalCategory, $items, $max = 9999, $excludeHandles = [] ) {

	if( empty( $items ) ) { return ''; }

	$counter = 0;

	foreach( $items as $handle => $item ) {

		$category = $originalCategory;

		if( empty( $category ) && ! empty( $item['category'] ) ) {
			$category = $item['category'];
		}

		// Skip when excluded
		if( ! empty( $excludeHandles ) ) {
			if( in_array( $handle, $excludeHandles ) ) {
				continue;
			}
		}

		// Skip popups in sliders
		if( $category === 'sliders' && ! empty( $item['popup'] ) ) {
			continue;
		}

		// Stop when reached the max limit
		if( ++$counter > $max ) {
			break;
		}

		$item['collections'] 	= ! empty( $item['collections'] ) ? $item['collections'] : '';
		$item['bundled'] 		= ! empty( $item['bundled'] ) ? 'true' : 'false';
		$item['premium'] 		= ! empty( $item['premium'] ) ? 'true' : 'false';
		$item['requires'] 		= ! empty( $item['requires'] ) ? $item['requires'] : '1.0.0';
		$item['warning'] 		= version_compare( $item['requires'], LS_PLUGIN_VERSION, '>') ? 'true' : 'false';

	?>
	<ls-template data-groups="<?= $item['groups'] ?>" data-collections="<?= $item['collections'] ?>">
		<ls-wrapper>
			<ls-image-holder style="background-image: url(<?= $item['preview'] ?>);"></ls-image-holder>
			<ls-content-wrapper>
				<ls-template-name><?= $item['name'] ?></ls-template-name>
				<ls-template-buttons>

					<?php if( ! empty( $item['url'] ) ) : ?>
					<a
						href="<?= $item['url'] ?>"
						class="ls--button"
						target="_blank">
							<?= __('Preview', 'LayerSlider') ?>
					</a>
					<?php endif ?>

					<a
						href="#"
						class="ls--button ls--import-template-button"
						data-name="<?= $item['name'] ?>"
						data-handle="<?= $handle ?>"
						data-category="<?= $category ?>"
						data-bundled="<?= $item['bundled'] ?>"
						data-premium="<?= $item['premium'] ?>"
						data-version-warning="<?= $item['warning'] ?>">
							<?= __('Import', 'LayerSlider') ?>
					</a>
				</ls-template-buttons>
			</ls-content-wrapper>
		</ls-wrapper>
	</ls-template>
<?php } } ?>



<script type="text/javascript">
	window.lsImportNonce = '<?= wp_create_nonce('ls-import-demos'); ?>';
</script>

<?php if( ! empty( $lsStoreData['html'] ) ) : ?>
<?= $lsStoreData['html'] ?>
<?php endif ?>

<script type="text/html" id="tmpl-import-sliders">

	<div id="ls-import-modal-window" class="<?php if( $lsTemplatesConnectionError ) : ?>connection-failed<?php endif ?> <?= $lsStoreHasUpdate ? 'has-updates' : '' ?>">

		<ls-templates>

			<ls-templates-sidebar class="ls--dark">
				<ls-wrapper class="ls--back">
					<ls-ib class="ls--button ls--close-templates">
						<?= lsGetSVGIcon('arrow-left'); ?>
						<ls-ib><?= __('Back to Dashboard [ESC]', 'LayerSlider') ?></ls-ib>
					</ls-ib>
				</ls-wrapper>
				<ls-templates-nav>
					<ls-ul>
						<ls-li class="ls--active" data-show-category="discover">
							<?= lsGetSVGIcon('sparkles', 'duotone'); ?>
							<ls-ib><?= __('Discover', 'LayerSlider') ?></ls-ib>
						</ls-li>

						<?php if( ! empty( $lsStoreData['collections'] ) ) : ?>
						<ls-li data-show-category="collections">
							<?= lsGetSVGIcon('rectangle-history', 'duotone'); ?>
							<ls-ib><?= __('Collections', 'LayerSlider') ?></ls-ib>
						</ls-li>
						<?php endif ?>

						<?php foreach( $lsStoreData['categories'] as $categoryKey => $category ) { ?>
						<ls-li data-show-category="<?= $categoryKey ?>">
							<?= $category['icon'] ?>
							<ls-ib><?= $category['name'] ?></ls-ib>
						</ls-li>
						<?php } ?>
					</ls-ul>

				</ls-templates-nav>
				<ls-templates-info>
						<?= __('Last updated:', 'LayerSlider') ?>
						<ls-nowrap>
							<?php
								if( time() - 15 > (int) LS_RemoteData::lastUpdated() ) {
									echo human_time_diff( LS_RemoteData::lastUpdated() ), __(' ago', 'LayerSlider');
								} else {
									_e('Just now', 'LayerSlider');
								}
							?>
						</ls-nowrap>
						<a title="<?= __('Check for Updates', 'LayerSlider') ?>"href="<?= wp_nonce_url( admin_url('admin.php?page=layerslider&action=update_store'), 'update_store') ?>" class="refresh-btn ls--button"><?= __('Check for Updates', 'LayerSlider') ?></a>
				</ls-templates-info>
			</ls-templates-sidebar>

			<ls-templates-containers class="lse-scrollbar lse-scrollbar-dark">

				<ls-templates-container data-category="discover" class="ls--active">

					<ls-templates-featured data-slideshow-interval="<?= $lsStoreData['featured_interval'] ?>">
						<?php foreach( $lsStoreData['featured'] as $featuredIndex => $featured ) : ?>
						<ls-featured-item class="<?= ( $featuredIndex === 0 ) ? 'ls--active' : '' ?>">

							<ls-templates-featured-sidebar class=" <?= $featured['sidebar']['class'] ?>" style="<?= $featured['sidebar']['style'] ?>">
								<ls-title><?= ! empty( $featured['template']['handle'] ) ? __('Featured Template') : __('Featured', 'LayerSlider') ?></ls-title>
								<ls-template-name><?= $featured['title'] ?></ls-template-name>
								<ls-template-desc class="lse-scrollbar lse-scrollbar-light">
									<?= $featured['text'] ?>
								</ls-template-desc>
								<ls-template-buttons>
									<?php
										foreach( $featured['buttons'] as $button ) {
											$attrList = '';
											if( ! empty( $button['attributes'] ) ) {
												foreach( $button['attributes'] as $attrKey => $attrVal ) {
													if( $attrKey !== 'class' ) {
														$attrList .= ' '.$attrKey.'="'.$attrVal.'"';
													}
												}
											}
									?>

									<a class="ls--button <?= ! empty( $button['attributes']['class'] ) ? $button['attributes']['class'] : '' ?>" href="<?= $button['attributes']['href'] ?>" <?= $attrList ?>>
										<?= $button['icon'] ?>
										<ls-text><?= $button['text'] ?></ls-text>
									</a>
									<?php } ?>
								</ls-template-buttons>
							</ls-templates-featured-sidebar>
							<ls-templates-featured-media>
								<div class="ls--sidebar-spacer"></div>
								<div class="ls--media-container">

									<?php if( ! empty( $featured['video'] ) ) { ?>
									<ls-media-wrapper class="ls--blurred">
										<video width="640" height="360" preload="metadata" muted autoplay loop>
											<?php foreach( $featured['video']['sources'] as $source ) : ?>
											<source src="<?= $source['src'] ?>" type="<?= $source['type'] ?>">
											<?php endforeach ?>
										</video>

		 							</ls-media-wrapper>
									<ls-media-wrapper>
										<video width="640" height="360" preload="metadata" muted autoplay loop>
											<?php foreach( $featured['video']['sources'] as $source ) : ?>
											<source src="<?= $source['src'] ?>" type="<?= $source['type'] ?>">
											<?php endforeach ?>
										</video>
									</ls-media-wrapper>
									<?php } elseif( ! empty( $featured['poster'] ) ) { ?>
									<ls-media-wrapper class="ls--blurred" style="background-image: url( <?= $featured['poster'] ?>);"></ls-media-wrapper>
									<ls-media-wrapper style="background-image: url( <?= $featured['poster'] ?>);"></ls-media-wrapper>
									<?php } elseif( ! empty( $featured['template']['preview'] ) ) { ?>
									<ls-media-wrapper class="ls--blurred" style="background-image: url( <?= $featured['template']['preview'] ?>);"></ls-media-wrapper>
									<ls-media-wrapper style="background-image: url( <?= $featured['template']['preview'] ?>);"></ls-media-wrapper>
									<?php } ?>

								</div>

							</ls-templates-featured-media>
						</ls-featured-item>

						<?php if( count( $lsStoreData['featured'] ) > 1 ) : ?>
						<ls-featured-bullet class="<?= ( $featuredIndex === 0 ) ? 'ls--active' : '' ?>"></ls-featured-bullet>
						<?php endif ?>
					<?php endforeach ?>
					</ls-templates-featured>

					<ls-templates-title><ls-ib><?= __('Brand New Templates', 'LayerSlider') ?></ls-ib></ls-templates-title>
					<ls-templates-holder class="ls--templates-latest ls--templates-large">
						<?php lsPrintTemplateGridItems( '', $lsStoreData['new']['items'], 3 ) ?>
					</ls-templates-holder>

					<?php foreach( $lsStoreData['categories'] as $categoryKey => $category ) : ?>
					<ls-templates-title>
						<ls-ib class="ls--float-left"><?= sprintf( _x('Latest %s', 'Templates category (eg. Latest Sliders)', 'LayerSlider'), $category['name-alt'] ) ?></ls-ib>
						<ls-ib class="ls--float-right" data-show-category="<?= $categoryKey ?>"><?= __('See All', 'LayerSlider') ?></ls-ib>
					</ls-templates-title>
					<ls-templates-holder class="ls--clear ls--templates-list ls--grid-filter">
						<?php lsPrintTemplateGridItems( $categoryKey, $category['items'], 9, $lsStoreData['new']['handles'] ) ?>
					</ls-templates-holder>
					<?php endforeach ?>


				</ls-templates-container>


				<!-- COLLECTIONS -->
				<?php if( ! empty( $lsStoreData['collections'] ) ) : ?>
				<ls-templates-container data-category="collections">

					<ls-templates-holder class="ls--collections-list">
						<?php
						$counter = 0;
						foreach( $lsStoreData['collections']['items'] as $handle => $collection ) {

							$activeClass = '';
							if( ! empty( $lsStoreData['collections']['active'] ) ) {
								if( $lsStoreData['collections']['active'] === $handle ) {
									$activeClass = 'ls--active';
								}
							} elseif( $counter++ === 0 ) {
								$activeClass = 'ls--active';
							}
						?>
						<ls-template class="<?= $activeClass ?>" data-handle="<?= $handle ?>" data-name="<?= $collection['name'] ?>">
							<ls-wrapper>
								<ls-image-holder <?= ! empty( $collection['image'] ) ? 'style="background-image: url('.$collection['image'].');"' : '' ?>></ls-image-holder>
								<ls-content-wrapper>
									<ls-template-name>
										<?= $collection['icon'] ?>
										<ls-text><?= $collection['name'] ?></ls-text>
									</ls-template-name>
								</ls-content-wrapper>
							</ls-wrapper>
						</ls-template>
						<?php } ?>
					</ls-templates-holder>

					<ls-templates-title id="ls--collection-title"><ls-ib><?= sprintf( __('Showing %s Collection', 'LayerSlider'), '<span></span>') ?></ls-ib></ls-templates-title>
					<ls-templates-holder id="ls--collection-templates" class="ls--templates-list">
					</ls-templates-holder>

				</ls-templates-container>
				<?php endif ?>


				<?php
					// Merge bundled sliders coming from theme and 3rd parties
					//
					// DO NOT MOVE ABOVE. It'll interfere with the Discover page.
					//
					if( ! $lsTemplatesConnectionError && ! empty( $lsStoreData['categories']['sliders'] ) ) {
						$lsStoreData['categories']['sliders']['items'] = array_merge( $demoSliders, $lsStoreData['categories']['sliders']['items'] );

					}
				?>


				<!-- CATEGORIES  -->
				<?php
				foreach( $lsStoreData['categories'] as $categoryKey => $category ) : ?>
				<ls-templates-container class="<?= ! empty( $category['supports']['collections'] ) ? 'ls-template-collections-target' : '' ?>" data-category="<?= $categoryKey ?>">

					<!-- TAGS -->
					<ls-tags-holder>
						<?php foreach( $category['tags'] as $handle => $tag ) : ?>
						<ls-tag class="ls--button <?= $tag['active'] ? 'ls--active' : '' ?>" data-handle="<?= $handle ?>">
							<?= $tag['icon'] ?>
							<ls-text><?= $tag['name'] ?></ls-text>
						</ls-tag>
						<?php endforeach ?>
					</ls-tags-holder>

					<!-- ITEMS -->
					<ls-templates-holder-separator></ls-templates-holder-separator>
					<ls-templates-holder class="ls--templates-list">
						<?php lsPrintTemplateGridItems( $categoryKey, $category['items']) ?>
					</ls-templates-holder>
				</ls-templates-container>
				<?php endforeach ?>


				<!-- CONNECTION ERROR -->
				<?php if( $lsTemplatesConnectionError ) : ?>
				<ls-templates-container data-category="connection-failed">
					<?= lsGetSVGIcon('wifi-slash', 'duotone') ?>
					<ls-h1><?= __('Templates Unavailable', 'LayerSlider') ?></ls-h1>
					<ls-p><?= sprintf(__('LayerSlider encountered a problem preventing it from downloading the list of available templates. It’s likely a web server configuration issue. Please visit %sSystem Status%s to check for potential causes or try to %sreconnect%s.', 'LayerSlider'), '<a href="'.admin_url('admin.php?page=layerslider&section=system-status').'">', '</a>', '<a href="'.wp_nonce_url( admin_url('admin.php?page=layerslider&action=update_store'), 'update_store').'">', '</a>' ) ?></ls-p>
				</ls-templates-container>
				<?php endif ?>

			</ls-templates-containers>

		</ls-templates>

	</div>

</script>

SILENT KILLER Tool