<%if not in_eycms then response.write("template load fail"):response.end() end if%>
{eycms:include("../../eycms_top.asp")}
<title>{eycms.iif(eycms.strlen(seotitle)>0,seotitle,classname)}{if page>1}_第{page}页{/if}_{eycms[webname]}</title>
<meta name="Keywords" content="{seokey}">
<meta name="Description" content="{seodesc}">
</head>
<body>
{eycms:include("../../eycms_head.asp")}

<!-- 内容 -->
<section class="width100">
{if instr(eycms.get_sonid(rootid),",")>0}
<div class="news_type">
  <ul class="fix">
    {eycms:rs table="ey_category" top="3" where="followid=[rootid] and ismenu=1" order="ordnum,cateid"}
      <li><a href="{$rs[link]}" class="f26 li1">{eycms.cutstr($rs[catename],10,0)}</a></li>
    {/eycms:rs}
    <li class="more" onclick="show_more_type()"><a class="f26">更多<span><img src="{skins}/images/ico_d.png" class="width100"></span></a></li>
  </ul>

  <dl id="news_type_hid" style="display: none;">
  {eycms:rs table="ey_category" top="0" where="followid=[rootid] and ismenu=1" order="ordnum,cateid"}
  {if i>3}
    <dd><a href="{$rs[link]}" class="f26"><span>{eycms.cutstr($rs[catename],28,0)}</span><div><img alt="网站建设" src="{skins}/images/news_jiantou.png" class="width100"></div></a></dd>
  {/if}
  {/eycms:rs}
  </dl>
</div>
{/if}
	<div class="case_list">
		<div id="case_list_html" class="list-loop">

			{eycms:rs table="ey_content" where="classid in([sonid]) and islock=1" order="ontop desc,id desc" pagesize="{var pagenum}"}
				<dl class="loop"><dt><a href="{$rs[link]}" title="{$rs[title]}"><img src="{if $rs[ispic]=1}{$rs[pic]}{else}{skins}/common/images/blank.gif{/if}" alt="{$rs[title]}" class="width100"></a></dt><dd><a href="{$rs[link]}" class="f24">{eycms.cutstr($rs[title],22,1)}</a></dd></dl>
			{/eycms:rs}

		</div>
		<div class="c"></div>
	</div>
	<div class="imore btn_more"><a href="{page:next}" class="f24">加载更多&gt;&gt;</a></div>
</div>
</section>
<!-- 内容 -->
<script>
    function show_more_type() {
       if($("#news_type_hid").is(":visible")) {
               $("#news_type_hid").hide();
       } else {
               $("#news_type_hid").show();
       }
    }
</script>
{eycms:include("../../eycms_foot.asp")}
</body>
</html>