<%@ Page Language="C#" Inherits="TopWinCMS.BLL.PageFactory.Pages.ArticleShow" EnableSessionState="false"
    EnableViewState="false" %>
<%@ Import Namespace="TopWinCMS.BLL.PageFactory" %>
<!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>
	<title>[PageTitle]</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="{StylePath}/Base.css" rel="stylesheet" type="text/css" media="all" />
	<script language="javascript" type="text/javascript" src="{SysPath}/JS/Ajax/Ajax.js"></script>
	<script language="javascript" type="text/javascript" src="{SysPath}/JS/TopWinCMS.js"></script>
	<script language="javascript" type="text/javascript" src="{SysPath}/JS/Ajax/MemberLoginBar.js"></script>
	<script language="javascript" type="text/javascript" src="{SysPath}/JS/Ajax/Article.js"></script>
	<script language="javascript" type="text/javascript" src="{SysPath}/JS/Ajax/PostComment.js"></script>
	<script language="javascript" type="text/javascript" src="{SysPath}/JS/Ajax/Digo.js"></script>
	<script language="javascript" type="text/javascript">
 
      	var ModelID =<%=model.ModelID %>;
      	var ArticleID = <%=model.ID %>;
       	var ContentID = <%=model.ID %>;
        var PageNo = <%=PageNo %>;
	</script>
	</head>
	<body>
    <!--#include file="../Header.aspx"--> 
    <script language="javascript" type="text/javascript">
Show_Tab(2);
    </script>
    <div class="wherePath"> <img src='{StylePath}/Images/arrow.gif' alt=""> 您现在的位置： {Path} → @Title@［正文］</div> 
    <div class="mainDiv">
      <div class="Left">
      <!--#include file="../LoginPanel.inc"-->
        <div class="divPanel_title">
          <div class="left"> &nbsp;</div>
          <div class="middle"> 热 门 文 章</div>
          <div class="right"> &nbsp;</div>
        </div>
        <div class="divPanel_Content">
          <div class="divPanel">
            <ul>
              <TW:HotArticle rows="10" length="40">
                <ItemTemplet>
                  <li><a href="@StaticURL@" title="@Title@">@ShortTitle@</a></li>
                </ItemTemplet>
                <EmptyTemplet>没有文章</EmptyTemplet>
              </TW:HotArticle>
            </ul>
          </div>
        </div>
        <div class="divPanel_title">
          <div class="left"> &nbsp;</div>
          <div class="middle"> 相 关 文 章</div>
          <div class="right"> &nbsp;</div>
        </div>
        <div class="divPanel_Content">
          <div class="divPanel">
            <ul>
              <TW:XGContent rows="10" length="40" key="<%=model.Key %>" modelid="@ModelID@">
                <ItemTemplet>
                  <li><a href="@StaticURL@" title="@ContentTitle@">@ShortTitle@</a></li>
                </ItemTemplet>
                <EmptyTemplet>没有文章</EmptyTemplet>
              </TW:XGContent>
            </ul>
          </div>
        </div>
        <div class="divPanel_title">
          <div class="left">&nbsp;</div>
          <div class="middle">Tags(标签)</div>
          <div class="right">&nbsp;</div>
        </div>
        <div class="divPanel_Content">
          <div class="divPanel">
            <ul>
              <TW:ContentTags>
                <ItemTemplet>
                  <li><a href="{SysPath}/Tags/TagsList.aspx?ModelID=@ModelID@&ID=@ID@&PageNo=1">@TagName@</a></li>
                </ItemTemplet>
              </TW:ContentTags>
            </ul>
          </div>
        </div>
      </div>
      <div class="Right">
        <div class="ArticleInfo">
          <TW:Context>
            <ItemTemplet>
              <h1 class="ArticleTitle">@Title@</h1>
              <div style="text-align: right;">［作者：@Author@&nbsp;&nbsp;&nbsp;&nbsp;转贴自：@From@&nbsp;&nbsp;&nbsp;&nbsp;点击数：<span
 id="hist">数据正在加载...</span>&nbsp;&nbsp;&nbsp; 更新时间：@UpdateTime@］</div>
              <div class="ArticleTitle1">@Title1@</div>
              <div class="ArticleContent">@Content@</div>
              @Page@
            </ItemTemplet>
          </TW:Context>
          <tw:annex>
            <div style="MARGIN: 0px 20px 10px 10px;"> <br />
              <strong>附件：</strong><br />
              <ItemTemplet> <a href="@FileName@" target="_blank">@DownURL@</a><br />
              </ItemTemplet>
            </div>
          </tw:annex>
          <div class="Digo" id="vote_content">
            <div class="ampReview" onclick="Post_Digo(@ModelID@,@ArticleID@,'Good');"> <span id="goodnum" style="font: 24px;color: #c00">0</span> <br />
              票<br />
              顶一下 </div>
            <div class="ampReview" style="margin-left: 0px" onclick="Post_Digo(@ModelID@,@ArticleID@,'Bad');"> <span id="badnum" style="font: 24px;color: #090">0</span> <br />
              票<br />
              踩一下 </div>
          </div>
          <div style="height:50px;">
            <div style="float: left"> 上一篇:@UP@<br />
              下一篇:@Down@</div>
            <div style="float: right; text-align: right"> <a href="javascript:window.print()"> <img src="{SysPath}/Images/print.gif" style="vertical-align: middle" alt="" /> 打印本页</a> <a href="javascript:window.close()"> <img src="{SysPath}/Images/pageclose.gif" style="vertical-align: middle"  alt="" /> 关闭窗口</a></div>
          </div>
          <dl class="CommentPanel" >
            <dt><span class="Name">评论人</span><span style="width: 550px;">内容</span></dt>
            <tw:commentshow rows="10" length="32" modelid="@ModelID@">
              <ItemTemplet>
                <dd> <span class="Name">@Name@</span><span class="Content">@Content@</span></dd>
              </ItemTemplet>
              <EmptyTemplet>
                <dt><span>没有评论</span></dt>
              </EmptyTemplet>
            </tw:commentshow>
            <dt style="height:180px">
              <input id="ContentID" type="hidden" value="@ArticleID@" />
              <input id="ModelID" type="hidden" value="@ModelID@" />
              &nbsp;&nbsp;&nbsp;*笔 名：
              <input title="笔名不能为空！" maxlength="20" id="Name" />
              评分：
              <select id="Score" name="Score">
                <option value="100">100</option>
                <option value="80">80</option>
                <option value="60" selected="selected">60</option>
                <option value="40">40</option>
                <option value="20">20</option>
                <option value="0">0</option>
              </select>
              分 <br />
              *评论内容：（最多300字。当前字数：
              <label id="spanCommentContentLength">0</label>
              ）<br />
              <textarea onkeyup="Commentonkeyup();" onpropertychange="Commentonchange(this)" id="Content" rows="5" cols="90" onchange="Commentonchange(this);"></textarea>
             <div style="text-align:center; margin-top:8px">
                <input class="btn" type="button" value="提交" onclick="PostComment();" /> <a href="{SysPath}/Comment/CommentList.aspx?ModelID=@ModelID@&ContentID=@ArticleID@" target="_blank">查看评论</a>
        </div>
            </dt>
          </dl>
        </div>
      </div>
    </div>
 
    <!--#include file="../Footer.aspx"-->
</body>
</html>
