var siteSetup = { sitePath: '/', ajaxPath: '/ajax.aspx', skinPath: '/Template/Default/Skin/' }; $(function(){ $(".J_tabBox").slide({mainCell:".J_tabContent", titCell:".J_tabHandler>*"}); })

{PE.Label id="取得节点名称" nodeId="2661" /}

您现在的位置:首页{PE.Label id="当前位置导航" nodeId="0" currentId="$nodeId" /}>资讯中心
  • 暂无资料
$(".pathBar .ann").slide({mainCell:"ul",effect:"topLoop",autoPlay:true});

深山藏秀 信阳华新

更新日期: 2009年04月13日 来源: 数字水泥网 【字体: $(document).ready(function() { $.pe.ajax('admineditcheck',{params:{itemId:30555},success:function(s) { if ($(s).find('status').text() == 'OK') { var managedir = "/Common/GetContentEdit.aspx?itemId=30555"; $("#content_AdminEdit").html("【进入后台编辑】") } }}); });
{PE.ContentPage id="contentpage" mode="none"}

{/PE.ContentPage}
{PE.Page id="内容分页" datasource="contentpage" span="span"/}
更多
document.getElementById("bdshell_js").src = "http://share.baidu.com/static/js/shell_v2.js?t=" + new Date().getHours();
(function(){ var url = "http://widget.weibo.com/distribution/comments.php?width=0&url=auto&brandline=y&appkey=1817769610&dpc=1"; url = url.replace("url=auto", "url=" + document.URL); document.write(''); })(); window.WBComment.init({ "id": "WBCommentFrame" });
//初始化评论 function commentInit() { $.pe.ajax('accessLabel',{labelName:'内容评论标签',currentPage:1,params:{itemId:30555,nodeId:2661},success:function(response){ $('#commentform').html($(response).find('body').text()); changepage(1, '评论列表', 'JS_基本风格'); setCurrentUserInfo(); }}) } //添加评论 function addComment() { if ($('#commentTitle').val == '') { alert("请输入标题!"); $('#commentTitle').focus(); return; } if ($('#commentIsAnonymous').val() == 'false') { if ($('#commentUsername').val() == '') { alert("请输入用户名!"); $('#commentUsername').focus(); return; } if ($('#commentEmail').val() == '') { alert('请输入Email地址!'); $('#commentEmail').focus(); return; } var regEmail = /^([a-zA-Z0-9]+[_|\-|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\-|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/; if ($('#commentEmail').val().match(regEmail) == null) { alert('请输入正确的Email格式!'); $('#commentEmail').focus(); return; } } if ($('#commentContnet').val == '') { alert("请输入评论内容!"); $('#commentContnet').focus(); return false; } var commentValidCode = ""; var checkValidCode = false; if (document.getElementById('commentValidCode') != null) { if ($('#commentValidCode').val() == '') { alert("请输入验证码!"); $('#commentValidCode').focus(); return; } commentValidCode = $('#commentValidCode').val(); checkValidCode = true; } $.pe.ajax('addcomment',{params:{ username:$("#commentUsername").val(), commenttitle:$("#commentTitle").val(), content:$("#commentContnet").val(), email:$("#commentEmail").val(), gid:30555, nid:2661, private:$("#commentIsPrivate").val(), position:$("#commentViewpoint").val(), score:$("#commentRanking").val(), TxtValidCode:commentValidCode, isguest:$('#commentIsAnonymous').val() }, success:function(response){ var data = $(response); var status = data.find('status').text(); switch (status) { case "ok": changepage(1, '评论列表', 'JS_基本风格'); alert("发表评论成功!"); window.location.href = '#commentTarget'; $("#commentContnet").val(''); break; case "check": alert("发表评论成功,请等待管理员审核。"); break; case "err": alert("发表评论失败!"); break; case "nopurview": alert("此栏目已禁止发表评论!"); break; case "noTourists": alert("此栏目已禁止游客发表评论!"); break; case "checkCodeError": $("#commentValidCode").val(''); refreshValidCode($("#commentValidCodeImg")[0]); alert("您输入的验证码和系统产生的不一致,请重新输入!"); break; default: alert("发表评论失败!"); break; } if (checkValidCode) { refreshValidCode($("#commentValidCodeImg")[0]); $("#commentValidCode").val(''); checkValidCode = false; } }}) } function addPkZone(commentid, position, content) { $.pe.ajax('addpkzone',{params:{ commentid:commentid, position:position, content:content }, success:function(response){ switch ($(response).find('status').text()) { case "ok": changepage(1, '评论列表', 'JS_基本风格'); break; default: alert("辩论失败!"); break; } }} ) } //更新列表 function changepage(pagenum, sourcename, spanname) { $.pe.ajax('accessLabel',{labelName:sourcename,currentPage:pagenum,params:{ itemId:30555, page:'true', pagesize:10, currentpage:pagenum }, success:function(response){ $('#pe100_'+sourcename).html($(response).find('body').text()); $('#commentCount').html($(response).find("total").text()); updatepage(spanname, sourcename, response); }} ) } //更新分页 function updatepage(spanname, sourcename, xml) { $.pe.ajax('accessPage',{labelName:spanname,pageName:sourcename,recordCount:$(xml).find('total').text(),currentPage:$(xml).find('currentpage').text(),pageSize:$(xml).find('pagesize').text(),success:function(s){ if ($('#pe100_page_' + sourcename) != null) { if ( $(xml).find('total').text()<=0 ){ $("#commentform .comListBox").hide() }else{ $("#commentform .comListBox").show() } $('#pe100_page_' + sourcename).html($(s).find('body').text()); } }}) } //设置默用户信息 function setCurrentUserInfo() { try { $.pe.ajax('checkUserLogin',{success:function(response){ if($(response).find('status').text() == 'ok'){ if ($('#commentUsername') != null) { $('#commentUsername').val($(response).find("username").text()); $('#commentEmail').val($(response).find("email").text()); $('#commentUsername').disabled = true; $('#commentEmail').disabled = true; } } }}) } catch (e) { } } //刷新验证码 function refreshValidCode(obj) { obj.src = obj.src + '?code=' + randomNumber(10); } function randomNumber(n) { var rnd = ''; for (var i = 0; i < n; i++) rnd += Math.floor(Math.random() * 10); return rnd; } //设置匿名 function setAnonymous(obj) { if (obj.checked) { $('#commentUsernameBlock').hide(); $('#commentEmailBlock').hide(); $('#commentIsAnonymous').val('true'); } else { $('#commentUsernameBlock').show(); $('#commentEmailBlock').show(); $('#commentIsAnonymous').val('false'); } } //设置私有 function setPrivate(obj) { if (obj.checked) { $('#commentIsPrivate').val(1); } else { $('#commentIsPrivate').val(0); } } //设置观点 function setViewpoint(value) { for (i = -1; i < 2; i++) { if (i == value) { $('#commentViewpointTab' + i)[0].className = "current"; } else { $('#commentViewpointTab' + i)[0].className = ""; } } $('#commentViewpoint').val(value); } //设置按钮 function changeBtnStyle(obj, className) { obj.className = className; } //设置评分 function changeRanking(index, isfixed) { var colStars = $("#commentRankingBlock input"); var k = isfixed ? parseInt($("#commentRanking").val()) : index; for (var i = 0; i < colStars.length; i++) { colStars[i].src = (i < k ? "/Images/fstar.gif" : "/Images/estar.gif"); } } function rankingClick(index) { $("#commentRanking").val(index); } function rankingMouseOver(index) { changeRanking(index, false); } function rankingMouseOut() { changeRanking(0, true); } //初始化评论 commentInit();
数字水泥网版权与免责声明:

凡本网注明“来源:数字水泥网”的所有文字、图片和音视频稿件,版权均为“数字水泥网”独家所有,任何媒体、网站或个人在转载使用时必须注明“来源:数字水泥网”。违反者本网将依法追究责任。

本网转载并注明其他来源的稿件,是本着为读者传递更多信息之目的,并不意味着赞同其观点或证实其内容的真实性。其他媒体、网站或个人从本网转载使用时,必须保留本网注明的稿件来源,禁止擅自篡改稿件来源,并自负版权等法律责任。违反者本网也将依法追究责任。

如本网转载稿涉及版权等问题,请作者在两周内尽快来电或来函联系。

相关文章
    {PE.Label id=" 通用信息列表_普通式" noShow="0" titleLength="40" listTitleLength="" linkOpenType="-1" displayCommentLink="false" displayEditor="false" displayPropertyPrefix="0" displayDateTime="" displayTitlePrefix="false" displayHits="false" displayTips="true" displayInputer="false" displayNodeName="false" displayHotSign="false" displayNewSign="" split="" optionalExtend="" imageHeight="120" imageWidth="160" timeRight="" queryCond="SELECT TOP 8 * FROM PE_CommonModel CM WHERE CM.Status = 99 AND CM.GeneralID IN (SELECT GeneralID FROM PE_KeywordRelationShip WHERE KeywordID IN (SELECT KeywordID FROM PE_KeywordRelationShip WHERE GeneralID='30555')) AND CM.GeneralID NOT IN ('30555') ORDER BY CM.GeneralID DESC" page="false" /}
(function($){ $(".searchform").submit(function(){ var holder = $(this).find(".keyword").attr("placeholder"), keyword = $.trim($(this).find(".keyword").val()), searchType = $(this).find(".searchType").val(); if (keyword == "" || keyword == holder) { alert(holder); $(this).find(".keyword").focus(); return false; } if (searchType == "fulltext") { window.open("/search/s.aspx?f=0&wd=" + encodeURI(keyword)); return false; } }); if ($.browser.msie) { $(".searchform .keyword").each(function(){ var holder = $(this).attr("placeholder"); if ($(this).val()=="")$(this).val(holder); $(this).focus(function(){ if ($.trim($(this).val()) == holder) $(this).val(""); }); $(this).blur(function(){ if ($.trim($(this).val()) == "") $(this).val(holder); }); }) } })(jQuery);
jQuery("#fontzoom img").each(function(){ var img=jQuery(this); img.hide(); var imgInt=setInterval( function(){ if(img.width()>0){ clearInterval(imgInt); if(img.width()>650){ img.width(650).css({cursor:"pointer",height:"auto"}).click(function(){window.open(img.attr('src'), "_blank")});} img.show(); } },50 ); }); jQuery("img").parents("p").css("text-indent",0); //更改字体大小 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'; } }