⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 s_m_sendproduct.jsp

📁 上学期软件工程作业,是一个自行车销售管理网站系统.
💻 JSP
字号:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<%@ page language="java" contentType="text/html; charset=GB18030"
    pageEncoding="GB18030"%>
    <link href="../style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src = "script.js"></script>
<%@page import="com.jspsmart.upload.*,java.util.*"%>
    <%@page import= "java.util.*" %>
    <%@page import="JAWC.Entities.*" %>
   <jsp:useBean id="sbusiness" scope="session" class = "JAWC.Business.SellerBusiness"></jsp:useBean>
    
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>内部交流</title>
  <%! String picname = null; %>
<script type="text/javascript">
  function uploadPic(){
   document.getElementById('judge').value = "upload";  
   document.getElementById('submitproduct').submit(); 
  
  }
  
  function sendproduct(){
     document.getElementById('judge').value = "sendProduct";  
     document.getElementById('submitproduct').submit();    
  
  }
  
  function showres(){
   alert(document.getElementById('judge').value);
  }
</script>


<link href="style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src = "script.js"></script>


<body>
<div id="mainPane" style="border-style:solid; border-color:#003366; border-width:1px; ">
<div id="mainPanes">
<table width="1000" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="8" id="topBar"/>
	<div >
	</div>
	</td>
    </tr>
  <tr id="guides">
    <td><img src="images/t_top02.gif" width="18" height="36" alt="" /></td>
    <td><div  class="guide" id="guide1" onclick=" window.location.href='s_m_sellmanage.jsp'">销售管理</div></td>
    <td><div  class="guide" id="guide2" onclick=" window.location.href='s_m_designation.jsp'">决策支持</div></td>
    <td><div  class="guide" id="guide3" onclick=" window.location.href='s_m_comment.jsp'">评论信息</div></td>
    <td><div   class="guide" id="guide4" onclick=" window.location.href='s_m_personal.jsp'">个人信息</div></td>
    <td><div   class="guide" id="guide5" onclick=" window.location.href='SellerIndex.jsp'">退出系统</div></td>
    <td><img src="images/t_top02-09.gif" width="19" height="36" alt="" /></td>
    <td>
	<form action="" method="get" >
	<table width="237" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td style="background:url(images/t_search1.gif) no-repeat;width:184px;height:36px;">&nbsp;</td>
        <td><input name="submit" type="submit" style="background:url(images/t_search2.gif);width:36px;height:36px;border:none;cursor:pointer;" value="" /></td>
        <td><img src="images/t_search3.gif" width="17" height="36" alt="" /></td>
      </tr>
    </table>
	</form>
	</td>
    </tr>
</table>
</div>

<table border="0" cellspacing="0" cellpadding="0" style="margin-top:3px;">


 <tr>
    <td valign="top">
	<div>
		<table width="237" border="0" cellspacing="0" cellpadding="0" style="margin-left:8px">
 		 <tr>
   			 <td style="background:url(images/t_left_top1.gif);width:237px;height:30px;padding-left:30px;padding-top:3px;color:#00C;font-weight:bold;">登陆注册信息</td>
 		 </tr>
 		 <tr>
  		   <td style="background:url(images/t_left_body2.gif) left bottom;width:237px;height:217px;">
			    <div id="loginDiv" style="width:237px; height:185px; ">			  	  
		     <table style="width:237px;">
			       <tr style="height:30px"><td><div class="cbn"> <a href = "s_m_check_promotion.jsp">查看促销信息</a></div></td></tr>
				   <tr style="height:30px"><td><div class="cbn"><a href="s_m_set_promotion.jsp"> 设置产品折扣</a></div></td></tr>  
			   	   <tr style="height:30px"><td><div class="cbn"><a href="s_m_send_promotion"> 发表促销信息</a></div></td></tr> 
			   	   <tr style="height:30px"><td><div class="cbn"><a href ="s_m_sendProduct.jsp"> 发表新产品</a></div></td></tr>
			       <tr style="height:30px"><td><div class="cbn"><a href ="s_m_communication.jsp"> 内部交流</a></div></td></tr>
			       <tr style="height:30px"><td><div class="cbn"><a href="s_m_chance.jsp"> 机会管理</a></div></td></tr>
			</table>
			  </div>
		  </td>
 	   </tr>
	</table>
  </div>

	<div style="margin-top:10px;">
		<table width="241" border="0" cellspacing="0" cellpadding="0" style="margin-left:8px">
 		 <tr>
   			 <td style="background:url(images/t_left_top2.gif);width:241px;height:30px;"></td>
 		 </tr>
 		 <tr>
  			<td style="background:url(images/t_left_body2.gif);width:241px;height:249px;"></td>
		 </tr>
		</table>
	</div>
	</td>
    <td valign="top">
  
    <div id="productList" style="width:512px; text-align:center" >
   <p style="margin-top:15px;font-size:12px;font-weight:bold">请输入新产品信息:</p>
   
   <form action="s_m_sendProduct.jsp" method="post" id = "submitproduct">
<table width="494" border="1" bordercolor="#003399" cellpadding="0" cellspacing="0">
  <tr>
    <td class="aa"><span style="width:80px; text-align:right; padding-right:5px;">产品ID</span></td>
    <td class="bb"><input type="text"  style="width:178px; height:24px;" id="pid"></td>
    <td rowspan="5"><img src="<%=picname %> " style="width:214px;height:160px;"></td>
  </tr>
  <tr>
    <td class="aa"><span style="width:80px; text-align:right; padding-right:5px;">产品名</span></td>
    <td class="bb"><input type="text" value="" id="pname" name="pname" style="width:178px; height:24px;" /></td>
   
  </tr>
  <tr>
    <td class="aa"><span style="width:80px; text-align:right; padding-right:5px;">存储量</span></td>
    <td class="bb"><input type="text" value=" " id="pstore" name="pstore" style="width:178px; height:24px;" /></td>
   
  </tr>
  <tr>
    <td class="aa"><span style="width:80px; text-align:right; padding-right:5px;">销售量</span></td>
    <td class="bb"><input type="text" value="" id="psold" name="psold" style="width:178px; height:24px;" /></td>
    
  </tr >
  <tr>
    <td class="aa"><span style="width:80px; text-align:right; padding-right:5px;">是否积压</span></td>
    <td class="bb"><input type="radio" name="store" id="isstored" />是<input type="radio" name="store" id="nostored" checked="checked" />否
   
    </td>
   
  </tr>
  <tr>
    <td class="aa"><span style="width:80px; text-align:right; padding-right:5px;">价格(¥)</span></td>
    <td class="bb"><input type="text" value=" " name="price" id="price" style="width:178px; height:24px;" /></td>
    <td>
<input type="file" name="file"  style="width:160px;height:24px;"><input type="button" onclick="uploadPic()"  style="width:50px;height:24px;" value="上传" id="uploadpics"/></td>
  </tr>
  <tr>
    <td class="aa"><span style="width:80px; text-align:right; padding-right:5px;">产品折扣</span></td>
    <td colspan="2"><input type="text" value="" name="pdiscount" id="pdiscount" style="width:178px; height:24px;" /></td>
   
  </tr>
  <tr>
    <td class="aa"><span style="width:88px; text-align:right; padding-right:13px;">时间</span></td>
    <td colspan="2"><input type="text" value="" name="pdiscount" id="pdiscount" style="width:178px; height:24px;" /></td>
   
  </tr>
  
</table>
<table width="494" border="1" bordercolor="#003399" cellpadding="0" cellspacing="0" >
<tr><td  style="width:86px; padding-right:5px; text-align:right">产品描述</td>
<td><textarea id="pinfo"  name="pinfo"  cols="54" rows="8" ></textarea></td>
</tr>
</table>
<input type = "text" style="visibility:hidden" id="judge" value="aaa" /> 
  </form>
  <div style="width:140px; margin-left:50px; margin-top:15px;">  <input type="button" value="取消" onclick="showres()" id="cancel"> 
   <input type="button" value="发布" id="sendProduct" onclick="sendproduct()" >
   </div> 
   
<div style="padding-left:250px; margin-top:15px;" onClick="window.close()">关闭本页</div>
   
   
   
   
	</div>
    </td>
    <td valign="top">
	<div>
		<table width="230" border="0" cellspacing="0" cellpadding="0">
 		 <tr>
   			 <td style="background:url(images/t_right_top.gif);width:200px;height:23px;padding-left:30px;padding-top:7px;font-size:13px;">
			 公告信息
			 </td>
 		 </tr>
 		 <tr>
  			 <td style="background:url(images/t_right_body.gif);width:230px;height:223px;"> </td>
		  </tr>
		</table>
	</div>
	
	<div style="margin-top: 10px;">
		<table width="230" border="0" cellspacing="0" cellpadding="0">
 		 <tr>
   			 <td style="background:url(images/t_right_top.gif);width:200px;height:30px;padding-left:30px;padding-top:7px;font-size:13px;">
			 Connection
			 </td>
 		 </tr>
 		 <tr>
  			 <td style="background:url(images/t_right_body.gif) 0px -73px;width:230px;height:150px;"> </td>
		  </tr>
		</table>
	</div>
	</td>
  </tr>
</table>
<div id="bottom">版权所有 *****<br/>
推荐分辨率 1024*768 以上
</div>
</div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -