first commit
This commit is contained in:
175
public/theme/crossmap/templates/partial/comment.php
Executable file
175
public/theme/crossmap/templates/partial/comment.php
Executable file
@@ -0,0 +1,175 @@
|
||||
<!--댓글-->
|
||||
<div class="reply">
|
||||
<div class="reply_tit">댓글
|
||||
<span class="blue" id="comment_count">0</span>
|
||||
<span class="delete">본인 삭제 <span>0</span>
|
||||
<a href="javascript:comment_delete_refresh('5374', '', '1');"><img
|
||||
src="https://crossmap.co.kr/img/web/icon_refresh.gif"></a></span>
|
||||
|
||||
<span class="btn-info float_right" style="padding-left:10px; padding-top:1px;"><a href="javascript:;"
|
||||
class="comment_policy_btn"><img src="https://crossmap.co.kr/img/web/icon_info.gif"></a></span>
|
||||
<span class="btn-tit float_right"><a href="javascript:;" class="comment_policy_btn"
|
||||
style="color: #bcbcbc;">댓글운영정책</a></span>
|
||||
</div>
|
||||
<div class="reply_box">
|
||||
<div class="reply_social">
|
||||
<a href="javascript:change_toggle('login_layer');" style="cursor:pointer"><span class=""><img
|
||||
src="https://crossmap.co.kr/img/web/img_cm_off.gif"></span></a>
|
||||
<a href="javascript:twitter_join('comment')" style="cursor:pointer"><span class="tweet "><img
|
||||
src="https://crossmap.co.kr/img/web/img_tweet_off.gif"></span></a>
|
||||
<a href="javascript:checkLoginState();" style="cursor:pointer"><span class="facebook "><img
|
||||
src="https://crossmap.co.kr/img/web/img_facebook_off.gif"></span></a>
|
||||
<a href="javascript:kakako_login()" style="cursor:pointer"><span class=""><img
|
||||
src="https://crossmap.co.kr/img/web/img_kakao_off.gif"></span></a>
|
||||
<a href="javascript:naver_login()" style="cursor:pointer"><span class=""><img
|
||||
src="https://crossmap.co.kr/img/web/img_naver_off.gif"></span></a>
|
||||
</div>
|
||||
<div class="reply_write">
|
||||
<textarea class="form-control replay_text comment_text" name="comment" id="comment" rows="3" stra=""
|
||||
placeholder="댓글 작성 시 상대방에 대한 배려와 사랑을 담아주세요." style="width:100%;"></textarea>
|
||||
</div>
|
||||
<div class="reply_regist"><span class="reply_no">0/300</span><span class="reply_btn cm-comment-new"
|
||||
style="cursor: pointer">등록</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="reply_sort">
|
||||
<input type="hidden" name="comment_sort" id="comment_sort" value="1">
|
||||
<span><a href="javascript:change_comment_sort(1);" id="comment_sort1">호감순</a></span>
|
||||
<span><a href="javascript:change_comment_sort(2);" class="current" id="comment_sort2">최신순</a></span>
|
||||
</div>
|
||||
<div class="reply_contents">
|
||||
<ul class="reply_list">
|
||||
<div class="comment_box">
|
||||
<div id="comment_list">
|
||||
<?php if(isset($comments) && count($comments)) {?>
|
||||
|
||||
|
||||
|
||||
<?php foreach($comments as $c) { ?>
|
||||
<div class="reply_comment" tabindex="<?php echo $c->commentID?>">
|
||||
<div class="r_info">
|
||||
|
||||
<span class="blue">
|
||||
<?php echo $c->userName?>
|
||||
</span>
|
||||
<span class="r_date">
|
||||
<?php echo $c->datePosted?>
|
||||
<span style="color:#e1e2e2;padding-left:10px;"> |</span>
|
||||
<a href="#">신고</a></span>
|
||||
</div>
|
||||
<div class="r_text"><?php echo $c->comment?></div>
|
||||
<ul class="r_base">
|
||||
<li class="btn btn-default cm-comment-reply-btn" style="color:#000000;cursor: pointer">답글
|
||||
<span id="comment_reply_count248"><?php echo $c->replies?></span></li>
|
||||
<li class="icons2">
|
||||
<span class="thumbup2"><a style="cursor: pointer" class="cm-comment-like"><img
|
||||
src="https://crossmap.co.kr/img/web/img_thumbup.jpg"></a><span><?php echo $c->like?></span></span>
|
||||
<span class="thumbdown2">
|
||||
<a style="cursor: pointer" class="cm-comment-bad"><img
|
||||
src="https://crossmap.co.kr/img/web/img_thumbdown.jpg"></a><span><?php echo $c->bad?></span></span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php } else { ?>
|
||||
<div style="height:100px;text-align:center; line-height:100px;" class="cm-nothng-comment">등록된 댓글이
|
||||
없습니다.</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="viewall" id="comment_all_list" style="float:right; padding:20px 0 30px 0;">
|
||||
<a href="/web/news/column_comment/261">전체 댓글 보기 ></a></div>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 대댓글 -->
|
||||
<div class="reply_box2 cm-reply-s" style="display:none">
|
||||
<div style="height:100px;text-align:center; line-height:100px; " class="cm-nothng-comment">등록된 댓글이 없습니다.</div>
|
||||
<div class="reply_comment" style="display:none">
|
||||
<div class="r_info">
|
||||
<span class="blue">
|
||||
name
|
||||
</span>
|
||||
<span class="r_date">
|
||||
date
|
||||
<span style="color:#e1e2e2;padding-left:10px;"> |</span>
|
||||
<a href="#">신고</a></span>
|
||||
</div>
|
||||
<div class="r_text">comment</div>
|
||||
<ul class="r_base">
|
||||
<li class="icons2">
|
||||
<span class="thumbup2"><a style="cursor: pointer" class="cm-comment-like"><img
|
||||
src="https://crossmap.co.kr/img/web/img_thumbup.jpg"></a><span>0</span></span>
|
||||
<span class="thumbdown2">
|
||||
<a style="cursor: pointer" class="cm-comment-bad"><img
|
||||
src="https://crossmap.co.kr/img/web/img_thumbdown.jpg"></a><span>0</span></span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- div class="reply_close"><a href="#">더보기</a> <img src="https://crossmap.co.kr/img/web/img_replyopen.gif"></div-->
|
||||
|
||||
<ul class="box_wrap2">
|
||||
<li class="r_img2"><img src="https://crossmap.co.kr/img/web/img_reply1.gif">
|
||||
</li>
|
||||
<li class="reply_boxWrap">
|
||||
<div class="reply_box">
|
||||
<div class="reply_social">
|
||||
<a style="cursor:pointer"><span class=""><img
|
||||
src="https://crossmap.co.kr/img/web/img_cm_off.gif"></span></a>
|
||||
<a style="cursor:pointer"><span class="tweet "><img
|
||||
src="https://crossmap.co.kr/img/web/img_tweet_off.gif"></span></a>
|
||||
<a style="cursor:pointer"><span class="facebook "><img
|
||||
src="https://crossmap.co.kr/img/web/img_facebook_off.gif"></span></a>
|
||||
<a style="cursor:pointer"><span class=""><img
|
||||
src="https://crossmap.co.kr/img/web/img_kakao_off.gif"></span></a>
|
||||
<a style="cursor:pointer"><span class=""><img
|
||||
src="https://crossmap.co.kr/img/web/img_naver_off.gif"></span></a>
|
||||
</div>
|
||||
<div class="reply_write">
|
||||
<textarea class="form-control replay_text comment_text" stra="248" rows="3"
|
||||
placeholder="댓글 작성 시 상대방에 대한 배려와 사랑을 담아주세요." style=" width: 590px;"></textarea>
|
||||
</div>
|
||||
<div class="reply_regist">
|
||||
<span class="reply_no">0/300</span><span class="reply_btn"><a style="cursor: pointer"
|
||||
class="reply_btn cm-comment-reply">
|
||||
등록</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="reply_close"><a style="cursor: pointer">댓글
|
||||
접기</a> <img src="https://crossmap.co.kr/img/web/img_replyclose.gif">
|
||||
</div>
|
||||
</div>
|
||||
<!--// 대댓글 -->
|
||||
|
||||
|
||||
|
||||
<div class="reply_comment cm-comment-new-s" style="display:none">
|
||||
<div class="r_info">
|
||||
<span class="blue">
|
||||
nickname
|
||||
</span>
|
||||
<span class="r_date">
|
||||
1999.1.1 02:02:02
|
||||
<span style="color:#e1e2e2;padding-left:10px;"> |</span>
|
||||
<a href="javascript:;">신고</a></span>
|
||||
</div>
|
||||
<div class="r_text">comment</div>
|
||||
<ul class="r_base">
|
||||
<li class="btn btn-default cm-comment-reply-btn" style="color:#000000;cursor: pointer">답글
|
||||
<span id="comment_reply_count248">0</span></li>
|
||||
<li class="icons2">
|
||||
<span class="thumbup2"><a style="cursor: pointer" class="cm-comment-like"><img
|
||||
src="https://crossmap.co.kr/img/web/img_thumbup.jpg"></a><span>0</span></span>
|
||||
<span class="thumbdown2">
|
||||
<a style="cursor: pointer" class="cm-comment-bad"><img
|
||||
src="https://crossmap.co.kr/img/web/img_thumbdown.jpg"></a><span>0</span></span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
7
public/theme/crossmap/templates/partial/login-btn-top.php
Executable file
7
public/theme/crossmap/templates/partial/login-btn-top.php
Executable file
@@ -0,0 +1,7 @@
|
||||
<?php if (getSessionUser()->is) { ?>
|
||||
<a href="#">내 정보</a>
|
||||
<a href="/user/logout">로그아웃</a>
|
||||
<?php } else { ?>
|
||||
<a href="/user/login">로그인</a>
|
||||
<a href="/user/register">회원가입</a>
|
||||
<?php } ?>
|
||||
12
public/theme/crossmap/templates/partial/nav-side.php
Executable file
12
public/theme/crossmap/templates/partial/nav-side.php
Executable file
@@ -0,0 +1,12 @@
|
||||
<div class="offcanvas" aria-hidden="true">
|
||||
<div class="nav-wrap">
|
||||
<button class="btn-close" data-remove=".nav-wrap"><i class="fas fa-times"></i></button>
|
||||
<nav class="site-nav">
|
||||
<ul>
|
||||
<li class=""><a href="/">홈</a></li>
|
||||
<?php echo hooskNav('main','', 1); ?>
|
||||
<li class="login"><a href="/user/login">로그인</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
75
public/theme/crossmap/templates/partial/share-bottom.php
Executable file
75
public/theme/crossmap/templates/partial/share-bottom.php
Executable file
@@ -0,0 +1,75 @@
|
||||
<div class="share-footer">
|
||||
<div class="heart"><a href="">
|
||||
<span class="icon i-heart">
|
||||
<!--[if gte IE 9]><!-->
|
||||
<svg width="31" height="26" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M15.5 25c9-6.328 13.833-12.161 14.5-17.5C31-.508 20.75-2 15.5 6 10.25-2 0-.508 1 7.5c.667 5.339 5.5 11.172 14.5 17.5z"
|
||||
stroke="#aaa" fill="#FFF" fill-rule="nonzero" /></svg>
|
||||
<!--<![endif]-->
|
||||
<!--[if lte IE 8 ]>
|
||||
<img src="<?php echo THEME_FOLDER?>/img/social/heart.png" alt="" width="31" height="26">
|
||||
<![endif]-->
|
||||
</span>
|
||||
<span class="count heart-count">14</span>
|
||||
</a></div>
|
||||
<div class="share-footer-main">
|
||||
<span class="visible-icons">
|
||||
<a href="">
|
||||
<span class="icon i-circle i-facebook">
|
||||
<!--[if gte IE 9]><!-->
|
||||
<svg width="10" height="20" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M6.496 19.13H2.953v-8.745H0V6.988h2.953V4.49c0-1.432.42-2.55 1.26-3.358C5 .377 6.05 0 7.363 0 8.096 0 8.975.039 10 .117v3.045H8.15c-1.103 0-1.654.495-1.654 1.484v2.342h3.386l-.433 3.397H6.496v8.745z"
|
||||
fill="#fff" fill-rule="nonzero" /></svg>
|
||||
<!--<![endif]-->
|
||||
<!--[if lte IE 8 ]>
|
||||
<img src="<?php echo THEME_FOLDER?>/img/social/facebook.png" alt="" width="10" height="20">
|
||||
<![endif]-->
|
||||
</span>
|
||||
</a>
|
||||
<a href="">
|
||||
<span class="icon i-circle i-twitter">
|
||||
<!--[if gte IE 9]><!-->
|
||||
<svg width="17" height="14" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M17 1.63s-.664 1.072-1.738 1.798c.221 4.924-3.381 10.384-9.922 10.384-3.254 0-5.34-1.578-5.34-1.578s2.56.537 5.15-1.42c-2.622-.158-3.254-2.43-3.254-2.43s.727.19 1.58-.063C.537 7.595.664 4.849.664 4.849s.726.442 1.58.442C-.412 3.239 1.168.619 1.168.619s2.402 3.378 7.205 3.662c-.696-3.82 3.697-5.587 5.94-3.188 1.17-.19 2.244-.852 2.244-.852s-.38 1.294-1.549 1.925C15.957 2.103 17 1.629 17 1.629z"
|
||||
fill="#fff" fill-rule="nonzero" /></svg>
|
||||
<!--<![endif]-->
|
||||
<!--[if lte IE 8 ]>
|
||||
<img src="<?php echo THEME_FOLDER?>/img/social/twitter.png" alt="" width="17" height="14">
|
||||
<![endif]-->
|
||||
</span>
|
||||
</a>
|
||||
</span>
|
||||
<span class="hidden-icons">
|
||||
<a href="">
|
||||
<span class="icon i-circle i-kakao">
|
||||
<!--[if gte IE 9]><!-->
|
||||
<svg width="10" height="18" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M.971.925V10H5c0 2-1 3.667-3 5l3 3c2.667-2 4.333-4.667 5-8V.925H.971z" fill="#fff"
|
||||
fill-rule="nonzero" /></svg>
|
||||
<!--<![endif]-->
|
||||
<!--[if lte IE 8 ]>
|
||||
<img src="<?php echo THEME_FOLDER?>/img/social/kakao.png" alt="" width="10" height="18">
|
||||
<![endif]-->
|
||||
</span>
|
||||
</a>
|
||||
<a href="">
|
||||
<span class="icon i-circle i-url">
|
||||
<!--[if gte IE 9]><!-->
|
||||
<svg width="24" height="11" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M7.82.758v6.087c0 1.012-.316 1.811-.949 2.4-.632.588-1.497.882-2.593.882-1.079 0-1.936-.286-2.57-.857-.635-.571-.959-1.356-.972-2.355V.758h1.905v6.1c0 .605.145 1.046.434 1.323.29.278.691.416 1.203.416 1.071 0 1.615-.563 1.632-1.688V.758h1.91zm4.983 5.859h-1.517V10H9.382V.758h3.434c1.092 0 1.934.243 2.526.73.593.486.889 1.174.889 2.063 0 .63-.137 1.156-.41 1.577-.272.421-.686.757-1.24 1.006l2 3.777V10h-2.045l-1.733-3.383zm-1.517-1.543h1.536c.478 0 .849-.121 1.111-.365.262-.243.394-.578.394-1.006 0-.436-.124-.779-.372-1.028-.247-.25-.627-.375-1.14-.375h-1.529v2.774zm8.297 3.396h4.043V10h-5.948V.758h1.905V8.47z"
|
||||
fill="#fff" fill-rule="nonzero" /></svg>
|
||||
<!--<![endif]-->
|
||||
<!--[if lte IE 8 ]>
|
||||
<img src="<?php echo THEME_FOLDER?>/img/social/url.png" alt="" width="24" height="11">
|
||||
<![endif]-->
|
||||
</span>
|
||||
</a>
|
||||
</span>
|
||||
<span class="icon i-circle i-toggle" data-toggle=".share-footer-main .hidden-icons">
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
61
public/theme/crossmap/templates/partial/share-left.php
Executable file
61
public/theme/crossmap/templates/partial/share-left.php
Executable file
@@ -0,0 +1,61 @@
|
||||
<div class="shareline">
|
||||
<ul>
|
||||
<li class="comment"><a href="">
|
||||
<span class="icon i-comment active">
|
||||
<!--[if gte IE 9]><!-->
|
||||
<svg width="29" height="25" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M19.5 23.709V17.5H27a1.5 1.5 0 0 0 1.5-1.5V2A1.5 1.5 0 0 0 27 .5H2A1.5 1.5 0 0 0 .5 2v14.017a1.5 1.5 0 0 0 1.487 1.5l11.966.104 5.547 6.088z"
|
||||
stroke="#aaa" fill="#fff" fill-rule="nonzero" /></svg>
|
||||
<!--<![endif]-->
|
||||
<!--[if lte IE 8 ]>
|
||||
<img src="<?php echo THEME_FOLDER?>/img/social/comment.png" alt="" width="29" height="25">
|
||||
<![endif]-->
|
||||
</span>
|
||||
<span class="count comment-count">376</span>
|
||||
</a></li>
|
||||
<li class="heart"><a href="">
|
||||
<span class="icon i-heart active">
|
||||
<!--[if gte IE 9]><!-->
|
||||
<svg width="31" height="26" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M15.5 25c9-6.328 13.833-12.161 14.5-17.5C31-.508 20.75-2 15.5 6 10.25-2 0-.508 1 7.5c.667 5.339 5.5 11.172 14.5 17.5z"
|
||||
stroke="#aaa" fill="#fff" fill-rule="nonzero" /></svg>
|
||||
<!--<![endif]-->
|
||||
<!--[if lte IE 8 ]>
|
||||
<img src="<?php echo THEME_FOLDER?>/img/social/heart.png" alt="" width="31" height="26">
|
||||
<![endif]-->
|
||||
</span>
|
||||
<span class="count heart-count">52</span>
|
||||
</a></li>
|
||||
<li class="facebook"></li>
|
||||
<li class="twitter"></li>
|
||||
<li class="pinterest"></li>
|
||||
<li class="kakao"><a href="">
|
||||
<span class="icon i-circle i-kakao">
|
||||
<!--[if gte IE 9]><!-->
|
||||
<svg width="10" height="18" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M.971.925V10H5c0 2-1 3.667-3 5l3 3c2.667-2 4.333-4.667 5-8V.925H.971z" fill="#fff"
|
||||
fill-rule="nonzero" /></svg>
|
||||
<!--<![endif]-->
|
||||
<!--[if lte IE 8 ]>
|
||||
<img src="<?php echo THEME_FOLDER?>/img/social/kakao.png" alt="" width="10" height="18">
|
||||
<![endif]-->
|
||||
</span>
|
||||
<span class="count kakao-count"></span>
|
||||
</a></li>
|
||||
<li class="url"><a href="">
|
||||
<span class="icon i-circle i-url">
|
||||
<!--[if gte IE 9]><!-->
|
||||
<svg width="24" height="11" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M7.82.758v6.087c0 1.012-.316 1.811-.949 2.4-.632.588-1.497.882-2.593.882-1.079 0-1.936-.286-2.57-.857-.635-.571-.959-1.356-.972-2.355V.758h1.905v6.1c0 .605.145 1.046.434 1.323.29.278.691.416 1.203.416 1.071 0 1.615-.563 1.632-1.688V.758h1.91zm4.983 5.859h-1.517V10H9.382V.758h3.434c1.092 0 1.934.243 2.526.73.593.486.889 1.174.889 2.063 0 .63-.137 1.156-.41 1.577-.272.421-.686.757-1.24 1.006l2 3.777V10h-2.045l-1.733-3.383zm-1.517-1.543h1.536c.478 0 .849-.121 1.111-.365.262-.243.394-.578.394-1.006 0-.436-.124-.779-.372-1.028-.247-.25-.627-.375-1.14-.375h-1.529v2.774zm8.297 3.396h4.043V10h-5.948V.758h1.905V8.47z"
|
||||
fill="#fff" fill-rule="nonzero" /></svg>
|
||||
<!--<![endif]-->
|
||||
<!--[if lte IE 8 ]>
|
||||
<img src="<?php echo THEME_FOLDER?>/img/social/url.png" alt="" width="24" height="11">
|
||||
<![endif]-->
|
||||
</span>
|
||||
</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
Reference in New Issue
Block a user