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/section.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
 */

// Check if this section has own template
$tmpl = WR_Megamenu_Loader::get_path( "form/tmpl/section/{$sid}.php" );

// Check if a specific section is requested
if ( empty( $section_id ) || $section_id == $sid ) :

if ( ! empty( $tmpl ) ) :
	include $tmpl;
else :
	if ( isset( $section['fields'] ) ) :
		$this->current_fields = $section['fields'];

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

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

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

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

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

	if ( isset( $section['tabs'] ) ) :
		$this->current_tabs = $section['tabs'];

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

endif;