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.

109 lines
5.0 KiB

7 years ago
  1. <div class="container MT30 MB30">
  2. <div class="col-sm-3">
  3. <?=$asides_member;?>
  4. </div>
  5. <div class="col-sm-9">
  6. <div class="panel panel-default">
  7. <div class="panel-heading">
  8. <h4>User Profile</h4>
  9. </div>
  10. <div class="panel-body">
  11. <div class="text-center MB15 MT15">
  12. <?php if($this->member->info('photo')) : ?>
  13. <img alt="<?=langs('회원/info/photo')?>" src="<?=base_url($this->member->info('photo'))?>" class="img-circle img-responsive" style="margin:auto">
  14. <?php else :?>
  15. <img alt="<?=langs('회원/info/photo')?>" src="http://placehold.it/100x100" class="img-circle img-responsive" style="margin:auto">
  16. <?php endif;?>
  17. <button class="btn btn-default btn-xs MT10" onclick="APP.MEMBER.POP_CHANGE_PHOTO();"><i class="fa fa-upload"></i> <?=langs('회원/info/change_photo')?></button>
  18. </div>
  19. <hr style="margin:5px 0 5px 0;">
  20. <!--START:: 아이디 -->
  21. <dl class="row">
  22. <dt class="col-sm-6 text-right"><?=langs('회원/info/userid')?></dt>
  23. <dd class="col-sm-6"><?=$this->member->info('userid')?></dd>
  24. </dl>
  25. <!--END:: 아이디 -->
  26. <!--START:: 닉네임 -->
  27. <dl class="row">
  28. <dt class="col-sm-6 text-right"><?=langs('회원/info/nickname')?></dt>
  29. <dd class="col-sm-6"><?=$this->member->info('nickname')?></dd>
  30. </dl>
  31. <!--END:: 닉네임 -->
  32. <!--START:: 이메일 -->
  33. <dl class="row">
  34. <dt class="col-sm-6 text-right"><?=langs('회원/info/email')?></dt>
  35. <dd class="col-sm-6"><?=$this->member->info('email')?></dd>
  36. </dl>
  37. <!--END:: 이메일 -->
  38. <!--START:: 연락처 -->
  39. <dl class="row">
  40. <dt class="col-sm-6 text-right"><?=langs('회원/info/phone')?></dt>
  41. <dd class="col-sm-6"><?=$this->member->info('phone')?></dd>
  42. </dl>
  43. <!--END:: 연락처 -->
  44. <!--START:: 성별 -->
  45. <dl class="row">
  46. <dt class="col-sm-6 text-right"><?=langs('회원/info/gender')?></dt>
  47. <dd class="col-sm-6">
  48. <?php
  49. if($this->member->info('gender') == "M" ) echo langs('회원/info/gender_male');
  50. else if ($this->member->info('gender') == "F" ) echo langs('회원/info/gender_female');
  51. else echo langs('회원/info/gender_unknown');
  52. ?>
  53. </dd>
  54. </dl>
  55. <!--END:: 성별 -->
  56. <!--START:: 포인트 -->
  57. <dl class="row">
  58. <dt class="col-sm-6 text-right"><?=langs('회원/info/point')?></dt>
  59. <dd class="col-sm-6"><?=number_format($this->member->info('point'))?></dd>
  60. </dl>
  61. <!--END:: 포인트 -->
  62. <!--START:: 이메일 수신여부 -->
  63. <dl class="row">
  64. <dt class="col-sm-6 text-right"><?=langs('회원/info/recv_email')?></dt>
  65. <dd class="col-sm-6"><?=$this->member->info('recv_email')?></dd>
  66. </dl>
  67. <!--END:: 이메일 수신여부 -->
  68. <!--START:: SMS 수신여부 -->
  69. <dl class="row">
  70. <dt class="col-sm-6 text-right"><?=langs('회원/info/recv_sms')?></dt>
  71. <dd class="col-sm-6"><?=$this->member->info('recv_sms')?></dd>
  72. </dl>
  73. <!--END:: SMS 수신여부 -->
  74. <!--START:: 가입일자 -->
  75. <dl class="row">
  76. <dt class="col-sm-6 text-right"><?=langs('회원/info/regtime')?></dt>
  77. <dd class="col-sm-6"><?=$this->member->info('regtime')?></dd>
  78. </dl>
  79. <!--END:: 가입일자 -->
  80. <!--START:: 로그인 횟수 -->
  81. <dl class="row">
  82. <dt class="col-sm-6 text-right"><?=langs('회원/info/logcount')?></dt>
  83. <dd class="col-sm-6"><?=number_format($this->member->info('logcount'))?></dd>
  84. </dl>
  85. <!--END:: 로그인 횟수 -->
  86. </div>
  87. <div class="panel-footer text-center">
  88. <a href="<?=base_url('members/modify')?>" class="btn btn-default"><?=langs('회원/info/modify')?></a>
  89. <a href="<?=base_url('members/password_change')?>" class="btn btn-default"><?=langs('회원/info/password_change')?></a>
  90. <a href="<?=base_url('members/withdrawals')?>" class="btn btn-danger"><?=langs('회원/info/withdrawals')?></a>
  91. </div>
  92. </div>
  93. </div>
  94. </div>