토토 사이트 추천-토토 커뮤니티 -온라인카지노 토토 사이트 추천 DAEDONG

온라인
상담
전화상담 '; prev_html = '
  • 이전
  • '; }else{ // 6 이상이면 링크 생성 if(search_param != ""){ first_html = '
  • 처음
  • '; prev_html = '
  • 이전
  • '; }else{ first_html = '
  • 처음
  • '; prev_html = '
  • 이전
  • '; } } $(".pn").append(first_html); $(".pn").append(prev_html); if(end>1){ // 만약 끝 번호가 총 페이지수보다 크다면 끝번호를 총 페이지수로 맞춰준다. end = 1; } for(var j = start; j<=end; j++){ var parameter = ''; if(search_param != ""){ parameter = '?page='+j+search_param; }else{ parameter = '?page='+j; } if(j == now_page){ // 현재 페이지일 경우에는 active 태그 추가 page_html += "
  • "+j+"
  • "; }else{ page_html += "
  • "+j+"
  • "; } } $(".pn").append(page_html); if(now_page == 1){ next_html = '
  • 다음
  • '; last_html = '
  • 마지막
  • '; }else{ if(search_param != ""){ next_html = '
  • 다음
  • '; last_html = '
  • 마지막
  • '; }else{ next_html = '
  • 다음
  • '; last_html = '
  • 마지막
  • '; } } $(".pn").append(next_html); $(".pn").append(last_html); var item = ""; for (var i = 0; i < data.id.length; i++) { item += "
  • "; item += "
    "; item += data.date[i] + "." + data.date2[i] + ""; item += "
    "; item += "

    " + data.title[i]; if(data.attached[i] > 0){ item += "첨부파일"; } item += "

    "; item += "
    조회수 " + data.hit[i] + "
    " item += "
  • " } $(".mo-content").append(item); $(".pc-content").append(item); wv_loading = false; }, error: function (error) { alert('게시물 목록을 가져오지 못했습니다.'); } }); } }; $(window).on("scroll", function() { var scrollHeight = $(document).height(); var scrollPosition = $(window).height() + $(window).scrollTop(); if($(window).width() <= 1024){ if ((scrollHeight - scrollPosition -500) <= 0) { getList(); } if ($(window).scrollTop() > $(".sect-story").offset().top) { $(".btn-top").addClass('fadein'); }else{ $(".btn-top").removeClass('fadein'); } if(now_page == 1 && scrollPosition>= $("#ft").offset().top){ $(".btn-top").css('position','absolute').css('bottom','100%'); }else{ $(".btn-top").css('position','').css('bottom',''); } } }); function parse(str) { var y = str.substr(0, 4); var m = str.substr(4, 2); var d = str.substr(6, 2); return y+"."+m+"."+d; }