{if $myobj->getFormField('show') eq 'selAskedQuestions'}
	<div id="selWidgetRecentQuestions" class="clsSideBarSections">
		<!--<h3>
			{$LANG.myanswers_asked_questions}
		</h3>-->
		{if !$myobj->selAskedQuestions.displayAskedQuestions.RecordCount}
			<div class="clsNoRecords">
				<p>
					{$LANG.myanswers_no_asked_question}
				</p>
			</div>
		{else}
			<div class="clsSideBarContents">
				{foreach key=inc item=value from=$myobj->selAskedQuestions.displayAskedQuestions.displayQuestions}
					<div>
						<div class="{$value.clsOddOrEvenQuestion} clsUserThumbDetails">
							{if $CFG.admin.questions_module.voting}
								<div class="clsUserThumb clsUserThumbIndex">
							  {else}
								 <div class="clsUserThumb">
							   {/if}
                                  <div class="clsClearFix">
                                    <div class="clsUserThumbLeft"> {if $CFG.admin.questions_module.voting}
                                      <div class="clsVotingCount"><a href="{$value.questionDetails.qLink}">
                                        <div class="clsVotingCountInner">
                                          <p class="clsCont">{$value.questionDetails.votes}</p>
                                          <p class="clsContText">{if $value.questionDetails.votes eq '1'}{$LANG.vote}{else}{$LANG.helpful}{/if}</p>
                                        </div></a>
                                      </div>
                                      {/if} </div>
                                  </div>
                                </div>
							<div class="clsUserDetails">
								<p class="clsQuestionLink">{$value.questionDetails.question_link}</p>
								<div class="clsClearfix clsUserSubLinks">
									<div class="clsUserLinkBy clsNoLeftBgPadngMrgn">{$LANG.common_in}&nbsp;</div>
									<div class="clsUserCategory clsNoLeftBgPadngMrgn">{$value.questionDetails.showCategoryName}</div>
									<div class="clsUserLinkBy">{$LANG.common_question_asked_by}</div>
									<div class="clsUserLinkImage">
									{if  isUserImageAllowed()}
                                    	{$myobj->displayProfileImage($value.questionDetails, 'tiny')}
                                    {/if}
									</div>
									<div class="clsUserLinkName clsNoLeftBgPadngMrgn">{$value.questionDetails.asked_by_link}</div>
								</p>
							</div>
							<div class="clsClearfix clsUserSubLinks">
								{assign var="clsNoLeftBgPadngMrgn" value="clsNoLeftBgPadngMrgn"}
								{if ($CFG.admin.attachments_questions.allowed and $value.questionDetails.has_attachment) or (chkIsAudioAllowed('question') and $value.questionDetails.audio_id) or (chkIsVideoAllowed('question') and $value.questionDetails.video_id)
									or (chkExternalVideoAllowed('question') and $value.questionDetails.external_video_id) or (chkExternalAudioAllowed('question') and $value.questionDetails.external_audio_id)}
									{assign var="clsNoLeftBgPadngMrgn" value=""}
									<div class="clsUserUploaded clsNoLeftBgPadngMrgn">
										{if ($CFG.admin.attachments_questions.allowed and $value.questionDetails.has_attachment)}
											<a id="{$value.questionDetails.img_id}" href="{$value.questionDetails.attachment_path}" onclick="return displayImageGallery('{$value.questionDetails.img_id}');">
											<img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-qusimage.gif" /></a>
											<img src="{$value.questionDetails.image_large_path}" alt="" style="display: none;" />
										{/if}
										{if chkIsAudioAllowed('question') and $value.questionDetails.audio_id}
											<a id="{$value.questionDetails.audio_on_click}" href="{$value.questionDetails.audio_url}" onClick="{$myobj->getBrowser($value.questionDetails.audio_on_click)}">
											<img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-qusaudio.gif" /></a>
										{/if}
										{if chkIsVideoAllowed('question') and $value.questionDetails.video_id}
											<a id="{$value.questionDetails.video_on_click}" href="{$value.questionDetails.video_url}" onClick="{$myobj->getBrowser($value.questionDetails.video_on_click)}">
											<img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-qusvideo.gif" /></a>
										{/if}
										{if chkExternalVideoAllowed('question') and $value.questionDetails.external_video_id}
		                                	<a id="{$value.questionDetails.ext_ans_view_video.on_click}" href="{$value.questionDetails.ext_ans_view_video.url}" onClick="{$myobj->getBrowser($value.questionDetails.ext_ans_view_video.on_click)}"><img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-externalvideo.gif" alt="{$LANG.external_video_available}" title="{$LANG.external_video_available}" /></a>
		                            	{/if}
		                            	{if chkExternalAudioAllowed('question') and $value.questionDetails.external_audio_id}
		                                	<a id="{$value.questionDetails.ext_ans_view_audio.on_click}" href="{$value.questionDetails.ext_ans_view_audio.url}" onClick="{$myobj->getBrowser($value.questionDetails.ext_ans_view_audio.on_click)}"><img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-externalaudio.gif" alt="{$LANG.external_video_available}" title="{$LANG.external_video_available}" /></a>
		                            	{/if}
									</div>
								{/if}
								<div class="clsUserLinkViews {$clsNoLeftBgPadngMrgn}"><b>{$value.questionDetails.total_views} </b> {$value.views_plural}</div>
								<div class="clsUserLinkDate">{$myobj->getTimeDiffernceFormat($value.questionDetails.date_asked)}</div>
								{if $value.questionDetails.is_open and $value.questionDetails.user_id == $CFG.user.user_id}

								{elseif $value.questionDetails.is_open and !$value.questionDetails.total_answer}
									<div class="clsFirstPerson"><a href="{$value.questionDetails.qLink}">{$LANG.be_the_first_one}</a></div>
								{elseif $value.questionDetails.is_open and $value.questionDetails.total_answer}
									<div class="clsShareAnswer"><a href="{$value.questionDetails.qLink}">{$LANG.common_share_your_answer}</a></div>
								{else}
									<div class="clsIndexResolved">{$LANG.common_resolved}</div>
								{/if}
							</div>
						</div>
						<div class="clsAnswerCount">
							<p><span>{$value.questionDetails.total_answer}</span> {$value.answer_plural}</p>
						</div>
					</div>
				{/foreach}

				{if $myobj->selAskedQuestions.displayAskedQuestions.RecordCountGTlimit}
					<p class="clsMoreLink"><a href="{$myobj->selAskedQuestions.displayAskedQuestions.questions_url}">{$LANG.common_more}</a></p>
				{/if}
			</div>

		{/if}
	</div>
{/if}
{if	$myobj->getFormField('show') eq 'selFavoriteQuestions'}
	<div id="selWidgetRecentQuestions" class="clsSideBarSections">
		<!--<h3>
			{$LANG.myanswers_favorite_questions}
		</h3>-->
		{if !$myobj->selFavoriteQuestions.displayFavoriteQuestions.RecordCount}
			<div class="clsNoRecords">
				<p>
					{$LANG.myanswers_no_favorite_question}
				</p>
			</div>
		{else}
			<div class="clsSideBarContents">
				{foreach key=inc item=value from=$myobj->selFavoriteQuestions.displayFavoriteQuestions.displayQuestions}
					<div>
						<div class="{$value.clsOddOrEvenQuestion} clsUserThumbDetails">
							{if $CFG.admin.questions_module.voting}
								<div class="clsUserThumb clsUserThumbIndex">
							  {else}
								 <div class="clsUserThumb">
							   {/if}
                                  <div class="clsClearFix">
                                    <div class="clsUserThumbLeft"> {if $CFG.admin.questions_module.voting}
                                      <div class="clsVotingCount"><a href="{$value.questionDetails.qLink}">
                                        <div class="clsVotingCountInner">
                                          <p class="clsCont">{$value.questionDetails.votes}</p>
                                          <p class="clsContText">{if $value.questionDetails.votes eq '1'}{$LANG.vote}{else}{$LANG.helpful}{/if}</p>
                                        </div></a>
                                      </div>
                                      {/if} </div>
                                  </div>
                                </div>


							<div class="clsUserDetails">
								<p class="clsQuestionLink">{$value.questionDetails.question_link}</p>
								<div class="clsClearfix clsUserSubLinks">
									<div class="clsUserLinkBy clsNoLeftBgPadngMrgn">{$LANG.common_in}&nbsp;</div>
									<div class="clsUserCategory clsNoLeftBgPadngMrgn">{$value.questionDetails.showCategoryName}</div>
									<div class="clsUserLinkBy">{$LANG.common_question_asked_by}</div>
									<div class="clsUserLinkImage">
								  	{if  isUserImageAllowed()}
                                    	{$myobj->displayProfileImage($value.questionDetails, 'tiny')}
                                    {/if}
									</div>
									<div class="clsUserLinkName clsNoLeftBgPadngMrgn">{$value.questionDetails.asked_by_link}</div>
								</p>
							</div>
							<div class="clsClearfix clsUserSubLinks">
								{assign var="clsNoLeftBgPadngMrgn" value="clsNoLeftBgPadngMrgn"}
								{if ($CFG.admin.attachments_questions.allowed and $value.questionDetails.has_attachment) or (chkIsAudioAllowed('question') and $value.questionDetails.audio_id) or (chkIsVideoAllowed('question') and $value.questionDetails.video_id)
									or (chkExternalVideoAllowed('question') and $value.questionDetails.external_video_id) or (chkExternalAudioAllowed('question') and $value.questionDetails.external_audio_id)}
									{assign var="clsNoLeftBgPadngMrgn" value=""}
									<div class="clsUserUploaded clsNoLeftBgPadngMrgn">
										{if ($CFG.admin.attachments_questions.allowed and $value.questionDetails.has_attachment)}
											<a id="{$value.questionDetails.img_id}" href="{$value.questionDetails.attachment_path}" onclick="return displayImageGallery('{$value.questionDetails.img_id}');">
											<img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-qusimage.gif" /></a>
											<img src="{$value.questionDetails.image_large_path}" alt="" style="display: none;" />
										{/if}
										{if chkIsAudioAllowed('question') and $value.questionDetails.audio_id}
											<a id="{$value.questionDetails.audio_on_click}" href="{$value.questionDetails.audio_url}" onClick="{$myobj->getBrowser($value.questionDetails.audio_on_click)}">
											<img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-qusaudio.gif" /></a>
										{/if}
										{if chkIsVideoAllowed('question') and $value.questionDetails.video_id}
											<a id="{$value.questionDetails.video_on_click}" href="{$value.questionDetails.video_url}" onClick="{$myobj->getBrowser($value.questionDetails.video_on_click)}">
											<img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-qusvideo.gif" /></a>
										{/if}
										{if chkExternalVideoAllowed('question') and $value.questionDetails.external_video_id}
		                                	<a id="{$value.questionDetails.ext_ans_view_video.on_click}" href="{$value.questionDetails.ext_ans_view_video.url}" onClick="{$myobj->getBrowser($value.questionDetails.ext_ans_view_video.on_click)}"><img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-externalvideo.gif" alt="{$LANG.external_video_available}" title="{$LANG.external_video_available}" /></a>
		                            	{/if}
		                            	{if chkExternalAudioAllowed('question') and $value.questionDetails.external_audio_id}
		                                	<a id="{$value.questionDetails.ext_ans_view_audio.on_click}" href="{$value.questionDetails.ext_ans_view_audio.url}" onClick="{$myobj->getBrowser($value.questionDetails.ext_ans_view_audio.on_click)}"><img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-externalaudio.gif" alt="{$LANG.external_video_available}" title="{$LANG.external_video_available}" /></a>
		                            	{/if}
									</div>
								{/if}
								<div class="clsUserLinkViews {$clsNoLeftBgPadngMrgn}"><b>{$value.questionDetails.total_views} </b> {$value.views_plural}</div>
								<div class="clsUserLinkDate">{$myobj->getTimeDiffernceFormat($value.questionDetails.date_asked)}</div>
								{if $value.questionDetails.is_open and $value.questionDetails.user_id == $CFG.user.user_id}

								{elseif $value.questionDetails.is_open and !$value.questionDetails.total_answer}
									<div class="clsFirstPerson"><a href="{$value.questionDetails.qLink}">{$LANG.be_the_first_one}</a></div>
								{elseif $value.questionDetails.is_open and $value.questionDetails.total_answer}
									<div class="clsShareAnswer"><a href="{$value.questionDetails.qLink}">{$LANG.common_share_your_answer}</a></div>
								{else}
									<div class="clsIndexResolved">{$LANG.common_resolved}</div>
								{/if}
							</div>
						</div>
							<div class="clsAnswerCount">
									<p><span>{$value.questionDetails.total_answer}</span> {$value.answer_plural}</p>
							</div>
					</div>
				{/foreach}
				{if $myobj->selFavoriteQuestions.displayFavoriteQuestions.RecordCountGTlimit}
					<p class="clsMoreLink"><a href="{$myobj->selFavoriteQuestions.displayFavoriteQuestions.questions_url}">{$LANG.common_more}</a></a></p>
				{/if}
			</div>
		{/if}
	</div>
{/if}
{if	$myobj->getFormField('show') eq 'selSubscribedUsers'}
	<div id="selWidgetRecentQuestions" class="clsSideBarSections">
		<!--<h3>
		{$LANG.myanswers_subscribed_users}
		</h3>-->
		{if !$myobj->form_answer_details.displayAnswerDetails.RecordCount}
			<div class="clsNoRecords">
				<p>
					{$LANG.myanswers_no_subscribed_users}
				</p>
			</div>
		{else}
			<div class="clsSideBarContents">
				 {foreach key=inc item=value from=$myobj->form_answer_details.displayAnswerDetails.row}
					<div class="clsOddQuestion clsUserThumbDetails ">
						{if isUserImageAllowed()}
							<div class="clsFeaturedUserThumb"><p id="selImageBorder">{$myobj->displayProfileImage($value.user_details, 'small', false)}</p></div>
						{/if}
						 <div class="clsFeaturedUserDetails">
							<h3 class="clsTitleLink"><a href="{$value.myanswers_url}">{$value.strip_display_name}</a></h3>
							<p class="clsOtherInfo">{$LANG.common_question_asked} <a href="{$value.questions_url_ques}">{$value.user_ans_log.total_ques}</a></p>
							<p class="clsOtherInfo">{$LANG.common_resolved_questions} <a href="{$value.questions_url_resolve}">{$value.questions_resolve_count}</a></p>
							<p class="clsOtherInfo clsBackgroundNone">{$LANG.myanswers_total_answers} <a href="{$value.questions_url_ans}">{$value.user_ans_log.total_ans}</a></p>
						 </div>
						 <div class="clsFeatured3rdDiv">
							 <div class="clsProfileUserRating">
							 	<span class="clsProfileUserRatingPoints">{$value.userLevelNumber}</span>
								<p><span> {$value.user_ans_log.total_points}</span>{$LANG.myanswers_points_use}</p>
							 </div>
						 </div>
					</div>
				{/foreach}
				{if $myobj->form_answer_details.displayAnswerDetails.cntUsersGTlimit}
					<p class="clsMoreLink"><a href="{$myobj->form_answer_details.displayAnswerDetails.mySubscribedUser_url}">{$LANG.common_more}</a></p>
				{/if}
			</div>
		{/if}
	</div>
{/if}
{if	$myobj->getFormField('show') eq 'selSubscribedForums'}
	<div id="selWidgetRecentQuestions" class="clsSideBarSections">
		<!--<h3>
			{$LANG.myanswers_subscribed_forumtopics}
		</h3>-->
		{if !$myobj->form_answer_details.displayAnswerDetails.RecordCount}
			<div class="clsNoRecords">
				<p>
					{$LANG.myanswers_no_subscribed_forums}
				</p>
			</div>
		{else}
			<div class="clsSubscribeForum clsSideBarContents">
				{foreach key=inc item=value from=$myobj->displaySubscribedForums_arr.row}
					<div>
					  <div class="{$value.clsOddOrEvenQuestion} clsUserThumbDetails">
						<div class="clsUserDetails">
							<p class="clsQuestionLink">{$value.forumDetails.forum_link}</p>
							<div class="clsClearfix clsUserSubLinks">
								<div class="clsUserLinkBy clsNoLeftBgPadngMrgn">{$LANG.common_forum_started_by}</div>
								<div class="clsUserLinkImage">
								{if isUserImageAllowed()}
									{$myobj->displayProfileImage($value.forumDetails, 'tiny')}
								{/if}
								</div>
								<div class="clsUserLinkName clsNoLeftBgPadngMrgn">{$value.forumDetails.topic_user_name_link}</div>
								<div class="clsUserLinkViews">{$value.forumDetails.total_views} {$value.view_plural}</div>
								<div class="clsUserLinkDate">{$myobj->getTimeDiffernceFormat($value.forumDetails.date_added)}</div>
							</div>
						</div>
						<div class="clsAnswerCount"><p><span>{$value.forumDetails.total_response} </span> {$value.resp_plural} </p></div>
					  </div>
					</div>
				{/foreach}
				{if $myobj->form_answer_details.displayAnswerDetails.cntForumsGTlimit}
					<div class="clsMoreLink"><a href="{$myobj->form_answer_details.displayAnswerDetails.mySubscribedForum_url}">{$LANG.common_more}</a></div>
				{/if}
			</div>
		{/if}
	</div>
{/if}
{if	$myobj->getFormField('show') eq 'selResponsedDebates'}
	<!-- MY Response DEBATE -->
	<div id="selWidgetRecentDebates" class="clsSideBarSections">
		<h3>{$myobj->form_answer_details.displayDebates.show_title}
		</h3>
		<div class="clsSideBarContents" >
			{if $myobj->form_answer_details.displayDebates.recordCount}
				{foreach key=inc item=value from=$myobj->form_answer_details.displayDebates.row}
					<div>
						<div class="{$value.clsOddOrEvenQuestion} clsUserThumbDetails">
							{if  isUserImageAllowed()}
								<div class="clsUserThumb">
									<p id="selImageBorder">
										{$myobj->displayProfileImage($value.debateDetails, 'small')}
									</p>
								</div>
							{/if}
							<div class="clsUserDetails">
								<p class="clsQuestionLink"><a href="{$value.debateDetails.debate_link}">{$value.debateDetails.seo_title}</a></p>
								<p> <span class="clsUserLink">{$LANG.common_question_asked_by} <a href="{$value.debateDetails.asked_by_link}">{$value.debateDetails.asked_by}</a></span> <span>{$myobj->getTimeDiffernceFormat($value.debateDetails.date_asked)}</span> <span class="clsNoBorder">{$value.debateDetails.total_response} {$value.answer_plural}</span> </p>
							</div>
						 </div>
					</div>
				{/foreach}
				{if $myobj->form_answer_details.displayDebates.have_debates}
					<p class="clsMoreLink"><a href="{$myobj->form_answer_details.displayDebates.MyDebates_url}">{$LANG.common_more}</a></p>
				{/if}
			{/if}
			{if !$myobj->form_answer_details.displayDebates.have_debates}
				<div class="clsNoRecords">
					<p>{$LANG.no_debates_added}</p>
				</div>
			{/if}
		</div>
	</div>
	<!-- MY Response DEBATE -->
{/if}
{if	$myobj->getFormField('show') eq 'selFavoriteDebates'}
	<!-- MY Favorite DEBATE -->
	<div id="selWidgetRecentDebates" class="clsSideBarSections">
		<h3>{$myobj->form_answer_details.displayDebates.show_title}
		</h3>
		<div class="clsSideBarContents" >
			{if $myobj->form_answer_details.displayDebates.recordCount}
				{foreach key=inc item=value from=$myobj->form_answer_details.displayDebates.row}
					<div>
						<div class="{$value.clsOddOrEvenQuestion} clsUserThumbDetails">
							{if  isUserImageAllowed()}
								<div class="clsUserThumb">
									<p id="selImageBorder">
										{$myobj->displayProfileImage($value.debateDetails, 'small')}
									</p>
								</div>
							{/if}
							<div class="clsUserDetails">
								<p class="clsQuestionLink"><a href="{$value.debateDetails.debate_link}">{$value.debateDetails.seo_title}</a></p>
								<p> <span class="clsUserLink">{$LANG.common_question_asked_by} <a href="{$value.debateDetails.asked_by_link}">{$value.debateDetails.asked_by}</a></span> <span>{$myobj->getTimeDiffernceFormat($value.debateDetails.date_asked)}</span> <span class="clsNoBorder">{$value.debateDetails.total_response} {$value.answer_plural}</span> </p>
							</div>
						 </div>
					</div>
				{/foreach}
				{if $myobj->form_answer_details.displayDebates.have_debates}
					<p class="clsMoreLink"><a href="{$myobj->form_answer_details.displayDebates.MyDebates_url}">{$LANG.common_more}</a></p>
				{/if}
			{/if}
			{if !$myobj->form_answer_details.displayDebates.have_debates}
				<div class="clsNoRecords">
					<p>{$LANG.no_debates_added}</p>
				</div>
			{/if}
		</div>
	</div>
	<!-- MY Favorite DEBATE -->
{/if}