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/Shipping/index.html
{:W("Main",array('module'=>MODULE_NAME,'action'=>ACTION_NAME,'do'=>$_GET['do']))}

<div class="layout-main">    
    <div id="breadclumb" class="box">
        <h3><strong>{:lang('breadclumb_colon')}</strong>{:lang(MODULE_NAME)}<span></span>{:lang('shipping_manage')}</h3>
    </div>
    <div id="CooperationMain" class="box clear-fix">   
		<div class="layout-block-header"><h2><button type="buttun" class="btn btn-ok" onclick="javascript:shipping(0)">添加模板</button></h2></div>
		
        
		<div class="tabs-block">
			<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">名称</th>
								<th class="ui-table-hcell">默认运费</th>
								<th class="ui-table-hcell">免邮条件</th>
								<th class="ui-table-hcell" width="100">操作</th>
							</tr>
						</thead>
						<tbody>
							<volist name="list" id="vo">
							<tr id="row-{$vo.id}">
								<td>{$vo.name}</td>
								<td>{$vo.less_num}件内{$vo.less_num_cost}元;每增加{$vo.step_num}件,运费增加{$vo.step_num_cost}元。</td>
								<td>
									<notempty name="vo.is_free_num">满{$vo.free_num}件包邮。</notempty>
									<notempty name="vo.is_free_cost">满{$vo.free_cost}元包邮。</notempty>
								</td>
								<td>
									<q onclick="javascript:shipping('{$vo.id}')">{:lang('edit')}</q> | 
									<q onclick="javascript:Delete('{$vo.id}','{:U('Shipping/proccess/',array('do'=>'delete','id'=>$vo['id']))}')">{:lang('delete')}</q>
								</td>
							</tr>
							</volist>
						</tbody>
					</table>
				</div>
			</div>
		</div>	
		
	</div><!--.box-->
<script type="text/javascript">

function delConfirm(){
	$.confirm('是否要删除?',function(){ 
		$('#deleteForm').submit();
	},true)
}
function shipping(id){
	var url = "?m=Shipping&a=edit&page=1&id="+id;
	$.open(url,{title:'运费模板',width:680,height:250});
}
</script>
{:W("Foot")}