<form name="frmsearch" method="get" action="{?$jieqi_url?}/admin/earnlog.php?do=submit">
<table width="100%" align="center" cellpadding="0" cellspacing="1" class="grid">
    <tr>
        <td>用户名：
            <input name="keyword" type="text" id="keyword" class="text" size="15" maxlength="50"> 
			&nbsp;&nbsp;
            <button type="submit" name="btnsearch" class="button">搜 索</button>
			&nbsp; <a href="{?$jieqi_url?}/admin/earnlog.php">显示全部</a>
        </td>
    </tr>
</table>
</form>
<table width="100%" cellpadding="0" cellspacing="1" class="grid">
  <caption>用户分成记录</caption>
  <tr align="center">
    <td width="20%" class="head">用户名</td>
    <td width="20%" class="head">分成时间</td>
    <td width="10%" class="head">分成金额</td>
	<td width="20%" class="head">消费者</td>
	<td width="10%" class="head">消费金额</td>
	<td width="20%" class="head">消费模式</td>
  </tr>
  <tbody id="jieqi_page_contents">
{?section name=i loop=$earnrows?}
  <tr>
    <td><a href="{?function jieqi_geturl:'system':'user':$earnrows[i].userid:'info'?}" target="_blank">{?$earnrows[i].username?}</a></td>
    <td align="center">{?$earnrows[i].logtime|date:Y-m-d H:i?}</td>
    <td align="center">{?$earnrows[i].emoney|fen2yuan?}元</td>
    <td align="center"><a href="{?function jieqi_geturl:'system':'user':$earnrows[i].fromuid:'info'?}" target="_blank">{?$earnrows[i].fromuname?}</a></td>
    <td align="center">{?$earnrows[i].money|fen2yuan?}{?if $earnrows[i].moneytype == 1?}美元{?else?}元{?/if?}</td>
    <td align="center">{?if $earnrows[i].earntype == 1?}充值{?else?}{?$earnrows[i].earntype?}{?/if?}</td>
  </tr>
{?/section?}
  </tbody>
</table>
<div class="pages">{?$url_jumppage?}</div>