first commit
This commit is contained in:
@@ -0,0 +1,88 @@
|
||||
{PE.DataSource id="cone" datasource="文章_内容页" itemId="@RequestInt_id" xslt="true" /}
|
||||
<!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>{PE.Field id="cone" fieldname="Title" /}-{PE.SiteConfig.sitename /}</title>
|
||||
<link href="{PE.SiteConfig.SkinPath/}default.css" rel="stylesheet" type="text/css" />
|
||||
<link href="{PE.SiteConfig.SkinPath/}public.css" rel="stylesheet" type="text/css" />
|
||||
<link href="{PE.SiteConfig.SkinPath/}project.css" rel="stylesheet" type="text/css" />
|
||||
<script language="javascript" type="text/javascript" src="{PE.SiteConfig.ApplicationPath/}JS/Common.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{PE.SiteConfig.applicationpath /}JS/jquery.pack.js"></script>
|
||||
<script src="{PE.SiteConfig.ApplicationPath/}JS/jquery.dimensions.js" type="text/javascript"></script>
|
||||
<script src="{PE.SiteConfig.ApplicationPath/}JS/jquery.accordion.js" type="text/javascript"></script>
|
||||
<script src="{PE.SiteConfig.ApplicationPath/}JS/jquery.tab.js" type="text/javascript"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
{PE.Label id="GOV_网站顶部" /}
|
||||
<!-- S 内容定义 -->
|
||||
<div id="center_all">
|
||||
<div id="main_bg" class="main_bgpic"> <div id="main_bg">
|
||||
|
||||
<!--= S 顶部导航 -->
|
||||
{PE.Label id="建设领域导航" /}
|
||||
<!--= E 顶部导航 -->
|
||||
<div id="content">
|
||||
<div id="container" class="layout_2_2_1 clearFloat">
|
||||
<div class="class_b pageBox">
|
||||
<div class="c-bd">
|
||||
<h1 class="title">{PE.Field id="cone" fieldname="Title" /}</h1>
|
||||
<div class="son_title">
|
||||
<span>作者:{PE.Field id="cone" fieldname="Author" /}</span>
|
||||
<span>来源:{PE.Field id="cone" fieldname="CopyFrom" /}</span>
|
||||
<span>更新日期:{PE.Field id="cone" fieldname="UpdateTime" /}</span>
|
||||
<span>点击数:{PE.Field id="cone" fieldname="Hits" /}次</span><span>字体:<a href="javascript:fontZoomA();" class="top_UserLogin">小</a> <a href="javascript:fontZoomB();" class="top_UserLogin">大</a></span>
|
||||
</div>
|
||||
<div class="artcle-con" id="fontZoom">
|
||||
<p>
|
||||
{PE.Field id="cone" fieldname="Content" charge="true" showerr="true" chargelength="50" /}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> </div>
|
||||
<div class="clearbox"></div>
|
||||
<div class="c_spacing"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- E 内容定义 -->
|
||||
{PE.Label id="GOV_网站底部" /} </div>
|
||||
<script language="javascript" type="text/javascript">
|
||||
//双击鼠标滚动屏幕的代码
|
||||
var currentpos, timer;
|
||||
function initialize() {
|
||||
timer = setInterval("scrollwindow ()", 30);
|
||||
}
|
||||
function sc() {
|
||||
clearInterval(timer);
|
||||
}
|
||||
function scrollwindow() {
|
||||
currentpos = document.body.scrollTop;
|
||||
window.scroll(0, ++currentpos);
|
||||
if (currentpos != document.body.scrollTop)
|
||||
sc();
|
||||
}
|
||||
document.onmousedown = sc
|
||||
document.ondblclick = initialize
|
||||
|
||||
//更改字体大小
|
||||
var status0 = '';
|
||||
var curfontsize = 10;
|
||||
var curlineheight = 18;
|
||||
function fontZoomA() {
|
||||
if (curfontsize > 8) {
|
||||
document.getElementById('fontZoom').style.fontSize = (--curfontsize) + 'px';
|
||||
document.getElementById('fontZoom').style.lineHeight = (--curlineheight) + 'px';
|
||||
}
|
||||
}
|
||||
function fontZoomB() {
|
||||
if (curfontsize < 64) {
|
||||
document.getElementById('fontZoom').style.fontSize = (++curfontsize) + 'px';
|
||||
document.getElementById('fontZoom').style.lineHeight = (++curlineheight) + 'px';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user