{if $CFG.site.is_module_page == 'debate'}
	{$myobj->setTemplateFolder('admin/')}
	{include file="left_navigation_deactive_common_links.tpl"}
	{foreach item=module from=$CFG.site.modules_arr}
		{if chkAllowedModule(array($module))}<!-- IF video module enable -->
        	{if $module == 'debate'}
        	    {$myobj->setTemplateFolder('admin/', 'anova')}
                {include file="anova_js_include.tpl"}
                {$myobj->setTemplateFolder('admin/', 'debate')}
                {include file="left_debate_navigation_heading.tpl"}

				{if $CFG.admin.module.debate}

				<h3 class="clsInActiveSideHeading" id="debateSetting_head"><span onclick="adminMenuLeftNavigationPage('debateSetting')">{$LANG.settings}</span></h3>
                <div id="debateSetting" style="display:none">
                    <ul>
						{if $CFG.admin.module.debate}
							<li class="{$header->getNavClass('left_editconfig_config_debates')}"><a href="{$CFG.site.url}admin/debate/editConfig.php?config_folder=anova&amp;config_file_name=config_debates&amp;module=debate&amp;div=debateSetting">{$LANG.header_edit_configuration_links_debate}</a> </li>
						{/if}
					</ul>
                </div>

                <h3 class="clsInActiveSideHeading" id="debateDebate_head" ><span  onclick="adminMenuLeftNavigationPage('debateDebate')">{$LANG.manage_debates}</span></h3>
                <div id="debateDebate" style="display:none">
                    <ul>
                    	{if $CFG.html.current_script_name eq 'manageDebates' }
							<li class="{$header->getNavClass('left_managedebates')}"><a href="{$CFG.site.url}admin/{$CFG.admin.index.debate_module}/manageDebates.php">{$LANG.header_admin_manage_debates}</a></li>
							<li class="{$header->getNavClass('left_managedebates_search')}"><a href="{$CFG.site.url}admin/{$CFG.admin.index.debate_module}/manageDebates.php?mode=search">{$LANG.header_admin_search_debates}</a></li>
							<li class="{$header->getNavClass('left_debatesorderrightbar')}"><a href="{$CFG.site.url}admin/{$CFG.admin.index.debate_module}/debatesOrderRightBar.php">{$LANG.header_admin_debate_rightbar}</a></li>
						{else}
							<li class="{$header->getNavClass('left_managedebates')}"><a href="{$CFG.site.url}admin/{$CFG.admin.index.debate_module}/manageDebates.php">{$LANG.header_admin_manage_debates}</a></li>
							<li class="{$header->getNavClass('left_managedebates_search')}"><a href="{$CFG.site.url}admin/{$CFG.admin.index.debate_module}/manageDebates.php?mode=search">{$LANG.header_admin_search_debates}</a></li>
							<li class="{$header->getNavClass('left_debatesorderrightbar')}"><a href="{$CFG.site.url}admin/{$CFG.admin.index.debate_module}/debatesOrderRightBar.php">{$LANG.header_admin_debate_rightbar}</a></li>
						{/if}
                    </ul>
                </div>
                </div>
				{/if}

			{else}<!-- Deactive all other module -->
        	        {$myobj->setTemplateFolder('admin/', $module)}
                    {assign var=module_heading_tpl value='left_'|cat:$module|cat:'_navigation_heading.tpl'}
                    {include file=$module_heading_tpl}
            {/if}
		{/if}
	{/foreach}
{/if} {* end of is_module_page == forums condition *}