<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><jcms:site.page.title/></title>
<link rel="stylesheet" type="text/css" href="{site.Dir}help/css/help.css" />
<script type="text/javascript" src="{site.Dir}_libs/jquery.tools.pack.js"></script>
<script type="text/javascript" src="{site.Dir}_data/global.js"></script>
<script type="text/javascript"> 
function doSearch(){
	if(document.getElementById('searchkey').value==''){alert('请填写要搜索的关键字');document.getElementById('searchkey').focus();return false;};
	var key = document.getElementById("searchkey").value;
	location.href = "<jcms:site.url/>{site.Dir}search/default.aspx?channelid={$ChannelId}&k=" + encodeURIComponent(key);
}
</script>
<base href="<jcms:site.page.basehref/>">
</head>
<body>
<div class="heading">
  <div class="logo"><a href="/"><img src="/help/images/helplogo.png" /></a></div>
</div>
<div class="searchArea"> <span class="bold">问题搜索</span>
  <input name="searchkey" id="searchkey" type="text" value=''  style='color:#000' class="textInput"/>
  <input type="submit" value="搜 索" class="doSearch" onclick="doSearch();"/>
</div>
<div class="mainContent">
  <div class="catalog">
    <ul>
      <li><a href="{$ChannelLink}">最新问题</a></li>
      <li><a href="{$ChannelLink}">热门问题</a></li>
      <li class=spl></li>
<jcms:classloop channelid="{$ChannelId}" depth="1" repeatnum="0">
      <li id="catalog_{$ClassId}"><a href="{$ClassLink}">{$ClassName}</a></li>
</jcms:classloop>
    </ul>
  </div>
  <div class="content" id="faqList">
    <div class="return" style="display:none;"><a href="help">首页</a>&#187;</div>
    <h2>{$ClassName}</h2>
    <ul class="qList">
{$jcms:class(title)}
<#foreach>
      <li>&bull; <a href="$_{url}" title="$_{title}">${cutstring(field.title,74)}</a></li>
<#/foreach>
{$/jcms:class}
    </ul>
    <div class="pages"> {$_getPageBarHTML} </div>
  </div>
</div>
<script type="text/javascript">$('#catalog_{$ClassId}').addClass("active");</script>
</body>
</html>
