<%/*[comment]节点图片页[/comment]*/%>
<%@page pageEncoding="UTF-8"%>
<%@page trimDirectiveWhitespaces="true"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="gen" uri="http://help.jspgen.com/taglib/jstl"%>
<%@taglib prefix="cms" uri="http://help.jspgen.com/taglib/jstl/cms"%>
<!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=edge,chrome=1" />
<title>${node.name} ${config.title}</title>
<meta name="keywords" content="${node.tags},JSPGenCMS" />
<meta name="description" content="${node.description}" />
<link rel="shortcut icon" href="${config.statie}images/favicon.ico" />
<link rel="stylesheet" type="text/css" href="${config.statie}ui/cms/view/images/jspgencms.css" />
<link rel="alternate" type="application/rss+xml" title="${config.title}" href="${config.dynamie}cms/api.gen" />
<script type="text/javascript">
var show={id:'${content.id}',title:'${content.title}',thumb:'${content.thumb}',node_topId:'${node.topId}',node_id:'${node.id}',node_alias:'${node.alias}',node_name:'${node.name}',node_thumb:'${node.thumb}'};
</script>
</head>
<body>
<center>
  <jsp:include page="../header.jsp" />
  <table width="1000" border="0" align="center" cellpadding="0" cellspacing="5" bgcolor="#FFFFFF">
    <tr>
      <td height="30" bgcolor="#F6F6F6" class="linkPath">&nbsp;当前位置：<a href='${config.dynamie}html/'>首页</a><cms:node var="node" path="${node.path}"> >> <a href='${node.url}'>${node.name}</a> </cms:node></td>
    </tr>
    <gen:if test="${node.isParent == 1}">
      <cms:node var="node" parentId="${node.id}">
        <tr>
          <td valign="top" height="350"><div class="bk bg4">
              <h2><a href="${node.url}" target="_blank" style="float:right; margin-right:5px; display:inline-block;">更多&gt;&gt;</a>${node.name}</h2>
              <div class="pic_list">
                <ul>
                  <cms:list var="content" nodeId="${node.id}" child="true" thumb="true" size="10">
                    <li><a href="${content.url}"><img src="${content.thumb}" width="145" height="100" /><br />${gen:substring(content.title, 60, "…")}</a></li>
                  </cms:list>
                </ul>
              </div>
            </div></td>
        </tr>
        <tr>
          <td height="5"></td>
        </tr>
      </cms:node>
      <gen:else />
      <tr>
        <td valign="top" height="350"><div class="bk bg4">
            <h2>${node.name}</h2>
            <div class="pic_list">
              <ul>
                <cms:list var="content" varPager="pager" nodeId="${node.id}" thumb="true" size="20">
                  <li><a href="${content.url}"><img src="${content.thumb}" width="145" height="100" /><br />${gen:substring(content.title, 60, "…")}</a></li>
                </cms:list>
              </ul>
              <div class="pages">
                <form name="search" method="post" action="?">
                  <input type="hidden" name="id" value="${node.id}" />
                  <input type="submit" name="button" value="提交" style="display:none;" />
                  <jsp:include page="../pager.jsp" />
                </form>
              </div>
            </div>
          </div></td>
      </tr>
    </gen:if>
  </table>
  <jsp:include page="../footer.jsp" />
</center>
</body>
<script type="text/javascript" src="${config.statie}js/jquery.js"></script>
<script type="text/javascript" src="${config.statie}js/jquery.grapes.js"></script>
<script type="text/javascript" src="${config.statie}js/jquery.feed.js"></script>
<script type="text/javascript" src="${config.statie}js/jquery.s2t.js"></script>
<script type="text/javascript" src="${config.statie}ui/js/jspgen.js"></script>
<script type="text/javascript" src="${config.statie}ui/cms/js/jspgencms.js"></script>
<script type="text/javascript" src="${config.statie}ui/cms/js/jspgencms.ajax.js"></script>
<script type="text/javascript" src="${config.statie}ui/cms/js/jspgencms.ready.js"></script>
<script type="text/javascript">
$(document).ready(function () {
    setnav('.nav li', '#nav_'+show.node_topId, 'hover');
    jspgencms.nodeUpdate(show.node_id, 'pv');
    //getFeedRss('${config.dynamie}cms/api.gen', 'feedRssNews', '5', '40', '<li>', '</li>', ''); //<ul id="feedRssNews"></ul>
    //getFeedRss('${config.dynamie}cms/api.gen?id=1', 'feedRss1', '5', '40', '<li>', '</li>', ''); //<ul id="feedRss1"></ul>
});
</script>
</html>