Jang SeonGeun
6 years ago
12 changed files with 316 additions and 144 deletions
-
27_src/admin/scss/_variables.scss
-
1_src/admin/scss/admin.scss
-
10_src/admin/scss/common/_layout.scss
-
4_src/admin/scss/components/_buttons.scss
-
92_src/admin/scss/components/_form.scss
-
41_src/admin/scss/components/_pagination.scss
-
2public_html/assets/css/admin.min.css
-
2public_html/assets/css/admin.min.css.map
-
2wheeparam/application/helpers/admin_helper.php
-
8wheeparam/application/libraries/Paging.php
-
8wheeparam/views/themes/admin/management/popup.php
-
261wheeparam/views/themes/admin/members/lists.php
@ -0,0 +1,41 @@ |
|||||
|
.pagination { |
||||
|
display:block; |
||||
|
width:100%; |
||||
|
text-align:center; |
||||
|
list-style:none; |
||||
|
margin:0; |
||||
|
padding:0; |
||||
|
font-size:0; |
||||
|
|
||||
|
li { |
||||
|
display:inline-block; |
||||
|
font-size:0; |
||||
|
margin:0 3px; |
||||
|
|
||||
|
a, |
||||
|
span { |
||||
|
display:block; |
||||
|
font-size:15px; |
||||
|
color:#979797; |
||||
|
padding:5px 10px; |
||||
|
background-color:#f4f8f9; |
||||
|
border-radius:2px; |
||||
|
border:1px solid #979797; |
||||
|
} |
||||
|
|
||||
|
&.active { |
||||
|
a, span { |
||||
|
background-color:$brand-primary; |
||||
|
color:#fff; |
||||
|
border-color:$brand-primary; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
&.disabled { |
||||
|
a,span { |
||||
|
cursor:not-allowed; |
||||
|
opacity:0.4; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
2
public_html/assets/css/admin.min.css
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
2
public_html/assets/css/admin.min.css.map
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,129 +1,156 @@ |
|||||
<div class="page-header"> |
<div class="page-header"> |
||||
<h1 class="page-title">회원 목록</h1> |
|
||||
|
<h1 class="page-title">회원 목록<small>회원관리 > 회원목록</small></h1> |
||||
</div> |
</div> |
||||
|
|
||||
<?=form_open(NULL, array("method"=>'get','class'=>'form-flex','autocomplete'=>'off'))?>
|
|
||||
<div class="form-group"> |
|
||||
<label class="control-label">기간 검색</label> |
|
||||
<div class="controls"> |
|
||||
<select class="form-control form-control-inline" name="sdate"> |
|
||||
<option value="regtime">가입일</option> |
|
||||
<option value="logtime">최근로그인</option> |
|
||||
</select> |
|
||||
<input class="form-control form-control-inline" name="startdate" data-toggle="datepicker" value=""> |
|
||||
<input class="form-control form-control-inline" name="enddate" data-toggle="datepicker" value=""> |
|
||||
|
<div class="box"> |
||||
|
<?=form_open(NULL, array("method"=>'get','class'=>'form-flex','autocomplete'=>'off'))?>
|
||||
|
<div data-ax-tbl> |
||||
|
<div data-ax-tr> |
||||
|
<div data-ax-td> |
||||
|
<div data-ax-td-label>기간 검색</div> |
||||
|
<div data-ax-td-wrap> |
||||
|
<select class="form-control form-control-sm" name="sdate"> |
||||
|
<option value="regtime">가입일</option> |
||||
|
<option value="logtime">최근로그인</option> |
||||
|
</select> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div data-ax-td> |
||||
|
<div data-ax-td-wrap> |
||||
|
<input class="form-control form-control-sm" name="startdate" data-toggle="datepicker" value=""> |
||||
|
</div> |
||||
|
<div data-ax-td-wrap> |
||||
|
<input class="form-control form-control-sm" name="enddate" data-toggle="datepicker" value=""> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div data-ax-td> |
||||
|
<div data-ax-td-label>권한 그룹</div> |
||||
|
<div data-ax-td-wrap> |
||||
|
<select class="form-control form-control-sm" name="mem_auth"> |
||||
|
<option value="">전체보기</option> |
||||
|
<?php for($i=1; $i<=10; $i++) :?>
|
||||
|
<option value="<?=$i?>"><?=$i?></option>
|
||||
|
<?php endfor;?>
|
||||
|
</select> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div data-ax-tr> |
||||
|
<div data-ax-td> |
||||
|
<div data-ax-td-label>검색</div> |
||||
|
<div data-ax-td-wrap> |
||||
|
<select class="form-control form-control-sm" name="sc"> |
||||
|
<option value="mem_nickname">닉네임</option> |
||||
|
<option value="mem_userid">아이디</option> |
||||
|
</select> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div data-ax-td> |
||||
|
<div data-ax-td-wrap> |
||||
|
<input class="form-control form-control-sm" name="st" value=""> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div data-ax-tr> |
||||
|
<div data-ax-td> |
||||
|
<div data-ax-td-label>필터적용</div> |
||||
|
<div data-ax-td-wrap> |
||||
|
<button class="btn btn-default btn-sm"><i class="far fa-search"></i> 필터적용</button> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
</div> |
</div> |
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="control-label">권한</label> |
|
||||
<div class="controls"> |
|
||||
<select class="form-control form-control-inline" name="mem_auth"> |
|
||||
<option value="">전체보기</option> |
|
||||
<?php for($i=1; $i<=10; $i++) :?>
|
|
||||
<option value="<?=$i?>"><?=$i?></option>
|
|
||||
<?php endfor;?>
|
|
||||
</select> |
|
||||
</div> |
|
||||
</div> |
|
||||
|
|
||||
<div class="form-group"> |
|
||||
<label class="control-label">검색어 입력</label> |
|
||||
<div class="controls"> |
|
||||
<select class="form-control form-control-inline" name="sc"> |
|
||||
<option value="mem_nickname">닉네임</option> |
|
||||
<option value="mem_userid">아이디</option> |
|
||||
</select> |
|
||||
<input class="form-control form-control-inline" name="st" value=""> |
|
||||
<button class="btn btn-default btn-lg">필터적용</button> |
|
||||
</div> |
|
||||
</div> |
|
||||
<?=form_close()?>
|
|
||||
|
<?=form_close()?>
|
||||
|
|
||||
<div class="H10"></div> |
|
||||
|
<div class="H10"></div> |
||||
|
|
||||
<div class="ax-button-group"> |
|
||||
<div class="left"> |
|
||||
<button type="button" class="btn btn-default btn-xs"><i class="far fa-gift"></i> 선택 <?=$this->site->config('point_name')?> 지급</button>
|
|
||||
<button type="button" class="btn btn-default btn-xs"><i class="far fa-mobile-phone"></i> 선택 SMS 발송</button> |
|
||||
<button type="button" class="btn btn-default btn-xs"><i class="far fa-envelope-o"></i> 선택 메일 발송</button> |
|
||||
|
<div class="ax-button-group"> |
||||
|
<div class="left"> |
||||
|
<h4>회원 검색결과 <small>(<?=number_format($member_list['total_count'])?> 명)</small></h4>
|
||||
|
</div> |
||||
</div> |
</div> |
||||
</div> |
|
||||
|
|
||||
<div data-ax5grid> |
|
||||
<table> |
|
||||
<thead> |
|
||||
<tr> |
|
||||
<th class="W50 hidden-xs"><input type="checkbox" data-checkbox="member" data-checkbox-all="true"></th> |
|
||||
<th>아이디</th> |
|
||||
<th>닉네임</th> |
|
||||
<th class="">E-mail</th> |
|
||||
<th class="W50">상태</th> |
|
||||
<th class="W50">권한</th> |
|
||||
<th class="W100"><?=$this->site->config('point_name')?></th>
|
|
||||
<th class="W50">이메일</th> |
|
||||
<th class="W50">SMS</th> |
|
||||
<th class="hidden-x">소셜연동</th> |
|
||||
<th class="hidden-xs W100">가입일</th> |
|
||||
<th class="hidden-xs W125">가입 IP</th> |
|
||||
<th class="hidden-xs W150">최근로그인</th> |
|
||||
<th class="hidden-xs W125">최근로그인 IP</th> |
|
||||
</tr> |
|
||||
</thead> |
|
||||
<tbody> |
|
||||
<?php foreach($member_list['list'] as $row) :?>
|
|
||||
<tr> |
|
||||
<td class="text-center hidden-xs"><input type="checkbox" data-checkbox="member" name="mem_idx[]" value="<?=$row['mem_idx']?>"></td> |
|
||||
<td><?=$row['mem_userid']?></td>
|
|
||||
<td><?=$row['mem_nickname']?><?=display_member_menu($row['mem_idx'], '<i class="far fa-cog"></i>', $row['mem_status'])?></td>
|
|
||||
<td><?=$row['mem_email']?></td>
|
|
||||
<td class="text-center"> |
|
||||
<?php if($row['mem_status'] == 'Y') : ?>
|
|
||||
<label class="label label-success">정상</label> |
|
||||
<?php elseif ($row['mem_status'] == 'B') :?>
|
|
||||
<label class="label label-danger">금지</label> |
|
||||
<?php elseif ($row['mem_status'] == 'H') :?>
|
|
||||
<label class="label label-warning">휴면</label> |
|
||||
<?php else :?>
|
|
||||
<label class="label label-default">탈퇴</label> |
|
||||
<?php endif;?>
|
|
||||
</td> |
|
||||
<td class="text-center"><?=$row['mem_auth']?></td>
|
|
||||
<td class="text-right"><?=number_format($row['mem_point'])?></td>
|
|
||||
<td class="text-center"><?=$row['mem_recv_email']=='Y'?'<label class="label label-success">수신</label>':'<label class="label label-default">미수신</label>'?></td>
|
|
||||
<td class="text-center"><?=$row['mem_recv_sms']=='Y'?'<label class="label label-success">수신</label>':'<label class="label label-default">미수신</label>'?></td>
|
|
||||
<td class="text-center hidden-xs"> |
|
||||
<?php if($row['social_naver']) : ?>
|
|
||||
<img src="<?=base_url('assets/images/social/icon_naver.png')?>" style="width:22px;"> |
|
||||
<?php endif;?>
|
|
||||
<?php if($row['social_facebook']) : ?>
|
|
||||
<img src="<?=base_url('assets/images/social/icon_facebook.png')?>" style="width:22px;"> |
|
||||
<?php endif;?>
|
|
||||
<?php if($row['social_google']) : ?>
|
|
||||
<img src="<?=base_url('assets/images/social/icon_google.png')?>" style="width:22px;"> |
|
||||
<?php endif;?>
|
|
||||
<?php if($row['social_kakao']) : ?>
|
|
||||
<img src="<?=base_url('assets/images/social/icon_kakao.png')?>" style="width:22px;"> |
|
||||
<?php endif;?>
|
|
||||
</td> |
|
||||
<td class="hidden-xs text-center"><?=date('Y.m.d', strtotime($row['mem_regtime']))?></td>
|
|
||||
<td class="hidden-xs text-center"><?=long2ip($row['mem_regip'])?></td>
|
|
||||
<td class="hidden-xs text-center"><?=date('Y.m.d H:i', strtotime($row['mem_logtime']))?></td>
|
|
||||
<td class="hidden-xs text-center"><?=long2ip($row['mem_logip'])?></td>
|
|
||||
</tr> |
|
||||
<?php endforeach;?>
|
|
||||
</tbody> |
|
||||
</table> |
|
||||
</div> |
|
||||
|
<div data-ax5grid> |
||||
|
<table> |
||||
|
<thead> |
||||
|
<tr> |
||||
|
<th class="W50 hidden-xs"><input type="checkbox" data-checkbox="member" data-checkbox-all="true"></th> |
||||
|
<th>아이디</th> |
||||
|
<th>닉네임</th> |
||||
|
<th class="">E-mail</th> |
||||
|
<th class="W50">상태</th> |
||||
|
<th class="W50">권한</th> |
||||
|
<th class="W100"><?=$this->site->config('point_name')?></th>
|
||||
|
<th class="W50">이메일</th> |
||||
|
<th class="W50">SMS</th> |
||||
|
<th class="hidden-x">소셜연동</th> |
||||
|
<th class="hidden-xs W100">가입일</th> |
||||
|
<th class="hidden-xs W125">가입 IP</th> |
||||
|
<th class="hidden-xs W150">최근로그인</th> |
||||
|
<th class="hidden-xs W125">최근로그인 IP</th> |
||||
|
<th class="W100"></th> |
||||
|
</tr> |
||||
|
</thead> |
||||
|
<tbody> |
||||
|
<?php foreach($member_list['list'] as $row) :?>
|
||||
|
<tr> |
||||
|
<td class="text-center hidden-xs"><input type="checkbox" data-checkbox="member" name="mem_idx[]" value="<?=$row['mem_idx']?>"></td> |
||||
|
<td><?=$row['mem_userid']?></td>
|
||||
|
<td><?=display_member_menu($row['mem_idx'], $row['mem_nickname'], $row['mem_status'])?></td>
|
||||
|
<td><?=$row['mem_email']?></td>
|
||||
|
<td class="text-center"> |
||||
|
<?php if($row['mem_status'] == 'Y') : ?>
|
||||
|
<label class="label label-success">정상</label> |
||||
|
<?php elseif ($row['mem_status'] == 'B') :?>
|
||||
|
<label class="label label-danger">금지</label> |
||||
|
<?php elseif ($row['mem_status'] == 'H') :?>
|
||||
|
<label class="label label-warning">휴면</label> |
||||
|
<?php else :?>
|
||||
|
<label class="label label-default">탈퇴</label> |
||||
|
<?php endif;?>
|
||||
|
</td> |
||||
|
<td class="text-center"><?=$row['mem_auth']?></td>
|
||||
|
<td class="text-right"><?=number_format($row['mem_point'])?></td>
|
||||
|
<td class="text-center"><?=$row['mem_recv_email']=='Y'?'<label class="label label-success">수신</label>':'<label class="label label-default">미수신</label>'?></td>
|
||||
|
<td class="text-center"><?=$row['mem_recv_sms']=='Y'?'<label class="label label-success">수신</label>':'<label class="label label-default">미수신</label>'?></td>
|
||||
|
<td class="text-center hidden-xs"> |
||||
|
<?php if($row['social_naver']) : ?>
|
||||
|
<img src="<?=base_url('assets/images/social/icon_naver.png')?>" style="width:22px;"> |
||||
|
<?php endif;?>
|
||||
|
<?php if($row['social_facebook']) : ?>
|
||||
|
<img src="<?=base_url('assets/images/social/icon_facebook.png')?>" style="width:22px;"> |
||||
|
<?php endif;?>
|
||||
|
<?php if($row['social_google']) : ?>
|
||||
|
<img src="<?=base_url('assets/images/social/icon_google.png')?>" style="width:22px;"> |
||||
|
<?php endif;?>
|
||||
|
<?php if($row['social_kakao']) : ?>
|
||||
|
<img src="<?=base_url('assets/images/social/icon_kakao.png')?>" style="width:22px;"> |
||||
|
<?php endif;?>
|
||||
|
</td> |
||||
|
<td class="hidden-xs text-center"><?=date('Y.m.d', strtotime($row['mem_regtime']))?></td>
|
||||
|
<td class="hidden-xs text-center"><?=long2ip($row['mem_regip'])?></td>
|
||||
|
<td class="hidden-xs text-center"><?=date('Y.m.d H:i', strtotime($row['mem_logtime']))?></td>
|
||||
|
<td class="hidden-xs text-center"><?=long2ip($row['mem_logip'])?></td>
|
||||
|
<td class="text-center"><button type="button" class="btn btn-sm btn-danger"><i class="far fa-trash"></i> 삭제</button></td> |
||||
|
</tr> |
||||
|
<?php endforeach;?>
|
||||
|
</tbody> |
||||
|
</table> |
||||
|
</div> |
||||
|
|
||||
<div class="H10"></div> |
|
||||
|
<div class="H10"></div> |
||||
|
|
||||
<div class="ax-button-group ax-button-group-bottom"> |
|
||||
<div class="left"> |
|
||||
<?=$pagination?>
|
|
||||
</div> |
|
||||
<div class="right"> |
|
||||
<a href="<?=base_url('admin/members/add')?>" class="btn btn-default"><i class="far fa-plus-circle"></i> 신규 회원 등록</a> |
|
||||
|
<div class="bottom-actions"> |
||||
|
<div class="left"> |
||||
|
<button type="button" class="btn btn-default btn-sm"><i class="far fa-gift"></i> 선택 <?=$this->site->config('point_name')?> 지급</button>
|
||||
|
<button type="button" class="btn btn-default btn-sm"><i class="fas fa-mobile-alt"></i> 선택 SMS 발송</button> |
||||
|
<button type="button" class="btn btn-default btn-sm"><i class="fas fa-envelope"></i> 선택 메일 발송</button> |
||||
|
</div> |
||||
|
<div class="center"> |
||||
|
<?=$pagination?>
|
||||
|
</div> |
||||
|
<div class="right"> |
||||
|
<a href="<?=base_url('admin/members/add')?>" class="btn btn-primary"><i class="far fa-plus-circle"></i> 신규 회원 등록</a> |
||||
|
</div> |
||||
</div> |
</div> |
||||
</div> |
</div> |
||||
|
|
||||
<div class="H30"></div> |
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue