<%file _header.htm%>
  <div class="ask clearfix">
    <div class="left clearfix">
      <div class="l">
        <div class="sbox">
          <div class="tit">问题分类</div>
          <div class="cont">
          <ul class="asknum clearfix">
          <%if isAskNum%><li>提问总数：<em>{askNum}</em></li><%/if%>
          <%if isAnsNum%><li>回答总数：<em>{ansNum}</em></li><%/if%>
          <%if isYesNum%><li>已解决数：<em>{yesNum}</em></li><%/if%>
          <%if isNoNum%><li>未解决数：<em>{noNum}</em></li><%/if%>
          </ul>
<%loop (AskclassInfo) bigClass GetAskClass(0)%>
            <div class="big">
                <h5><a href="ask_list-{bigClass.id}.html">{bigClass.name}</a></h5>
                <ul class="clearfix">
        <%loop (AskclassInfo) smallClass GetAskClass(bigClass.id)%>
                    <li><a href="ask_list-{smallClass.id}.html">{smallClass.name}</a></li>
        <%/loop%>
                </ul>
            </div>
<%/loop%>
          </div>
        </div>
      </div>
      <div class="r">
        <div class="sbox">
          <div class="tit"><em class="tjs"></em>推荐问题</div>
          <div class="cont">
            <ul class="deflist">
            <%loop (AskInfo) ask AskTop(4,5,0,0,0,false,false)%>
            <li><a href="ask_ask-{ask.id}.html">{ask.title}</a><em><%datetostr(ask.addtime,"MM-dd")%></em></li>
            <%/loop%> 
            </ul>
          </div>
        </div>
        <div class="sbox">
          <div class="tit"><em class="new"></em>最新问题</div>
          <div class="cont">
            <ul class="deflist">
            <%loop (AskInfo) ask AskTop(12,1,0,0,0,false,false)%>
            <li><a href="ask_ask-{ask.id}.html">{ask.title}</a><em><%datetostr(ask.addtime,"MM-dd")%></em></li>
            <%/loop%> 
            </ul>
          </div>
        </div>
        <div class="sbox">
          <div class="tit"><em class="sol"></em>已解决问题</div>
          <div class="cont">
            <ul class="deflist">
            <%loop (AskInfo) ask AskTop(8,2,0,0,0,false,false)%>
            <li><a href="ask_ask-{ask.id}.html">{ask.title}</a><em><%datetostr(ask.addtime,"MM-dd")%></em></li>
            <%/loop%> 
            </ul>
          </div>
        </div>
      </div>
    </div>
    <div class="right">
        <div class="sbox">
          <div class="tit">用户登录</div>
          <div class="cont ulogin">
          <%if userid>0%>
            <ul>
                <li><a href="usercenter/" class="user_s"></a><em><a href="">{username}</a> <span class="sc" title="您的当前积分：{userscore}"></span><br />头衔：{userrank}</em></li>
                <li><span>我的问题：{myask}</span><span>我的回答：{myans}</span></li>
                <li>上次登录IP：{previp}</li>
                <li>上次登录时间：{prevtime}</li>
            </ul>
          <%else%>
        <div class="lc">
            <em class="tbg"><a href="register.html">免费注册</a></em>
            <em class="tbg"><a href="login.html">登录</a></em>
        </div>
        <ul class="xc clearfix">
        <li>提问更加方便</li>
        <li>回答非常轻松</li>
        <li>展示知识力量</li>
        <li>积分获取回报</li>
        </ul>
        <%/if%>
        <div class="fswf"><embed src="templates/default/images/kcms.swf" width="160" height="18" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed></div>
        <ul class="abc">
        <li><a href="/about/feedback.html">用户体验和意见反馈</a></li>
        <li><a href="/about/service.html">用户服务条款及使用帮助</a></li>
        </ul>
          </div>
        </div>
        <div class="rc"><div class="askpost"><a href="ask_post.html">提交问题</a></div></div>
        <div class="sbox">
          <div class="tit">问答标签</div>
          <div class="cont">
    <ul class="indtags clearfix">
    <%loop (TagInfo) tag TagTop(30,3,false)%>
    <li><a href="tags-{tag.id}.html">{tag.tagname}</a></li>
    <%/loop%>
    </ul>
          </div>
        </div>
        <div class="sbox">
          <div class="tit">最新专题</div>
          <div class="cont">
          <ul class="rightspe clearfix">
          <%loop (SpecialInfo) special SpecialTop(4,0,0)%>
               <li><a href="specials-{special.id}.html"><img src="uploads/?{special.picid}.jpg" alt="{special.spename}" width="102" height="82" border="0"/><em>{special.spename}</em></a></li>
          <%/loop%>
          </ul>
          </div>
        </div>

    </div>
  </div>
<%file _footer.htm%>