productadd.asp
来自「网店批发系统,很好很强大,很好很强大很好很强大」· ASP 代码 · 共 123 行
ASP
123 行
<!--#include file="conn.asp"-->
<!--#include file="checkAdmin.asp"-->
<!--#include file="../sysConfig.asp"-->
<SCRIPT LANGUAGE="JavaScript" src="js/ProAdd.js"></SCRIPT>
<!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=gb2312" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<title></title>
</head>
<body>
<!--#include file="inc/productAdd_inc.asp"-->
<form name="AddProduct" method="post" action="cs.asp">
<table width="97%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FAFAFA" style="border:1px solid #DDDDDD">
<tr>
<td width="92" align="right"> </td>
<td colspan="2" align="left"> </td>
</tr>
<tr>
<td height="24" align="right">商品类别:</td>
<td width="311" align="left">
<select name="ProductClass" class="editbox">
<option>-请选择商品类别-</option>
<%
for j = 0 to (i-1)
%>
<option value="<%=NewProClass(0,j)%>"><%=NewProClass(3,j)%><%=NewProClass(1,j)%></option>
<%
next
%>
</select> </td>
<td width="343" rowspan="8" align="left"><img id="preview" style="border:1px solid #E5E3E4;display:none;" /></td>
</tr>
<tr>
<td height="24" align="right">商品名称:</td>
<td align="left">
<input name="ProductName" type="text" class="editbox" value="" size="40" /> </td>
</tr>
<tr>
<td height="24" align="right">商品价格:</td>
<td align="left">
市场价
<input name="ProductPrice" type="text" class="editbox" value="0" size="5" />
元
会员价
<input name="ProductPrice1" type="text" class="editbox" value="0" size="5" />元 </td>
</tr>
<tr>
<td height="24" align="right">商品积分:</td>
<td align="left">
<input name="ProductJifen" type="text" class="editbox" value="0" size="5" />分 </td>
</tr>
<tr>
<td height="24" align="right">商品库存:</td>
<td align="left">
<input name="ProductNum" type="text" class="editbox" value="10" size="5" /> </td>
</tr>
<tr>
<td height="24" align="right">关键字:</td>
<td align="left">
<div id="help" style="position:absolute;width:250px;margin-top:20px;padding:5px;background-color:#FFFFED;border:1px solid #DDCF8F;color: #333333;display:none;">其它含有此关键字的商品将会出现在该商品的相关商品里面,多个关键字用“,”英文逗号分开,注意区别中英文</div>
<input name="ProductKey" type="text" class="editbox" size="40" onFocus="display()" onBlur="hidden()"/>
<img src="images/help.gif" width="15" height="15" align="absmiddle" onMouseOver="display()" onMouseOut="hidden()" style="cursor:pointer;" /></td>
<script language="javascript">
function display() {
document.getElementById('help').style.display='block';
}
function hidden() {
document.getElementById('help').style.display='none';
}
</script>
</tr>
<tr>
<td height="24" align="right">商品小图:</td>
<td align="left">
<input name="ProductPic" id="ProductPic" type="text" class="editbox" value="" size="25" onChange="previewpic();" />
<input name="ProductMaxLength" type="hidden" value="0" />
<input name="upload" type="button" class="Button" onClick="window.open('../<%=upload%>?Form=AddProduct&Edit=ProductPic&Path=ProductPic','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')" value="上传小图" /></td>
</tr>
<tr>
<td height="24" align="right">商品大图:</td>
<td align="left"><input name="ProductPic1" type="text" class="editbox" value="" size="25" />
<input name="upload2" type="button" class="Button" onClick="window.open('../<%=upload%>?Form=AddProduct&Edit=ProductPic1&Path=ProductPic','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')" value="上传大图" /></td>
</tr>
<tr>
<td height="24" align="right">商品状态:</td>
<td colspan="2" align="left">
推荐<input name="ProductTuijian" type="checkbox" value="1" />
新品<input name="ProductXinpin" type="checkbox" value="1" />
热卖<input name="ProductTejia" type="checkbox" value="1" />
促销<input name="ProductRemai" type="checkbox" value="1" />
</td>
</tr>
<tr>
<td height="24" align="right">商品简介:</td>
<td align="left" colspan="2">
<input name="ProductShortContent" type="text" class="editbox" value="" size="90" />
</td>
</tr>
<tr>
<td align="right"> </td>
<td colspan="2" align="left"> </td>
</tr>
<tr>
<td align="right" valign="top">商品详情:</td>
<td colspan="2" align="left">
<INPUT type="hidden" name="ProContent" value="">
<iframe ID="ProContent" src="htmledit/ewebeditor.asp?id=ProContent&style=standard" frameborder="0" scrolling="no" width="550" HEIGHT="350"></iframe></td>
</tr>
<tr>
<td height="30" colspan="3" align="center" valign="bottom">
<input name="reset" type="reset" class="Button" value="清除重写" />
<input type="submit" class="Button" onClick="return check();" value="确认提交"/> </td>
<tr>
<td align="center" colspan="3"> </td>
</table>
</form>
<!--#include file="inc/closeconn_inc.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?