<%/*[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"%>
<cms:show var="article" id="${content.id}">
<!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>${content.title} ${config.title}</title>
<meta name="keywords" content="${content.tags},JSPGenCMS" />
<meta name="description" content="${content.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 border="0" cellpadding="0" cellspacing="0" class="main">
    <tr>
      <td align="center" valign="middle"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="path">
          <tr>
            <td align="left">&nbsp;<a href='${config.path}'>首页</a>&nbsp;>&nbsp;<gen:if test="${empty node.path}"><a href='${node.url}'>${node.name}</a>&nbsp;>&nbsp;<gen:else /><cms:node var="node" path="${node.path}"><a href='${node.url}'>${node.name}</a>&nbsp;>&nbsp;</cms:node></gen:if>正文</td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td align="center" valign="middle"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="center">
          <tr>
            <td colspan="2" class="title">${content.title}<gen:if test="${not empty article.subtitle}"><br /><span style="font-size:16px;color:#333;">${article.subtitle}</span></gen:if></td>
          </tr>
          <tr>
            <td colspan="2" class="info">时间：${gen:dateTime(content.publishTime, 'yyyy-MM-dd', config.timezoneid)}<gen:if test="${not empty content.source}">&nbsp;&nbsp;来源：${content.source}</gen:if><gen:if test="${not empty article.author}">&nbsp;&nbsp;作者：${article.author}</gen:if>&nbsp;&nbsp;点击：<span id="pv">0</span> 次&nbsp;
            <!-- BaiduShare Button BEGIN -->
            <!--<div class="bdsharebuttonbox bdshare" style="position:absolute;top:13px;left:10px;">-->
            <div class="bdsharebuttonbox bdshare" style="position:relative;top:-25px;height:0;text-align:left;">
            <style type="text/css">.bdshare a, .bdshare .bds_more {float: none;height:30px;line-height:30px;display:inline-block;}</style>
            <a href="javascript:void(0);" class="bds_more" data-cmd="more"></a><a href="javascript:void(0);" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="javascript:void(0);" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="javascript:void(0);" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>
            <script>window._bd_share_config={'common':{'bdSnsKey':{},'bdText':'','bdMini':'2','bdMiniList':false,'bdPic':'','bdStyle':'0','bdSize':'24'},'share':{}};</script>
            <script type="text/javascript" src="http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js" charset="utf-8"></script>
            <!-- BaiduShare Button END --></td>
          </tr>
          <tr>
            <td colspan="2" align="left" class="content">${article.content}
              <p align="right">编辑：${content.editor}</p></td>
          </tr>
        </table></td>
    </tr>
  </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');
    $('#pv').text(jspgencms.showUpdate(show.id, 'pv'));
});
</script>
</html></cms:show>