MOON
Server: Apache
System: Linux server.netcommlabs.in 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
User: dermova (1051)
PHP: 5.4.45
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/dermova/www/india/wp-content/plugins/wr-megamenu/includes/form/tmpl/tabs.php
<?php
/**
 * @version    $Id$
 * @package    WR_Library
 * @author     WooRockets Team <support@woorockets.com>
 * @copyright  Copyright (C) 2014 WooRockets.com All Rights Reserved.
 * @license    GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Websites: http://www.woorockets.com
 * Technical Support:  Feedback - http://www.woorockets.com
 */

?>
<div class="wr-form-tabs">
	<ul class="nav nav-tabs clearfix">
		<?php $first = true; foreach ( $this->current_tabs as $tid => $tab ) : ?>
		<li<?php if ( $first ) : ?> class="active"<?php endif; ?>>
			<a data-toggle="tab" href="#wr-form-tab-<?php esc_attr_e( $tid ); ?>">
				<?php esc_html_e( isset( $tab['title'] ) ? $tab['title'] : $tid, $this->text_domain ); ?>
			</a>
		</li>
		<?php $first = false; endforeach; ?>
	</ul>

	<div class="tab-content">
		<?php $first = true; foreach ( $this->current_tabs as $tid => $tab ) : ?>
		<div class="tab-pane<?php if ($first) echo ' active'; ?>" id="wr-form-tab-<?php esc_attr_e( $tid ); ?>">
			<?php
			if ( isset( $tab['fields'] ) ) :
				$this->current_fields = $tab['fields'];

				// Load fields template
				include WR_Megamenu_Loader::get_path( 'form/tmpl/fields.php' );
			endif;

			if ( isset( $tab['fieldsets'] ) ) :
				$this->current_fieldsets = $tab['fieldsets'];

				// Load fieldsets template
				include WR_Megamenu_Loader::get_path( 'form/tmpl/fieldsets.php' );
			endif;

			if ( isset( $tab['accordion'] ) ) :
				$this->current_accordion = $tab['accordion'];

				// Load accordion template
				include WR_Megamenu_Loader::get_path( 'form/tmpl/accordion.php' );
			endif;
			?>
		</div>
		<?php $first = false; endforeach; ?>
	</div>
</div>