Shop/WebContent/manage/pro_add.jsp

(开头部分) 9KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page contentType="text/html; charset=utf-8" %>
<%@ include file="/manage/menu.jsp"%>
<script src="<%=basePath%>/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
function showSmallSort(arg){
	if(arg == null || arg == ""){
		return;
	}
	$("#proSort").load("<%=basePath%>/manage/pro_smallSort.do?id=" + arg);
}
tinyMCE.init({
    mode : "exact",
    elements : "proContent",
    theme : "advanced", 
    plugins : "pagebreak",
    theme_advanced_buttons1 : "bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright, justifyfull,bullist,numlist,undo,redo,link,unlink,separator,image",
    theme_advanced_buttons2 : "",
    theme_advanced_buttons3 : "",
    theme_advanced_toolbar_location : "top",
    theme_advanced_toolbar_align : "left",
    theme_advanced_path_location : "bottom",
    width:700,
    height:300,
    extended_valid_elements : "a[name|href|target|title|onclick],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
    language : "zh"
});

function checkForm(arg){
	var proTitle = arg.proTitle.value;
	var proSort = arg.proSort.value;
	var proPicFile = arg.proPicFile.value;
	if(proTitle == null || proTitle == ""){
		alert("请填写标题");
        return false;
	}
	if(proSort == null || proSort == ""){
		alert("请选择类别");
        return false;
	}
	if(proPicFile == null || proPicFile == ""){
		$("#proPicFile").remove();
	}
}
</script>

<div class="mainPage">
    <div class="nav">
        商品管理&gt;&gt;商品管理    </div>
    <div class="mainContent">
      <a href="<%=basePath%>/manage/pro.do">返回商品列表</a>    </div>
     <form action="<%=basePath%>manage/pro_addSave.do" method="post" enctype="multipart/form-data" name="form1" id="form1" onsubmit="return checkForm(this)">
  <div class="mainContent">
 
        <table width="95%" border="0" align="left" cellpadding="5" cellspacing="0" bordercolor="#FFFFFF">
          <tr>
            <td width="15%" align="right" valign="middle" nowrap="nowrap" bgcolor="#975A00"><span style="color: #FFFFFF">商品编号:</span></td>
            <td width="4%" align="center" valign="middle" bgcolor="#975A00">&nbsp;</td>
            <td width="77%" align="left" valign="middle" bgcolor="#FFCA79"><label>
              <input name="proId" type="text" id="proId" value="${bean.proId}" size="50"  />
            </label></td>
后面还有 115 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。