|
@ -1,57 +0,0 @@
|
|||
<?php
|
||||
if (!defined('IN_SYS')) {
|
||||
// exit('禁止访问');
|
||||
header("Location: ../../admin.php");
|
||||
exit;
|
||||
}
|
||||
print_r($member);
|
||||
print_r($member_avatar);
|
||||
print_r($member_reg_date);
|
||||
?>
|
||||
|
||||
<div class="container">
|
||||
<?php echo (getMsg("msg_notify")); ?>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<span class="panel-title">Member Details</span>
|
||||
<div class="pull-right">
|
||||
<a class="btn btn-default btn-xs" href="<?php echo setRouter('admin', 'member_edit', ['id' => $member['id']]); ?>"><?php echo $lang->I18N('modify'); ?></a>
|
||||
<a class="btn btn-default btn-xs" href="<?php echo setRouter('admin', 'member_add'); ?>"><?php echo $lang->I18N('add'); ?></a>
|
||||
<a class="btn btn-default btn-xs" href="<?php echo setRouter('admin', 'member'); ?>"><?php echo $lang->I18N('list'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="text-center">
|
||||
<img src="<?php echo $member_avatar; ?>" class="img-avatar img-responsive img-responsive img-circle img-thumbnail">
|
||||
</div>
|
||||
<hr />
|
||||
<table class="table table-bordered table-hover">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th style="width: 150px;"><?php echo $lang->I18N('username'); ?></th>
|
||||
<td><?php echo $member['username']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->I18N('name'); ?></th>
|
||||
<td><?php echo $member['name']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->I18N('email'); ?></th>
|
||||
<td><?php echo $member['email']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->I18N('website'); ?></th>
|
||||
<td><?php echo $member['website']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->I18N('reg_date'); ?></th>
|
||||
<td><?php echo $member_reg_date; ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<a href="" data-toggle="modal" data-target="#deactivate-account"><i class="glyphicon glyphicon-off"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
BIN
doc/logo.png
Normal file
After Width: | Height: | Size: 12 KiB |
75
src/admin/views/member_details.php
Normal file
|
@ -0,0 +1,75 @@
|
|||
<?php
|
||||
if (!defined('IN_SYS')) {
|
||||
// exit('禁止访问');
|
||||
header("Location: ../../admin.php");
|
||||
exit;
|
||||
}
|
||||
// print_r($member);
|
||||
// print_r($member_avatar);
|
||||
// print_r($member_reg_date);
|
||||
?>
|
||||
|
||||
<div class="container">
|
||||
<?php echo (getMsg("msg_notify")); ?>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<span class="panel-title"><?php echo $lang->I18N('Member Details'); ?></span>
|
||||
<div class="pull-right">
|
||||
<a class="btn btn-default btn-xs" href="<?php echo setRouter('admin', 'member_edit', ['id' => $member['id']]); ?>"><?php echo $lang->I18N('modify'); ?></a>
|
||||
<a class="btn btn-default btn-xs" href="<?php echo setRouter('admin', 'member_add'); ?>"><?php echo $lang->I18N('add'); ?></a>
|
||||
<a class="btn btn-default btn-xs" href="<?php echo setRouter('admin', 'member'); ?>"><?php echo $lang->I18N('list'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="text-center">
|
||||
<img src="<?php echo $member_avatar; ?>" class="img-avatar img-responsive img-responsive img-circle img-thumbnail">
|
||||
</div>
|
||||
<hr />
|
||||
<table class="table table-bordered table-hover">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th style="width: 150px;"><?php echo $lang->I18N('username'); ?></th>
|
||||
<td><?php echo $member['username']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->I18N('name'); ?></th>
|
||||
<td><?php echo $member['name']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->I18N('email'); ?></th>
|
||||
<td><?php echo $member['email']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->I18N('website'); ?></th>
|
||||
<td><?php echo $member['website']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->I18N('reg_date'); ?></th>
|
||||
<td><?php echo $member_reg_date; ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<a href="" data-toggle="modal" data-target="#deactivate-account"><i class="glyphicon glyphicon-off"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<span class="panel-title"><?php echo $lang->I18N('我的服务'); ?></span>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<p>产品/服务数量: <a href="<?php echo setRouter('admin', 'service', ['uid' => $member['id']]); ?>">1 (1) - 查看 »</a></p>
|
||||
<p>Tickets: <a href="<?php echo setRouter('admin', 'tickets', ['uid' => $member['id']]); ?>">处理中 1 个(总共:1000 个) - 查看 »</a></p>
|
||||
<p>Emails: <a href="<?php echo setRouter('admin', 'emails', ['uid' => $member['id']]); ?>">15</a> 个</p>
|
||||
<p>Ordes: 100 个</p>
|
||||
</div>
|
||||
<div class="panel-footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
|
@ -34,6 +34,11 @@ button {
|
|||
margin-right: auto;
|
||||
}
|
||||
|
||||
.img-avatar {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.home {
|
||||
width: 100%;
|
||||
height: 100%;
|
Before Width: | Height: | Size: 296 KiB After Width: | Height: | Size: 296 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 63 B After Width: | Height: | Size: 63 B |
Before Width: | Height: | Size: 89 B After Width: | Height: | Size: 89 B |
Before Width: | Height: | Size: 44 B After Width: | Height: | Size: 44 B |
Before Width: | Height: | Size: 45 B After Width: | Height: | Size: 45 B |
Before Width: | Height: | Size: 48 B After Width: | Height: | Size: 48 B |
Before Width: | Height: | Size: 178 B After Width: | Height: | Size: 178 B |
Before Width: | Height: | Size: 54 B After Width: | Height: | Size: 54 B |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 945 B After Width: | Height: | Size: 945 B |
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 558 B After Width: | Height: | Size: 558 B |
Before Width: | Height: | Size: 682 B After Width: | Height: | Size: 682 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 709 B After Width: | Height: | Size: 709 B |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 43 B After Width: | Height: | Size: 43 B |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 951 B After Width: | Height: | Size: 951 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |