Commit 14853135 authored by platyhouse's avatar platyhouse

.

parent aa7dbba3
......@@ -134,4 +134,50 @@
<!-- /.box-body -->
</div>
</div>
</div>
<?php
$abuseComments = $this->db->sql_list ("
select id, parentId, content from t_board_common where abuseComment = 1
limit 100
");
?>
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">신고 댓글 목록</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
</div>
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="table-responsive">
<table class="table no-margin">
<thead>
<tr>
<th width="100">글번호</th>
<th>내용</th>
</tr>
</thead>
<tbody>
<? foreach ($abuseComments as $item) {
$content = html_entity_decode($item['content']);
?>
<tr>
<td><span class="label label-info"><?=$item['parentId']?></span></td>
<td><?=$content?><a class='btn btn-xs btn-danger' href="<?=$this->request->appUrl?>/board/board/edit/?id=<?=$item['parentId']?>&ptyScrollToId=commentId_{$item['id']}">이동</a></td>
</tr>
<? } ?>
<? if (!count($abuseComments)) { ?>
<tr><td colspan='2' align='center'>댓글 신고 내역이 없습니다.</td></tr>
<? }?>
</tbody>
</table>
</div>
<!-- /.table-responsive -->
</div>
</div>
\ No newline at end of file
......@@ -148,6 +148,10 @@
<button type="button" itemId=<?=$commentItem->id?> class="btnEnableComment pull-right btn btn-warning btn-xs"><i class="fa fa-normal"></i> 노출</button>
<del><?= nl2br($commentItem->content) ?></del>
<? } ?>
<? if ($commentItem->abuseComment == 1) { ?>
<span class="label bg-red pull-left btn-xs"> 신고됨</span>
<? } ?>
<Br>
</div>
<!-- /.comment-text -->
......
<?php
/**
* @var $termsMemberJoin
* @var $termsMemberPrivacy
* @var $appName
*/
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>관리자</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Google Font -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
<!-- jQuery 3 -->
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
</head>
<style type="text/css">
p, li, ul, img, a, div, input, select, div, dl, dd, dt, h1, a, h1, h2, h3, h4, h5, h6 {
}
html {
}
body {
margin: 0;
padding: 0;
font-family: '나눔고딕', 'NanumGothic', sans-serif;
font-size: 12px;
}
ol, li, dl, dd, dt {
list-style: none !important;
}
a {
text-decoration: none;
}
img {
border: none;
}
table {
border-collapse: collapse;
}
* {
-webkit-text-size-adjust: none;
}
h2 {
color: #a8a8a8;
padding: 2% 0 2% 0;
font-size: 14px;
border-bottom: 2px solid #ccc;
font-weight: 600;
margin-bottom: 2%;
}
.top_div {
width: 95%;
clear: both;
margin: 0 auto;
}
.top_btns {
width: 49%;
float: left;
cursor: pointer;
text-align: center;
padding: 10px 0px;
font-size: 13pt;
border: 1px solid #dddddd;
background-color: #f0f0f0;
}
#top {
text-align: center;
padding: 10px 0px;
}
#top img {
width: 50%;
}
.content_div {
width: 100%;
height: 100%;
margin: 0 auto;
}
.doc_divs {
width: 100%;
margin: 0 auto;
#border: 1px solid gray;
#font-size: 25pt;
}
.html_content {
padding: 0 3%;
}
</style>
</head>
</script>
<script>
function view(doc_name) {
$(".doc_divs").css('display', 'none');
$("#" + doc_name).css('display', 'block');
}
</script>
<body>
<div id="total_div">
<div class="top_div">
<div id="top">
<h1>회원 가입 약관</h1>
</div>
</div>
<div class="content_div">
<?= $termsMemberJoin ?>
</div>
</div>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment