HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: 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
Upload Files
File: /www/wwwroot/my.snodshop.com/Admin/Tpl/Recycle/item.html
{:W("Main",array('module'=>MODULE_NAME,'action'=>ACTION_NAME))}

<div class="layout-main">    
    <div id="breadclumb" class="box">
        <h3><strong>{:lang('breadclumb_colon')}</strong>{:lang(MODULE_NAME)}<span></span>{:lang('item_list')}</h3>
    </div>
    <div id="CooperationMain" class="box clear-fix">   
        <div class="layout-block-header">
            <form action="__SELF__" method="get" id="searchform">
            	<input type="hidden" name="s" value="{$Think.const.MODULE_NAME}" />
				<input type="hidden" name="a" value="{$Think.const.ACTION_NAME}" />
                <label>{:lang('search_colon')}</label>
                <input type="text" name="keyword" value="{$_GET['keyword']|trim}" class="ui-text" autocomplete="off" size="40">
                <button type="submit" class="btn btn-ok">{:lang('search')}</button>
            </form>
        </div>
        
		<form action="{:U('Recycle/todo')}" method="post" id="deleteform">
        <div class="ui-table">
            <div class="ui-table-body ui-table-body-hover">
                <table cellpadding="0" cellspacing="0" width="100%" >
                    <thead>
                        <tr class="ui-table-head">
                            <th class="ui-table-hcell" width="20"><input type="checkbox" id="check_box" onclick="$.Select.All(this,'id[]');" ></th>
                            <th class="ui-table-hcell" width="50">{:lang('sortOrder')}</th>
                            <th class="ui-table-hcell">{:lang('name')}</th>
                            <th class="ui-table-hcell">{:lang('category')}</th>
                            <th class="ui-table-hcell" width="80">{:lang('price')}</th>
                            <th class="ui-table-hcell" width="50">{:lang('package')}</th>
                            <th class="ui-table-hcell" width="120">{:lang('time')}</th>
                            <th class="ui-table-hcell" width="100">{:lang('action')}</th>
                        </tr>
                    </thead>
                    <tbody>
                        <volist name="list" id="vo">
                        <tr id="row-{$vo.id}">
                            <td><input type="checkbox" name="id[]" value="{$vo.id}" onclick="$.Select.This(this);"></td>
                            <td><input type="text" class="ui-text" size="2" name="sort_order[{$vo.id}]" value="{$vo.sort_order}"></td>
                            <td>
								<a href="{:U('Item/index',array('do'=>'edit','id'=>$vo['id']))}">{$vo.name}</a>
								<notempty name="vo.image"><a href="{$vo.image|imageUrl}" title="{:lang('image')}" target="_blank"><img src="__PUBLIC__/Assets/img/pic.jpg" /></a></notempty>
								<eq name="vo.is_hot" value="1"> <img src="__PUBLIC__/Assets/img/hot.gif" /></eq>
							</td>
                            <td>{$vo.category_id|getFields="Category","name",###}</td>
                            <td>{$vo.price}{:lang('yuan')}</td>
                            <td>{$vo.params|json_decode=true|count}</td>
                            <td>{$vo.add_time|date="Y-m-d H:i:s",###}</td>
                            <td class="action">
								<q onclick="javascript:Delete('{$vo.id}','{:U('Item/proccess/',array('do'=>'delete','id'=>$vo['id']))}')">{:lang('delete')}</q>
                            </td>
                        </tr>
                        </volist>
                    </tbody>
                </table>
            </div>
        </div>
          
        <div class="ui-pager-bar clearfix" style="padding-left:10px;">
			<div class="float-left">
				<input type="hidden" name="model" value="Item">
				<input type="checkbox" id="check_box" onclick="$.Select.All(this,'id[]');" >选择/反选 
				<input type="submit" name="recover" value="恢复" class="btn btn-ok">
				<input type="submit" name="delete" value="删除选择" class="btn" onclick="return delConfirm('是否要删除选中的订单?')">
				<input type="submit" name="deleteAll" value="清空回收站" class="btn" onclick="return delConfirm('确认清空回收站?')">
			</div>
			<div class="ui-pager" style="float:right">{$page}</div>
		</div>
		
		</form>
</div><!--.box-->
<script type="text/javascript" src="__PUBLIC__/Assets/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
function Open(id,title){
	var url = "?m=Item&a=todo&id="+id;
	$.open(url,{title:'订单操作 - '+title,width:550,height:220})
		
}
function delConfirm(msg){
	if (confirm(msg)==true){
		return true;
	}else{
		return false;
	}
}
</script>
{:W("Foot")}