File: /home/dailygoldindex/public_html/wp-content/plugins/jnews-essential/lib/vp/views/option/menu.php
<?php $submenus = $menu->get_menus(); ?>
<?php if (!empty($submenus)): ?>
<?php foreach ($submenus as $submenu): ?>
<?php $sub_current = ($submenu === reset($submenus)) ? 1 : 0; ?>
<?php echo vp_sanitize_output($submenu->render(array('current' => $current, 'sub_current' => $sub_current))); ?>
<?php endforeach; ?>
<?php else: ?>
<div id="<?php echo esc_attr($menu->get_name()); ?>" class="vp-panel<?php if((isset($sub_current) and $sub_current) or (!isset($sub_current) and $current)) echo ' vp-current'; ?>">
<h2><span><?php echo esc_html($menu->get_title()); ?></span></h2>
<?php foreach ($menu->get_controls() as $control): ?>
<?php echo vp_sanitize_output($control->render()); ?>
<?php endforeach; ?>
</div>
<?php endif; ?>