Merge pull request #2 from uiisc/dev

merge dev to master
This commit is contained in:
唐钰豆豆 2019-10-31 15:56:17 +08:00 committed by GitHub
commit eecaa0d673
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
278 changed files with 88 additions and 65 deletions

View file

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View 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>

View file

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

View file

@ -34,6 +34,11 @@ button {
margin-right: auto;
}
.img-avatar {
width: 100px;
height: 100px;
}
.home {
width: 100%;
height: 100%;

View file

Before

Width:  |  Height:  |  Size: 296 KiB

After

Width:  |  Height:  |  Size: 296 KiB

View file

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View file

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View file

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View file

Before

Width:  |  Height:  |  Size: 63 B

After

Width:  |  Height:  |  Size: 63 B

View file

Before

Width:  |  Height:  |  Size: 89 B

After

Width:  |  Height:  |  Size: 89 B

View file

Before

Width:  |  Height:  |  Size: 44 B

After

Width:  |  Height:  |  Size: 44 B

View file

Before

Width:  |  Height:  |  Size: 45 B

After

Width:  |  Height:  |  Size: 45 B

View file

Before

Width:  |  Height:  |  Size: 48 B

After

Width:  |  Height:  |  Size: 48 B

View file

Before

Width:  |  Height:  |  Size: 178 B

After

Width:  |  Height:  |  Size: 178 B

View file

Before

Width:  |  Height:  |  Size: 54 B

After

Width:  |  Height:  |  Size: 54 B

View file

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View file

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View file

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View file

Before

Width:  |  Height:  |  Size: 945 B

After

Width:  |  Height:  |  Size: 945 B

View file

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

View file

Before

Width:  |  Height:  |  Size: 558 B

After

Width:  |  Height:  |  Size: 558 B

View file

Before

Width:  |  Height:  |  Size: 682 B

After

Width:  |  Height:  |  Size: 682 B

View file

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

Before

Width:  |  Height:  |  Size: 709 B

After

Width:  |  Height:  |  Size: 709 B

View file

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View file

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

View file

Before

Width:  |  Height:  |  Size: 43 B

After

Width:  |  Height:  |  Size: 43 B

View file

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

View file

Before

Width:  |  Height:  |  Size: 951 B

After

Width:  |  Height:  |  Size: 951 B

View file

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Some files were not shown because too many files have changed in this diff Show more