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/www.snodshop.com/Home/Tpl/Item/query.html
<include file="Item:header" />
<div class="newmain background">
	<h4 class="newtitle">{:lang('order_query')}</h4>
	<dl class="search_form">
		<form action="{:C('akmall_ROOT')}index.php?m=Order&a=query" method="post" id="akmallForm">
			<input name="kw" required="required" class="search_text" type="text" placeholder="{:lang('mobile_/_order_number')}">
			<input type="submit" class="search_btn" id="akmall-query-btn" value="{:lang('query')}">
		</form>
		<div class="clear query_result search_result" id="akmall-query-result"></div>
	</dl>
</div>
<script id="akmall-query" type="text/html">
<ul>
    {{each list as value i}}
        <li>
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<th>{:lang('order_colon')}{{value.order_no}}</th>
				</tr>
				<tr>
					<td>
						{{if value.is_auto_send}}
						<div class="akmall-alert">
							{{#value.send_content}}
						</div>
						{{/if}}
						<h2>{{value.title}}</h2>
						{{#value.itemExtends}}
						{{if value.address}}{:lang('delivery_address_colon')}{{value.address}}{{/if}}
						{{if value.express}}<p>{:lang('express_query_colon')}{{#value.express}}</p>{{/if}}
						<p>
							{:lang('order_status_colon')}{{value.status}}
							<!-- {{if value.order_status=='0' && value.payment!='1' && value.payment!='6'}}
							<a href="{:C('akmall_ROOT')}index.php?m=Order&a=pay&order_no={{value.order_no}}" class="links" target="_blank">[{:lang('pay')}]</a>
							{{/if}} -->
						</p>
						<p>{:lang('quantity_price_colon')}{{value.quantity}}/<span class="price">{:lang('symbol')}{{value.price}}</span></p>
						<p>{:lang('booking_time_colon')}{{value.time}}</p>
					</td>
				</tr>
			</table>
		</li>
    {{/each}}
</ul>
</script>
<script type="text/javascript">
seajs.use(['akmall','jquery/form','art/template'],function(akmall,form,template){
	$('#akmallForm').ajaxForm({
		timeout: 50000,
		dataType: 'json',
		error:function(){  layer.closeAll(); alert(lang.ajaxError); },
		beforeSubmit:function(){ layer.closeAll();layer.load(); },
		success:function(data){
			layer.closeAll();
			if(data.status=='1'){
				var html = template('akmall-query', data.data);
				document.getElementById('akmall-query-result').innerHTML = html;
			}else{ 
				layer.msg(data.info);
				document.getElementById('akmall-query-result').innerHTML = "<div class='akmall-rows'>"+data.info+"</div>";
			}
		}
	});
});
function delivery(order,id){
	var url = "{:C('akmall_ROOT')}index.php?m=Index&a=delivery&order="+order+"&id="+id+"&ord=asc&show=json",title="{:lang('shipping_query')}";
	layer.open({type: 2,shade: .2,shadeClose: true,title: title,area: ['600px', '60%'],content:url}); 
}
function traceExpress(com,num,order_id,order_no){
	window.location.href= "{:C('akmall_ROOT')}index.php?m=Order&a=traceExpress&com="+com+"&num="+num+"&order_id="+order_id+"&order_no="+order_no;
}
</script>
<include file="Item:footer" />