📄 sel_product.tpl
字号:
<html>
<head>
<meta http-equiv='content-type' content='text/html; charset={Charset}'>
<title>{SYS_NAME} {SYS_VERSION}</title>
<link rel=stylesheet href='templates/{Lang}/css/admin.css'>
<link rel=stylesheet href='templates/{Lang}/css/style.css'>
<link rel=stylesheet href='templates/{Lang}/css/toolbar.css'>
<script language='javascript'>
<!--
var old_classname = 'list_content';
var mouse_over = false;
function highlightrow2(obj, bool)
{
if(mouse_over == bool) return;
mouse_over = bool;
if(obj.className == 'highlight_row') return;
if(bool)
{
obj.className = 'highlight_row2';
}
else
{
obj.className = 'list_content';
}
}
function selectThis(Coding, Name)
{
returnValue = Coding;
dialogArguments.ProductName.value = Name;
close();
}
//-->
</script>
<script language='javascript' src='js/toolbar.js'></script>
</head>
<body topmargin=0>
<table width="100%" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="10" height="10" background="images/top_left_corner.png"></td>
<td background="images/top_line.png"></td>
<td width="10" background="images/top_right_corner.png"></td>
</tr>
<tr>
<td background="images/left_line.png"></td>
<td valign="middle" align="center">
<form action="{ACTION}" method="post" name='frmInfo'>
<table width="100%" border="0" cellspacing=0 cellpadding=5 class=adminlist>
<tr class='list_title'>
<th width="60">#</th>
<th nowrap width=60>编号</th>
<th nowrap>产品名称</th>
<th width="100" nowrap>所属分类</th>
<th width="60" nowrap>价格</th>
<th width="80" nowrap>库存</th>
<th width=40>选择</th>
</tr>
<!-- beginRow ProductList -->
<tr align="center" class='list_content' onmouseover='highlightrow2(this, true);' onmouseout='highlightrow2(this, false);'>
<td>{ProductList.ID}</td>
<td>{ProductList.Coding}</td>
<td>{ProductList.Name}</td>
<td>{ProductList.Category}</td>
<td>{ProductList.Price}</td>
<td>{ProductList.Quantity}</td>
<td>
<img class=btn_image alt='选择' title='选择' src='images/btn_edit.gif' onClick='selectThis("{return}" == "ID" ? "{ProductList.ID}" : "{ProductList.Coding}", "{ProductList.Name}");'>
</td>
</tr>
<!-- endRow ProductList -->
</table>
</form>
</td>
<td background="images/right_line.png"></td>
</tr>
<tr>
<td width="10" height="10" background="images/bottom_left_corner.png"></td>
<td background="images/bottom_line.png"></td>
<td width="10" background="images/bottom_right_corner.png"></td>
</tr>
</table>
<table width=100% border=0 cellspacing=0 cellpadding=5>
<tr>
<td align=center>
{CopyRight}
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -