SILENT KILLERPanel

Current Path: > home > transcarter > public_html > 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/public_html/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/public_html/wp-content/plugins/LayerSlider/assets/templates/tmpl-post-options.php

<?php

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

$queryArgs = [
	'post_status' => 'publish',
	'limit' => 100,
	'posts_per_page' => 100,
	'suppress_filters' => false
];

if(!empty($slider['properties']['post_orderby'])) {
	$queryArgs['orderby'] = $slider['properties']['post_orderby']; }

if(!empty($slider['properties']['post_order'])) {
	$queryArgs['order'] = $slider['properties']['post_order']; }

if(!empty($slider['properties']['post_type'])) {
	$queryArgs['post_type'] = $slider['properties']['post_type']; }

if(!empty($slider['properties']['post_categories'][0])) {
	$queryArgs['category__in'] = $slider['properties']['post_categories']; }

if(!empty($slider['properties'][0])) {
	$queryArgs['tag__in'] = $slider['properties']['post_tags']; }

if(!empty($slider['properties']['post_taxonomy']) && !empty($slider['properties']['post_tax_terms'])) {
	$queryArgs['tax_query'][] = [
		'taxonomy' => $slider['properties']['post_taxonomy'],
		'field' => 'id',
		'terms' => $slider['properties']['post_tax_terms']
	];
}

$posts = LS_Posts::find($queryArgs)->getParsedObject();
?>
<script type="text/javascript" class="lse-dn" id="ls-posts-json">window.lsPostsJSON = <?= $posts ? json_encode($posts) : '[]' ?> || [];</script>

<div id="tmpl-post-options" class="lse-dn">
	<div id="lse-post-options">
		<kmw-h1 class="kmw-modal-title"><?= __('Target posts with the filters below', 'LayerSlider') ?></kmw-h1>
		<div class="ls-configure-posts-modal">

			<lse-grid id="lse-content-type-filters" class="lse-white-theme">
				<lse-row>

					<lse-col>

						<!-- Post types -->
						<select data-param="post_type" name="post_type" class="lse-scrollbar lse-scrollbar-dark" multiple="multiple">
							<?php foreach($postTypes as $item) : ?>
							<?php if(isset($slider['properties']['post_type']) &&  in_array($item['slug'], $slider['properties']['post_type'])) : ?>
							<option value="<?= $item['slug'] ?>" selected="selected"><?= ucfirst($item['name']) ?></option>
							<?php else : ?>
							<option value="<?= $item['slug'] ?>"><?= ucfirst($item['name']) ?></option>
							<?php endif ?>
							<?php endforeach; ?>
						</select>

					</lse-col>

					<lse-col>

						<!-- Post categories -->
						<select data-param="post_categories" name="post_categories" class="lse-scrollbar lse-scrollbar-dark" multiple="multiple">
							<option value="0"><?= __('Don’t filter categories', 'LayerSlider') ?></option>
							<?php foreach ($postCategories as $item): ?>
							<?php if(isset($slider['properties']['post_categories']) && in_array($item->term_id, $slider['properties']['post_categories'])) : ?>
							<option value="<?= $item->term_id ?>" selected="selected"><?= ucfirst($item->name) ?></option>
							<?php else : ?>
							<option value="<?= $item->term_id ?>"><?= ucfirst($item->name) ?></option>
							<?php endif ?>
							<?php endforeach ?>
						</select>

					</lse-col>

					<lse-col>

						<!-- Post tags -->
						<select data-param="post_tags" name="post_tags" class="lse-scrollbar lse-scrollbar-dark" multiple="multiple">
							<option value="0"><?= __('Don’t filter tags', 'LayerSlider') ?></option>
							<?php foreach ($postTags as $item): ?>
							<?php if(isset($slider['properties']['post_tags']) && in_array($item->term_id, $slider['properties']['post_tags'])) : ?>
							<option value="<?= $item->term_id ?>" selected="selected"><?= ucfirst($item->name) ?></option>
							<?php else : ?>
							<option value="<?= $item->term_id ?>"><?= ucfirst($item->name) ?></option>
							<?php endif ?>
							<?php endforeach ?>
						</select>

					</lse-col>

					<lse-col>

						<!-- Post taxonomies -->
						<lse-fe-wrapper class="lse-select">
							<select data-param="post_taxonomy" name="post_taxonomy" class="lse-post-taxonomy">
								<option value="0"><?= __('Don’t filter taxonomies', 'LayerSlider') ?></option>
								<?php foreach ($postTaxonomies as $key => $item): ?>
								<?php if(isset($slider['properties']['post_taxonomy']) && $slider['properties']['post_taxonomy'] == $key) : ?>
								<option value="<?= $item->name ?>" selected="selected"><?= $item->labels->name ?></option>
								<?php else : ?>
								<option value="<?= $item->name ?>"><?= $item->labels->name ?></option>
								<?php endif ?>
								<?php endforeach ?>
							</select>
						</lse-fe-wrapper>

						<!-- Taxonomy terms -->
						<?php if(!empty($slider['properties']['post_taxonomy'])) : ?>
						<?php $postTaxTerms = get_terms($slider['properties']['post_taxonomy']); ?>
						<?php else : ?>
						<?php $postTaxTerms = []; ?>
						<?php endif ?>
						<select data-param="post_tax_terms" name="post_tax_terms" class="lse-post-taxonomy-terms lse-scrollbar lse-scrollbar-dark" multiple="multiple">
							<?php foreach ($postTaxTerms as $item): ?>
							<?php if(isset($slider['properties']['post_tax_terms']) && in_array($item->term_id, $slider['properties']['post_tax_terms'])) : ?>
							<option value="<?= $item->term_id ?>" selected="selected"><?= $item->name ?></option>
							<?php else : ?>
							<option value="<?= $item->term_id ?>"><?= $item->name ?></option>
							<?php endif ?>
							<?php endforeach ?>
						</select>

					</lse-col>

				</lse-row>

			</lse-grid>

			<lse-table-wrapper class="lse-light-theme">

				<table>
					<tr>
						<td>
							<?= _e('Order results by', 'LayerSlider') ?>
						</td>
						<td>
							<lse-fe-wrapper class="lse-select">
								<?php lsGetSelect($lsDefaults['slider']['postOrderBy'], $slider['properties'], ['data-param' => $lsDefaults['slider']['postOrderBy']['keys']]) ?>
							</lse-fe-wrapper>
							<lse-fe-wrapper class="lse-select">
								<?php lsGetSelect($lsDefaults['slider']['postOrder'], $slider['properties'], ['data-param' => $lsDefaults['slider']['postOrder']['keys']]) ?>
							</lse-fe-wrapper>
						</td>
					</tr>
					<tr>
						<td>
							<?= _e('On this slide, use post from matches: ', 'LayerSlider') ?>
						</td>
						<td>
							<lse-fe-wrapper class="lse-select">
								<select data-param="post_offset" name="post_offset" class="lse-post-offset">
									<option value="-1"><?= __('next in line', 'LayerSlider') ?></option>
									<?php for($c = 0; $c < 50; $c++) : ?>
									<option value="<?= $c ?>"><?= ls_ordinal_number($c+1) ?></option>
									<?php endfor ?>
								</select>
							</lse-fe-wrapper>
						</td>
					</tr>
				</table>

			</lse-table-wrapper>


			</lse-table-wrapper>

			<lse-h2><?= _e('Preview from currenty matched elements', 'LayerSlider') ?></lse-h2>
			<lse-table-wrapper class="lse-post-previews">
				<lse-wrapper>
					<lse-grid class="lse-scrollbar lse-scrollbar-dark">
						<lse-row>
						</lse-row>
					</lse-grid>
				</lse-wrapper>
			</lse-table-wrapper>
		</div>
	</div>
</div>

SILENT KILLER Tool