first commit
This commit is contained in:
@@ -0,0 +1,247 @@
|
||||
{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" lang="UTF-8">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta content="{PE.Field id="cone" fieldname="KeyWord" /}" name="Keywords" />
|
||||
<meta content="{PE.Field id="cone" fieldname="Intro" /}" name="Description"/>
|
||||
<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/}article.css" rel="stylesheet" type="text/css" />
|
||||
<link href="{PE.SiteConfig.SkinPath/}commentary.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/javascript">
|
||||
var siteSetup = { sitePath: '/', ajaxPath: '/ajax.aspx', skinPath: '{PE.SiteConfig.SkinPath/}' };
|
||||
</script>
|
||||
<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 language="javascript" type="text/javascript" src="{PE.SiteConfig.ApplicationPath/}JS/jquery.peex.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{PE.SiteConfig.ApplicationPath/}JS/jsPopup.js"></script>
|
||||
{PE.Label id="无障碍版公共JS引用"/}
|
||||
<script language="javascript" type="text/javascript" src="{PE.SiteConfig.ApplicationPath/}audio-player/audio-player.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
AudioPlayer.setup("{PE.SiteConfig.ApplicationPath/}audio-player/player.swf", {width: 600});
|
||||
AudioPlayer.embed("audioplayer", {soundFile: "http://221.239.208.73:8888/{PE.Field id="cone" fieldname="ItemID" /}.mp3"});
|
||||
});
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="top_all">
|
||||
<div id="head">
|
||||
<div id="top_t">
|
||||
<div id="top_link">
|
||||
<ul>
|
||||
<li><img src="{PE.SiteConfig.SkinPath/}images/en_icon.gif" alt="English" /></li>
|
||||
<li><img src="{PE.SiteConfig.SkinPath/}images/cn_icon.gif" alt="Chinese" /></li>
|
||||
<li><a href="javascript:void(0);" id="accessbar" title="无障碍版">无障碍版</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="top_banner">
|
||||
<div id="logo"><img alt="logo" src="{PE.SiteConfig.SkinPath/}images/logo.gif" width="179" height="45" border="0" /></div>
|
||||
</div>
|
||||
<div id="menu">
|
||||
{PE.Label id="首页导航" currentId="{PE.Field id="cone" fieldname="NodeID" /}" /}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 中部 center_all 开始 -->
|
||||
<div id="center_all">
|
||||
|
||||
<div id="main_bg" class="main_bgpic">
|
||||
<div class="main_topspace"></div>
|
||||
<div id="main_bg">
|
||||
|
||||
<!-- 中部右侧 content_right 开始 -->
|
||||
<div id="content_right">
|
||||
<div class="content_r_newspic">
|
||||
<dl>
|
||||
<dt><a href="#">最新图片文章</a></dt>
|
||||
<dd>
|
||||
{PE.Label id="通用带图片的信息列表" bindStyle="普通式" titleLength="16" outputQty="4" nodes="{PE.Field id="cone" fieldname="nodeid" /}" imageClass="imgclass" imageWidth="104" imageHeight="64" contentClass="m_b_pic_title" /}
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<div class="content_r_search">
|
||||
<dl><dd>
|
||||
<div class="r_search_input"><input id="Keyword" onfocus="this.value='';" maxLength="50" size="15" value="" name="Keyword" /></div>
|
||||
<input id="Submit" style="border: 0px;width: 55px;height: 26px;" type="image" src="{PE.SiteConfig.SkinPath/}images/article_searchbt.gif" name="Button" onclick="OnSearchCheckAndSubmit();" />
|
||||
<select name='nodeid' id="NodeId" size='1'>
|
||||
{PE.Label id="文章父节点列表" ItemID="@RequestInt_id" /}
|
||||
</select>
|
||||
<select name='fieldoption'id="fieldoption" size='1'>
|
||||
<option value='title' selected>文章标题</option>
|
||||
<option value='content'>文章内容</option>
|
||||
<option value='author'>文章作者</option>
|
||||
<option value='inputer'>录 入 者</option>
|
||||
<option value='keyword'>关键字</option>
|
||||
</select>
|
||||
<script language="javascript" type="text/javascript">
|
||||
function OnSearchCheckAndSubmit()
|
||||
{
|
||||
var keyword=document.getElementById("Keyword").value;
|
||||
if(keyword==''||keyword==null)
|
||||
{
|
||||
alert("请填写您想搜索的关键词");
|
||||
return ;
|
||||
}else{
|
||||
|
||||
var nodeSel=document.getElementById("NodeId");
|
||||
var fieldoptionSel=document.getElementById("fieldoption");
|
||||
var nodeId=nodeSel.options[nodeSel.options.selectedIndex].value;
|
||||
var fieldoption=fieldoptionSel.options[fieldoptionSel.options.selectedIndex].value;
|
||||
window.location="{PE.SiteConfig.applicationpath/}search.aspx?searchtype=1&ModelId=1&nodeId="+nodeId+"&Keyword="+escape(keyword)+"&fieldoption="+fieldoption;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
</dd></dl>
|
||||
</div>
|
||||
<div class="content_r_about">
|
||||
<dl>
|
||||
<dt class="article_icon1"><a href="#">相关文章</a></dt>
|
||||
<dd>
|
||||
<ul>
|
||||
{PE.Label id="内容页相关信息" itemId="@RequestInt_id" /}
|
||||
</ul>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 中部右侧 content_right 开始 -->
|
||||
|
||||
<!-- 中部居中 content_center 开始 -->
|
||||
<div id="content_center">
|
||||
|
||||
<!-- 网站位置导航信息开始 -->
|
||||
<div class="c_daohang">
|
||||
<span class="c_daohang_sp link_style1">
|
||||
<strong>您现在的位置</strong>:<a href="{PE.SiteConfig.sitepath/}">{PE.SiteConfig.SiteName /}</a>>>{PE.Label id="当前位置导航" nodeId="{PE.Field id="cone" fieldname="NodeID" /}" /} </span></div>
|
||||
<!-- 网站位置导航信息结束 -->
|
||||
|
||||
<div class="content_contmain">
|
||||
|
||||
|
||||
<!-- 主体内容开始 -->
|
||||
<div class="c_main_box" {PE.Field id="cone" fieldname="ArticleProtect" /}>
|
||||
<!-- 标题 -->
|
||||
<div class="c_title_text">
|
||||
<span>{PE.Field id="cone" fieldname="TitleIntact" /}</span>
|
||||
</div>
|
||||
<!-- 作者 -->
|
||||
<div class="c_title_author">
|
||||
<div class="font_right"><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> <span>【<a href="{PE.SiteConfig.ApplicationPath/}User/Content/Favorite.aspx?Action=add&Id={PE.Field id="cone" fieldname="GeneralID" /}">收藏</a>】</span> <span>【<a href="{PE.SiteConfig.applicationpath/}Print.aspx?id={PE.Field id="cone" fieldname="GeneralID" /}">打印文章</a>】</span> <span>{PE.Label id="转入后台编辑" ItemId="@RequestInt_id" /}</span> <span>{PE.Label id="内容签收" itemId="@RequestInt_id" /}</span></div>
|
||||
|
||||
<div class="clearbox"></div>
|
||||
</div>
|
||||
<div class="contArticle_tit" id="audioplayerContainer"><p id="audioplayer"></p></div>
|
||||
|
||||
<!-- 正文 -->
|
||||
<div class="c_content_text">
|
||||
<div class="c_content_overflow" id="fontzoom">
|
||||
{PE.Field id="cone" fieldname="Content" charge="true" showerr="true" /}
|
||||
</div> {PE.Field id="cone" fieldname="Vote"/}
|
||||
</div>
|
||||
<div class="c_bot_text">{PE.Page id="内容分页" datasource="contentpage" span="span"/}</div>
|
||||
<div class="c_bot_text">
|
||||
<div class="font_left"> <span>作者:<a href="{PE.SiteConfig.ApplicationPath/}Common/ShowAuthor.aspx?authorname={PE.Field id="cone" fieldname="LinkAuthor" /}">{PE.Field id="cone" fieldname="Author" /}</a></span> <span>来源:<a href="{PE.SiteConfig.ApplicationPath/}Common/ShowCopyFrom.aspx?copyfrom={PE.Field id="cone" fieldname="LinkCopyFrom" /}">{PE.Field id="cone" fieldname="CopyFrom" /}</a></span> </div>
|
||||
<div class="clearbox"></div>
|
||||
</div>
|
||||
<div class="c_bot_text">{PE.Label id="上一篇" ItemID="@RequestInt_id" /} {PE.Label id="下一篇" ItemID="@RequestInt_id" /}</div>
|
||||
<div class="c_mains">
|
||||
<dl>
|
||||
<dt class="c_title">
|
||||
<a>相关信息</a></dt>
|
||||
<dd class="c_contents">
|
||||
{PE.Label id="内容页相关信息" itemId="@RequestInt_id" /} </dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt class="c_title">
|
||||
<a>观后心情</a></dt>
|
||||
<dd class="c_contents">
|
||||
{PE.Label id="心情指数标签" moodId="1" /} </dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 主体内容结束 -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 中部居中 content_center 结束 -->
|
||||
<span id="commentform"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 中部 center_all 结束 -->
|
||||
|
||||
{PE.Label id="GOV_网站底部" /}
|
||||
|
||||
<!-- 评论变量区 -->
|
||||
{PE.Label id="评论标签" nodeId="{PE.Field id="cone" fieldname="NodeID" /}" /}
|
||||
<!-- 评论变量区 -->
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
//双击鼠标滚动屏幕的代码
|
||||
var currentpos,timer;
|
||||
getViewPortScrollY = function()
|
||||
{
|
||||
var scrollY = 0;
|
||||
if ((document.documentElement) && (document.documentElement.scrollTop))
|
||||
{
|
||||
scrollY = document.documentElement.scrollTop;
|
||||
}
|
||||
else if ((document.body) && (document.body.scrollTop))
|
||||
{
|
||||
scrollY = document.body.scrollTop;
|
||||
}
|
||||
else if (window.pageYOffset)
|
||||
{
|
||||
scrollY = window.pageYOffset;
|
||||
}
|
||||
else if (window.scrollY)
|
||||
{
|
||||
scrollY = window.scrollY;
|
||||
}
|
||||
return scrollY;
|
||||
};
|
||||
function initialize()
|
||||
{
|
||||
timer=setInterval ("scrollwindow ()",30);
|
||||
}
|
||||
function sc()
|
||||
{
|
||||
clearInterval(timer);
|
||||
}
|
||||
function scrollwindow()
|
||||
{
|
||||
currentpos=getViewPortScrollY();
|
||||
window.scroll(0,++currentpos);
|
||||
if (currentpos !=getViewPortScrollY())
|
||||
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)+'pt';
|
||||
document.getElementById('fontzoom').style.lineHeight=(--curlineheight)+'pt';
|
||||
}
|
||||
}
|
||||
function fontZoomB(){
|
||||
if(curfontsize<64){
|
||||
document.getElementById('fontzoom').style.fontSize=(++curfontsize)+'pt';
|
||||
document.getElementById('fontzoom').style.lineHeight=(++curlineheight)+'pt';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user