유튜부 워너빈

































https://www.youtube.com/channel/UC9z58-MGLB0999dR2gH2Srg
Wannabin 워너빈www.youtube.com매주 금요일 업로드⭐️ 알림 설정 하시면 빠르게 영상 시청 가능하세요
추천 0
비추천 0

인쇄

주소
#bo_v_sns {margin:0px;padding:0;list-style:none;zoom:1}
#bo_v_sns span{display:inline-block;margin-right:0px;margin-bottom:2px;}

function floating_close(divid) {
var strObj = document.getElementById(divid);
strObj.style.display = "none";
}
(function(cl,i,c,k,m,o,n){m=c;o=cl.referrer;m+='&mon_rf='+encodeURIComponent(o);m+='&mon_direct_url='+encodeURIComponent(k);
n='';cl.writeln(n);
})(document,'script','https://tab2.clickmon.co.kr/pop/wp_ad_160_js.php?PopAd=CM_M_1003067%7C%5E%7CCM_A_1016759%7C%5E%7CAdver_M_1046207','PASSBACK_INPUT');
[close]
//글자수 제한
var char_min = parseInt(0); // 최소
var char_max = parseInt(0); // 최대
댓글목록
댓글쓰기
빠들의 댓글! 댓글은 자신을 나타내는 '얼굴'입니다. *^^*
쓰레빠
슬리퍼

비밀글
댓글등록

var save_before = '';
var save_html = document.getElementById('comment_write').innerHTML;
function good_and_write()
{
var f = document.fviewcomment;
if (fviewcomment_submit(f)) {
f.is_good.value = 1;
f.submit();
} else {
f.is_good.value = 0;
}
}
function fviewcomment_submit(f) {
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
var subject = "";
var content = "";
f.is_good.value = 0;
$.ajax({
url: "https://threppa.com/amina/ajax.filter.php",
type: "POST",
data: {
"subject": "",
"content": f.wr_content.value
},
dataType: "json",
async: false,
cache: false,
success: function(data, textStatus) {
subject = data.subject;
content = data.content;
}
});
if (content) {
alert("댓글에 금지단어('"+content+"')가 포함되어있습니다");
f.wr_content.focus();
return false;
}
// 양쪽 공백 없애기
document.getElementById('wr_content').value = document.getElementById('wr_content').value.replace(pattern, "");
if (char_min > 0 || char_max > 0)
{
check_byte('wr_content', 'char_count');
var cnt = parseInt(document.getElementById('char_count').innerHTML);
if (char_min > 0 && char_min > cnt)
{
alert("댓글은 "+char_min+"글자 이상 쓰셔야 합니다.");
return false;
} else if (char_max > 0 && char_max < cnt)
{
alert("댓글은 "+char_max+"글자 이하로 쓰셔야 합니다.");
return false;
}
}
else if (!document.getElementById('wr_content').value)
{
alert("댓글을 입력하여 주십시오.");
return false;
}
if (typeof(f.wr_name) != 'undefined')
{
f.wr_name.value = f.wr_name.value.replace(pattern, "");
if (f.wr_name.value == '')
{
alert('이름이 입력되지 않았습니다.');
f.wr_name.focus();
return false;
}
}
if (typeof(f.wr_password) != 'undefined')
{
f.wr_password.value = f.wr_password.value.replace(pattern, "");
if (f.wr_password.value == '')
{
alert('패스워드가 입력되지 않았습니다.');
f.wr_password.focus();
return false;
}
}
if (!chk_captcha()) return false;
document.getElementById("cmt_submit").disabled = "disabled";
return true;
}
function comment_box(comment_id, work, refresh)
{
var el_id;
// 코멘트 아이디가 넘어오면 답변, 수정
if (comment_id) {
if (work == 'c') {
el_id = 'reply_' + comment_id;
} else {
el_id = 'edit_' + comment_id;
}
} else {
el_id = 'comment_write';
}
if (save_before != el_id)
{
if (save_before)
{
document.getElementById(save_before).style.display = 'none';
document.getElementById(save_before).innerHTML = '';
}
document.getElementById(el_id).style.display = '';
document.getElementById(el_id).innerHTML = save_html;
// 코멘트 수정
if (work == 'cu')
{
if (document.getElementById('cool_comment_' + comment_id).value == "")
{ document.getElementById('post_cool2').checked = true;
document.getElementById('post_cool1').checked = false;
} else{
document.getElementById('post_cool1').checked = true;
document.getElementById('post_cool2').checked = false;
}
document.getElementById('post_writer').value = document.getElementById('writer_comment_' + comment_id).value;
document.getElementById('wr_content').value = document.getElementById('save_comment_' + comment_id).value;
document.getElementById('post_dt').value = document.getElementById('dt_comment_' + comment_id).value;
if (typeof char_count != 'undefined')
check_byte('wr_content', 'char_count');
if (document.getElementById('secret_comment_'+comment_id).value)
document.getElementById('wr_secret').checked = true;
else
document.getElementById('wr_secret').checked = false;
}
document.getElementById('comment_id').value = comment_id;
document.getElementById('w').value = work;
save_before = el_id;
} else {
if (refresh) {
document.getElementById(el_id).style.display = '';
document.getElementById(el_id).innerHTML = save_html;
}
}
if(comment_id) {
document.getElementById('new_cmt_box').style.display = '';
} else {
document.getElementById('new_cmt_box').style.display = 'none';
}
}
function comment_delete(url, opt) {
if (confirm("이 댓글을 삭제하시겠습니까?")) {
if(opt) {
parent.location.href = url;
} else {
location.href = url;
}
}
}
comment_box('', 'c'); // 코멘트 입력폼이 보이도록 처리하기위해서 추가 (root님)
목록List