📄 list_group.tpl
字号:
<script language='javascript'>
<!--
function findUser(GID)
{
window.location = '{PHP_SELF}?act=customer&InSearch=1&GID=' + GID;
}
//-->
</script>
<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
</style>
<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=10>每页记录数:
<select name="select" onChange='window.location="{CurrentURL}&PageSize=" + this.options[this.selectedIndex].value;'>
<option>选择每页记录数</option>
<option value="10">10 条</option>
<option value="20">20 条</option>
<option value="50">50 条</option>
<option value="100">100 条</option>
<option value="-1">全部</option>
</select></td>
</tr>
<tr class='list_title'>
<th width=30><a onClick='reverseCheck(frmInfo.sid);'><strong>选</strong></a></th>
<th width="60">{ID}</th>
<th nowrap>{Name}</th>
<th width="100" nowrap>{SaleRatio}</th>
<th width="80" nowrap>{Expenditure}</th>
<th width="80" nowrap>{IsEnable}</th>
<th width=60>操作</th>
</tr>
<!-- beginRow GroupList -->
<tr align="center" class='list_content' onClick='select_thisrow(this);' onmouseover='highlightrow2(this, true);' onmouseout='highlightrow2(this, false);'>
<td><input onClick='highlight_row(this);' type="checkbox" name="ids[]" id='sid' value='{GroupList.ID}'></td>
<td>{GroupList.ID}</td>
<td>{GroupList.Name}</td>
<td>{GroupList.SaleRatio}</td>
<td>{GroupList.Expenditure}</td>
<td>{GroupList.strIsEnable}</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({GroupList.ID});'></td>
<td><img class=btn_image alt='删除' title='删除' src='images/btn_del.gif' onClick='deleteItem({GroupList.ID}, "{GroupList.Name}");';></td>
<td><img class=btn_image alt='查找用户' title='查找用户' src="images/btn_search.gif" onClick='findUser({GroupList.ID});'></td>
</tr>
</table>
</td>
</tr>
<!-- endRow GroupList -->
<tr align="right" class='list_operater'>
<td colspan=10> <input type="button" value="添加组" onClick="doSomething('add');">
<input type="button" value="删除选定" onClick='deleteSelect();'>
</td>
</tr>
<tr align="right" class='list_bottom'>
<td colspan=10>{PAGE_LIST}</td>
</tr>
</table>
</form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -