Commit 83d19e16 authored by platyhouse's avatar platyhouse

.

parent 689bea06
No preview for this file type
<div class="row">
<div class="col-xs-12">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">FAQ</h3>
<div class="box-tools">
<div class="input-group input-group-sm" style="width: 150px;">
<input type="text" name="table_search" class="form-control pull-right" placeholder="Search">
<div class="input-group-btn">
<button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
</div>
</div>
</div>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive xno-padding">
<table class="table table-bordered table-hover">
<tbody><tr>
<th width="100">ID</th>
<th width="200">등록일</th>
<th>제목</th>
</tr>
<? foreach ($items as $item) { ?>
<tr>
<td><?=$item->id?></td>
<td><?=$item->regDateTime?></td>
<td><a href="<?=$this->request->classUrl?>/item/?id=<?=$item->id?>"><?=$item->title?></a></td>
</tr>
<? } ?>
</tbody>
</table>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
</div>
......@@ -2,7 +2,7 @@
<div class="col-xs-12">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">FAQ</h3>
<h3 class="box-title">공지사항</h3>
<div class="box-tools">
<div class="input-group input-group-sm" style="width: 150px;">
......@@ -15,11 +15,11 @@
</div>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding">
<table class="table table-hover">
<div class="box-body table-responsive xno-padding">
<table class="table table-bordered table-hover">
<tbody><tr>
<th>ID</th>
<th>등록일</th>
<th width="100">ID</th>
<th width="200">등록일</th>
<th>제목</th>
</tr>
<? foreach ($items as $item) { ?>
......
No preview for this file type
<!-- /.col -->
<?
?>
<!-- Facebook comments begins -->
<!-- Facebook comments finished -->
<!--<script id="cosmosfarm-comments-script" type="text/javascript" src="/admin/a.js"></script>-->
<!--<div id="cosmosfarm-comments" data-plugin-id="1918112647719681" data-href="http://www.cosmosfarm.com/plugin/comments?page=index" data-width="475" data-row="3"><a href="http://www.cosmosfarm.com/plugin/comments">코스모스팜 소셜댓글</a></div>-->
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border">
<? if ($item->parentId != 0) { ?>
<h3 class="box-title">답변 내용 보기</h3>
<? } else { ?>
<h3 class="box-title">문의 내용 보기</h3>
<? } ?>
<div class="pull-right">
<!-- <button type="button" class="btn btn-default"><i class="fa fa-list"></i> 문의 목록으로 이동</button>-->
</div>
</div>
<!-- /.box-header -->
<form class="form-horizontal">
<div class="box-body">
<? if ($item->parentId == 0) { ?>
<div class="form-group">
<label for="inputEmail3" class="col-sm-2 control-label">제목</label>
<div class="col-sm-10">
<input type="email" class="form-control" readonly value="<?=$item->title?>">
</div>
</div>
<div class="form-group">
<label for="inputEmail3" class="col-sm-2 control-label">연락처</label>
<div class="col-sm-10">
<input type="email" class="form-control" readonly value="<?=$item->phoneNumber?>">
</div>
</div>
<div class="form-group">
<label for="inputEmail3" class="col-sm-2 control-label">이메일</label>
<div class="col-sm-10">
<input type="email" class="form-control" readonly value="<?=$item->email?>">
</div>
</div>
<? } ?>
<div class="form-group">
<label for="inputEmail3" class="col-sm-2 control-label">제목</label>
<div class="col-sm-10">
<input type="email" class="form-control" readonly value="<?=$item->title?>">
</div>
</div>
<div class="form-group">
<label for="inputEmail3" class="col-sm-2 control-label">내용</label>
<div class="col-sm-10">
<textarea name=content id="compose-textarea" class="form-control" readonly style="height: 300px"><?=$item->content?></textarea>
</div>
</div>
</div>
<!-- /.box-body -->
<div class="box-footer">
<div class="pull-right">
<a href='<?=$this->request->classUrl?>/items/' type="button" class="btn btn-default"><i class="fa fa-list"></i> 문의 목록으로 이동</a>
</div>
</div>
</form>
<!-- /.box-footer -->
</div>
<!-- /. box -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
<!-- Bootstrap WYSIHTML5 -->
<script src="../../plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
<!-- Page Script -->
<script>
$(function () {
//Add text editor
$("#compose-textarea").wysihtml5();
$( "#xfrm" ).submit(function( event ) {
event.preventDefault();
ptyFormPost(this, '<?=$this->request->classUrl?>/registerProcess/', function (result) {
alert(result);
});
});
});
</script>
\ No newline at end of file
<div class="row">
<div class="col-xs-12">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">나의 스토리쉐어 서비스 문의 내역</h3>
<div class="box-tools">
<div class="input-group input-group-sm" style="width: 150px;">
</div>
</div>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive xno-padding">
<table class="table table-bordered table-hover">
<tbody><tr>
<th width="100">ID</th>
<th width="200">등록일</th>
<th width="200">상태</th>
<th>제목</th>
</tr>
<? foreach ($items as $item) { // ptyDebug($item); ?>
<tr>
<td><?=$item->id?></td>
<td><?=$item->regDateTime?></td>
<td><?php
if ($item->parentId == 0 && $item->replyCount == 0) echo "<span class=\"label label-warning\">답변대기중</span>";
else if ($item->parentId == 0 && $item->replyCount != 0) echo "<span class=\"label label-primary\">답변완료</span>";
else if ($item->parentId) echo "";
?>
</td>
<td><a href="<?=$this->request->classUrl?>/item/?id=<?=$item->id?>"><?=$item->title?></a></td>
</tr>
<? } ?>
<? if (!count($items)) { ?>
<tr>
<td align=center colspan="3">문의 내용이 없습니다.</td>
</tr>
<? } ?>
</tbody>
</table>
</div>
<!-- /.box-body -->
<div class="box-footer">
<div class="pull-right">
<a href='<?=$this->request->classUrl?>/items/' type="button" class="btn btn-default"><i class="fa fa-list"></i> 문의 목록으로 이동</a>
</div>
<a href='<?=$this->request->classUrl?>/register/' type="submit" class="btn btn-primary"><i class="fa fa-envelope-o"></i> 문의하기</a>
</div>
</div>
<!-- /.box -->
</div>
</div>
<!-- /.col -->
<?
?>
<!-- Facebook comments begins -->
<!-- Facebook comments finished -->
<!--<script id="cosmosfarm-comments-script" type="text/javascript" src="/admin/a.js"></script>-->
<!--<div id="cosmosfarm-comments" data-plugin-id="1918112647719681" data-href="http://www.cosmosfarm.com/plugin/comments?page=index" data-width="475" data-row="3"><a href="http://www.cosmosfarm.com/plugin/comments">코스모스팜 소셜댓글</a></div>-->
<? // ptyDebug($item); ?>
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">앱 서비스, Admin 등 운영에 관한 문의를 하실 수 있습니다.</h3>
<div class="pull-right">
<!-- <button type="button" class="btn btn-default"><i class="fa fa-list"></i> 문의 목록으로 이동</button>-->
</div>
</div>
<!-- /.box-header -->
<form id="frm" method="post" action="<?= $this->request->classUrl ?>/registerProcess/" enctype="multipart/form-data">
<div class="box-body">
<div class="form-group">
<input class="form-control" name=name placeholder="이름 :" value="<?=$item->name?>">
</div>
<div class="form-group">
<input class="form-control" name=phoneNumber placeholder="휴대폰 또는 전화번호 :" value="<?=$item->phoneNumber?>">
</div>
<div class="form-group">
<input class="form-control" name=email placeholder="이메일 주소 :" value="<?=$item->email?>">
</div>
<div class="form-group">
<input class="form-control" name=title placeholder="제목 :">
</div>
<div class="form-group">
<textarea name=content id="compose-textarea" class="form-control" style="height: 300px">
<p>안녕하세요. '<?=$this->config->system->appName?>' 에서 문의 드립니다.</p>
<p>이곳에 문의 내용을 작성해 주세요</p>
</textarea>
</div>
<!--
<div class="form-group">
<div class="btn btn-default btn-file">
<i class="fa fa-paperclip"></i> 첨부파일
<input type="file" name="attachment">
</div>
<p class="help-block">Max. 32MB</p>
</div>
-->
</div>
<!-- /.box-body -->
<div class="box-footer">
<div class="pull-right">
<a href='<?=$this->request->classUrl?>/items/' type="button" class="btn btn-default"><i class="fa fa-list"></i> 문의 목록으로 이동</a>
</div>
<button type="submit" class="btn btn-primary"><i class="fa fa-envelope-o"></i> 문의하기</button>
</div>
</form>
<!-- /.box-footer -->
</div>
<!-- /. box -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
<!-- Bootstrap WYSIHTML5 -->
<script src="../../plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
<!-- Page Script -->
<script>
$(function () {
//Add text editor
$("#compose-textarea").wysihtml5();
$( "#xfrm" ).submit(function( event ) {
event.preventDefault();
ptyFormPost(this, '<?=$this->request->classUrl?>/registerProcess/', function (result) {
alert(result);
});
});
});
</script>
\ No newline at end of file
<div class="box box-info">
<div class="box-header">
<h3 class="box-title">최근 푸쉬 전송 이력</h3>
<div class="box-tools pull-right"></div>
</div>
<!-- /.box-header -->
<div class="box-body no-padding">
<table class="table">
<tbody>
<tr>
<th width="10%" style="width: 10px">#</th>
<th width="10%">전송 일시</th>
<th width="10%">전송여부</th>
<th width="10%">제목</th>
<th width="">내용</th>
<th width="">상세</th>
</tr>
<?
foreach ($pushHistories as $subItem) {
?>
<tr>
<td><?= $subItem->id ?></td>
<td><?= $subItem->regDateTime ?></td>
<td><? switch ($subItem->sendStatus)
{
case "1": { echo "발송성공"; break; }
case "0": { echo "발송실패"; break; }
case "-2": { echo "전송대기중"; break; }
}
?>
</td>
<td><?= $subItem->title ?></td>
<td><?= $subItem->content ?></td>
<td><?= nl2br($subItem->errorMessage) ?></td>
</tr>
<? } ?>
</tbody>
</table>
</div>
<!-- /.box-body -->
</div>
\ No newline at end of file
......@@ -21,7 +21,7 @@
<div class="pull-right hidden-xs">
<!-- <b>Mail to</b> : cpueblo@platyhouse.com, http://www.platyhouse.com-->
</div>
<strong><a href="http://platyhouse.com/"><?=$this->config->system->appName?> Administrator</a>. 관리자페이지 문의 : 010-7539-7017(매니져). </strong> storyShare PlatyFramework v1.3.5 All rights reserved.
<strong><a href="http://platyhouse.com/"><?=$this->config->system->appName?> Administrator</a>. 관리자페이지 문의 : 010-7539-7017(매니져). </strong> storyShare PlatyFramework v1.3.6 All rights reserved.
</footer>
<div class="modal fade" id="removeDialog">
<div class="modal-dialog">
......
......@@ -108,6 +108,8 @@ function getSidebarMenus($list, $parent){
<link rel="stylesheet" href="<?=$resourceUrl?>/plugins/daterangepicker/daterangepicker-bs3.css">
<!-- bootstrap wysihtml5 - text editor -->
<link rel="stylesheet" href="<?=$resourceUrl?>/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">
<!-- Select2 -->
<link rel="stylesheet" href="<?=$resourceUrl?>/plugins/select2/select2.css">
<!-- jQuery 2.2.0 -->
<script src="<?=$resourceUrl?>/plugins/jQuery/jQuery-2.2.0.min.js"></script>
......@@ -168,6 +170,11 @@ function getSidebarMenus($list, $parent){
<script src="<?=$resourceUrl?>/plugins/datetimepicker-master/build/jquery.datetimepicker.full.min.js"></script>
<link rel="stylesheet" type="text/css" href="<?=$resourceUrl?>/plugins/datetimepicker-master/jquery.datetimepicker.css"/ >
<!-- Select2 -->
<script src="<?=$resourceUrl?>/plugins/select2/select2.full.js"></script>
</head>
......@@ -402,6 +409,8 @@ function getSidebarMenus($list, $parent){
<li><a href="#"><i class="fa fa-circle-o text-yellow"></i> <span>Warning</span></a></li>
<li><a href="#"><i class="fa fa-circle-o text-aqua"></i> <span>Information</span></a></li>
<? */ ?>
<?=$this->callAction("onAdminLeftMenuBottom", $this);?>
</ul>
</section>
<!-- /.sidebar -->
......
<?
/** @var platyFramework\ptyForms $form */
?>
<style>
.select2-container--default .select2-selection--multiple .select2-selection__choice {
background-color: #3c8dbc;
border-color: #367fa9;
padding: 1px 10px;
color: #fff;
}
</style>
<script src="/lib/ckeditor/ckeditor.js"></script>
<div class="row">
<div class="col-md-12">
<? echo $this->callAction("onAdminUserEditTopView"); ?>
<!-- Horizontal Form -->
<div class="box box-info">
<form class="form-horizontal" method="post" action="<?= $postUrl ?>" enctype="multipart/form-data">
......@@ -22,6 +31,24 @@
<?= $form->getInput("비밀번호변경", "*password"); ?>
<?= $form->getSelect("관리자여부", "isAdmin", array("관리자" => "1", "일반회원" => 0)); ?>
<?= $form->getFile("프로필이미지", "profileImageUrl"); ?>
<? if (false) { ?>
<?= $form->addSelectName("userGroupTag")?>
<div class="form-group">
<label class="col-sm-2 control-label">소속그룹</label>
<div class="col-sm-10">
<select name='item[userGroupTag][]' class="form-control select2" multiple="multiple" data-placeholder="선택하세요" style="width: 100%;">
<option>Alabama</option>
<option>Alaska</option>
<option>California</option>
<option>Delaware</option>
<option>Tennessee</option>
<option>Texas</option>
<option>Washington</option>
</select>
</div>
</div>
<? } ?>
</div>
</div>
<div class="box-footer">
......@@ -30,6 +57,7 @@
</div>
</form>
</div>
<div class="box box-info">
<div class="box-header">
<h3 class="box-title">최근 글 및 댓글</h3>
......@@ -76,6 +104,7 @@
<!-- /.box-body -->
</div>
<div class="box box-info">
<div class="box-header">
<h3 class="box-title">로그인 이력</h3>
......@@ -107,48 +136,6 @@
<!-- /.box-body -->
</div>
<? if (1) { ?>
<div class="box box-info">
<div class="box-header">
<h3 class="box-title">포인트 이력</h3>
<div class="box-tools pull-right">
<a href="<?= $this->request->appUrl ?>/user/point/?slc[t_user.userId]=<?= urlencode($item->userId) ?>">
<span class="label label-danger">더보기</span>
</a>
</div>
</div>
<!-- /.box-header -->
<div class="box-body no-padding">
<table class="table">
<tbody>
<tr>
<th style="width: 10px">#</th>
<th>일자</th>
<th>분류</th>
<th>사용/적립처</th>
<th>지급/차감</th>
<th>지급포인트</th>
<th>차감포인트</th>
<th>최종포인트</th>
</tr>
<?
foreach ($points as $item) {
?>
<tr>
<td><?= $item->id ?></td>
<td><?= $item->regDateTime ?></td>
<td><?= $item->userKey1 ?></td>
<td><?= $item->title ?></td>
<td><?= $item->point > 0 ? "<span class='badge bg-green'>적립</span>" : "<span class='badge bg-blue'>사용</span>" ?></td>
<td><?= $item->point > 0 ? number_format($item->point) : ''; ?></td>
<td><?= $item->point < 0 ? number_format($item->point) : ''; ?></td>
<td><?= number_format($item->balance) ?></td>
</tr>
<? } ?>
</tbody>
</table>
</div>
<!-- /.box-body -->
</div>
<? } ?>
<? if (0) { ?>
<div class="box box-success">
......@@ -254,5 +241,8 @@
</div>
<? } ?>
<? echo $this->callAction("onAdminUserEditBottomView", $this); ?>
</div>
</div>
No preview for this file type
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