⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 list_product_option.tpl

📁 渣渣网络商店系统ZZShop v1.0完整运行程序,MYSQL数据库,APACHE服务器
💻 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=7>每页记录数:      
      <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 bgcolor="#EEEEEE">
    <th width="20">详</th>
    <th width=30><a onClick='reverseCheck(frmInfo.sid);'><strong>选</strong></a></th>
    <th width="60">{ID}</th>
    <th nowrap>{Name}</th>
    <th>{Descript}</th>
<!--    <th width=80 nowrap>{CanNULL}</th>  -->
    <th width=60>操作</th>
  </tr>
  <!-- beginRow OptionList -->
  <tr align="center"  onClick='select_thisrow(this);' onmouseover='highlightrow2(this, true);' onmouseout='highlightrow2(this, false);'>
    <td onClick='expandSub(this, subDiv_{OptionList.OptionID});'><img onClick='Detail(this, subDiv_{OptionList.OptionID});' border="0" src="images/minus.gif" style='cursor:hand'></td>
    <td><input onClick='highlight_row(this);'   type="checkbox" name="ids[]" id='sid' value='{OptionList.OptionID}'></td>
    <td>{OptionList.OptionID}</td>
    <td>{OptionList.OptionName}</td>
    <td>{OptionList.Descript}</td>
<!--    <td>{OptionList.strCanNULL}</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='doSomething("modifyOption", {OptionList.OptionID});'></td>
        		<td><img class=btn_image alt='删除' title='删除' src='images/btn_del.gif' onClick='doSomething("deleteOption", {OptionList.OptionID}, "{OptionList.OptionName}", true);'></td>
        		</tr>
        	</table>
		</td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td colspan=7>
	  <div style='display: block' id='subDiv_{OptionList.OptionID}'>
		<table width="96%"  border="0" align="right" cellpadding="3" cellspacing="1" style='border:1px solid black'>
			<tr bgcolor="#FFFFFF">
			  <th width=40>ID</th>
			  <th>选项值</th>
			  <th width=100>影响价格  </th>
			  <th width=100>操作</th>
		    </tr>
			<tr>
			  <td height=1 bgcolor=black colspan=4>
			  </td>
			</tr>
			<!-- beginRow ValueList -->
			<tr bgcolor="#FFFFFF" align="center">
			  <td>{ValueList.ValueID}</td>
			  <td>{ValueList.ValueData}</td>
			  <td>{ValueList.AffectedPrice}</td>
			  <td>
			  	<input name="button" type="button" onClick='doSomething("modifyValue", {ValueList.ValueID});' value="编辑">
                <input name="button" type="button" onClick='doSomething("deleteValue", {ValueList.ValueID}, "{ValueList.ValueData}");' value="删除";>
			  </td>
		    </tr>
			<!-- endRow ValueList -->
			<tr>
			  <td height=1 bgcolor=black colspan=4>
			  </td>
			</tr>
			<tr>
			  <td align="right" colspan=5>
			  	<input type="button" value="添加选项值" onClick='doSomething("addValue", {OptionList.OptionID});'>
			  </td>
			</tr>
        </table>
	  </div>
	</td>
  </tr>
  <!-- endRow OptionList -->
  <tr align=right class='list_operater'>
    <td colspan=7><input type="button" value="删除选定" onClick='doSomethings("deleteoption", true);'></td>
  </tr>
  <tr align="right" bgcolor="#EEEEEE">
    <td colspan=7>{PAGE_LIST}</td>
  </tr>
</table>
</form>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -