You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.7 KiB

7 years ago
  1. <?php
  2. // 로그인 완료후 스킨
  3. $member_photo = $this->member->info('photo') ? $this->member->info('photo') : '/assets/images/common/common_user.png';
  4. ?>
  5. <style>
  6. #outlogin-basic { border:1px solid #ccc; margin-top:0px; padding:5px; margin-bottom:15px; }
  7. #outlogin-basic .member-photo {width:60px;height:60px;display:block;margin:auto; cursor:pointer; border:1px solid #eee; padding:10px;}
  8. #outlogin-basic .member-info { margin:0; padding:0; }
  9. #outlogin-basic .member-action-list { margin:0;padding:0;list-style:none;font-size:0; }
  10. #outlogin-basic .member-action-list > li { display:inline-block; }
  11. #outlogin-basic .member-action-list > li > a {display:inline-block; font-size:12px;}
  12. #outlogin-basic .member-action-list > li + li:before { display:inline-block; content:''; width:1px; height:8px; background:#ccc; margin:0px 5px; }
  13. </style>
  14. <aside class="media" id="outlogin-basic">
  15. <div class="media-left">
  16. <img class="member-photo" src="<?=base_url($member_photo)?>" onclick="APP.MEMBER.POP_CHANGE_PHOTO();">
  17. </div>
  18. <div class="media-body">
  19. <dl class="member-info">
  20. <dt class="sr-only">닉네임</dt>
  21. <dd><?=$this->member->info('nickname')?></dd>
  22. </dl>
  23. <dl class="member-info">
  24. <dt class="sr-only">포인트</dt>
  25. <dd><?=number_format($this->member->info('point'))?></dd>
  26. </dl>
  27. <ul class="member-action-list">
  28. <?php if($this->member->is_super()) :?>
  29. <li><a href="<?=base_url('admin')?>">관리자</a></li>
  30. <?php endif;?>
  31. <li><a href="<?=base_url('members/info')?>"> 정보</a></li>
  32. <li><a href="<?=base_url('members/logout')?>">로그아웃</a></li>
  33. </ul>
  34. </div>
  35. </aside>