<!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" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title><jcms:site.page.title/></title>
<meta name="keywords" content="<jcms:site.page.keywords/>" />
<meta name="description" content="<jcms:site.page.description/>" />
<link href="/statics/css/global.css" rel="stylesheet" type="text/css" />
<link href="/statics/css/default_blue.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<jcms:site.dir/>_libs/jquery.tools.pack.js"></script>
<script type="text/javascript" src="<jcms:site.dir/>_data/jcmsU1.js"></script>
<link type="text/css" rel="stylesheet" href="<jcms:site.dir/>_data/jcmsU1.css" />
<script type="text/javascript" src="/_libs/jquery.sgallery.js"></script>
<script type="text/javascript" src="/statics/js/search_common.js"></script>
</head>
<body>
<jcms:include file="~/_data/html/header.htm" />
<div id="subnav" style="display:none">
<jcms:classloop channelid="{$ChannelId}" depth="1" repeatnum="0">
<a href="{$ClassLink}" class="more">{$ClassName}</a><span> | </span>
</jcms:classloop>
 <a href="/search/default.aspx?ch={$ChannelId}">搜索</a>
</div>
<script type="text/javascript">$('.subnav').html($('#subnav').html());</script>
<style type="text/css" > 
.photo_prev a{cursor:url(/statics/images/v1/prev.cur), auto;}
.photo_next a{cursor:url(/statics/images/v1/next.cur), auto;}
 
</style>
<div class="main photo-channel">
  <div class="crumbs"><jcms:site.page.nav/>&nbsp;&gt;&nbsp;</div>
  <div id="Article">
    <h1>{$_title}<br />
        <span>{$_adddate}&nbsp;&nbsp;&nbsp;来源：{$_sourcefrom}&nbsp;&nbsp;&nbsp;点击：</span><span id="hits">{$_viewnum}</span>
    </h1>
    <div class="tool"> <a name="pic"></a> <a class="up" href="javascript:;" title="上一张" onclick="showpic('pre')"><span>上一张</span></a><a class="next" href="javascript:;" onclick="showpic('next')" title="下一张"><span>下一张</span></a><span class="stat" id="picnum"></span>
      <div class="Article-Tool">
        <span id='review'> <a href="<jcms:site.dir/>review/default.aspx?ccid={$ChannelId}&ctype=article&id={$_id}">评论</a> </span>
        <span id='favorite'> <a href="javascript:addFavorite({$ChannelId},'photo',{$_id});" title="本站会员收藏">收藏</a> </span>
      </div>
    </div>
    <div class="big-pic" style="height:650px;">
      <div id="big-pic"></div>
      <div class="photo_prev"><a id="photoPrev" title="&lt;上一页" class="btn_pphoto" target="_self" hidefocus="true" href="javascript:;" onclick="showpic('pre');"></a></div>
      <div class="photo_next"><a id="photoNext" title="下一页&gt;" class="btn_nphoto" target="_self" hidefocus="true" href="javascript:;" onclick="showpic('next')"></a></div>
      <a href="javascript:;" class="max" onclick="showpic('big');">查看原图</a>
      <div id="endSelect" style="display: none;">
        <div id="endSelClose" onclick="$('#endSelect').hide();"></div>
        <div class="bg"></div>
        <div class="E_Cont">
          <p>您已经浏览完所有图片</p>
          <p><a id="rePlayBut" href="javascript:void(0)" onclick="showpic('next', 1);"></a><a id="nextPicsBut" href="javascript:alert('最后一页');"></a></p>
        </div>
      </div>
    </div>
    <div class="list-pic">
      <div id="before" class="pre picbig">
        <div class="img-wrap"><a target="_self"><img src="/statics/images/nopic_small.gif" width="100" height="75" /></a></div>
        <a target="_self">&lt;上一组</a>
      </div>
<jcms:contentloop channelid="{$ChannelId}" classid="{$ClassId}" module="photo" repeatnum="1" wherestr="id小于{$_id}" ordertype="desc" fields="[title],[isimg],[img]">
<#foreach collection="${contents}" var="field" index="i">
  <script type="text/javascript">
	$i("before").getElementsByTagName("a")[0].href="$_{url}";
	$i("before").getElementsByTagName("a")[1].href="$_{url}";
	$i("before").getElementsByTagName("img")[0].src="$_{img}";
    </script>
<#/foreach>
</jcms:contentloop>
      <a href="javascript:;" onclick="showpic('pre')" class="pre-bnt"><span></span></a>
      <div class="cont" style="position:relative">
<textarea id="photoList" style="display:none">
{#foreach $T as record}
          <li rel="{$T.record.no}">
            <div class="img-wrap"><a href="javascript:;" hidefocus="true"><img src="{$T.record.thumb}" alt="{$T.record.title}" rel="{$T.record.photo}" width="100" height="75" /></a></div>
          </li>
{#/for}
</textarea>
        <ul class="cont picbig" id="pictureurls"  style="position:absolute">
        </ul>
      </div>
      <a href="javascript:;" onclick="showpic('next')" class="next-bnt"><span></span></a>
      <div id="after" class="next picbig">
        <div class="img-wrap"><a target="_self"><img src="/statics/images/nopic_small.gif" width="100" height="75" /></a></div>
        <a target="_self">下一组&gt;</a>
      </div>
<jcms:contentloop channelid="{$ChannelId}" classid="{$ClassId}" module="photo" repeatnum="1" wherestr="id大于{$_id}" ordertype="asc" fields="[title],[isimg],[img]">
<#foreach collection="${contents}" var="field" index="i">
  <script type="text/javascript">
	$i("after").getElementsByTagName("a")[0].href="$_{url}";
	$i("after").getElementsByTagName("a")[1].href="$_{url}";
	$i("after").getElementsByTagName("img")[0].src="$_{img}";
    </script>
<#/foreach>
</jcms:contentloop>
    </div>
    <div class="text" id="picinfo"></div>
    <div class="content">
      <p>{$_summary}</p>
    </div>
  </div>
  <div class="bk10"></div>
  <div class="relevance">
    <h5>相关图集</h5>
    <ul class="photo-list">
<jcms:contentloop channelid="{$ChannelId}" classid="0" module="photo" repeatnum="6" fields="title,isimg,img" wherestr="id小于大于{$_id}" islike="1" keywords="{$_tags}">
<#foreach collection="${contents}" var="field" index="i">
      <li>
        <div class="img-wrap"><a href="$_{url}"><img src="$_{img}" width="100" height="75"/></a></div>
        <a href="$_{url}">${field.title}</a>
      </li>
<#/foreach>
</jcms:contentloop>
    </ul>
  </div>
  <div class="bk10"></div>
</div>
<div id="load_pic" style="display:none;" rel="/statics/images/loading_d.gif"></div>
<script type="text/javascript">
var slideJSON = {$SlideJSON};
$("#pictureurls").setTemplateElement("photoList", null, {filter_data: true});$("#pictureurls").processTemplate(slideJSON);</script>
<script type="text/javascript" src="/statics/js/show_picture.js"></script>
<jcms:include file="~/_data/html/footer.htm" />
</body>
</html>
