' + this.comment +
' '; if (this.isnew) { html += ' '; } if (modperm) {
html += ' '; html +=
''; } if (delperm) { html += ' '; } html
+= '';
html += '
'; html += '
' + this.dateStr + '
'; html
+= '
'; html += '
'; // 꼬리말 꼬리말 레이어 html += '
'; html += '
';
html += '
'; html +=
'
'; html += '꼬리말에 코멘트 쓰기'; html +=
'
'; html += '
꼬리말에 코멘트란? 꼬리말에 대한 답변입니다.
'; html += ' '; html += '현재 0/최대 300byte (한글 150자, 영문 300자) ';
html += '
'; html += ''; html += ''; html
+= '
'; html += '
'; html += '
'; html +=
'
'; html += '
'; html += '
'; return
html; }; this.renderRowCommentComment = function() { var html =
''; var mine = 'Gbebomme3Pc0' == this.e_userid; var modperm = mine;
var delperm = true; html += '
'; html += '' +
this.comment + ' '; if (this.isnew) { html += ' '; } if (modperm) {
html += ' '; html +=
''; } if (delperm) { html += ''; }
html += '
'; html += '
' + this.dateStr +
'
'; html += '
'; html += '
'; html +=
'
'; html += '
'; return html; };
this.renderRowCommentDelete = function() { var html = ''; html
+= '
 
 
꼬리말이 삭제되었습니다.
 
';
return html; } this.viewMember = function (obj) {
showSideView(obj, this.e_userid, this.profile_userid, this.nickName);
}; this.viewModify = function () {/* var emo = ''; modifySeqEmo = this.seq; if (this.parseq == 0)
{ document.getElementById("_emo" + this.seq).innerHTML = emo;
}*/ var cmt = '
'; cmt += '
';
document.getElementById("_cmt" + this.seq).innerHTML = cmt; }; }
var comments = new Array(); var idx = 0; function
showShortComment() { var html = '
'; var prevSeq = 0; var idx
= 0; var hasParents = false; for (var i = 0; i < comments.length; i++)
{ if (comments[i].parseq == 0) { // 부모 꼬리말이 삭제된 꼬리말 댓글 html
+= showShortCommentComment(prevSeq, comments[i].seq); } if
(comments[i].parseq == 0) { prevSeq = comments[i].seq; var rank =
''; // 부모 꼬리말 html += comments[i].renderRow(rank);
hasParents = true; // 부모 꼬리말이 삭제되지 않은 꼬리말 댓글 for (var j =
i + 1; j < comments.length; j++) { if (comments[j].parseq != 0 &&
comments[j].parseq == comments[i].seq) { html +=
comments[j].renderRowCommentComment(); } } } } //
부모 꼬리말 모두 삭제된 경우, 자식 꼬리말 뿌려주기 if (!hasParents && comments.length > 0) {
html += showShortCommentComment(0, comments[comments.length - 1].seq +
1); } html += '
';
document.getElementById("shortCommentPlaceHolder").innerHTML = html; }
function showShortCommentComment(beginSeq, endSeq) { // 부모 꼬리말이 삭제된
꼬리말 댓글 var html = ''; for (var l = beginSeq + 1; l < endSeq; l++) {
var isNoteDelete = 0; for (var k = 0; k < comments.length; k++) {
if (comments[k].parseq != 0 && comments[k].parseq == l) { if
(isNoteDelete == 0) { html += comments[k].renderRowCommentDelete();
isNoteDelete = 1; } html +=
comments[k].renderRowCommentComment(); } } } return html;
} showShortComment();
현재 0/최대 300byte (한글 150자, 영문 300자)
document.domain="daum.net";var str="
";str+="";str+="
";
str+="";
str+="";str+="";str+="";
str+="";str+="";str+="";str+="";
str+="";document.write(str);var url = location.pathname;
document.clixad_form.str.value= '또 다른 나를 위해 (롬 4:22-25)
*안산빛나교회* [유재명]목사' +
document.getElementById("clix_content").innerHTML;
document.clixad_form.nid.value=url;document.clixad_form.url.value=location.href;
document.clixad_form.submit();
function popupSingo() {
grpname='%BF%B9%BC%F6+%B1%D7%B8%AE%BD%BA%B5%B5%C0%C7+%C7%E2%B1%E2';
grpcode='jesus330'; menu_color='02';
url='/_c21_/clean_singo?menu_color='+menu_color+'&grpcode='+grpcode+'&grpname='+grpname;
/*window.open*/(url,
'singo','width=460,height=418,resizable=yes,scrollbars=no'); }
if (typeof(document.getElementById("miniDaumArea")) ==
"object"){ document.getElementById("miniDaumArea").innerHTML =
document.getElementById("miniDaumTemp").innerHTML; }