当前位置:主页 > 产业资讯 > 金正恩出席少年营竣工仪式 崔龙海便装陪同

金正恩出席少年营竣工仪式 崔龙海便装陪同

2024-03-06 20:49:33来源:新媒体

文章导读
");frm_news_editor.news_content.value = str;frm_news_editor.request_channel_id.value = "25000000";canClearClip = true;return true;}// ��������ͳ��function showContentLen() {if (Editor.GetMode() == FCK_EDITOR_MODE) {Edi ...

"); frm_news_editor.news_content.value = str; frm_news_editor.request_channel_id.value = "25000000"; canClearClip = true; return true; } // ��������ͳ�� function showContentLen() { if (Editor.GetMode() == FCK_EDITOR_MODE) { Editor.Synchronise(); } showLen("content_len",document.getElementById("news_content").value); } /** * ����Ԥ�����š�����:text �����������ݡ� * @return */ function preView(text) { var win = open("", "preview"); var doc = win.document; var agent = navigator.appName; doc.open("text/html"); doc.writeln(""); doc.writeln(""); doc.writeln(""); if(agent=='Netscape') { text=escape(text); re = /%/gi; newtext=text.replace(re, "\\x"); text =eval ( '"' + newtext +'"'); doc.writeln(text); } else { doc.writeln(text); } doc.writeln(""); doc.writeln(""); doc.close(); win.focus(); } /** * Ϊ�����ǰ׺�� * @param obj ����Ϊ�����ǰ׺�ı?Ԫ�أ���SELECT * @param append_start �Ƿ�ӵ�����ǰ��ȡֵ��true, false */ function comTitle(obj, append_start) { var reg = new RegExp("","i"); reg.compile("[\s]*��.*��","i"); var str = frm_news_editor.news_title.value; if (append_start == true) { str = obj.value + str.replace(reg,""); } else { str = str.replace(reg, "") + obj.value; } frm_news_editor.news_title.value = str; frm_news_editor.news_title.focus(); return; } /** * Ϊ�������ɫ�� * @param obj ����Ϊ�����ǰ׺�ı?Ԫ�أ���SELECT * @param flag ���� */ function colorTitle(obj, flag) { var param = ""; param += "dialogWidth:350px;"; param += "dialogHeight:280px;"; param += "center:yes;"; param += "status:yes;"; param += "scroll:no;"; param += "edge:raised;help:no"; var hWnd = window.showModalDialog("selcolor.html",null,param); var color; var code = hWnd; var str; var reg = new RegExp("", "i"); str = frm_news_editor.news_title.value; reg.compile("[\s]*(.*)", "i"); if (reg.test(str)) { str = RegExp.$1; } if (typeof(code) == "undefined" || code == "undefined" || code == "") { // todo nothing } else if (code == "nocolor") { frm_news_editor.news_title.value = str; }else { frm_news_editor.news_title.value = "" + str + ""; } } /** * ����������š� * @param obj �༭������ŵı?Ԫ�أ�ΪTEXTAREA */ function formatNewsLink(obj) { if (obj.value == "") { return; } if (obj.value.indexOf((""),0) == -1) { obj.value = "\r\n\r\n"; return; } } /** * �Զ���ɹؼ�� */ function autoKeyword() { frm_news_editor.action = "http://edit.hsw.cn:8080/pub/m_news/news_auto_keyword.jsp" frm_news_editor.target = "blankFrame"; frm_news_editor.submit(); } /** * ���븽�� */ function popAttachment() { var url = "http://edit.hsw.cn:8080/pub/m_news/news_attachment_frame.jsp?news_id=051918984"; var w = screen.availWidth; var h = screen.availHeight; alert(w); alert(h); var hwnd = window.open(url,"list_attach","toolbar=0,status=1,resizable=1,width="+w+",height="+h+",top=0,left=0"); } function popNewsAtt(){ var w = screen.availWidth; var h = screen.availHeight; popWnd('http://edit.hsw.cn:8080/pub/m_news/news_att_frame.jsp?channel_id=25000000', 'newsatt', 0, 0, w, h); //fromAtt.channel_id=25000000; //formAtt.attXml.value=frm_news_editor.news_att_xml.value; //formAtt.submit(); } function initNewsAtt(xml) { JsTools.parseXmlToJson(xml, function(data){ var code = ""; var oBlock = eval( data ); var oAtts = oBlock[0].atts; if (oAtts == null || oAtts.length 1) { obj.remove(1); } } if (data == "") { return ""; } // �����б� var i, len; for (i = 0, len = data[0].length; i < len; i++) { var e = document.createElement("OPTION"); e.id = data[0][i]; e.name = data[0][i]; e.value = data[0][i]; e.text = "(" + data[0][i] + ")" + data[1][i]; e.innerHTML = e.text; obj.appendChild(e); } }); } // Ԥ��ģ�� function viewTemplate() { var frm = document.frm_news_editor; var template1; var template2; template1 = frm.news_template_file_1.value; template2 = frm.news_template_file_bak.value; if (template1 == "") { frm.news_template_file.value = template2; } else { frm.news_template_file.value = template1; } if (frm.news_template_file.value == "") { alert("必须选择模板文件。"); return false; } FileTools.getFilePreviewUrl(frm.news_template_file.value, function(data) { var url = data; window.open(url,"viewTemplate",""); }); } // -------------- Ajax end -------------- function initTemplateFile() { var obj = document.getElementById("news_template_file_1"); var sel = obj.options("/news/template08/2011news_content_w.shtml"); if (sel == null) { var obj2 = document.getElementById("news_template_file_bak"); obj2.value = "/news/template08/2011news_content_w.shtml"} else { sel.selected = "selected"; } } initTemplateFile(); /** * �Զ�������� */ function autoNewsLink() { var frm = document.frm_news_editor; var objKey = frm.news_keywords; var objChs = document.getElementsByName("news_channel"); var chid = Math.max(Math.max(objChs[0].value, objChs[1].value), objChs[2].value); if (chid == -1) { chid = 25000000; } var key = objKey.value; if (key == "") { alert("请输入关键词"); return ; } NewsTransact.getNewsLink(key, chid, 1, "051918984", function(data){ if (data == null || data == "") { alert("未找到相关新闻"); return ; } var frm = document.frm_news_editor; var obj = frm.news_link; var reg = new RegExp("\r\n\r\n" + obj.value; } }); } // ----- �����ظ���鿪ʼ ----- var hasSimNews = false; var oCheck = function(){ }; oCheck.prototype.check = function() { var s = ""; if (frm_news_editor.editormode[1].checked) { s = FCKeditorAPI.GetInstance('FCKeditor1').GetHTML(true); } else { s = document.getElementById("content").value; } // ר��ֻ�����⣬��������� if (document.getElementById("news_is_topic2").checked) { s = ""; } var objChs = document.getElementsByName("news_channel"); var chid = Math.max(Math.max(objChs[0].value, objChs[1].value), objChs[2].value); if (chid == -1) { chid = 25000000; } var data = { session_id : "B77B0B580A321EF1FAF6A3CB4CC9C7B1.worker1", channel_id : chid, user_id : "2822", news_id : "051918984", title : document.getElementById("news_title").value, content : s }; NewsTransact.checkSimilarNews(data, function (data) { var oDiv = document.getElementById("LayerSimNews"); oDiv.style.fontSize = "10pt"; oDiv.style.lineHeight = "120%"; var oBar = document.createElement("SPAN"); oBar.style.display = "block"; oBar.style.position = "relative"; oBar.style.paddingTop = 3; oBar.style.height = 23; oBar.style.borderBottom = "solid 1px black"; oBar.style.backgroundColor = "#FFFFFF"; oBar.style.filter = "progid:DXImageTransform.Microsoft.Gradient(startColorStr='#0099FF', endColorStr='#FFFFFF', gradientType='0')"; oBar.innerHTML = "== 点击这里关闭 =="; oDiv.appendChild(oBar); var c = 0; for (var key in data) { var oSpan = document.createElement("SPAN"); var oA = document.createElement("A"); oA.innerHTML = data[key]; oA.href = "http://edit.hsw.cn:8080/pub/m_news/news_view.jsp?url_type=pub&news_id=" + key; oA.target = "_blank"; oSpan.appendChild(oA); oSpan.style.display = "block"; oSpan.style.position = "relative"; oSpan.style.top = "5px"; oSpan.style.left = "5px"; oDiv.appendChild(oSpan); c++; } hasSimNews = c > 0; var o = document.getElementById("result"); o.innerHTML = "重复新闻(" + c + ")"; }); } function showLayer(layerid,frameid, top, left) { var obj = document.getElementById(layerid); obj.style.position = "relative"; obj.style.top = top; obj.style.left = left; obj.style.border = "solid 1 black"; //obj.style.filter = "progid:DXImageTransform.Microsoft.DropShadow(OffX=5, OffY=5,Color='gray', Positive='true')"; obj.style.display = "block"; var zframe = document.getElementById(frameid); zframe.style.position = "absolute"; zframe.style.top = 0; zframe.style.left = 0; zframe.style.zIndex = obj.style.zIndex - 1; zframe.style.width = document.body.clientWidth; zframe.style.height = document.body.clientHeight; zframe.style.backgroundColor = "#FFFFFF"; zframe.style.visibility = "visible"; zframe.style.filter = "progid:DXImageTransform.Microsoft.Alpha( Opacity=60, FinishOpacity=0, Style=0, StartX=0, FinishX=100, StartY=0, FinishY=100)"; zframe.style.display = "block"; } function showSimNewsLayer() { if (!hasSimNews) { return ; } showLayer("LayerSimNews","zframeSimNews", 200, 200); } function hideSimNewsLayer() { var obj = document.getElementById("LayerSimNews"); obj.style.display = "none"; var zframe = document.getElementById("zframeSimNews"); zframe.style.visibility = "hidden"; } var ooCheck = new oCheck(); // ----- �����ظ������� ----- function createXMLObject(){ var userAgent = navigator.userAgent.toLowerCase(); if (userAgent.indexOf("firefox") > 0) { // ����FIREFOX��XML�ĵ����� var xmlDoc = document.implementation.createDocument("", "doc", null); return xmlDoc; } else { var signatures = new Array ( "MSXML2.DOMDocument.5.0","MSXML2.DOMDocument.4.0", "MSXML2.DOMDocument.3.0","MSXML2.DOMDocument", "Microsoft.Xmldom"); for (var i = 0, len = signatures.length; i < len; i++) { try { var oXmlDom = new ActiveXObject(signatures[i]); return oXmlDom; } catch (e) { // ignore } } } throw new Error("MSXML is not installed on your system."); } function showXml(data) { try { var result = { }; var doc = createXMLObject(); var bLoaded = doc.loadXML(data); if (!bLoaded) { return ; } var root = doc.documentElement; var oNews = root.firstChild; var oProps = oNews.childNodes; for (var i = 0, len = oProps.length; i < len; i++) { var oProp = oProps[i]; var oChild = oProp.childNodes; if (oChild.length >= 2) { result[oChild[0].text] = oChild[1].text; } } var frm = document.frm_news_editor; frm.news_title.value = result["title"]; frm.news_source_name.value = result["source"]; frm.news_keywords.value = result["keywords"]; Editor.GetEditor().SetHTML(result["content"]); arranged = true; isSmartSnatch = true; } catch(e){ alert(e); } } function showText(data) { var SPLIT_CHAR = "__$!enorth!

金正恩出席少年营竣工仪式 崔龙海便装陪同

元宇宙之家消息
热门文章
日榜 周榜
1 比特币回落短时跌破65,000美元

比特币5秒的新高后紧接着大幅回调,背后原因何在? 比特币5秒的新高后紧接着大幅回调,背...

2 头部数藏平台ibox或涉诈骗遭立案 背后股东多数为纸贵科技高管

财联社4月24日讯(记者 徐赐豪), 近日,数藏头部平台ibox涉嫌网络诈骗遭警方立案。 据当地...

3 币安和 CZ 被美国 SEC 起诉:五要点分析,刑事悬而未发?

1、美国 SEC 指控币安⾮法招揽美国投资者购买、出售和交易加密货币,以及提供赚币计划 BNB...

4 10x Research:预计牛市将持续,若GBTC抛售增加或将

BlockBeats 消息,3 月 6 日,10x Reaearch(创始人及分析师为 Markus Thielen)在社交媒体上发文表示,...

5 链上Gas费对冲协议Hedgehog完成150万美元融资,No

比特币5秒的新高后紧接着大幅回调,背后原因何在? 比特币5秒的新高后紧接着大幅回调,背...

6 以太坊时隔792天重返3900美元上方

比特币5秒的新高后紧接着大幅回调,背后原因何在? 比特币5秒的新高后紧接着大幅回调,背...

7 数据分析:全球CEX比特币市场深度显示,交易员

BlockBeats 消息,3 月 6 日,加密数据服务商 kaiko 表示,据其统计的全球 33 家 CEX 市场数据显示,...

8 RBN上涨短时突破1.36美元,24小时涨幅扩大至71.6

比特币5秒的新高后紧接着大幅回调,背后原因何在? 比特币5秒的新高后紧接着大幅回调,背...

9 Binance将新增多个FDUSD及USDC交易对并开放相关交易

比特币5秒的新高后紧接着大幅回调,背后原因何在? 比特币5秒的新高后紧接着大幅回调,背...

10 Aevo新推文下方最高互动量推文系高仿号钓鱼推文

比特币5秒的新高后紧接着大幅回调,背后原因何在? 比特币5秒的新高后紧接着大幅回调,背...

1 比特币回落短时跌破65,000美元

比特币5秒的新高后紧接着大幅回调,背后原因何在? 比特币5秒的新高后紧接着大幅回调,背...

2 头部数藏平台ibox或涉诈骗遭立案 背后股东多数为纸贵科技高管

财联社4月24日讯(记者 徐赐豪), 近日,数藏头部平台ibox涉嫌网络诈骗遭警方立案。 据当地...

3 币安和 CZ 被美国 SEC 起诉:五要点分析,刑事悬而未发?

1、美国 SEC 指控币安⾮法招揽美国投资者购买、出售和交易加密货币,以及提供赚币计划 BNB...

4 10x Research:预计牛市将持续,若GBTC抛售增加或将

BlockBeats 消息,3 月 6 日,10x Reaearch(创始人及分析师为 Markus Thielen)在社交媒体上发文表示,...

5 链上Gas费对冲协议Hedgehog完成150万美元融资,No

比特币5秒的新高后紧接着大幅回调,背后原因何在? 比特币5秒的新高后紧接着大幅回调,背...

6 以太坊时隔792天重返3900美元上方

比特币5秒的新高后紧接着大幅回调,背后原因何在? 比特币5秒的新高后紧接着大幅回调,背...

7 数据分析:全球CEX比特币市场深度显示,交易员

BlockBeats 消息,3 月 6 日,加密数据服务商 kaiko 表示,据其统计的全球 33 家 CEX 市场数据显示,...

8 RBN上涨短时突破1.36美元,24小时涨幅扩大至71.6

比特币5秒的新高后紧接着大幅回调,背后原因何在? 比特币5秒的新高后紧接着大幅回调,背...

9 Binance将新增多个FDUSD及USDC交易对并开放相关交易

比特币5秒的新高后紧接着大幅回调,背后原因何在? 比特币5秒的新高后紧接着大幅回调,背...

10 Aevo新推文下方最高互动量推文系高仿号钓鱼推文

比特币5秒的新高后紧接着大幅回调,背后原因何在? 比特币5秒的新高后紧接着大幅回调,背...

撤稿申请|

备案号:鄂ICP备2022006215号 Copyright © 2002-2022 metaversezj.com.cn 元宇宙之家 版权所有