first commit
This commit is contained in:
@@ -0,0 +1,95 @@
|
||||
<!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" />
|
||||
<title>博文排行榜</title>
|
||||
<link type="text/css" rel="stylesheet" href="{PE.SiteConfig.SkinPath/}Blog/index.css" />
|
||||
<link type="text/css" rel="stylesheet" href="{PE.SiteConfig.SkinPath/}Blog/default.css" />
|
||||
<link type="text/css" rel="stylesheet" href="{PE.SiteConfig.SkinPath/}Blog/public.css" />
|
||||
<link type="text/css" rel="stylesheet" href="{PE.SiteConfig.SkinPath/}Blog/rank.css" />
|
||||
<script language="javascript" type="text/javascript" src="{PE.SiteConfig.ApplicationPath/}JS/common.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- S 头部定义-->
|
||||
{PE.Label id="博客网站顶部"/}
|
||||
<!-- E 头部定义-->
|
||||
<!-- S 内容定义-->
|
||||
<div id="mbContent">
|
||||
<div id="rankBox" class="main">
|
||||
<div id="hitTab">
|
||||
<span class="on" id="hitTab_7"><a href="{PE.SiteConfig.ApplicationPath/}Blog/Rank.aspx?categoryId=@RequestInt_categoryId&hitsType=7" title="博文点击总排行">博文点击总排行</a></span><span id="hitTab_9"><a href="{PE.SiteConfig.ApplicationPath/}Blog/Rank.aspx?categoryId=@RequestInt_categoryId&hitsType=9" title="博文月点击排行">博文月点击排行</a></span>
|
||||
</div>
|
||||
<div id="hitCon" class="clearFloat">
|
||||
<ul id="channelList">
|
||||
{PE.Label id="侧栏栏目分类" linkOpenType="" categoryId="@RequestInt_categoryId" hitsType="@Request_hitsType" linkUrl="Rank.aspx"/}
|
||||
</ul>
|
||||
<div id="rankList">
|
||||
<div class="listHead">
|
||||
<span href="#" title="#" class="listNo">序号</span>
|
||||
<span href="#" title="#" class="blogNspanme">标题</span>
|
||||
<span href="#" title="#" class="blogger">博主</span>
|
||||
<span href="#" title="#" class="hits">点数</span>
|
||||
</div>
|
||||
<ul>
|
||||
{PE.Label id="文字博文列表_分页" numStyle="listNo" categoryId="@Request_categoryId" page="true" pagesize="20" hitsSytle="hits" hitsType="@Request_hitsType" isShowNum="true" titleLength="50" linkOpenType="_blank" listOrderType="@Request_hitsType" displayInputer="true" displayHits="true" titleStyle="title" inputerStyle="blogger" isElite="false" partitionNums="6" /}
|
||||
</ul>
|
||||
<div class="paginator">{PE.Page id="url_动易后台风格" datasource="文字博文列表_分页" unitname="条" /}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- E 内容定义-->
|
||||
|
||||
<!-- S 底部定义-->
|
||||
{PE.Label id="博客网站底部"/}
|
||||
<!-- E 底部定义-->
|
||||
|
||||
<!-- 鼠标悬停换色JS -->
|
||||
<script type="text/javascript">
|
||||
stuHover = function() {
|
||||
var cssRule;
|
||||
var newSelector;
|
||||
for (var i = 0; i < document.styleSheets.length; i++)
|
||||
for (var x = 0; x < document.styleSheets[i].rules.length ; x++)
|
||||
{
|
||||
cssRule = document.styleSheets[i].rules[x];
|
||||
if (cssRule.selectorText.indexOf("LI:hover") != -1)
|
||||
{
|
||||
newSelector = cssRule.selectorText.replace(/LI:hover/gi, "LI.iehover");
|
||||
document.styleSheets[i].addRule(newSelector , cssRule.style.cssText);
|
||||
}
|
||||
}
|
||||
var getElm = document.getElementById("rankList").getElementsByTagName("LI");
|
||||
for (var i=0; i<getElm.length; i++) {
|
||||
getElm[i].onmouseover=function() {
|
||||
this.className+=" iehover";
|
||||
}
|
||||
getElm[i].onmouseout=function() {
|
||||
this.className=this.className.replace(new RegExp(" iehover\\b"), "");
|
||||
}
|
||||
}
|
||||
}
|
||||
if (window.attachEvent) window.attachEvent("onload", stuHover);
|
||||
function HitTab() {
|
||||
var arr = new Array;
|
||||
arr[0] = "7";
|
||||
arr[1] = "9";
|
||||
for (var i = 0; i < arr.length; i++) {
|
||||
var tarEle = document.getElementById("hitTab_"+arr[i]);
|
||||
if (arr[i] == "@Request_hitsType") {
|
||||
tarEle.className = "on";
|
||||
}
|
||||
else {
|
||||
tarEle.className = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
HitTab();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user