var md5_norobot_key = '028938ac39bd53b085c4584c2143f4fb'; // 글자수 제한 var char_min = parseInt(0); // 최소 var char_max = parseInt(0); // 최대
var save_before = ''; var save_html = document.getElementById('comment_write').innerHTML; function fviewcomment_submit(f) { var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자 var s; if (s = word_filter_check(document.getElementById('wr_content').value)) { alert(‎"내용에 금지단어('"+s+"')가 포함되어있습니다"); document.getElementById('wr_content').focus(); return false; } // 양쪽 공백 없애기 var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자 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 (typeof(f.wr_key) != 'undefined') { if (hex_md5(f.wr_key.value) != md5_norobot_key) { alert(‎'자동등록방지용 빨간글자가 순서대로 입력되지 않았습니다.'); f.wr_key.focus(); return false; } } return true; } function comment_box(comment_id, work) { 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') { document.getElementById('wr_content').value = document.getElementById('save_comment_' + comment_id).value; if (typeof char_count != 'undefined') check_byte('wr_content', 'char_count'); } document.getElementById('comment_id').value = comment_id; document.getElementById('w').value = work; save_before = el_id; } } function comment_delete(url) { if (confirm‎("이 코멘트를 삭제하시겠습니까?")) location.href = url; } comment_box('', 'c'); // 코멘트 입력폼이 보이도록 처리하기위해서 추가 (root님) var g4_cf_filter = '';
     

// HTML 로 넘어온 태그의 폭이 테이블폭보다 크다면 테이블폭을 적용한다. function resize_image() { var target = document.getElementsByName('target_resize_image[]'); var image_width = parseInt('600'); var image_height = 0; for(i=0; i image_width) { image_height = parseFloat(target[i].width / target[i].height) target[i].width = image_width; target[i].height = parseInt(image_width / image_height); // 스타일에 적용된 이미지의 폭과 높이를 삭제한다 target[i].style.width = ''; target[i].style.height = ''; } target[i].style.borderWidth = '1px'; target[i].style.borderStyle = 'solid'; target[i].style.borderColor = '#000000'; } } window.[안내]태그제한으로등록되지않습니다-xxonload = resize_image; function file_download(link, file) { document.location.href = link; }  

  • Daum
  • |
  • 카페
  • |
  • 테이블
  • |
  • 메일
  • |
  • 카페앱 설치
 
카페정보
에녹교회
 
 
 
카페 게시글
우리들의 이야기 에녹교회월레회(2월3일)신안교회에서 박성웅목사님설교초
cks38671 추천 0 조회 251 09.04.09 09:45 댓글 1
게시글 본문내용
 
다음검색
댓글
  • 09.04.09 10:38

    첫댓글 에녹회에서 들은 설교이지만 다시 보니 더 새롭습니다. 감사합니다.

최신목록