<!--{include file="<!--{$oetplpath}-->block_header.tpl"}-->
<script type="text/javascript" src="<!--{$skinpath}-->js/slide.js"></script>
<div class="oem_pt_top">
  <div class="oem_pt_topcon">
    <div class="oem_pt_logo">图库相册</div>
    <div class="oem_pt_menu">
      <ul>
		<!--{assign var="gallerycatlist" value=vo_list("mod={gallerycat} where={v.parentid='0'}")}-->
		<!--{foreach $gallerycatlist as $volist}-->
        <li<!--{if $s_catid == $volist.catid}--> class="current"<!--{/if}--> f="gallerycat_drop">
		  <a href="<!--{$volist.url}-->"><!--{$volist.catname}--></a> 
		  <!--{assign var="childlist" value=vo_list("mod={gallerycat} where={v.parentid='<!--{$volist.catid}-->'}")}-->
		  <!--{if !empty($childlist)}-->
		  <span style="display:none;"></span>
          <div class="oe_pho_dnav" style="display:none;">
		    <!--{foreach $childlist as $val}-->
		    <a href="<!--{$val.url}-->"><!--{$val.catname}--></a>
			<!--{/foreach}-->
		  </div>
		  <!--{/if}-->
        </li>
		
		<!--{/foreach}-->
		<li<!--{if $s_catid == '0'}--> class="current"<!--{/if}-->><a href="<!--{routeurl module='gallery' action='list'}-->">全部</a></li>
      </ul>
      <script type="text/javascript">
	$(function(){
		$("[f='gallerycat_drop']").bind("mouseover", function(){
			$(this).find("span").show();
			$(this).find("div").show();
		});
		$("[f='gallerycat_drop']").bind("mouseout", function(){
			$(this).find("span").hide();
			$(this).find("div").hide();
		});
	});
	</script>
      <div class="clear"></div>
    </div>
    <div class="clear"></div>
    <div class="oem_pt_top_right"> 
      <!--{if $login.status == "0"}-->
	  <a href="javascript:;" onclick="oe_varpop_loginbox();">登录</a>
	  <!--{else}-->
	  【<!--{$login.user.username}-->】 <a href="<!--{$urlpath}-->index.php?m=user">会员中心</a>
	  <!--{/if}-->
	  &nbsp;<a href="<!--{$urlpath}-->">返回首页</a>
    </div>
    <div class="clear"></div>
  </div>
</div>
<!--//oem_pt_top End-->

<div class="oem_nav">
  当前位置：<a href="<!--{$urlpath}-->">首页</a> &gt;&gt; <a href="<!--{routeurl module='gallery'}-->">图库相册</a>
  <!--{if !empty($catinfo)}-->
  <!--{if $catinfo.parentid > 0}-->
  &gt;&gt; <a href="<!--{routeurl module='gallery' action='list' items="s_catid=<!--{$catinfo.parentid}-->"}-->"><!--{hook mod="gallerycat" type="text" value=$catinfo.parentid}--></a>
  <!--{/if}-->
  &gt;&gt; <a href="<!--{routeurl module='gallery' action='list' items="s_catid=<!--{$catinfo.catid}-->"}-->"><!--{$catinfo.catname}--></a>
  <!--{/if}-->
</div>

<!--{assign var="galleryzone" value=vo_list("mod={zone} where={v.zonemark='gallery_slide'} num={1}")}-->
<!--{if !empty($galleryzone)}-->
<!--{foreach $galleryzone as $volist}-->
<div class="in_fls">
  <div class="con">
    <div id="focusdpic" class="focuscontainer" style="overflow: hidden; position: relative;">
	  <ul id="focus_list" class="focusslider focusslider2" style="position: absolute; left: 0px; top:0px;">
		<!--{foreach $volist.ads as $val}-->
	    <li>
		  <!--{if !empty($val.url)}-->
		  <a rel="nofollow" href="<!--{$val.url}-->" target="_blank"><img  f="imgloading" data-original="<!--{$val.drawimg}-->"></a>
		  <!--{else}-->
		  <img  f="imgloading" data-original="<!--{$val.drawimg}-->">
		  <!--{/if}-->
		</li>
		<!--{/foreach}-->
	  </ul>
	  <ul id="focusunum" class="focusnum">
		<!--{foreach $volist.ads as $val}-->
	    <li class=""><img height="30" src="<!--{$val.drawimg}-->"></li>
		<!--{/foreach}-->
	  </ul>
    </div>
    <script type="text/javascript">oePicSlide("focusdpic", "focus_list", "focusunum", 370, <!--{count($volist.ads)}-->, true);</script> 
  </div>
</div>
<!--//in_fls End-->
<!--{/foreach}-->
<!--{/if}-->

<div class="oem_photo_list">
  <div class="oem_photo_list_con">
    <!--{if empty($gallery)}-->
    <h6 class="oe_nodata">暂时没有您要查找的信息！</h6>
    <!--{else}-->
	<!--{foreach $gallery as $volist}-->
	<dl>
  	  <dt><a href="<!--{$volist.url}-->"><img  f="imgloading" data-original="<!--{$volist.thumbimg}-->" /></dt>
  	  <dd>
        <h3><a href="<!--{$volist.url}-->"><!--{$volist.name}--></a></h3>
        <p>商家：<!--{$volist.shopname}--></p>
      </dd>
    </dl>
	<!--{/foreach}-->
    <!--{/if}-->
    <div class="clear"></div>
    <div class="oem_page"><!--{$showpage}--></div>
  </div>
</div>

<!--{include file="<!--{$oetplpath}-->block_footer.tpl"}-->
</body>
</html>