メインへ

KJCLUB 日韓文化交流へようこそ。

( ‘Θ‘)ψ 今日の豚貯金箱の最後

閲覧数 : 513
細分類: 自由テーマ JA 255 popo555 7,111
//&reloadTemplate=T var isRecom = false; var isOwner = false ; var isLogin = false ; //깓긐귽깛긻[긙댷벍 function chkLogin(type){ if(type == 1){ url="loginAgreeArticle?bbsId=K150&commentId=0&type=R&articleId=566123&$parameter"; }else{ url="loginDisagreeArticle?bbsId=K150&commentId=0&type=R&articleId=566123&$parameter"; } top.location.href=url; } function readRecom1(type){ //깓긐귽깛`긃긞긏 if(!isLogin){chkLogin(type);return;} //{릐됀붬`긃긞긏 if(isOwner){ alert("렔빁궻빒궸궼뱤[궶궠귡궞궴궕궳궖귏궧귪"); return false; } if(isRecom){ alert("귖궎릢멐궇귡궋궼뵿뫮귩궢귏궢궫"); return; } var url = (type==1) ? "agreeArticle":"disagreeArticle"; var ftype = (type==1) ? "A":"D"; //깓[긢귻깛긐귽긽[긙뙥궧궲궘귢귡 UI.$("bt_rcmd").style.display = "none"; UI.$("bt_oppo").style.display = "none"; UI.$("ld_image").style.display = ""; document.getElementById("ld_image").innerHTML = ""; new UI.Ajax( { url:url, param:"bbsId=K150&feedback.bbsId=K150&feedback.articleId=566123&feedback.commentId=0&feedback.type="+ftype+"&articleId=566123", onComplete:readRecom2 } ); } function readRecom2(req) { var result = eval("(" + req.responseText + ")"); //alert(result.status) UI.$("ld_image").style.display = "none"; UI.$("bt_rcmd").style.display = ""; UI.$("bt_oppo").style.display = ""; //깓[긢귻깛긐귽긽[긙랁룣 if (result.status == "500"){ alert("귖궎^맟궇귡궋궼뵿뫮귩궢귏궢궫"); isRecom = true; return false; }else if(result.status == "600"){ alert("귖궎궓뒰귕궢귏궢궫"); isRecom = true; return false; }else if (result.status == "700"){ alert("귖궎뵿뫮궢귏궢궫"); isRecom = true; return false; }else if (result.status == "300"){ alert("뚮궯궫듩댾궋궳궥. 귖궎덇뱗럫귒궲궘궬궠궋."); return false; }else if (result.status == "200"){ UI.$("bt_rcmd").innerHTML = ""+result.agreeCount+""; UI.$("bt_oppo").innerHTML = ""+result.disagreeCount+""; //UI.$("bt_result").innerHTML = result.agreeRate +"%"; //setSwfScore(result.agreeRate); //alert("뱤[궕맟뚻밒궸궶귟귏궢궫"); isRecom = true; }else return false; //alert(req.responseText) //status `긃긞긏 /* status 200 : 맟뚻 500 : 뢣븸멗묖궢궫뤾뜃 600:^맟 700:뵿뫮 300 : 렪봲 {status:"500", bbsId:"K152", articleId:"58367", agreeCount:"3", disagreeCount:"0", agreeRate:"100"} */ }

http://bbs2.agora.media.daum.net/gaia/do/kin/read?bbsId=K150&articleId=566123&RIGHT_KIN=R0

翻訳を見る

( ‘Θ‘)ψ 오늘의 돼지 저금통의 최후

//&reloadTemplate=T var isRecom = false; var isOwner = false ; var isLogin = false ; //로그인페이지 이동 function chkLogin(type){ if(type == 1){ url="loginAgreeArticle?bbsId=K150&commentId=0&type=R&articleId=566123&$parameter"; }else{ url="loginDisagreeArticle?bbsId=K150&commentId=0&type=R&articleId=566123&$parameter"; } top.location.href=url; } function readRecom1(type){ //로그인체크 if(!isLogin){chkLogin(type);return;} //본인여부체크 if(isOwner){ alert("자신의 글에는 투표하실 수 없습니다"); return false; } if(isRecom){ alert("이미 추천 혹은 반대를 하셨습니다"); return; } var url = (type==1) ? "agreeArticle":"disagreeArticle"; var ftype = (type==1) ? "A":"D"; //로딩이미지 보여주기 UI.$("bt_rcmd").style.display = "none"; UI.$("bt_oppo").style.display = "none"; UI.$("ld_image").style.display = ""; document.getElementById("ld_image").innerHTML = ""; new UI.Ajax( { url:url, param:"bbsId=K150&feedback.bbsId=K150&feedback.articleId=566123&feedback.commentId=0&feedback.type="+ftype+"&articleId=566123", onComplete:readRecom2 } ); } function readRecom2(req) { var result = eval("(" + req.responseText + ")"); //alert(result.status) UI.$("ld_image").style.display = "none"; UI.$("bt_rcmd").style.display = ""; UI.$("bt_oppo").style.display = ""; //로딩이미지 삭제 if (result.status == "500"){ alert("이미 찬성 혹은 반대를 하셨습니다"); isRecom = true; return false; }else if(result.status == "600"){ alert("이미 추천하셨습니다"); isRecom = true; return false; }else if (result.status == "700"){ alert("이미 반대하셨습니다"); isRecom = true; return false; }else if (result.status == "300"){ alert("잘못된 오류입니다. 다시한번 시도해 주세요."); return false; }else if (result.status == "200"){ UI.$("bt_rcmd").innerHTML = ""+result.agreeCount+""; UI.$("bt_oppo").innerHTML = ""+result.disagreeCount+""; //UI.$("bt_result").innerHTML = result.agreeRate +"%"; //setSwfScore(result.agreeRate); //alert("투표가 성공적으로 되었습니다"); isRecom = true; }else return false; //alert(req.responseText) //status 체크 /* status 200 : 성공 500 : 중복 선택한 경우 600:찬성 700:반대 300 : 실패 {status:"500", bbsId:"K152", articleId:"58367", agreeCount:"3", disagreeCount:"0", agreeRate:"100"} */ }

http://bbs2.agora.media.daum.net/gaia/do/kin/read?bbsId=K150&articleId=566123&RIGHT_KIN=R0

いいね・コメントにはログインが必要です。

コメント ( 10 )

投稿一覧

7,111

  1. 閲覧数 : 24
    細分類: 入会挨拶 KO 179 CheEese
  2. 細分類: 入会挨拶 KO 174 CheEese
  3. 細分類: 入会挨拶 KO 169 CheEese
  4. 閲覧数 : 35
    細分類: 入会挨拶 JA 255 1192KamakuRa
  5. 閲覧数 : 34
    細分類: 入会挨拶 JA 194 1192KamakuRa4
  6. 閲覧数 : 91
    細分類: 入会挨拶 JA 139 1192KamakuRa4
  7. 閲覧数 : 93
    細分類: 入会挨拶 JA 255 NewJeans
  8. 細分類: 入会挨拶 KO 129 CheEese
  9. 閲覧数 : 82
    細分類: 入会挨拶 KO 20 name0
  10. 細分類: 入会挨拶 KO 15 name0
  11. 細分類: 入会挨拶 KO 15 name0
  12. 細分類: 入会挨拶 KO 5 name0
  13. 閲覧数 : 108
    細分類: 入会挨拶 JA 76 Gmail
  14. 細分類: 入会挨拶 JA 255 kabacases1314
  15. 細分類: 入会挨拶 KO 10 Seungho1
  16. 閲覧数 : 2,766
    細分類: 入会挨拶 KO 5 JOOLEE1
  17. 細分類: 入会挨拶 JA 125 coolkabashop
  18. 閲覧数 : 3,269
    細分類: 入会挨拶 KO 5 expressway
  19. 細分類: 入会挨拶 JA 45 akusecopy
  20. 閲覧数 : 3,492
    細分類: 入会挨拶 KO 176 huu8