-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
59 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,34 @@ | ||
{extend name="public:base" /} | ||
{block name="body"} | ||
<div class="container"> | ||
<div class="page-header"><h1>问题反馈</h1></div> | ||
<ul class="list-group"> | ||
<div class="container"> | ||
<div class="page-header"> | ||
<h1>问题反馈</h1> | ||
</div> | ||
<ul class="list-group"> | ||
{foreach $feedbacks as $key => $v} | ||
<li class="list-group-item"> | ||
<div>{$v.title} <span class="badge badge-secondary">{$v.create_time|showdate}</span></div> | ||
<div> | ||
{$v.content} | ||
</div> | ||
{if $v['reply_at'] > 1} | ||
<div><span class="badge badge-info">管理员回复</span>{$v.reply}</div> | ||
{else/} | ||
<span class="badge badge-danger">待回复</span> | ||
{/if} | ||
</li> | ||
{/foreach} | ||
{if $unreplyed < 1} | ||
<li class="list-group-item"> | ||
<div>{$v.title} <span class="badge badge-secondary">{$v.create_time|showdate}</span></div> | ||
<div> | ||
{$v.content} | ||
</div> | ||
{if $v['reply_time'] > 1} | ||
<div><span class="badge badge-info">管理员回复</span>{$v.reply}</div> | ||
{else/} | ||
<span class="badge badge-danger">待回复</span> | ||
{/if} | ||
</li> | ||
{/foreach} | ||
{if $unreplyed < 1} <li class="list-group-item"> | ||
<form action="" method="post" class="form-horizontal container-fluid"> | ||
<div class="form-group">{$user.username}:</div> | ||
<div class="form-group"> | ||
<textarea name="content" class="form-control" id="" cols="30" rows="5"></textarea> | ||
</div> | ||
<div class="form-group"><input type="submit" class="btn btn-info" value="提交" /></div> | ||
</form> | ||
</li> | ||
{/if} | ||
</ul> | ||
{$page|raw} | ||
</div> | ||
</li> | ||
{/if} | ||
</ul> | ||
{$page|raw} | ||
</div> | ||
{/block} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,41 @@ | ||
{extend name="public:base" /} | ||
{block name="body"} | ||
<div class="container"> | ||
<div class="page-header"><h1>我的会员</h1></div> | ||
{if !empty($paths)} | ||
<ol class="breadcrumb"> | ||
{foreach $paths as $key => $v} | ||
<li><a href="{:aurl('index/member/team',array('pid'=>$v['id']))}">{$v.username}</a></li> | ||
{/foreach} | ||
</ol> | ||
{/if} | ||
<ul class="list-group"> | ||
<li class="row list-group-item"> | ||
<div class="col-xs-5">会员/等级</div> | ||
<div class="col-xs-2">下级</div> | ||
<div class="col-xs-3">注册日期</div> | ||
<div class="col-xs-2">排位</div> | ||
</li> | ||
{foreach $users as $key => $v} | ||
<li class="row list-group-item"> | ||
<a href="{:aurl('index/member/team',array('pid'=>$v['id']))}"> | ||
<div class="col-xs-5"><i class="fa fa-user"></i> {$v['username']}<br />{$levels[$v['level_id']]['level_name']}</div> | ||
<div class="col-xs-2">{if $soncounts[$v['id']]}{$soncounts[$v['id']]}{else/}0{/if}</div> | ||
<div class="col-xs-3"><span style="color: #999;">{$v.create_at|showdate}</span> </div> | ||
<div class="container"> | ||
<div class="page-header"> | ||
<h1>我的会员</h1> | ||
</div> | ||
{if !empty($paths)} | ||
<ol class="breadcrumb"> | ||
{foreach $paths as $key => $v} | ||
<li><a href="{:aurl('index/member/team',array('pid'=>$v['id']))}">{$v.username}</a></li> | ||
{/foreach} | ||
</ol> | ||
{/if} | ||
<ul class="list-group"> | ||
<li class="row list-group-item"> | ||
<div class="col-xs-5">会员/等级</div> | ||
<div class="col-xs-2">下级</div> | ||
<div class="col-xs-3">注册日期</div> | ||
<div class="col-xs-2">排位</div> | ||
</li> | ||
{foreach $users as $key => $v} | ||
<li class="row list-group-item"> | ||
<a href="{:aurl('index/member/team',array('pid'=>$v['id']))}"> | ||
<div class="col-xs-5"><i class="fa fa-user"></i> | ||
{$v['username']}<br />{$levels[$v['level_id']]['level_name']}</div> | ||
<div class="col-xs-2">{if $soncounts[$v['id']]}{$soncounts[$v['id']]}{else/}0{/if}</div> | ||
<div class="col-xs-3"><span style="color: #999;">{$v.create_time|showdate}</span> </div> | ||
<div class="col-xs-2"> | ||
{if $v['position']} | ||
<span class="label label-info">{$v['position']}</span> | ||
{else/} | ||
<span class="label label-default">未排位</span> | ||
<span class="label label-info">{$v['position']}</span> | ||
{else/} | ||
<span class="label label-default">未排位</span> | ||
{/if} | ||
</div> | ||
</a> | ||
</li> | ||
{/foreach} | ||
</ul> | ||
{$page|raw} | ||
</div> | ||
</a> | ||
</li> | ||
{/foreach} | ||
</ul> | ||
{$page|raw} | ||
</div> | ||
{/block} |