<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="renderer" content="webkit">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理页面</title>
<link href="theme/admin_leo/css/layout.css" rel="stylesheet" type="text/css" />
<link href="theme/admin_leo/css/iframe.css" rel="stylesheet" type="text/css" />
<link href="theme/admin_leo/css/iconfont.css" rel="stylesheet" type="text/css" />
<link href="lib/css/jquery.colorpicker.css" rel="stylesheet" type="text/css" />
<link href="lib/css/zTreeStyle/zTreeStyle.css" rel="stylesheet" type="text/css">
<link href="theme/admin_leo/css/tagsinput.css" rel="stylesheet" type="text/css">
<link href="theme/admin_leo/css/viewedit.css" rel="stylesheet" type="text/css" />
<script>var webroot="";</script>
<script src="lib/js/jquery.js"></script>
<script src="lib/js/jquery-migrate-1.1.0.min.js"></script>
<script src="lib/js/jquery-ui.min.js"></script>
<script src="lib/js/jquery.tools.js"></script>
<script src="theme/admin_leo/js/jquery.layout-latest.min.js"></script>
<script src="lib/js/jquery.uploader.js"></script>
<script src="lib/tips/jquery.tips.js"></script>
<script src="lib/validator/jquery.validator.js"></script>
<script src="lib/validator/zh_CN.js"></script>
<script src="lib/js/jquery.livequery.js"></script>
<script src="lib/js/jquery.colorpicker.js"></script>
<script src="theme/admin_leo/js/admin.js"></script>
<script src="lib/dialog/artdialog.js"></script>
<script src="lib/js/jquery.ztree.core-3.5.min.js"></script>
<script src="lib/js/jquery.ztree.excheck-3.5.min.js"></script>
<script src="theme/admin_leo/js/tagsinput.min.js"></script>
<script src="plug/viewedit/js/jquery.htmlClean.js"></script>
<!--[if lt IE 9]>
<script src="lib/js/html5.js"></script>
<![endif]-->
<script>
window.UEDITOR_HOME_URL="";
var editor_cid="";
var editor_classid=1;
var editor_upload_root="";
var editor_adminname="";
var editor_loginbase="";
var editor_loginkey="";
</script>
<script src="lib/ueditor/editor_config.js"></script>
<script src="lib/ueditor/editor.js"></script>
<script>
var myLayout;
$(function(){
myLayout=$("body").layout({north__spacing_open:0,south__spacing_open:0,east__spacing_open:0,east__minSize:250,east__initClosed:,resizable:false});
$('#t1').tagsinput({maxTags:5,maxChars:10,trimValue:true});
$(".ui-layout-toggler-east").click(function(){$(".right_subject span").fadeToggle(300);});
$(".right_subject span a").click(function(){myLayout.toggle('east');$(this).parent().fadeToggle(100)});
UE.getEditor('t16');
$("#golike .del").live("click",function(){$(this).parent().remove();});
$("#s0").click(function(){if($(this).attr("checked")){$("#c0").attr("value","font-weight:bold;");}else{$("#c0").attr("value","");}})
$("#s1").click(function(){if($(this).attr("checked")){$("#c1").attr("value","font-style:italic;");}else{$("#c1").attr("value","");}})
$(".list").scrollable();
$('.tab-model').find('input[type="button"]').click(function(){
$('.tab-model').find('input[type="button"]').each(function(){
$(this).attr('class','bnt_normal');
});
$(this).attr('class','bnt_save');
var tab_index = $(this).data('index');
if (tab_index == 1) {
$(".tab_model_1").show();
$(".tab_model_2").hide();
$("#editmodel").val("0");
}else{
$(".tab_model_1").hide();
$(".tab_model_2").show();
$("#editmodel").val("1");
}
});
})
var imageObj = "#selectFile";
var imageupUrl = "ey_upload.asp?act=json&cid=&classid=1&admin_name=&loginbase=&loginkey=";
var imageupSize = "KB";
var zNodes =[];
function ztreeBack(classid,classname) {
$("#myclassid").attr("value",classid);
$("#classname").attr("value",classname);
}
$().ready(function() {
var $tableid = $("#voteitem");
var $addInput = $("#addInput");
var mPrice,uPrice,snum;
$addInput.click( function() {
mPrice=$("#t7").val();
uPrice=$("#t8").val();
snum=$("#t20").val();
var sonnum=$("#voteitem li").size();
var textValueTrHtml = '<li><input type="hidden" name="t29" value="0"><input type="text" name="t25" id="t25_'+sonnum+'" size="20" maxlength="50" data-rule="名称:required;" class="ip" /><input type="text" name="t26" id="t26_'+sonnum+'" size="10" maxlength="50" value="'+mPrice+'" data-rule="市场价:required;" class="ip" /><input type="text" name="t27" id="t27_'+sonnum+'" size="10" maxlength="50" value="'+uPrice+'" data-rule="销售价:required;" class="ip" /><input type="text" name="t28" id="t28_'+sonnum+'" size="5" maxlength="10" value="'+snum+'" data-rule="库存:required;" class="ip" /> <a href="javascript:;" class="leftarr iconfont"></a><a href="javascript:;" class="rightarr iconfont"></a><a href="javascript:;" class="delitem iconfont"></a></li>';
$tableid.append(textValueTrHtml);
})
$("#voteitem .leftarr").livequery("click", function() {
var $ValueTr = $(this).parent();
var $PrevTr = $ValueTr.prev("li");
var PrevTrIndex = $("#voteitem li").index($PrevTr);
$PrevTr.insertAfter($ValueTr);
});
$("#voteitem .rightarr").livequery("click", function() {
var $ValueTr = $(this).parent();
var $NextTr = $ValueTr.next("li");
if ($NextTr.length > 0) {
$NextTr.insertBefore($ValueTr);
}
});
$("#voteitem .delitem").livequery("click", function() {
var obj=$(this);
top.dialog({
content:'确定要删除?',
ok:function(){
obj.parent().remove();
},
cancel:true
}).showModal();
});
$("input[name='point_set']").click(function(){
var $section0 = $("#point_set_0"),
$section1 = $("#point_set_1");
if($(this).val()==1){
$section1.show(50);
$section0.hide(50);
}else{
$section1.hide(50);
$section0.show(50);
};
});
});
</script>
<script src="theme/admin_leo/js/imageArea.set.js"></script>
<script src="theme/admin_leo/js/ztree.set.js"></script>
<script src="theme/admin_leo/js/calendar.set.js"></script>
</head>
<body>
<div class="ui-layout-north" id="option-align">
<div class="right_subject"><span><a href="javascript:;">关闭选填项目</a></span>当前位置:内容 > <a href="ey_content.asp?classid="></a> > <a href="?classid=&act=edit&id=&page=&where=&keyword=">修改内容</a></div>
</div>
<form class="formname" method="post">
<div class="ui-layout-center">
<div class="fixed-bar">
<div class="item-title">
<ul class="tab-base nc-row">
<li><a href="javascript:void(0);" data-index='1' class="tab current"><span>常规选项</span></a></li>
<li><a href="javascript:void(0);" data-index='2' class="tab"><span>详细介绍</span></a></li>
<li><a href="javascript:void(0);" data-index='3' class="tab"><span>规格设置</span></a></li>
<li><a href="javascript:void(0);" data-index='4' class="tab"><span>SEO选项</span></a></li>
<li><a href="javascript:void(0);" data-index='5' class="tab"><span>其他选项</span></a></li>
</ul>
</div>
</div>
<div class="tab_div">
<div class="tab_div_1">
<div class="table_form">
<div class="form_group">
<div class="form_txt">所属栏目:</div>
<div class="form_input"><input type="hidden" name="myclassid" id="myclassid" value=""><input name="classname" type="text" class="ip" id="classname" size="25" maxlength="50" value="" readonly="readonly" /><input type="button" value="选择" class="bnt_save" onclick="showMenu(this);return false;"></div>
</div>
<div class="form_group">
<div class="form_txt">商品名称:</div>
<div class="form_input">
<input type="text" name="t0" id="t0" size="50" maxlength="255" value="" class="ip" data-rule="商品名称:required;" />
<label class="bui-checkbox-label b