<!--{include file="<!--{$shoptplpath}--><!--{$shop.skin}-->/block_header.tpl"}--> 
<!--{include file="<!--{$shoptplpath}--><!--{$shop.skin}-->/block_top.tpl"}-->
<script src="<!--{$urlpath}-->tpl/shop/<!--{$shop.skin}-->/js/gallerySlide.js"></script>
<div class="oe_shopmain">
  <div class="oem_photo_detail">

	<div class="oem_photo_dtop">
	  <h1><!--{$gallery.name}--> <span><em id="orderid_tips">1</em>/<!--{$gallery.photos}--></span><label><!--{$gallery.hits}--></label> <i><!--{$gallery.addtime|date_format:"%Y/%m/%d"}--></i></h1>
	  <div class="oem_ptd_sc">
		作品集：
		<!--{assign var="gallerylist" value=vo_list("mod={gallery} where={v.shopid='<!--{$shop.shopid}-->'}")}-->
		<select name="shopgallery" id="shopgallery">
		<option value="">请选择</option>
		<!--{foreach $gallerylist as $volist}-->
		<option value="<!--{$volist.url}-->"<!--{if $gallery.galleryid == $volist.galleryid}--> selected<!--{/if}-->><!--{$volist.name}-->（<!--{$volist.photos}-->）</option>
		<!--{/foreach}-->
		</select>
	  </div>
	  <div class="clear"></div>
	</div>
	<!--//oem_photo_dtop End-->

	<div class="oem_photo_des">
	  <!--{$gallery.intro|nl2br}-->
	</div>

	<div class="oem_photo_content">

	  <div class="oe_gallery_bigpic">
	    <div class="bigPic">
		  <img src="<!--{$gallery.drawimg}-->" />
	    </div>
	  </div>

	  <!--{assign var="photolist" value=vo_list("mod={photo} where={v.galleryid='<!--{$gallery.galleryid}-->'}")}-->
	  <!--{if !empty($photolist)}-->
	  <div class="oe_gallery_preview">
		<div class="oe_gallery_premd">
		  <a class="prev" href="javascript:;"></a>
		  <a class="next" href="javascript:;"></a>
		  <div class="thumbnail">
		    <ul>
			  <!--{foreach $photolist as $volist}-->
			  <li><img src="<!--{$volist.thumbimg}-->" orderid="<!--{$volist.i}-->" data-img="<!--{$volist.drawimg}-->" /></li>
			  <!--{/foreach}-->
		    </ul>
		  </div>
		</div>
		<!--//oe_gallery_premd End-->
	    <div class="clear"></div>
	  </div>
	  <!--//oe_galler_preview End-->
	  <!--{/if}-->

	</div>
	<!--//oem_photo_content End-->

  </div>
  <!--//oem_photo_detail End-->

</div>

<script type="text/javascript">
$(function(){
	oeGallerySlide();
	$("#shopgallery").bind("change", function(){ //选择相册
		$url = $(this).val();
		if ($url.length > 0) {
			window.location.href = $url;
		}
	});
});
</script>
<!--{include file="<!--{$shoptplpath}--><!--{$shop.skin}-->/block_footer.tpl"}-->