<!--{if $config.indexmenu_status == '1'}-->
<div class="oe_kmenu">
<div class="oem_menu">
  <dl>
    <dt f="dropmenu">
      <label>商家导航</label>
      <div class="oem_mtool hidden">
        <ul>
          <!--{assign var="eliteshopcat" value=vo_list("mod={shopcat} where={v.parentid='0'} num={6}")}--> 
          <!--{foreach $eliteshopcat as $volist}-->
          <li><p> <a href="<!--{$volist.url}-->"><!--{$volist.catname}--></a></p>
           <!--{assign var="shopsubcat" value=vo_list("mod={shopcat} where={v.parentid='<!--{$volist.catid}-->'}")}--> 
           <!--{if !empty($shopsubcat)}-->
           <label>
           <!--{foreach $shopsubcat as $val}--> 
           <a href="<!--{$val.url}-->"><!--{$val.catname}--></a> 
           <!--{/foreach}--> 
          </label>
          <!--{/if}-->
          </li>
          <!--{/foreach}-->
        </ul>
      </div>
    </dt>
    <dd>
      <ul>
		<!--{assign var="menulist" value=vo_list("mod={indexmenu} where={v.parentid='0'}")}-->
		<!--{foreach $menulist as $volist}-->
        <li f="dropmenu"><!--{if !empty($volist.url)}--><a href="<!--{$volist.url}-->"<!--{if $volist.target=='2'}--> target="_blank"<!--{/if}-->><!--{$volist.menuname}--></a><!--{else}--><!--{$volist.menuname}--><!--{/if}-->
		  <!--{assign var="menuchild" value=vo_list("mod={indexmenu} where={v.parentid='<!--{$volist.menuid}-->'}")}--> 
          <!--{if !empty($menuchild)}-->
		  <i></i>
          <div class="down_list hidden"> 
            <!--{foreach $menuchild as $val}--> 
            <a href="<!--{$val.url}-->"<!--{if $val.target=='2'}--> target="_blank"<!--{/if}-->><!--{$val.menuname}--></a> 
            <!--{/foreach}--> 
          </div>
		  <!--{/if}-->
		</li>
		<!--{/foreach}-->
      </ul>
    </dd>
    <div class="clear"></div>
  </dl>

</div>
</div>
<!--{else}-->
<div class="oem_menu">
  <dl>
    <dt f="dropmenu">
      <label>商家导航</label>
      <div class="oem_mtool hidden">
        <ul>
          <!--{assign var="eliteshopcat" value=vo_list("mod={shopcat} where={v.parentid='0'} num={6}")}--> 
          <!--{foreach $eliteshopcat as $volist}-->
          <li><p> <a href="<!--{$volist.url}-->"><!--{$volist.catname}--></a></p>
           <!--{assign var="shopsubcat" value=vo_list("mod={shopcat} where={v.parentid='<!--{$volist.catid}-->'}")}--> 
           <!--{if !empty($shopsubcat)}-->
           <label>
           <!--{foreach $shopsubcat as $val}--> 
           <a href="<!--{$val.url}-->"><!--{$val.catname}--></a> 
           <!--{/foreach}--> 
          </label>
          <!--{/if}-->
          </li>
          <!--{/foreach}-->
        </ul>
      </div>
    </dt>
    <dd>
      <ul>
        <li><a href="<!--{$urlpath}-->">首页</a></li>
        <li f="dropmenu"><a <!--{if $c=='goods'}--> class="current"<!--{/if}--> href="<!--{routeurl module='goods'}-->">婚庆商城</a> 
          <!--{assign var="elitegoodscat" value=vo_list("mod={goodscat} where={v.elite='1'} num={6}")}--> 
          <!--{if !empty($elitegoodscat)}--> 
          <i></i>
          <div class="down_list hidden"> 
            <!--{foreach $elitegoodscat as $volist}--> 
            <a href="<!--{routeurl module='goods' action='list' items="s_catid=<!--{$volist.catid}-->"}-->"><!--{$volist.catname}--></a> 
            <!--{/foreach}--> 
          </div>
          <!--{/if}--> 
        </li>
        <li><a <!--{if $c=='shop'}--> class="current"<!--{/if}--> href="<!--{routeurl module='shop'}-->">商家</a></li>
        <li><a <!--{if $c=='activity'}--> class="current"<!--{/if}--> href="<!--{routeurl module='activity'}-->">活动</a></li>
        <li><a <!--{if $c=='coupon'}--> class="current"<!--{/if}--> href="<!--{routeurl module='coupon'}-->">优惠券</a></li>
      </ul>
    </dd>
    <div class="clear"></div>
  </dl>
  <div class="oe_menu_right">
    <a href="<!--{routeurl module='gallery'}-->">图库</a>
	<a href="<!--{routeurl module='article'}-->">资讯</a>
  </div>
</div>
<!--{/if}-->
<script type="text/javascript">
$(function(){
	$("[f='dropmenu']").bind("mouseover", function(){
		$(this).find("div").show();
	});

	$("[f='dropmenu']").bind("mouseout", function(){
		$(this).find("div").hide();
	});
});
</script>