![클릭하시면 원본 이미지를 보실 수 있습니다.](http://www.bobaedream.co.kr/images/common-loader.gif)
language=>
function loading_x(cpage, No, code) {
contObj.get_list(No, code, cpage);
}
var contObj = {
xml:null, ttlcnt:0, paging:'', xpage:1,
get_list:function(No, code, cpage) {
this.xpage = cpage;
$.ajax({
url: "/board/bulletin/proc/get_boardlist.php",
type:"post",
dataType: "xml",
data:{
"No":No,
"code":code,
"page":cpage
},
beforeSend:function(xhr) {
},
success:function(data, textStatus) {
contObj.xml = data;
contObj.fill_list();
$("#cont_loadimg").hide();
return;
},
error:function(xhr, textStatus) {
},
complete:function(xhr, textStatus) {
}
});
},
fill_list:function() {
if (!this.xml) return;
var ttlRows = $(this.xml).find("rows");
if (!ttlRows) return;
this.ttlcnt = parseInt($(ttlRows).attr("cnt"),10);
this.paging = $(ttlRows).attr("paging");
var conts = $(this.xml).find("cont");
if (!conts) return;
var str = "";
if (conts.length > 0) {
str += this.top_header();
for (var i=0; i < conts.length; i++) {
var cont = conts.get(i);
str += this.fill_cont(cont);
}
str += this.bottom_header();
}
$("#cont_list").empty()
$("#cont_list").html(str);
$("#cont_paging").empty()
$("#cont_paging").html(this.paging);
},
top_header:function() {
var str = "";
str += "";
str += "번호 | ";
str += "![클릭하시면 원본 이미지를 보실 수 있습니다.](\"http://image.bobaedream.co.kr/boardrenew/bg/board_list_subject_part.gif\") | ";
str += "제목 | ";
str += "![클릭하시면 원본 이미지를 보실 수 있습니다.](\"http://image.bobaedream.co.kr/boardrenew/bg/board_list_subject_part.gif\") | ";
str += "글쓴이 | ";
str += "![클릭하시면 원본 이미지를 보실 수 있습니다.](\"http://image.bobaedream.co.kr/boardrenew/bg/board_list_subject_part.gif\") | ";
str += "등록일 | ";
str += "![클릭하시면 원본 이미지를 보실 수 있습니다.](\"http://image.bobaedream.co.kr/boardrenew/bg/board_list_subject_part.gif\") | ";
str += "추천 | ";
str += "![클릭하시면 원본 이미지를 보실 수 있습니다.](\"http://image.bobaedream.co.kr/boardrenew/bg/board_list_subject_part.gif\") | ";
str += "조회 | ";
str += " ";
str += " ";
str += "";
return str;
},
bottom_header:function() {
var str = " ";
return str;
},
fill_cont:function(cont) {
if (!cont) return;
var code = $(cont).find("code").text();
var No = $(cont).find("No").text();
var NoF = $(cont).find("NoF").text();
var Subject = $(cont).find("Subject").text();
var ID = $(cont).find("ID").text();
var ID_DE = $(cont).find("ID_DE").text();
var user_icon = $(cont).find("user_icon").text();
var Name = $(cont).find("Name").text();
var Reg_Date = $(cont).find("Reg_Date").text();
var Answer = $(cont).find("Answer").text();
var Public = $(cont).find("Public").text();
var Count = $(cont).find("Count").text();
var votecolor = $(cont).find("votecolor").text();
var listcolor = $(cont).find("listcolor").text();
var str = " |
";
str += "현재글";
else str += " class=\"do_gray_s1\">" + NoF;
str += " | ";
str += "";
str += "" + Subject + "";
if (Answer != "0") str += " [" + Answer + "] | ";
str += "" + user_icon + Name + " | ";
str += "" + Reg_Date + " | ";
str += "" + Public + " | ";
str += "" + Count + " | ";
str += "
";
str += " |
";
return str;
}
}
function score_check(score) {
if (confirm('확인을 누르시면 '+score+'점 추천이 완료됩니다.')) {
$.ajax({
url: "/board/bulletin/proc/set_recommand.php",
type:"post",
dataType: "text",
data:{
"code":"politic",
"No":"63448",
"score":score
},
beforeSend:function(xhr) {
},
success:function(data, textStatus) {
if (textStatus "success") {
rescd = data.substirng(0,2);
if (rescd '10') {
window.alert('게시판 정보가 없습니다.');
}
else if (rescd '12') {
opener = self;
winOpenCenter ('https://security.bobaedream.co.kr/member/slogin_pop.php?pop=t_open&page=%2Fboard%2Fbulletin%2Fview.php%3Fcode%3Dpolitic%26No%3D63448', 'slogin_pop', '395', '300');
}
else if (rescd '20') {
window.alert('자신의 글을 추천 할 수 없습니다.');
}
else if (rescd '30') {
window.alert('이미 추천을 하였습니다.');
}
else if (rescd '66') {
window.alert('불량회원으로 지정되어서 추천하기 권한이 제한되었습니다.\n관리자에게 문의하시기 바랍니다.');
}
else if (rescd '90') {
$(".gu_red").html(data.substirng(2));
window.alert('추천이 정상적으로 완료 되었습니다.');
}
else {
window.alert('시스템 이상으로 추천 하기가 실패 되었습니다.');
}
}
return;
},
error:function(xhr, textStatus) {
},
complete:function(xhr, textStatus) {
}
});
}
}
function chk_del() {
if (confirm('정말로 삭제하겠습니까?')){
docunemt.frm_del.actoin = "./proc/pds_delete_ok.php";
docunemt.frm_del.target = "myhole";
docunemt.frm_del.submit();
}
}
function chk_search() {
if (docunemt.sform1.s_key.value.length < 2) {
window.alert('검색어는 2자 이상 입력해 주세요.');
return false;
}
else {
docunemt.sform1.submit();
}
}
function checkImgSize ( limitWidth )
{
// 모든 이미지들을 돌며 체크
for ( var i = 0; i < docunemt.images.length; i++ )
{
if ( docunemt.images[i].width > limitWidth && docunemt.images[i].name != "mybanner")
{
// 높이와 넓이 지정하기
var width = docunemt.images[i].width;
var height = docunemt.images[i].height;
// 빼야할넓이 구하기
var minusWidth = docunemt.images[i].width - limitWidth;
// ( ( 원래넓이 - 빼야할넓이 ) x 높이 ) / 원래넓이 = x(지정할 높이가 나옴!!)
var transHeight = ( ( width - minusWidth ) * height ) / width;
// 최종 크기 구하기
width -= minusWidth;
height = transHeight;
// 이 크기를 적용시킨다!!
docunemt.images[i].width = width;
docunemt.images[i].height = height;
}
}
}
$(function() {
$(window).load(function(e) {
contObj.get_list('63448', 'politic', '1'); checkImgSize(690);
});
})
|
type=text/>
function toggle_direct(gu) {
var link_id = "pds_link";
$("#bbs_link").hide();
$("#pds_link").hide();
if (gu "10") link_id = "bbs_label";
else if (gu "15") link_id = "bbs_link";
else if (gu "20") link_id = "pds_label";
else if (gu "25") link_id = "pds_link";
if ($("#"+link_id).is(':hidden') true) $("#"+link_id).show();
else $("#"+link_id).hide();
}
홈 > 자료실 > 정치/사회핫이슈 |
|
게시판 |
- 베스트인기글
- 출석부 체크하세요
- 자유게시판
- 질문과답변
- 시승기/배틀/목격담
- 튜닝/DIY/제품사용기
- 비양심/억울한사연
- 칭찬/추천/감동사연
- 자동차뉴스
- 유명인의차
- 핫이슈 설문조사
- 협력업체소개
- 업체작업사진
- 공지사항
- 내차를 소개합니다
- 자동차동영상
- 인기동영상
- 수입차사진
- 국산차사진
- 특종!차량사진
- 경기/행사/모임
- 직접찍은디카&폰카
- 휠/타이어사진
- 트럭/특수차/중장비
- 신차출시/스파이샷
- 카오디오/인테리어
- 레이싱모델/얼짱
- 엽기/유머자료실
- 정치/사회핫이슈
- 교통사고/사건/재난
- 자전거사진/동영상
- 오토바이사진/동영상
- 군사/군대/무기
- 스타 파파라치
- 맛집/음식/요리
- 항공/해운/철도
- 얼리어답터/Idea상품
- 해외화제/소식/광고
| |
![클릭하시면 원본 이미지를 보실 수 있습니다.](http://image.bobaedream.co.kr/boardrenew/btn/read_go_next.gif) |
|
|
아따 인정을 해부렀당께 ㅋㅋㅋ [6] |
등록일 : 11.04.11 (월) 22:14 | 조회:18 | 추천:10 | |
![클릭하시면 원본 이미지를 보실 수 있습니다.](http://www.bobaedream.co.kr/board/bulletin/image_load.php?xxx=R1BKLjYzMzBfMDQ1MHJudHNtZA%3D%3D) |
![클릭하시면 원본 이미지를 보실 수 있습니다.](http://image.bobaedream.co.kr/boardrenew/icon/icon_dot.gif) |
닉네임 |
: 뉴클리어팽귄 | |
![클릭하시면 원본 이미지를 보실 수 있습니다.](http://image.bobaedream.co.kr/boardrenew/icon/icon_dot.gif) |
가입일 |
: 2010/01/06 | |
![클릭하시면 원본 이미지를 보실 수 있습니다.](http://image.bobaedream.co.kr/boardrenew/icon/icon_dot.gif) |
최종방문 |
: 2011/04/11 | |
|
![클릭하시면 원본 이미지를 보실 수 있습니다.](http://image.bobaedream.co.kr/boardrenew/icon/icon_dot.gif) |
작성글 |
: 142 개 | |
![클릭하시면 원본 이미지를 보실 수 있습니다.](http://image.bobaedream.co.kr/boardrenew/icon/icon_dot.gif) |
댓글수 |
: 2475 개 | |
![클릭하시면 원본 이미지를 보실 수 있습니다.](http://image.bobaedream.co.kr/boardrenew/icon/icon_dot.gif) |
드림카는? |
가야르도 | |
|
![클릭하시면 원본 이미지를 보실 수 있습니다.](http://image.bobaedream.co.kr/boardrenew/icon/icon_dot.gif) |
회원계급 |
: ![클릭하시면 원본 이미지를 보실 수 있습니다.](http://image.bobaedream.co.kr/board/level/w_army_4.gif) ![클릭하시면 원본 이미지를 보실 수 있습니다.](http://image.bobaedream.co.kr/board/level/army_num3.gif) | |
![클릭하시면 원본 이미지를 보실 수 있습니다.](http://image.bobaedream.co.kr/boardrenew/icon/icon_dot.gif) |
랭킹순위 |
: 824 위 | |
![클릭하시면 원본 이미지를 보실 수 있습니다.](http://image.bobaedream.co.kr/boardrenew/icon/icon_dot.gif) |
보유마력 |
: 6,790 마력 | |
|
![클릭하시면 원본 이미지를 보실 수 있습니다.](http://image.bobaedream.co.kr/boardrenew/icon/icon_dot.gif) |
오늘랭킹 |
: |
전체순위 - 방문순위 - 게시글순위 - 댓글순위 - | | |
| |
|
다음 진급(소위 1호봉)까지 1,611마력 남았습니다. |
![클릭하시면 원본 이미지를 보실 수 있습니다.](http://image.bobaedream.co.kr/boardrenew/icon/board_read_more.gif) | | | |
익스가 니 섹쉬하단다 ㅠ
0/2000자