동영상 03:42
2014.03.03
말 전해 다오 - 유미 (14-03.03)
10601^118155476^http://www.youtube.com/watch?v=_6kqys51LHE^1^1963 10601^118155476^http://www.youtube.com/watch?v=_6kqys51LHE^0 10601^118155476^http://www.youtube.com/watch?v=_6kqys51LHE^1^1963 10601^118155476^http://www.youtube.com/watch?v=_6kqys51LHE^1^1963
동영상 03:43
2014.03.04
2014.03.03. 00912. 가수 유미-말 전해 다오_가요무대_영상감독 이상웅_leesw.(010-9991-8003)
10601^118156431^http://www.youtube.com/watch?v=I-GsA356kXU^1^1963 10601^118156431^http://www.youtube.com/watch?v=I-GsA356kXU^0 10601^118156431^http://www.youtube.com/watch?v=I-GsA356kXU^1^1963 10601^118156431^http://www.youtube.com/watch?v=I-GsA356kXU^1^1963
동영상 03:43
2014.05.11
http://cafe.daum.net/gunine (클래식 동영상 카페)
10601^118155236^http://www.youtube.com/watch?v=_4PUUqM1FLg^1^1963 10601^118155236^http://www.youtube.com/watch?v=_4PUUqM1FLg^0 10601^118155236^http://www.youtube.com/watch?v=_4PUUqM1FLg^1^1963 10601^118155236^http://www.youtube.com/watch?v=_4PUUqM1FLg^1^1963
동영상 30:25
2013.01.23
장미리(Chang,MiRi)['73 당신이 좋아서,말 전해다오]Full Album A01 당신이 좋아서(장미리)(00:00) A02 진실한 사랑(장미리)(02:26) A03 야구선수(Sound 4)...
10601^76694197^http://www.youtube.com/watch?v=Y4WqDcb_bgA^1^1963 10601^76694197^http://www.youtube.com/watch?v=Y4WqDcb_bgA^0 10601^76694197^http://www.youtube.com/watch?v=Y4WqDcb_bgA^1^1963 10601^76694197^http://www.youtube.com/watch?v=Y4WqDcb_bgA^1^1963
10601^20852416^http://tvpot.daum.net/clip/ClipView.do?clipid=20691457^1^1940 10601^20852416^http://tvpot.daum.net/clip/ClipView.do?clipid=20691457^0 10601^20852416^http://tvpot.daum.net/clip/ClipView.do?clipid=20691457^1^1940 10601^20852416^http://tvpot.daum.net/clip/ClipView.do?clipid=20691457^1^1940
동영상 03:43
2014.03.03
가요무대 1363회 공사창립 41주년 1973년 히트곡 퍼레이드 2014년 3월 3일 밤 10시 방송
10601^118156456^http://www.youtube.com/watch?v=wLiRvB8n-kQ^1^1963 10601^118156456^http://www.youtube.com/watch?v=wLiRvB8n-kQ^0 10601^118156456^http://www.youtube.com/watch?v=wLiRvB8n-kQ^1^1963 10601^118156456^http://www.youtube.com/watch?v=wLiRvB8n-kQ^1^1963
동영상 03:42
10601^110920553^http://www.youtube.com/watch?v=czxPJWLdX1M^1^1963 10601^110920553^http://www.youtube.com/watch?v=czxPJWLdX1M^0 10601^110920553^http://www.youtube.com/watch?v=czxPJWLdX1M^1^1963 10601^110920553^http://www.youtube.com/watch?v=czxPJWLdX1M^1^1963
동영상 03:41
2014.03.04
대한민국 트로트1번지 - 뮤직트로트 http://musictrot.com 무료음악감상 앱 Free music application https://play.google.com/store/apps/details?id=com.m...
10601^110427050^http://www.youtube.com/watch?v=1--IOmdv7rs^1^1963 10601^110427050^http://www.youtube.com/watch?v=1--IOmdv7rs^0 10601^110427050^http://www.youtube.com/watch?v=1--IOmdv7rs^1^1963 10601^110427050^http://www.youtube.com/watch?v=1--IOmdv7rs^1^1963
동영상 03:45
10601^118155467^http://www.youtube.com/watch?v=Kb1XJWFihQY^1^1963 10601^118155467^http://www.youtube.com/watch?v=Kb1XJWFihQY^0 10601^118155467^http://www.youtube.com/watch?v=Kb1XJWFihQY^1^1963 10601^118155467^http://www.youtube.com/watch?v=Kb1XJWFihQY^1^1963
동영상 02:54
10601^3837425^http://tvpot.daum.net/clip/ClipView.do?clipid=18762635^1^1940 10601^3837425^http://tvpot.daum.net/clip/ClipView.do?clipid=18762635^0 10601^3837425^http://tvpot.daum.net/clip/ClipView.do?clipid=18762635^1^1940 10601^3837425^http://tvpot.daum.net/clip/ClipView.do?clipid=18762635^1^1940
(function(){ var pagingInstance = new SF.M.paging({ lpp: 10, totalCount: 147, currentPage: 1, wrapperEl: daum.$$(".paging_comm")[0], sCode: "DA", aCode: "PGDA", pageName: "page", baseUrl: location.search, additionalParam: { lpp: "10" } }); pagingInstance.render(); })();
동영상 신고하기 var UserReport = function(){}; UserReport.prototype = { reportShow: function(){ this.checkClear(); daum.$E("vclipCollBody").addClassName("reportMode"); daum.$E("layer_report").show(); var reason = daum.$$("#layer_report .list_reason input:checked")[0]; if(reason){ daum.$E(reason).checked = false; } }, cancel: function(){ daum.$E("vclipCollBody").removeClassName("reportMode"); daum.$E("layer_report").hide(); this.checkClear(); daum.$E("etcReason").hide(); daum.$("etcReason").value=""; }, doReport: function(){ var url = "http://spam119.daum.net/rainbow/report_non_popup?cmd=video&docid="; var query = daum.$E("q").value; var params=[]; daum.$$("#vclipColl ul.list_item li input:checked").each( function(el){ params.push(el.value); }); if(params.length < 1) { alert("신고할 동영상을 선택해주세요."); return; } var reason = daum.$$("#layer_report .list_reason input:checked")[0]; if(reason){ var valueMap = { sAdult: "음란", sAd: "불법광고", sMatch: "불일치", sEtc: "기타" }; var value = valueMap[reason.id]; params = params.join(";"); if(value=="기타"){ value = daum.$E('etcReason').value; if(daum.String.byteLength(value)>255){ value = daum.String.cutString(value, 255); } } if(daum.String.byteLength(query)>255){ query = daum.String.cutString(query, 255); } url = url + encodeURIComponent(params) + "&reason=" + encodeURIComponent(value) + "&keyword=" + encodeURIComponent(query); daum.load(url); }else{ alert("신고 이유를 선택해주세요."); return; } this.cancel(); }, checkEtc: function(){ var reason = daum.$$("#layer_report .list_reason input:checked")[0]; if(reason){ var txtArea = daum.$$("#layer_report textarea")[0]; if(reason.id=="sEtc"){ daum.$E(txtArea).show(); }else{ daum.$E(txtArea).hide(); } } }, checkMaxLength: function(){ if(daum.String.byteLength(daum.$E("etcReason").value) > 255){ alert("문자열의 길이는 255바이트를 넘지 못합니다."); daum.$E("etcReason").value = daum.String.cutString(daum.$E("etcReason").value,255); } }, checkClear: function(){ daum.$$("#vclipColl ul.list_item li input:checked").each( function(el){ el.checked=false; }); } } var report = null; domReady(function() { report = new UserReport(); });
var _jsVclipIdx = []; var _jsVclipData = []; for (var i = 0, l = 10; i < l; i++) { _jsVclipIdx.push(i); } _jsVclipData.push({index:'0', l_tit:'말 전해 다오 - 유미 (14-03.03)', field_order:'title', l_val:'말 전해다오', link:'http://www.youtube.com/watch?v=_6kqys51LHE', id:'118155476', vid:'_6kqys51LHE', isPreview:'false', isEmbed:'false', playtime:'3:42', img:'http://i1.search.daumcdn.net/simg/image/G01/vclip/138x78/cb04065f5f989a5fe66e51e9014d7a65_p', date:'2014.03.03', cp:'youtube', cp_code: '1963', cp_link:'http://youtube.com/', cp_channel_id: '1963', clipid: '', isSpecial: false}); _jsVclipData.push({index:'1', l_tit:'...미-말 전해 다오_가요무대_영상감독 이상웅-2014.03.03. 00912', field_order:'title', l_val:'말 전해다오', link:'http://www.youtube.com/watch?v=I-GsA356kXU', id:'118156431', vid:'I-GsA356kXU', isPreview:'false', isEmbed:'false', playtime:'3:43', img:'http://i1.search.daumcdn.net/simg/image/G01/vclip/138x78/74ce71897db66f17568eb5fa6809a4dc_p', date:'2014.03.04', cp:'youtube', cp_code: '1963', cp_link:'http://youtube.com/', cp_channel_id: '1963', clipid: '', isSpecial: false}); _jsVclipData.push({index:'2', l_tit:'말 전해 다오 - 유미 (클래식 동영상 카페)', field_order:'title', l_val:'말 전해다오', link:'http://www.youtube.com/watch?v=_4PUUqM1FLg', id:'118155236', vid:'_4PUUqM1FLg', isPreview:'false', isEmbed:'false', playtime:'3:43', img:'http://i1.search.daumcdn.net/simg/image/G01/vclip/138x78/b37aacedcae94786ef582314191ae5ae_p', date:'2014.05.11', cp:'youtube', cp_code: '1963', cp_link:'http://youtube.com/', cp_channel_id: '1963', clipid: '', isSpecial: false}); _jsVclipData.push({index:'3', l_tit:'...미리(Chang,MiRi)[\'73 당신이 좋아서,말 전해다오]Full Album', field_order:'title', l_val:'말 전해다오', link:'http://www.youtube.com/watch?v=Y4WqDcb_bgA', id:'76694197', vid:'Y4WqDcb_bgA', isPreview:'false', isEmbed:'false', playtime:'30:25', img:'http://i1.search.daumcdn.net/simg/image/G01/vclip/138x78/0212f012ca580c43accffed9ed98eca2_p', date:'2013.01.23', cp:'youtube', cp_code: '1963', cp_link:'http://youtube.com/', cp_channel_id: '1963', clipid: '', isSpecial: false}); _jsVclipData.push({index:'4', l_tit:'장미리 -말 전해다오', field_order:'title', l_val:'말 전해다오', link:'http://tvpot.daum.net/clip/ClipView.do?clipid=20691457', id:'20852416', vid:'BkLpkrWQBmw$', isPreview:'true', isEmbed:'true', playtime:'3:32', img:'http://i1.search.daumcdn.net/simg/image/G01/vclip/138x78/e99168a87bf1e231e4c833b52fec647c_p', date:'2009.12.31', cp:'tv팟', cp_code: '1940', cp_link:'http://tvpot.daum.net', cp_channel_id: '1940', clipid: '20691457', isSpecial: false}); _jsVclipData.push({index:'5', l_tit:'13 말 전해 다오 유미', field_order:'title', l_val:'말 전해다오', link:'http://www.youtube.com/watch?v=wLiRvB8n-kQ', id:'118156456', vid:'wLiRvB8n-kQ', isPreview:'false', isEmbed:'false', playtime:'3:43', img:'http://i1.search.daumcdn.net/simg/image/G01/vclip/138x78/9a7b2c8cfe91f4d85aa5663c02e5ef59_p', date:'2014.03.03', cp:'youtube', cp_code: '1963', cp_link:'http://youtube.com/', cp_channel_id: '1963', clipid: '', isSpecial: false}); _jsVclipData.push({index:'6', l_tit:'유미 말 전해 다오 가요무대 20140303', field_order:'title', l_val:'말 전해다오', link:'http://www.youtube.com/watch?v=czxPJWLdX1M', id:'110920553', vid:'czxPJWLdX1M', isPreview:'false', isEmbed:'false', playtime:'3:42', img:'http://i1.search.daumcdn.net/simg/image/G01/vclip/138x78/7c82cdbedda25a0f1cc485d2d42e4aa4_p', date:'2014.03.04', cp:'youtube', cp_code: '1963', cp_link:'http://youtube.com/', cp_channel_id: '1963', clipid: '', isSpecial: false}); _jsVclipData.push({index:'7', l_tit:'말전해다오―유미【가요무대 20140303】', field_order:'title', l_val:'말 전해다오', link:'http://www.youtube.com/watch?v=1--IOmdv7rs', id:'110427050', vid:'1--IOmdv7rs', isPreview:'false', isEmbed:'false', playtime:'3:41', img:'http://i1.search.daumcdn.net/simg/image/G01/vclip/138x78/294b404b10eff4cacbdfcbf0657cf514_p', date:'2014.03.04', cp:'youtube', cp_code: '1963', cp_link:'http://youtube.com/', cp_channel_id: '1963', clipid: '', isSpecial: false}); _jsVclipData.push({index:'8', l_tit:'말 전해 다오 / 가수 유미 / kbs가요무대', field_order:'title', l_val:'말 전해다오', link:'http://www.youtube.com/watch?v=Kb1XJWFihQY', id:'118155467', vid:'Kb1XJWFihQY', isPreview:'false', isEmbed:'false', playtime:'3:45', img:'http://i1.search.daumcdn.net/simg/image/G01/vclip/138x78/782f7733f61853ff8bb02703d6319719_p', date:'2014.03.04', cp:'youtube', cp_code: '1963', cp_link:'http://youtube.com/', cp_channel_id: '1963', clipid: '', isSpecial: false}); _jsVclipData.push({index:'9', l_tit:'말 전해다오', field_order:'title', l_val:'말 전해다오', link:'http://tvpot.daum.net/clip/ClipView.do?clipid=18762635', id:'3837425', vid:'nV7PiECbzBQ$', isPreview:'true', isEmbed:'false', playtime:'2:54', img:'http://i1.search.daumcdn.net/simg/image/G01/vclip/138x78/3c00300578df599521cb75933788c185_p', date:'2009.10.10', cp:'tv팟', cp_code: '1940', cp_link:'http://tvpot.daum.net', cp_channel_id: '1940', clipid: '18762635', isSpecial: false}); var _jsVclipPlayExec = new _jsVclipPlay(_jsVclipIdx, _jsVclipData, "list"); var _jsVclipLayerExec = new _jsVclipHighlight(_jsVclipIdx, _jsVclipData, "list"); daum.Event.addEvent(window, "load", function() {document.search.lpp.value = "24";});
(function(){ var NetizenToggle = function(type){ this.type = (type) ? type : ""; this.btnEl = daum.$E("netizen_more_btn_" + type); this.listsWrapper = daum.$E("netizen_lists_" + this.type); this.lists = daum.$$("#netizenColl_" + this.type + " .list_keyword span.wsn"); this.etccode = 1; }; NetizenToggle.prototype = { getType: function(){ var lists = this.lists; var type = ""; var list = this.lists[this.lists.length-1]; var top = daum.Element.getCoordsTarget(list, list.parentNode).top; if(top > 40){ type = "type3"; }else if(top > 25){ type = "type2"; }else{ type = "type1"; } return type; }, checkFirstTime: function(){ this.check(); }, setBtnStatus: function(opt1, opt2){ if(opt1=="more"){ this.btnEl.removeClassName("fold"); this.btnEl.innerHTML = '더보기'; }else if(opt1=="fold"){ this.btnEl.addClassName("fold"); this.btnEl.innerHTML = '접기'; } if(typeof(opt2)!="undefined"){ if(opt2=="hide"){ this.btnEl.addClassName("hide"); }else if(opt2=="show"){ this.btnEl.removeClassName("hide"); } } }, check: function(){ var type = this.getType(); if(this.listsWrapper.hasClassName("type2")){ if(type=="type1"){ this.setBtnStatus("more","hide"); this.listsWrapper.removeClassName("type2"); }else if(type=="type3"){ this.setBtnStatus("more","show"); } }else if(this.listsWrapper.hasClassName("type3")){ if(type=="type1"){ this.setBtnStatus("fold","hide"); this.listsWrapper.removeClassName("type3"); }else if(type=="type2"){ this.setBtnStatus("more","hide"); this.listsWrapper.className = "list_keyword type2"; } }else{ if(type=="type2"){ this.setBtnStatus("more","hide"); this.listsWrapper.className = "list_keyword type2"; }else if(type=="type3"){ if (this.btnEl.hasClassName('fold')) { this.setBtnStatus("fold","show"); this.listsWrapper.className = "list_keyword type3"; } else { this.setBtnStatus("more","show"); this.listsWrapper.className = "list_keyword type2"; } } } }, toggle: function(){ var type = this.getType(); if(type == "type1"){ }else{ if(this.btnEl){ if(this.btnEl.innerHTML == '더보기'){ this.setBtnStatus("fold"); this.listsWrapper.className = "list_keyword type3"; }else{ this.setBtnStatus("more"); this.listsWrapper.className = "list_keyword type2"; } } } }, init: function(){ if(this.btnEl){ daum.Event.addEvent(this.btnEl, "click", daum.Function.bind(function(e){ this.toggle(); }, this)); daum.Event.addEvent(window, "resize", daum.Function.bind(function(e){ this.check(); }, this)); this.checkFirstTime(); } } }; var netizenToggle; netizenToggle = new NetizenToggle("bottom"); netizenToggle.init(); setTimeout(function() { netizenToggle.checkFirstTime(); },0); })(); function _jsVclipMakeUrl(v_cp, v_url) { if(v_cp == '44') { return v_url + '&q=' + EnQuery + '" target=_blank"'; } else if(v_cp == '13') { return v_url + '" target="p"'; } return v_url + '" target=_blank"'; } function _jsProcessJsonResult(r, type){ var obj = daum.ajax.jsonToObject(r.responseText); var entryList = obj.RESULT.VCLIP.r.ds.data; var tempStr=""; var vclipDataStr = new String.Buffer(); var _totalCount = 0; var vclipIdx = []; var vclipData = []; var tmpData = {}; var templateData = { vclipData: [] }; if(obj.RESULT.VCLIP.r.m.c) { _totalCount = obj.RESULT.VCLIP.r.m.c; tabParams.totalCount = _totalCount; } if( _totalCount == 0 ){ templateData.vclipData = { query: daum.$F('q') || '', enquery: EnQuery || '' }; if(daum.$("vclipCollBody")){ daum.$("vclipCollBody").style.display="none"; } if(daum.$("pagingArea")){ daum.$("pagingArea").style.display="none"; } if(daum.$("tabNoResultArea")){ daum.$("tabNoResultArea").innerHTML = SF.M.tmpl('vclipNoresultTemplate', templateData); daum.$("tabNoResultArea").style.display="block"; } } else { var entryLength = ( _totalCount == 1 ) ? 1 : entryList.length; for ( var i = 0, j = entryLength; i < j ; i++ ) { var entry = entryList[i]; var sec = entry.play_time || 0; var timeM = "00"; var timeS = "00"; if( sec >= 60 ) { timeM = daum.Number.fillZero(Math.floor(sec/60), 2); sec -= timeM * 60; } timeS = daum.Number.fillZero(sec, 2); if( timeM != "00" || timeS != "00" ) { sec = timeM + ":" + timeS; } else { sec = ""; } var contLink = ""; var thumbUrl = "noImg"; var hi = ( entry.repr_thumbnail_url.length > 0 ) ? 1 : 0; tmpData = {}; if(entry.repr_thumbnail_url != "") { thumbUrl = entry.repr_thumbnail_url.replace('/_VD00_', 'http://vclip.search.daum-img.net').replace('/_VD01_', 'http://vclip01.search.daum-img.net'); } if(i%4==i%2){ thumbUrl = thumbUrl.replace(/i2.search/g, "i1.search"); } var logs = SF.printLog({ s: 'DA', a: 'DVDA', dc: 'DMD', d: entry.docid, pg: 1, r: (i + 1), rc: entryLength, e1: entry.cp_id, e3: entry.clipid || "", ext: ('dsid='+entry.dsid) }); templateData.vclipData.push({ log: logs, docid: entry.docid, thumbUrl: thumbUrl, videoUrl: (entry.video_url != "") ? _jsVclipMakeUrl(entry.cp_id, entry.video_url) : undefined, oriVideoUrl: entry.video_url || '', popup_width: entry.popup_width || 0, popup_height: entry.popup_height || 0, isEmbed: (entry.is_embeddable == "true") ? true : false, isPreview: entry.is_previewable, video: { id: entry.video_id, time: sec, streamRate: entry.stream_rate ? entry.stream_rate : 0, count: ( entry.play_count > 0 ) ? _jsInsertComma(entry.play_count) : 0 }, title: entry.title, tooltip: SF.M.TT(entry.title_tooltip), content: entry.contents || '', regDate: (entry.reg_datetime != "" ) ? _jsMakeVclipDate(entry.reg_datetime, ServerTime) : undefined, cp: { id: entry.cp_id, url: entry.cp_url, name: entry.cp_name, cpVal: tabParams.CPVal, searchUrl: SF.changeUrlParam({CPVal: entry.cp_id, SortType: tabParams.SortType}) } }); templateData.vclipData[i]['dup_orig_count'] = entry.dup_info.dup_orig_count || 0; templateData.vclipData[i]['dup_docids'] = entry.dup_info.dup_docids || ''; templateData.isSOS = false; templateData.enQuery = EnQuery; templateData.target = '_blank'; templateData.isSA = false; tmpData.index = i.toString(); tmpData.l_tit = entry.title ? entry.title : ""; tmpData.l_con = entry.contents? entry.contents : ""; tmpData.link = entry.video_url; tmpData.id = entry.docid; tmpData.vid = entry.video_id; tmpData.isPreview = entry.is_previewable; tmpData.isEmbed = entry.is_embeddable; tmpData.play_time = sec; tmpData.img = thumbUrl; tmpData.date = entry.reg_datetime; tmpData.cp = entry.cp_name; tmpData.cp_code = entry.cp_id; tmpData.cp_link = entry.cp_url; tmpData.clipid = entry.clipid || ""; tmpData.dsid = entry.dsid || ""; vclipIdx.push(i); vclipData.push(tmpData); } if(daum.$("vclipCollBody")){ daum.$("vclipCollBody").style.display="block"; } if(daum.$("pagingArea")){ daum.$("pagingArea").style.display="block"; } if(daum.$("speVclip")){ daum.$("speVclip").style.display="none"; } if(daum.$("tabNoResultArea")){ daum.$("tabNoResultArea").style.display="none"; } if (type == 'list') { daum.$("vclipList").innerHTML = SF.M.tmpl('vclipListTemplate', templateData); } else { daum.$("vclipList").innerHTML = SF.M.tmpl('vclipGridTemplate', templateData); } _jsChgPagingAndCount(_totalCount); if(_jsVclipPlayExec != null) { _jsVclipPlayExec.reload(vclipIdx, vclipData); } else { _jsVclipPlayExec = new _jsVclipPlay(vclipIdx, vclipData, "list"); } if(_jsVclipLayerExec != null ) { _jsVclipLayerExec.reload(vclipIdx, vclipData); } else { _jsVclipLayerExec = new _jsVclipHighlight(vclipIdx, vclipData, "list"); } vclipIdx = null; vclipData = null; vclipDataStr = null; report.cancel(); _jsInitCategoryByAjax(); } } /* 엔트리카운트 및 페이징 변경 */ function _jsChgPagingAndCount(_totalCount){ var lpp=tabParams.resizeLpp; var rowPerPage=10; var rowPerBlock=10; var curPage=1; var lastC, firstC; var pageName = "page"; var newLink = document.location.toString(); rowPerPage = tabParams.lpp; newLink = SF.changeUrlParam({ SortType: tabParams.SortType, period: tabParams.period, CPVal: tabParams.CPVal, play_time_le: tabParams.play_time_le, play_time_ge: tabParams.play_time_ge, display: tabParams.display, lpp: tabParams.lpp, sd: tabParams.sd, ed: tabParams.ed }, newLink); var totalPage =Math.ceil(_totalCount/rowPerPage); // 총 page 수 var totalBlock = Math.ceil(_totalCount/rowPerBlock); // 총 block 수 var curBlock = Math.ceil(curPage/rowPerBlock); // 현재 block 구하기 var startPage = (curPage%rowPerBlock==0) ? (curPage - (rowPerBlock-1)) : (curPage - curPage%rowPerBlock + 1); // 시작페이지 번호 /* 끝페이지 번호 */ var endPage = (startPage + rowPerBlock - 1); if(endPage > totalPage) endPage=totalPage; if(startPage > endPage) startPage=endPage; /* block paging 구하기 start */ var startPrevBlockPage = startPage-10; var endPrevBlockPage = startPage-1; if(startPrevBlockPage<0) startPrevBlockPage=1; var startNextBlockPage = endPage+1; var endNextBlockPage = endPage+10; if(endNextBlockPage>totalPage) endNextBlockPage=totalPage; (function(){ var pagingInstance = new SF.M.paging({ lpp: tabParams.resizeLpp, totalCount: _totalCount, currentPage: 1, wrapperEl: daum.$$(".paging_comm")[0], sCode: "DA", aCode: "PGDA", pageName: "page", baseUrl: location.search, additionalParam: { lpp: tabParams.resizeLpp } }); pagingInstance.render(); })(); /* 카운트 변경 */ if(_totalCount > (lpp*curPage)){ lastC = lpp * curPage; firstC = lastC - lpp +1; }else{ lastC = _totalCount*1; firstC = lpp * (curPage-1) +1; } tabParams.page = curPage; /* 화살표 변경 및 노출 수 조정 */ if (tabParams.display != "list" ){ if (_jsVclipIdx.length == 25 && daum.$("vclip_Li_" + _jsVclipIdx[_jsVclipIdx.length-1]) ) { daum.$("vclip_Li_" + _jsVclipIdx[_jsVclipIdx.length-1]).className = tabParams.lastLiClass; } } var speCount = 0; if(daum.$("speVclipList")){ var speLists = $$("#speVclipList .vcilpGrid"); speCount = speLists.length; } daum.$E("resultCntArea").innerHTML = ''+firstC+'-'+(lastC+speCount)+' / ' + SF.M.getSimpleCount(_totalCount) + ''; } function updateTermOptionStr() { daum.$("termOptionText").innerHTML = daum.$F("sliderStartDate") + "~" + daum.$F("sliderEndDate"); } function updateTermOption() { if(daum.$("termOptionText")){ updateTermOptionStr(); } if(daum.$("termOption")){ daum.Array.each(daum.$$("#termOption dd a"), function(item, idx){ if(idx==4){ daum.$E(item).removeClassName("link"); daum.$E(item).addClassName("txt"); }else{ daum.$E(item).removeClassName("txt"); daum.$E(item).addClassName("link"); } }); } tabParams.sd = daum.$F("sliderStartDate").replace(/\./g,"") + "000000"; tabParams.ed = daum.$F("sliderEndDate").replace(/\./g,"") + "235959"; } function doSearchByAjax(calltype){ var targetUrl = "./qsearch"; var param = "w=vclip&q="+backQuery+"&uk="+uk+"&qsearch_ver=v2&viewtype=json"; if(tabParams.period=="u"){ updateTermOption(); } if( calltype == "d" && daum.$("sliderStartDate") && daum.$("sliderEndDate") ) { var sliderStartDateValue = daum.$("sliderStartDate").value; var sliderEndDateValue = daum.$("sliderEndDate").value; tabParams.sd = sliderStartDateValue.replace(/\./g,"") + "000000"; tabParams.ed = sliderEndDateValue.replace(/\./g,"") +"235959"; } param += "&SortType="+tabParams.SortType; param += "&play_time_le="+tabParams.play_time_le; param += "&play_time_ge="+tabParams.play_time_ge; param += "&CPVal="+tabParams.CPVal; param += "&display="+tabParams.display; param += "&sd="+tabParams.sd+"&ed="+tabParams.ed; param += "&spemore="+tabParams.spemore; param += (tabParams.display == "list") ? "&lpp=10" : "&lpp=25"; param += "&dup_filter=y"; var vclipAjax = new daum.ajax({url:targetUrl,paramString:param,encoding:"utf-8",onfailure:function(r){},ontimeout:function(r){},onsuccess:function(r){_jsProcessJsonResult(r, tabParams.display);}}); vclipAjax.request(); if (calltype == "1" && daum.$("speVclip")) { daum.$("speVclip").style.display = "none"; } } function _jsInitCategoryByAjax() { var targetUrl = "./qsearch"; var param = "w=vclip&m=cp&req=tab&GroupType=cp&q="+EnQuery+"&uk="+uk; param += "&sd="+tabParams.sd; param += "&ed="+tabParams.ed; param += "&play_time_le="+tabParams.play_time_le; param += "&play_time_ge="+tabParams.play_time_ge; param += "&qsearch_ver=v2&viewtype=json"; param += "&dup_filter=y"; var vclipAjax = new daum.ajax({url:targetUrl,paramString:param,encoding:"utf-8",onfailure:function(r){},ontimeout:function(r){},onsuccess:function(r){_jsProcessCategoryCountResult(r);}}); vclipAjax.request(); } function _jsProcessCategoryCountResult(r) { var obj = daum.ajax.jsonToObject(r.responseText); var entryList = obj.RESULT.VCLIP_CP.r.g.field; if(entryList === undefined || entryList == null || entryList == ""){ return; } entryList = entryList["enum"]; if(daum.Object.getType(entryList) == "Object"){ entryList = [ entryList ] ; } var templateData = getCPTemplateData(entryList); var wrapperElem = daum.$('optionByCP'); if ( wrapperElem && templateData ) { wrapperElem.innerHTML = SF.M.tmpl('vclipOptionsCPTemplate', templateData); } } function getCPTemplateData(entryList) { var templateData = { selected: [tabParams.CPVal], cp: [] }; if(tabParams.spemore=="y"){ templateData.selected = ["-1"]; } templateData.cp.push({ id: "-1", url: SF.changeUrlParam({ CPVal: "", sd: tabParams.sd, ed: tabParams.ed, period: tabParams.period, SortType: tabParams.SortType, page: "1", notice: "n" }), name: "공식동영상", count: "" }); for ( var i=0, j = entryList.length; i < j; i++ ) { if ( entryList[i]["@count"] > 0 ) { templateData.log = SF.printLog({ s: 'DA', a: 'SSDA', dc: 'DMD', pg: 1, rc: entryList.length }); templateData.cp.push({ id: entryList[i]["@value"], url: SF.changeUrlParam({ CPVal: entryList[i]["@value"], sd: tabParams.sd, ed: tabParams.ed, period: tabParams.period, SortType: tabParams.SortType, page: "1", notice: "n", spemore: "" }), name: entryList[i].name, count: _jsInsertComma(entryList[i]["@count"]) }); } } return templateData; } var timeLineStandByCnt = 0; function _jsInitTimelineByAjax(){ /* IE의 처리 속도 저하로 인한 싱크 대기 */ if( (daum.$("sliderYear1").innerHTML == "" || daum.$("sliderYear6").innerHTML == "") && timeLineStandByCnt < 5 ) { timeLineStandByCnt++; window.setTimeout(_jsInitTimelineByAjax, 100); } var targetUrl = "./qsearch"; var param = "w=vclip&m=category&q="+EnQuery+"&uk="+uk; param += "&sd="+daum.$("sliderYear1").innerHTML+"0101000000"; param += "&ed="+(daum.$("sliderYear6").innerHTML*1-1)+"1231235959"; param += "&play_time_le="+tabParams.play_time_le; param += "&play_time_le="+tabParams.play_time_ge; param += "&display="+tabParams.display; param += "&CPVal="+tabParams.CPVal; param += "&qsearch_ver=v2&viewtype=json"; var vclipAjax = new daum.ajax({url:targetUrl,paramString:param,encoding:"utf-8",onfailure:function(r){},ontimeout:function(r){},onsuccess:function(r){_jsProcessTimelineCountResult(r);}}); vclipAjax.request(); } function _jsProcessTimelineCountResult(r){ timeLineStandByCnt = 0; var obj = daum.ajax.jsonToObject(r.responseText); var entryList = obj.RESULT.VCLIP_CATEGORY.r.g.field.enum; if(daum.Object.getType(entryList) == "Object"){ entryList = [ entryList ] ; //Object -> Array } var vclipMaxCnt = 0; var startYear = daum.$("sliderYear1").innerHTML; var endYear = daum.$("sliderYear6").innerHTML; var termType = endYear-startYear; var cntObj = {}; var entryLength=0; if(entryList.length) entryLength = entryList.length; for(var i=0, j=entryList.length; i0 && daum.$("st"+prop)){ var heightValue = Math.ceil(cntObj[prop]*1/graphConstValue); daum.$("st"+prop).style.height = heightValue+"px"; daum.$("st"+prop).style.marginTop = 40-heightValue+"px"; var tooltipTxt = '
'; daum.$("stw"+prop).innerHTML += tooltipTxt; } } } /* 정확도, 최신 클릭 영역 */ (function(){ var wrapRankSelectorElem = daum.$$('.sort_comm', daum.$('vclipColl'))[0]; if (wrapRankSelectorElem) { daum.Event.addEvent(wrapRankSelectorElem, 'click', function(e) { var target = daum.$(daum.Event.getElement(e)); if (target.id == 'rankCorrect') { target.href = SF.changeUrlParam({SortType: 'accuracy', page: ''}); smartLog(target, "s=NS&a=RKNS&dc=DMD&pg=1&r=1&p=7&rc=1", null); } else if (target.id == 'rankLatest') { target.href = SF.changeUrlParam({SortType: 'recency', page: ''}); smartLog(target, "s=NS&a=RKNS&dc=DMD&pg=1&r=1&p=6&rc=1", null); } }); } })();
카페 게시글
┗▶추억의 가수
추억의가수/장미리(대표곡 말 전해 다오 )
정태하
추천 0
조회 141
14.08.26 19:39
댓글 0
다음검색