<%@ 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]-22222</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">
        <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>
              <div id="UserLoginUI"> &nbsp;用户名：
                <input name="UserName" type="text" id="UserName" onfocus="PassCodeInit();"
                          size="16" />
                <br />
                &nbsp; 密码：
                <input name="UserPSW" id="UserPSW" type="password" onfocus="PassCodeInit();"
                          size="16" />
                <br />
                <div id="div_ValidateCode" style="display: none"> &nbsp;验证码：
                  <input name="PassCode" type="text" id="PassCode" size="10" />
                  <img src="/PassCode.ashx" alt="点击刷新验证码。" style="cursor: pointer;" align="absmiddle"
                              onclick="this.src='/PassCode.ashx?n=+ Math.random();'" /> </div>
                Cookies：
                <select name="KeepLong" id="KeepLong">
                  <option value="0">不保存</option>
                  <option value="1">一天</option>
                  <option value="30">一月</option>
                  <option value="999">永久</option>
                </select>
                <br />
                <div align="center">
                  <input type="submit" name="Submit" class="btn" onclick="PostLogin();" value="登录" />
                  <input name='Reset' type='reset' id='Reset' class="btn" value='清除' />
                  <br />
                  <hr noshade="noshade" />
                  <a href="/Member/Reg.aspx" target="_blank">免费注册</a> <a href="/Member/GetPassword.aspx"> 忘记密码？</a> </div>
              </div>
              <div id="UserLoginedUI" style="display:none"> 欢迎您，<font color="red"><span id="UserLoginedUI_Name" />(<span id="UserLoginedUI_PetName" />)</font><br />
                可用金币：<font color="blue"><span id="UserLoginedUI_Coin" /></font><br />
                可用点数：<font color="blue"><span id="UserLoginedUI_Point" /></font><br />
                计费方式：<font color="blue"><span id="UserLoginedUI_ActiveType" /></font><br />
                会员角色：<font color="blue"><span id="UserLoginedUI_RoleName" /></font><br />
                <b>用户控制面板：</b> <a href="/Member/Default.aspx">进入会员中心</a><br />
                <a href="#" onclick="var retValue=window.confirm('是否退出');" + "if(retValue){UserLogout();}">退出登录</a><br />
              </div>
            </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: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>
