📄 list_poll.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=8>每页记录数:
<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="20">详</th>
<th width="30"><a onClick='reverseCheck(frmInfo.sid);'><strong>选</strong></a></th>
<th width="60">{ID}</th>
<th width=100>{Name}</th>
<th>{Question}</th>
<th width=70>操作</th>
</tr>
<!-- beginRow PollList -->
<tr align="center" class='list_content' onClick='select_thisrow(this);' onmouseover='highlightrow2(this, true);' onmouseout='highlightrow2(this, false);'>
<td onClick='expandSub(this, subDiv_{PollList.ID});'><img onClick='Detail(this, subDiv_{PollList.ID});' border="0" src="images/plus.gif" style='cursor:hand'></td>
<td><input onClick='highlight_row(this);' type="checkbox" name="ids[]" id='sid' value='{PollList.ID}'></td>
<td>{PollList.ID}</td>
<td>{PollList.Name}</td>
<td>{PollList.Question}</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_view.gif' onClick='doSomething("view", {PollList.ID});'></td>
<td><img class=btn_image alt='编辑' title='编辑' src='images/btn_edit.gif' onClick='editItem({PollList.ID});'></td>
<td><img class=btn_image alt='删除' title='删除' src='images/btn_del.gif' onClick='deleteItem({PollList.ID}, "{PollList.Name}");'></td>
</tr>
</table>
</td>
</tr>
<tr class='list_content'>
<td colspan="8">
<div style='display:none' id='subDiv_{PollList.ID}'>
<table width="98%" border=0 align="right" cellpadding=3 cellspacing=0>
<tr>
<th width=80>编号</th>
<th>选项值</th>
<th width=80>得票数</th>
<th width="100">操作</th>
</tr>
<!-- beginRow PollValueList -->
<tr align="center" class="list_content">
<td>{PollValueList.ID}</td>
<td>{PollValueList.Value}</td>
<td>{PollValueList.Vote}</td>
<td><input name="button" type="button" onClick='doSomething("modifyvalue", {PollValueList.ID});' value="编辑">
<input name="button" type="button" onClick='doSomething("deletevalue", {PollValueList.ID}, "{PollValueList.Value}");' value="删除";></td>
</tr>
<!-- endRow PollValueList -->
<tr align="right">
<td colspan="4"> <input type="button" value="添加选项" onClick="doSomething('addvalue', {PollList.ID});"></td>
</tr>
</table>
</div>
</td>
</tr>
<!-- endRow PollList -->
<tr align="right" class='list_operater'>
<td colspan="8"> <input type="button" value='删除选定' onClick='deleteSelect();'></td></tr>
<tr align="right" class='list_bottom'>
<td colspan="8">{PAGE_LIST}</td>
</tr>
</table>
</form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -