Server : Apache System : Linux iZ2vcgyutqttsd1p850kl8Z 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64 User : www ( 1000) PHP Version : 5.6.40 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv Directory : /www/wwwroot/saimikebio.com/mobile/ecshopjcw/templates/ |
<!-- $Id: attribute_list.htm 14216 2008-03-10 02:27:21Z testyang $ --> {if $full_page} {include file="pageheader.htm"} {insert_scripts files="../data/static/js/utils.js,./js/listtable.js"} <div class="form-div"> <form action="" name="searchForm"> <img src="images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" /> {$lang.by_goods_type}<select name="goods_type" onchange="searchAttr(this.value)"><option value="0">{$lang.all_goods_type}</caption>{$goods_type_list}</select> </form> </div> <form method="post" action="attribute.php?act=batch" name="listForm"> <div class="list-div" id="listDiv"> {/if} <table cellpadding="3" cellspacing="1"> <tr> <th> <input onclick='listTable.selectAll(this, "checkboxes[]")' type="checkbox"> <a href="javascript:listTable.sort('attr_id'); ">{$lang.record_id}</a>{$sort_attr_id} </th> <th><a href="javascript:listTable.sort('attr_name'); ">{$lang.attr_name}</a>{$sort_attr_name}</th> <th><a href="javascript:listTable.sort('cat_id'); ">{$lang.cat_id}</a>{$sort_cat_id}</th> <th><a href="javascript:listTable.sort('attr_input_type');">{$lang.attr_input_type}</a>{$sort.attr_input_type}</th> <th>{$lang.attr_values}</th> <th><a href="javascript:listTable.sort('sort_order'); ">{$lang.sort_order}</a>{$sort_sort_order}</th> <th>{$lang.handler}</th> </tr> {foreach from=$attr_list item=attr} <tr> <td nowrap="true" valign="top"><span><input value="{$attr.attr_id}" name="checkboxes[]" type="checkbox">{$attr.attr_id}</span></td> <td class="first-cell" nowrap="true" valign="top"><span onclick="listTable.edit(this, 'edit_attr_name', {$attr.attr_id})">{$attr.attr_name}</span></td> <td nowrap="true" valign="top"><span>{$attr.cat_name}</span></td> <td nowrap="true" valign="top"><span>{$attr.attr_input_type_desc}</span></td> <td valign="top"><span>{$attr.attr_values}</span></td> <td align="right" nowrap="true" valign="top"><span onclick="listTable.edit(this, 'edit_sort_order', {$attr.attr_id})">{$attr.sort_order}</span></td> <td align="center" nowrap="true" valign="top"> <a href="?act=edit&attr_id={$attr.attr_id}" title="{$lang.edit}"><img src="images/icon_edit.gif" border="0" width="21" height="21"></a> <a href="javascript:;" onclick="removeRow({$attr.attr_id})" title="{$lang.remove}"><img src="images/icon_drop.gif" border="0" width="21" height="21"></a> </td> </tr> {foreachelse} <tr><td class="no-records" colspan="10">{$lang.no_records}</td></tr> {/foreach} </table> <table cellpadding="4" cellspacing="0"> <tr> <td><input type="submit" id="btnSubmit" value="{$lang.drop}" class="button" disabled="true" /></td> <td align="right">{include file="page.htm"}</td> </tr> </table> {if $full_page} </div> </form> <script language="JavaScript"> <!-- listTable.recordCount = {$record_count}; listTable.pageCount = {$page_count}; {foreach from=$filter item=item key=key} listTable.filter.{$key} = '{$item}'; {/foreach} {literal} onload = function() { // 开始检查订单 startCheckOrder(); } /** * 查询商品属性 */ function searchAttr(goodsType) { listTable.filter.goods_type = goodsType; listTable.filter.page = 1; listTable.loadList(); } function removeRow(attr_id) { Ajax.call('attribute.php?act=get_attr_num&attr_id=' + attr_id, '', removeRowResponse, 'GET', 'JSON'); } function removeRowResponse(result) { if (result.message.length > 0) { alert(result.message); } if (result.error == 0) { listTable.remove(result.content.attr_id, result.content.drop_confirm); } } {/literal} //--> </script> {include file="pagefooter.htm"} {/if}