📄 list_customer.tpl
字号:
<form action="{ACTION}" method="post" name='frmInfo'>
<table width="100%" border="0" cellspacing=0 cellpadding=5 class='adminlist'>
<tr class='list_pagesize'>
<td align="right" colspan=12>每页记录数:
<select name="select" onChange='window.location="{REQUEST_URI}&PageSize=" + this.options[this.selectedIndex].value;'>
<option selected>选择每页记录数</option>
<option value=5 {PAGE_SIZE_5}>5 条</option>
<option value=10 {PAGE_SIZE_10}>10 条</option>
<option value=20 {PAGE_SIZE_20}>20 条</option>
<option value=50 {PAGE_SIZE_50}>50 条</option>
<option value=100 {PAGE_SIZE_100}>100 条</option>
<option value=-1 {PAGE_SIZE_ALL}>全部</option>
</select></td>
</tr>
<tr class='list_title'>
<th width=30>详</th>
<th width=30><a onClick='reverseCheck(frmInfo.sid);'><strong>选</strong></a></th>
<th width=40>{ID}</th>
<th width=100 nowrap>{Name}</th>
<th width=100 nowrap>{TrueName}</th>
<th nowrap width=120>{Group}</th>
<th nowrap>{Email}</th>
<th width=50 nowrap>{Order}</th>
<th width=70>{Balance}</th>
<th width=60>{Status}</th>
<th width=60>操作</th>
</tr>
<!-- beginRow CustomerList -->
<tr align="center" class='list_content' onClick='select_thisrow(this);' onmouseover='highlightrow2(this, true);' onmouseout='highlightrow2(this, false);'>
<td onClick='expandSub(this, subDiv_{CustomerList.CustomerID});'><img onClick='Detail(this, subDiv_{CustomerList.CustomerID});' border="0" src="images/plus.gif" style='cursor:hand'></td>
<td><input onClick='highlight_row(this);' type="checkbox" name="ids[]" id='sid' value='{CustomerList.CustomerID}'></td>
<td>{CustomerList.CustomerID}</td>
<td>{CustomerList.Name}</td>
<td>{CustomerList.TrueName} </td>
<td>{CustomerList.GroupName}</td>
<td><a href='mailto:{CustomerList.Email}'>{CustomerList.Email}</a></td>
<td>{CustomerList.Orders}</td>
<td>{CustomerList.Balance}</td>
<td>{CustomerList.Status}</td>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="operate">
<tr align="center">
<td><img class=btn_image alt='编辑' title='编辑' src='images/btn_edit.gif' onClick='editItem({CustomerList.CustomerID});'></td>
<td><img class=btn_image alt='删除' title='删除' src='images/btn_del.gif' onClick='deleteItem({CustomerList.CustomerID}, "{CustomerList.Name}");'></td>
<td><img class=btn_image alt='查找订单' title='查找订单' src='images/btn_search.gif' onClick='window.location="{PHP_SELF}?act=order&Customer={CustomerList.Name}";'></td>
</tr>
</table>
</td>
</tr>
<tr class='list_content'>
<td colspan="12">
<div style='display:none' id='subDiv_{CustomerList.CustomerID}'>
<table width="98%" border=0 align="right" cellpadding=3 cellspacing=0 class=adminlist>
<tr bgcolor="#EEEEEE">
<td colspan="6"><strong>客户详细信息</strong></td>
</tr>
<tr>
<td width=80>客户名称:</td>
<td>{CustomerList.Name}</td>
<td width=80>Email:</td>
<td>{CustomerList.Email}</td>
<td width=80>接收Email:</td>
<td>{CustomerList.IsReceiveMail}</td>
</tr>
<tr>
<td>
所属分组:
</td>
<td>
{CustomerList.GroupName}
</td>
<td>可用余额:</td>
<td>{CustomerList.Balance} </td>
<td>用户状态</td>
<td>{CustomerList.Status} </td>
</tr>
<tr>
<td>手机号码:</td>
<td>{CustomerList.Handset} </td>
<td>订单统计:</td>
<td colspan=3>[<a href='javascript:myShowModalDialog("{CurrentURL}&code=vieworder&User={CustomerList.Name}", "vieworder", 500, 200);'><b>查看</b></a>]</td>
</tr>
<tr>
<td>国家:</td>
<td>{CustomerList.CountryName} </td>
<td>省/州/郡:</td>
<td>{CustomerList.ProvinceName} </td>
<td>城市:</td>
<td>{CustomerList.CityName} </td>
</tr>
<tr>
<td>县/地区/镇:</td>
<td>{CustomerList.RegionName} </td>
<td>邮政编码:</td>
<td>{CustomerList.PostCode} </td>
<td>联系电话:</td>
<td>{CustomerList.Phone} </td>
</tr>
<tr>
<td>注册时间:</td>
<td>{CustomerList.RegTime}</td>
<td>注册IP:</td>
<td>{CustomerList.RegIp} </td>
<td>来源签定:</td>
<td>-</td>
</tr>
<tr>
<td>
联系地址:
</td>
<td colspan=5>
{CustomerList.Address}
</td>
</tr>
<tr>
<td>
联系地址2:
</td>
<td colspan=5>
{CustomerList.Address2}
</td>
</tr>
</table>
</div>
</td>
</tr>
<!-- endRow CustomerList -->
<tr align="right" class='list_operater'>
<td colspan="12"> <input type="button" value='激活选定' onClick='doSomethings("active");'>
<input type="button" value='禁止选定' onClick='doSomethings("disable");'>
<input type="button" value='删除选定' onClick='deleteSelect();'>
</td>
</tr>
<tr align="right" class='list_bottom'>
<td colspan="12">{PAGE_LIST}</td>
</tr>
</table>
</form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -