{$myobj->getTpl('general', 'header.tpl')}
	<!-- Side Bar -->

	<!-- Start of Side Bar -->
	{if $CFG.site.script_name neq 'error.php'}
		<div id="sideBar" class="sideBar1">
			<div id="toggleDiv">
				{if $CFG.site.script_name neq 'register.php'}
					{if $CFG.site.script_name neq 'index.php'}
						<div class="clsAskQuestionBanner">
							<a href="{php} echo getAnovaUrl('questions', '?view=ask', 'ask/', 'members');{/php}"><span class="clsFirstAsk">{$LANG.header_ask}</span><span class="clSecondQues">{$LANG.header_ask_own_question}</span></a>
						</div>
					{/if}
					{if $CFG.site.script_name eq 'myanswers.php'}
						{$myobj->showUserStatistics()}
					{else}
						{php}showAnswerSearchOption(){/php}
						{php}showForumsSearchOption(){/php}
						{php}showBlogsSearchOption(){/php}
						{php}showMemberSearchOption(){/php}
						{php}showDebateSearchOption(){/php}

						<div id="selSidebarBanner" class="clsBanner clsHeaderBanner">{php}getAdvertisement('side_bar1'){/php}</div>
						{php}rightBarSettings(){/php}
						<div id="selSidebarBanner" class="clsBanner clsHeaderBanner">{php}getAdvertisement('side_bar2'){/php}</div>
					{/if}
				{/if}
			</div>
		</div>
	{/if}
	<!-- End of Side Bar -->
		<!-- Main -->
		{if $CFG.site.script_name neq 'error.php'}
			<div id="main">
			{if $CFG.site.script_name eq 'index.php'}
				<div class="clsSubMain clsClearfix">
				<form name="frmIndexAskQuestion" id="frmIndexAskQuestion" method="post" action="{php} echo getAnovaUrl('questions', '?view=ask', 'ask/', 'members');{/php}">
					<div class="clsAskQuestionBlockLeft">
						<div class="clsAskQuestionBlockRight">
							<div class="clsAskQuestionBlockHeading">
								<span class="clsAskUrQuestion">{$LANG.ask_your_question}</span>
								{php}solvedQuestionsCount(){/php}
								{if $CFG.admin.index.resolved_count AND $solved_question_count}
									<span class="clsSolveUrQuestion">{$LANG.solved_questions_count_info_1} <span>{$solved_question_count}</span> {$LANG.solved_questions_count_info_2}</span>
								{/if}
							</div>
							<div class="clsAskQuestionBlockForm">
								<input type="text" name="question" id="question" maxlength="250" tabindex="{smartyTabIndex}" value="{$LANG.enter_your_question}" onBlur="displayDefaultValue(this, '{$LANG.enter_your_question}')" onclick="clearDefaultValue(this, '{$LANG.enter_your_question}')" />
							</div>
						</div>
					</div>
					<div class="clsAskIndexBlockLeft">
						<div class="clsAskIndexBlockRight">
							<input type="submit" name="askquestion" id="askquestion" value="{$LANG.ask}" />
						</div>
					</div>
					</form>
				</div>
			{/if}
		{/if}