퀴즈 채널


</a>

</div>

</div>

<div class="sidebar-item" id="recentChannelHeadline">

<div class="item-title">이 채널의 헤드라인</div>

<div class="link-list">

</div>

</div>

<div class="sidebar-item" id="wikiRecent">

<div class="item-title">나무위키 최근바뀜</div>

<div class="link-list">

</div>

</div>

</aside>

<article class="containe-fluid board-article">

<div class="ad"><iframe src="/api/ads"></iframe></div>

<div class="article-write">

<div class="board-title">

<a href="/b/quiz/subscribe?value=-1&_csrf=V6sO2i5S-KfwLU1WLK_kGr2HztjfJxvWW07k" class="btn btn-secondary btn-sm pull-right subscribe-btn">

<span class="ion-plus-round"></span>&nbsp;구독해제

<span class="tag tag-pill tag-leaf">170</span>

</a>

<span class="ion-android-list"></span>

<a href="/b/quiz">퀴즈 채널</a>

<div class="desc">

퀴즈 채널

</div>

<div class="desc">

국장: <a href="/u/@*%E3%85%87%E3%85%87">@*ㅇㅇ</a>

</div>

</div>

<form name="article_write_form" id="article_write_form" action="/b/quiz/write" method="post">

<input type="hidden" name="_csrf" value="V6sO2i5S-KfwLU1WLK_kGr2HztjfJxvWW07k">

<input type="hidden" name="token" value="cc7f2728353aef64">

<input type="hidden" name="contentType" value="html">

<div class="write-head">

글쓰기

</div>

<div class="sub-row">

<label for="inputTitle">제목</label>

<input type="text" name="title" class="form-control" id="inputTitle" required maxlength="256">

</div>

<div class="sub-row">

<div class="form-group">

<label for="inputTitle">퀴즈 정답 (10자이내 대소문자 구분x)</label>

<input type="text" name="quiz_answer" class="form-control" id="inputTitle" required maxlength="10">

</div>

<div class="form-group">

<label for="inputTitle">정답 Pt.(최소 100Pt. 수수료 10% 추가 차감됨)</label>

<input type="text" name="quiz_point" class="form-control" id="inputTitle" required maxlength="256">

</div>

</div>

<div class="write-body">

<textarea id="content" name="content"></textarea>

<link href="/static/summernote/summernote-lite.css?1555891730" rel="stylesheet">

<style>

.note-editable img, .note-editable video{

max-width: 100%;

height: auto !important;

}

.note-editable p {

line-height: 2rem;

margin: 0 !important;

}

</style>

<script src="/static/summernote/summernote-lite.js?1555891730"></script>

<script src="/static/summernote/lang/summernote-ko-KR.js"></script>

<script>

var summernote;

$(function() {

var isSupportTouch = (('ontouchstart' in window) ||

      (navigator.MaxTouchPoints > 0) ||

      (navigator.msMaxTouchPoints > 0));

var height = 380;

if(isSupportTouch) height = 250;

summernote = $('#content').summernote({

lang: 'ko-KR',

height: height,

shortcuts: false,

toolbar: [

['style', ['bold', 'italic', 'underline', 'strikethrough', 'color', 'fontsize', 'clear']],

['para', ['ul', 'ol', 'paragraph']],

['insert', ['picture', 'video', 'link', 'table', 'hr']],

['misc', ['codeview', 'undo', 'redo']]

],

callbacks: {

onImageUpload: function(files) {

for (var i = 0; i < files.length; i++) {

                        var file = files[i];

                        if (file.size > 10000000) {

                            alert("파일 크기는 10MB이하로 올려주시기 바랍니다.");

                            return;

                        } else if (['jpeg', 'jpg', 'png', 'gif', 'mp4', 'mov'].indexOf(file.name.split('.').pop().toLowerCase()) === -1) {

                            alert("지원하지 않는 확장자명입니다.");

                            return;

                        }

                    }


                    $("#progress").remove();

                    $('<div id="progress" style="width:100%;height:20px;background-color:#e2e2e2;position:relative"><div style="position:absolute;width:100%;text-align:center;font-weight:bold;color:#FFF">이미지 업로드 중...</div><div id="progressBar" style="background-color:#00b3a1;height:100%;width:0%;text-align:center;"></div></div>').insertBefore("#content");

                    var progress = $("#progress");

                    var progressBar = $("#progressBar");

                    var total = files.length;

                    function doUpload(count) {

                        if (count === total) {

$("#progress").remove();

                            return;

                        }

                        var file = files[count];

                        var inputWidth, inputHeight;

                        var inputWidth = this.width;

                            var inputHeight = this.height;

                            var formData = new FormData;

                            formData.append('upload', file);

                            formData.append('token', document.getElementsByName("token")[0].value);

                            $.ajax({

                                url: "/b/upload",

                                type: 'POST',

                                data: formData,

                                async: true,

                                success: function(data) {

                                    var url = data.url;

var parentNode = document.createElement("div");

var node;

                                    if(file.type.split('/')[1] === "mp4" || file.type.split('/')[1] === "mov") {

node = document.createElement('video');

node.src = url;

node.loop = true;

node.autoplay = false;

node.controls = true;

node.setAttribute("playsinline", "playsinline");

}

else {

node = document.createElement('img');

node.src = url;

}


parentNode.appendChild(node);

summernote.summernote('insertNode', parentNode);

                                    progressBar.width((++count / total) * 100 + "%");

                                    doUpload(count);

                                },

                                error: function(data) {

                                    data = data.responseJSON;

                                    alert(data.error.message);

                                },

                                cache: false,

                                contentType: false,

                                processData: false

                            });

}

doUpload(0);

}

}


});

});

</script>

</div>

<div class="btns">

<button class="btn btn-success" id="submitBtn" type="submit">작성</button>

</div>

</form>

</div>

</article>

</div>

<footer class="footer">

namu.live v2<span class="sep"></span><a href="/cdn-cgi/l/email-protection#493a3c3939263b3d092728243c673e202220">Contáctenos</a><span class="sep"></span>Operado por umanle S.R.L.<span class="sep"></span>Hecho con &lt;3 en Asunción, República del Paraguay

</footer>

<ul class="nav-control">

<li>

<a href="#top" id="goTopBtn">

<span class="ion-arrow-up-b"></span>

</a>

</li>

<li>

<a href="#bottom" id="goBottomBtn">

<span class="ion-arrow-down-b"></span>

</a>

</li>

</ul>

<div class="alert alert-leaf noti-alert" role="alert">

<h5 class="alert-heading">

<span class="ion-android-notifications-none"></span>&nbsp;

새 알림이 있습니다!

<button type="button" class="close" style="margin-top: -0.4rem;">&times;</button>

</h5>

<div class="m-b-0 content"></div>

</div>

</div>

<script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script type="text/javascript" src="/static/assets/js/lib/dateformatter.js?1534978633"></script>

<script type="text/javascript" src="/static/assets/js/layout.js?1546538615 "></script>

<script type="text/javascript" src="/static/assets/js/layout_admin.js?1534978633"></script>

<script type="text/javascript" src="/static/bower_components/firebase/firebase-app.js"></script>

<script type="text/javascript" src="/static/bower_components/firebase/firebase-messaging.js"></script>

<script type="text/javascript" src="/static/assets/js/firebase-foreground.js?1560266321"></script>

<script type="text/javascript" src="/static/assets/js/write.js?1548417124"></script>

<script src="https://www.google.com/recaptcha/api.js?render=explicit&amp;onload=recaptchaOnLoad" async defer></script>

<style>

.grecaptcha-badge { 

float: left;

}

.btn-success {

min-width: 5.5rem !important;

}

</style>

<script>

recaptchaInit("submitBtn", {

sitekey: "6LcDuIwUAAAAAABqGMfC8KCTje-xWbQu9bhvIO3K",

size: "invisible",

badge: "inline",

callback: function() { $("#article_write_form").submit(); },

action: "article"

});

var recaptcha = true;

</script>

</body>

</html>


정답: F12 300Pt.