2025-04-10 23:19:13 +08:00

60 lines
3.8 KiB
PHP
Executable File

<?php
use yii\helpers\Html;
use yii\helpers\Url;
?>
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
<div class="col-sm-4"></div>
<div class="col-sm-4">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5 style="margin-right:10px;"><kbd>昵称</kbd><?=isset($detail['nickname'])?$detail['nickname']:'';?> </h5>
<h5 style="margin-right:10px;"><kbd>称谓</kbd><?=isset($detail['title'])?$detail['title']:'';?> </h5>
</div>
<div>
<div class="no-padding border-left-right" style="text-align:center;">
<img alt="image" class="img-responsive" src="<?=isset($detail['thumb'])? Url::base(true)."/../../upload".$detail['thumb']:Yii::getAlias("@web").'/img/nopic.jpg';?>" style="display:inline;border-radius:15px;width:180px;">
</div>
<div class="ibox-content profile-content">
<h4>姓名:<strong><?=isset($detail['realname'])?$detail['realname']:'';?></strong></h4>
<h4>手机号:<strong><?=isset($detail['mobile'])?$detail['mobile']:'';?></strong></h4>
<div class="row m-t-lg">
<div class="col-sm-12">
<h5>
<div class="radio radio-primary radio-inline">
<input name="sex" id="sex" value="2" type="radio" <?php if(isset($detail['gender']) && $detail['gender']==2){echo 'checked';}else{echo '';}?> >
<label> <i></i> 女</label>
</div>
<div class="radio radio-primary radio-inline">
<input name="sex" id="sex" value="1" type="radio" <?php if(isset($detail['gender']) && $detail['gender']==1){echo 'checked';}else{echo '';}?> >
<label> <i></i> 男</label>
</div>
<div class="radio radio-primary radio-inline">
<input name="sex" id="sex" value="0" type="radio" <?php if(isset($detail['gender']) && $detail['gender']==0){echo 'checked';}else{echo '';}?> >
<label> <i></i> 保密</label>
</div>
</h5>
</div>
</div>
<div class="row m-t-lg">
<div class="col-sm-4">
<h5><span class="bar">生日:</span>
<strong><?=isset($detail['birthday'])?date('m-d',$detail['birthday']):'';?></strong> </h5>
</div>
<div class="col-sm-4">
<h5><span class="bar">积分:</span>
<strong><?=isset($detail['integral'])?$detail['integral']:0;?></strong> </h5>
</div>
<div class="col-sm-4">
<h5><span class="bar">余额:</span>
<strong><?=isset($detail['money'])?$detail['money']/100:0;?></strong> 元</h5>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-4"></div>
</div>
</div>