<div id="selListAll">
<div class="clsClearfix">
	<div class="clsFloatleft">
	{if $myobj->isShowPageBlock('form_normal_heading')}
		<h2>{$LANG.common_top_analyst_title}</h2>
	{/if}
	{if $myobj->isShowPageBlock('form_search_heading')}
		<h2>{$LANG.analysts_home_title}</h2>
	{/if}
	</div>
	<div class="clsFloatright">
		{if $myobj->isShowPageBlock('form_normal_heading')}
		<div class="clsAllTimelast clsRightOptionTab">
			<span class="{$myobj->clsAllTime} clsBackgroundNone">{$LANG.analysts_alltime_title}</span>
			<span class="{$myobj->clsLastWeek}">{$LANG.analysts_lastweek_title}{$LANG.analysts_this_week_note}</span>
		</div>
		{/if}
	</div>
</div>
{include file='../general/information.tpl'}

{if $myobj->isShowPageBlock('form_advanced_search')}
    <form name="formAdvanceSearch" id="formAdvanceSearch" method="post" action="{$myobj->form_advanced_search.form_action}">
        <div id="moreSearchOptions">
        <div class="clsCommonTopAnalystRoundedCorner">
  <!--rounded corners-->
   <div class="clsShadedBg">
  <div class="lbtopanalyst">
    <div class="rbtopanalyst">
      <div class="bbtopanalyst">
        <div class="blctopanalyst">
          <div class="brctopanalyst">
            <div class="tbtopanalyst">
              <div class="tlctopanalyst">
                <div class="trctopanalyst">

        <table summary="{$LANG.common_displaying_more_search_options}" class="clsAskQuestion">
            <tr>
                <td class="{$myobj->getCSSFormLabelCellClass('search_member')}">
                    <label for="search_member">{$LANG.analysts_membername}</label>
                </td>
                <td class="{$myobj->getCSSFormFieldCellClass('search_member')}">{$myobj->getFormFieldErrorTip('search_member')}
                    <input type="text" class="clsCommonTextBox" name="search_member" id="search_member" value="{$myobj->getFormField('search_member')}" tabindex="{smartyTabIndex}" />
                </td>
            </tr>
            <tr>
                <td class="{$myobj->getCSSFormLabelCellClass('total_points')}">
                    <label for="total_points">{$LANG.analysts_total_poinsts_greater}</label>
                </td>
                <td class="{$myobj->getCSSFormFieldCellClass('total_points')}">
                    <input type="text" class="clsCommonNumberTextBox" name="total_points" id="total_points" value="{$myobj->getFormField('total_points')}" tabindex="{smartyTabIndex}" />
                    {$LANG.and}
                    <input type="text" class="clsCommonNumberTextBox" name="maxtotal_points" id="maxtotal_points" value="{$myobj->getFormField('maxtotal_points')}" tabindex="{smartyTabIndex}" />
                    {$myobj->getFormFieldElementErrorTip('total_points')}
                </td>
            </tr>
            <tr>
                <td class="{$myobj->getCSSFormLabelCellClass('total_questions')}">
                    <label for="total_questions">{$LANG.analysts_total_question_greater}</label>
                </td>
                <td class="{$myobj->getCSSFormFieldCellClass('total_questions')}">
                    <input type="text" class="clsCommonNumberTextBox" name="total_questions" id="total_questions" value="{$myobj->getFormField('total_questions')}" tabindex="{smartyTabIndex}" />
                    {$LANG.and}
                    <input type="text" class="clsCommonNumberTextBox" name="maxtotal_questions" id="maxtotal_questions" value="{$myobj->getFormField('maxtotal_questions')}" tabindex="{smartyTabIndex}" />
                    {$myobj->getFormFieldElementErrorTip('total_questions')}
                </td>
            </tr>
            <tr>
                <td class="{$myobj->getCSSFormLabelCellClass('total_answers')}">
                    <label for="total_answers">{$LANG.analysts_total_answers_greater}</label>
                </td>
                <td class="{$myobj->getCSSFormFieldCellClass('total_answers')}">
                    <input type="text" class="clsCommonNumberTextBox" name="total_answers" id="total_answers" value="{$myobj->getFormField('total_answers')}" tabindex="{smartyTabIndex}" />
                    {$LANG.and}
                    <input type="text" class="clsCommonNumberTextBox" name="maxtotal_answers" id="maxtotal_answers" value="{$myobj->getFormField('maxtotal_answers')}" tabindex="{smartyTabIndex}" />
                    {$myobj->getFormFieldElementErrorTip('total_answers')}
                </td>
            </tr>
            <tr>
				<td><!----></td>
                <td class="{$myobj->getCSSFormFieldCellClass('submitsearch')}">
				<div class="clsSubmitLeft">
									<div class="clsSubmitRight">
                    <input type="submit" class="clsSubmitButton" name="adv_search" id="adv_search" value="{$LANG.search}" tabindex="{smartyTabIndex}" />
					</div></div>
                </td>
            </tr>
            </table>
            </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  </div>
  <!--end of rounded corners-->
</div>
        </div>
    </form>
{/if}

{if $myobj->isShowPageBlock('form_analysts') or $myobj->isShowPageBlock('form_week_experts')}
    {if $myobj->isResultsFound()}

            <div class="clsCommonTopAnalystRoundedCorner">
  <!--rounded corners-->
   <div class="clsShadedBg">
  <div class="lbtopanalyst">
    <div class="rbtopanalyst">
      <div class="bbtopanalyst">
        <div class="blctopanalyst">
          <div class="brctopanalyst">
            <div class="tbtopanalyst">
              <div class="tlctopanalyst">
                <div class="trctopanalyst">
					{if $CFG.admin.navigation.top}
						{include file='../general/pagination.tpl'}
					{/if}
					<br />
	            {foreach key=dtakey item=dtavalue from=$myobj->form_analysts.TopAnalysts}
					<div class="{$dtavalue.clsOddOrEvenQuestion} clsUserThumbDetails ">
						{if isUserImageAllowed()}
							<div class="clsFeaturedUserThumb"><p>{$myobj->displayProfileImage($dtavalue.record, 'small', false)}</p></div>
						{/if}
						 <div class="clsFeaturedUserDetails">
							<h3 class="clsTitleLink"><a href="{$dtavalue.myanswers.url}">{$dtavalue.record.analyst_by}</a></h3>
							<p class="clsOtherInfo">{$LANG.common_question_asked} <a href="{$dtavalue.questions.url}">{$dtavalue.record.total_ques}</a></p>
							<p class="clsOtherInfo">{$LANG.common_resolved_questions} <a href="{$dtavalue.questions_resolve.url}">{$dtavalue.getResolvedQuestions}</a></p>
							<p class="clsOtherInfo clsBackgroundNone">{$LANG.analysts_answers} <a href="{$dtavalue.questions_ans.url}">{$dtavalue.record.total_ans}</a></p>
						 </div>
						 <div class="clsFeatured3rdDiv">
							 <div class="clsFeaturedRating">
							 	<span class="clsFeaturedRatingValue">{$dtavalue.userLevelNumber}</span>
								 <p><span>{$dtavalue.record.total_points}</span>{$LANG.common_points}</p>
							 </div>
						 </div>
					</div>
	            {/foreach}
               </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  </div>
  <!--end of rounded corners-->
</div>

        {if $CFG.admin.navigation.bottom}
            {include file='../general/pagination.tpl'}
        {/if}
    {else}
        <div id="selMsgAlert">
            <p>{$LANG.common_no_analysts}</p>
        </div>
    {/if}

{/if}
</div>