HEX
Server: Apache
System: Linux nc-ph-4101.simplemoneygoals.com 5.14.0-503.21.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jan 12 09:45:05 EST 2025 x86_64
User: dailygoldindex (1004)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/dailygoldindex/www/wp-content/plugins/jnews-essential/lib/vp/views/control/multipost.php
<?php if(!$is_compact) echo VP_View::instance()->load('control/template_control_head', $head_info); ?>

<div class='vp-multipost-wrapper'>
	<input type="text" name="<?php echo esc_attr($name); ?>" class="vp-input input-large input-sortable widefat code multipost" value="<?php echo esc_attr($value); ?>" />
	<div class="data-option" style="display: none;">
        <?php
            $values = explode(',', $value);
            $options = array();

			foreach($values as $val)
			{
				if(!empty($val)) {
					$options[] = array(
						'value' => $val,
						'text' => get_the_title($val)
					);
				}
			}

            echo json_encode($options);
        ?>
    </div>
</div>

<?php if(!$is_compact) echo VP_View::instance()->load('control/template_control_foot', $head_info); ?>