7e47ce238b
添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
130 lines
4.4 KiB
PHP
130 lines
4.4 KiB
PHP
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<title><?php echo $_title_; ?></title>
|
|
<link href="css/index.css" rel="stylesheet" type="text/css" />
|
|
<link href="js/swfupload/css.css" rel="stylesheet" type="text/css" />
|
|
<script language="javascript" src="js/function.js"></Script>
|
|
<script language="javascript" src="js/My97DatePicker/WdatePicker.js"></Script>
|
|
<!--自动完成 -->
|
|
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
|
|
<script type="text/javascript" src="js/jquery.autocomplete.js"></script>
|
|
<link rel="Stylesheet" href="css/jquery.autocomplete.css" />
|
|
<!--/自动完成 -->
|
|
<?php
|
|
if(is_array($js_src)){
|
|
for($i=0;$i<count($js_src);$i++){
|
|
echo "<script language=\"javascript\" src=\"".$js_src[$i]."\"></Script>\n";
|
|
}
|
|
}
|
|
?>
|
|
<script type="text/javascript">
|
|
<?php
|
|
if($js_function)
|
|
echo $js_function;
|
|
?>
|
|
</script>
|
|
<script type="text/javascript">
|
|
<?php echo $js_code; ?>
|
|
</script>
|
|
<?php if($js_start=="y"){?>
|
|
<script>
|
|
function jump2(){
|
|
//alert('1');
|
|
document.form1.submit();
|
|
}
|
|
function jump(next){
|
|
var event = arguments.callee.caller.arguments[0] || window.event;
|
|
if(document.getElementById(next)){
|
|
var nextInp = document.getElementById(next);
|
|
//var event = arguments.callee.caller.arguments[0] || window.event;
|
|
if(event.keyCode == 13){
|
|
if(nextInp){
|
|
nextInp.focus();
|
|
nextInp.select();
|
|
}
|
|
}else if(event.keyCode==112){
|
|
document.form1.submit();
|
|
}
|
|
}
|
|
}
|
|
function d_del_order(){
|
|
var dpid=document.getElementById("dp_id").value;
|
|
var khid=document.getElementById("khid").value;
|
|
if(khid && dpid){
|
|
var a=confirm("确认清空该款订单吗?");
|
|
if(a==true){
|
|
window.location.href='?_m=system/order&_a=del&dpid='+dpid+'&khid='+khid;
|
|
}
|
|
}else{
|
|
if(!khid)
|
|
alert("请输入圆牌号或者款号!");
|
|
if(!dpid)
|
|
alert("请输入店铺!");
|
|
}
|
|
}
|
|
</script>
|
|
<?php }?>
|
|
</head>
|
|
<body <?php
|
|
if($js_start=="y")
|
|
echo "onLoad='document.form1.kh.focus()'";
|
|
?>>
|
|
<script type="text/javascript">
|
|
//alt+s保存
|
|
document.onkeydown=function(e){
|
|
var ev=e||event;
|
|
if(ev.keyCode==83 && ev.altKey==true ){
|
|
jump2();
|
|
}
|
|
}
|
|
</script>
|
|
<form id="form1" name="form1" action="<?php echo $_SERVER[PHP_SELF] ?>" method="post"<?php echo $form_property; ?>>
|
|
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td><?php include "inc.top.php"; ?></td>
|
|
</tr>
|
|
<tr><td style="height: 8px;"></td></tr>
|
|
<tr>
|
|
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td width="160" style="padding-right:8px;" valign="top"><?php include "inc.menu.php"; ?></td>
|
|
<td valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
|
<input type="hidden" name="_m" value="<?php echo $_m; ?>">
|
|
<input type="hidden" name="_cid" value="<?php echo $_cid; ?>">
|
|
<?php
|
|
if(is_array($form_hidden)){
|
|
foreach ($form_hidden as $key => $value){
|
|
echo "<input type=hidden name=\"".$key."\" value=\"".$value."\">\n";
|
|
}
|
|
}
|
|
?>
|
|
<tr><td></td><td></td></tr>
|
|
<?php for($i=0;$i<count($content);$i++){ ?>
|
|
<tr>
|
|
<td width="<?php echo $_width_?$_width_:80; ?>" align="right" bgcolor="#f5f5f5"><?php echo $content[$i][0]; ?></td>
|
|
<td><?php echo $content[$i][1] ?></td>
|
|
</tr>
|
|
<?php } ?>
|
|
<tr>
|
|
<?php if($js_start=="y"){?>
|
|
<td colspan="2" align="left"><?php echo $_submit_button_?$_submit_button_:"<input type=\"button\" name=\"s1\" id=\"btn_submit\" value=\"Alt+s保 存\" onClick=\"jump2()\"> <input type=\"button\" name=\"r1\" value=\"清 空\" onclick=\"d_del_order();\"> <input type=\"button\" name=\"b1\" value=\"返 回\" onclick=\"window.location.href='index.php?_m=system/order'\">"; ?></td>
|
|
<?php }else{?>
|
|
<td colspan="2" align="left"><?php echo $_submit_button_?$_submit_button_:"<input type=\"submit\" name=\"s1\" value=\"F1保存\"> <input type=\"reset\" name=\"r1\" value=\"重 置\"> <input type=\"button\" name=\"b1\" value=\"返 回\" onclick=\"history.back();\">"; ?></td>
|
|
<?php }?>
|
|
</tr>
|
|
</table></td>
|
|
</tr>
|
|
</table></td>
|
|
</tr>
|
|
<tr>
|
|
<td><?php include "inc.bottom.php"; ?></td>
|
|
</tr>
|
|
</table>
|
|
<div id="divProcessing">
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|