<%@Page Language="C#" Inherits="TopWinCMS.BLL.PageFactory.Pages.ArticleIndex" EnableSessionState="false" EnableViewState="false" %>
<!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/TopWinCMS.js"></script> 
<script language="javascript" type="text/javascript" src="{SysPath}/JS/Ajax/Ajax.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/GetVote.js"></script>
<script language="JavaScript" type="text/javascript" src="{SysPath}/JS/fourpicshow.js"></script>
<meta name="keywords" content="@MetaKeyword@" />
<meta name="description" content="@MetaDescription@" />
<style type="text/css">
 
.TitleBG {
	font-weight: bold;
	background-image: url({StylePath}/Images/bg_Head_Nav.gif);
	line-height: 28px;
	color: #FFFFFF;
	text-align: center;
}
 
</style>
</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="" /> 您现在的位置： 拓文网络 ［首页］</div>
<div style="height:4px">&nbsp;</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:Announce Rows="10">
          <ItemTemplet>
          <li><a href='javascript:var win =window.open("../Announce/Announce.aspx?ID=@ID@",null,"width=502,height=200");'>@DateTime@&nbsp;［@Title@］</a></li>
          </ItemTemplet>
          <EmptyTemplet>没有公告</EmptyTemplet>
          </TW:Announce>
        </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="32">
                 <ItemTemplet>
          <li><a href="@StaticURL@" title="@ContentTitle@">@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:EliteArticle Rows="10" Length="0">
          <ItemTemplet>
          <li><a href="@StaticURL@" title="@ContentTitle@">@ShortTitle@</a></li>
          </ItemTemplet>
          <EmptyTemplet>没有文章</EmptyTemplet>
        </TW:EliteArticle>
              </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>
                 <div id="vote" />
              </ul>
          </div>
      </div>
       <script language="javascript" type="text/javascript">
      //Ajax显示投票调查界面 
GetVote(1);
</script>
     
  </div>
  <div class="Right">
  
   
     <div style="float:left; width:59%;">
     <div class="DataList-Tabs">
            <div id="modelid_2" class="current"> 文章更新</div> 
          </div>
      <div class="DataList" ID="New_List0">
      <ul>
 <TW:NewArticle Rows="12" Length="40">
                <ItemTemplet>
                  <li><a href="@StaticURL@" title="文章标题：@ContentTitle@&#13;&#10;阅读：@Hits@">@ShortTitle@</a> </li>
                </ItemTemplet>
              </TW:NewArticle>
      </ul></div>
	  </div>
        
     <div style="width:276px; height:auto; float:right;border: 1px solid #CCC; padding:3px">
          <div id="idPicShow" class="container">
            <ul id="idNum">
            </ul>
          </div>
          <div id="idPicText"></div>
          <script type="text/javascript">  
var rvt = new RevealTrans("idPicShow");

//添加变换对象
 <TW:Slide ModelID="2" Rows="5">
 <ItemTemplet>
rvt.Add('@PicUrl@', '@ContentTitle@', '@StaticURL@');
 </ItemTemplet>
</TW:Slide>
 
var oText = $("idPicText"), arrImg = [];

var oNum = $("idNum"), arrNum = [];

//设置图片列表
Each(rvt.List, function(list, i){
	//图片式
	var img = document.createElement("img");
	img.src = list["img"]; 
	img.alt = list["text"];
	arrImg[i] = img;
	//oList.appendChild(img);
	//按钮式
	var li = document.createElement("li");
	li.innerHTML = i + 1;
	arrNum[i] = li;
	oNum.appendChild(li);
	//事件设置
	img.onmouseover = li.onmouseover = function(){ rvt.Auto = false; rvt.Index = i; rvt.Start(); };
	img.onmouseout = li.onmouseout = function(){ rvt.Auto = true; rvt.Start(); };
});

//设置图片列表样式 文本显示区域
rvt.onShow = function(){
	var i = this.Index, list = this.List[i];
	//图片式
	Each(arrImg, function(o){ o.className = ""; }); arrImg[i].className = "on";
	//按钮式
	Each(arrNum, function(o){ o.className = ""; }); arrNum[i].className = "on";
	//文本区域
	oText.innerHTML = !!list.url ? "<a href='" + list.url + "' target='_blank'>" + list.text + "</a>" : list.text;
}

//文本显示区域
oText.onmouseover = function(){ rvt.Auto = false; rvt.Stop(); };
oText.onmouseout = function(){ rvt.Auto = true; rvt.Start(); };

rvt.Start();

</script> 
        </div>
    
    
    <div style="width:700px; margin-bottom:10px;clear:both;">
      <div style="float:left;width:8px; height:28px; background-image:url({StylePath}/Images/bg_Head_Nav.gif)">&nbsp;</div>    
      <div style="float:left;width:202px; " class="TitleBG">最 新 图 文</div>
      <div style="float:left;width:490px; height:28px; background-image:url({StylePath}/Images/index_p_16.gif)">&nbsp;</div>

     
      <div style="border: 1px solid #CCCCCC;margin: 0px;padding: 2px; height:120px">
       <TW:PicArticle Rows="5" Length="20">
        <div style="width:100%;">
        <ItemTemplet>
          <div style="float:left; margin-left:4px; margin-right:4px"> 
          <a href="@StaticURL@"> <img src="@PicUrl@" width="120" height="90" title="@ContentTitle@"  /></a>
          <div style="width:120px; overflow:hidden;"><a href="@StaticURL@" title="@ContentTitle@">@ShortTitle@</a> </div>
        </div>
        </Pic>
        </ItemTemplet>
        </TW:PicArticle>
      </div>
    </div> 
    
        <TW:NewArticleList Rows=12 Length=50 Column=2 ShowClassName=true ModelID=2>
          <div style="width:100%; clear:both;">
            <Rows>
              <Column>
                <div class="DataList-Head">
                  <Articles>
                    <h1><a href="@StaticURL@">@ClassName@</a></h1>
                    <div class="DataList">
                      <ul>
                        <Article>
                          <li><a href="@StaticURL@">@ShortTitle@</a></li>
                        </Article>
                      </ul>
                    </div>
                  </Articles>
                </div>
              </Column>
            </Rows>
          </div>
        </TW:NewArticleList>
  </div>
</div>
<div style="height:4px">&nbsp;</div>
<!--#include file="../Footer.aspx"-->
</body>
</html>