403Webshell
Server IP : 198.38.94.13  /  Your IP : 216.73.217.33
Web Server : Apache
System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : revivere ( 1140)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/revivere/www/wp-content/plugins/pods/components/Templates/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/revivere/www/wp-content/plugins/pods/components/Templates/includes/element-pod_reference.php
<?php

// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}

// phpcs:ignoreFile WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
?>
<div class="pod-queries-tools"><?php

	$defaults = array(
		'pod' => '',
	);
	if ( empty( $atts ) ) {
		$atts = $defaults;
	} else {
		$atts = wp_parse_args( $atts, $defaults );
	}

	$api   = pods_api();
	$_pods = $api->load_pods();
	echo '<select name="pod_reference[pod]" id="pod-reference" class="pod-switch" data-template="#podref-tmpl" data-target="#pods-magic-tag-list" data-action="pq_loadpod" data-event="change" />';
	echo '<option value="">' . esc_html__( 'Select Pod to use as reference', 'pods' ) . '</option>';
	foreach ( $_pods as $pod ) {
		echo '<option value="' . esc_attr( $pod['name'] ) . '" ' . ( $atts['pod'] == $pod['name'] ? 'selected="selected"' : '' ) . '>' . esc_html( $pod['label'] ) . '</option>';
	}
	echo '</select>';
	?></div>
<div id="pod-reference-wrapper" class="pod-reference-wrapper">
	<?php include_once __DIR__ . '/element-pod_reference-content.php'; ?>
</div>
<script id="podref-tmpl" type="text/html">
	{{#if this.length}}
	<dl>
		<dt><?php esc_html_e( 'Available magic tags', 'pods' ); ?></dt>
		<dd><em><?php esc_html_e( 'You can click to copy any tag', 'pods' ); ?></em></dd>
		{{#each this}}
		<dd class="pods-magic-tag-option" data-tag="{{this}}" title="<?php esc_attr_e( 'Field', 'pods' ); ?>: {{this}}">
			<span>{{this}}</span>
		</dd>
		{{/each}}
	</dl>
	{{/if}}
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit