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

📄 productedit.asp

📁 此系统都是基于ASP+ACCESS技术开发的电子商务平台,属于全自动化、全智能的在线方式管理、维护、更新的网站管理系统。此系统直接上传到你的网站空间就可以使用了。完全后台操作。
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<% Option Explicit %>
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8" />
<META NAME="copyright" CONTENT="Copyright 2008-2010 - GLGK.COM-STUDIO" />
<META NAME="Author" CONTENT="冠龙科技,www.glgk.com" />
<META NAME="Keywords" CONTENT="" />
<META NAME="Description" CONTENT="" />
<TITLE>编辑产品</TITLE>
<link rel="stylesheet" href="Images/CssAdmin.css">
<script language="javascript" src="../Script/Admin.js"></script>
</HEAD>
<!--#include file="../Include/Const.asp" -->
<!--#include file="../Include/ConnSiteData.asp" -->
<!--#include file="CheckAdmin.asp"-->
<%
if Instr(session("AdminPurview"),"|33,")=0 then 
  response.write ("<font color='red')>你不具有该管理模块的操作权限,请返回!</font>")
  response.end
end if
'========判断是否具有管理权限
%>
<BODY>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#6298E1">
  <tr>
    <td height="24" nowrap><font color="#FFFFFF"><img src="Images/Explain.gif" width="18" height="18" border="0" align="absmiddle">&nbsp;<strong>产品检索及分类查看:添加,修改,删除产品信息</strong></font></td>
  </tr>
  <tr>
    <td height="24" align="center" nowrap  bgcolor="#EBF2F9"><a href="ProductEdit.asp?Result=Add" onClick='changeAdminFlag("添加产品信息")'>添加产品信息</a><font color="#0000FF">&nbsp;|&nbsp;</font><a href="ProductList.asp" onClick='changeAdminFlag("产品列表")'>查看所有产品信息</a></td>
  </tr>
</table>
<br>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#6298E1">
  <form name="editForm" method="post" action="ProductEdit.asp?Action=SaveEdit&Result=">
  <tr>
    <td height="24" nowrap bgcolor="#EBF2F9"><table width="100%" border="0" cellpadding="0" cellspacing="0" id=editProduct idth="100%">

      <tr>
        <td width="120" height="20" align="right">&nbsp;</td>
        <td colspan="2">&nbsp;</td>
      </tr>
      <tr>
        <td height="20" align="right" >中文名称:</td>
        <td colspan="2"><input name="ProductNameCh" type="text" class="textfield" id="ProductNameCh" style="WIDTH: 240;" value="" maxlength="100">&nbsp;显示:<input name="ViewFlagCh" type="checkbox" style='HEIGHT: 13px;WIDTH: 13px;' value="1" checked>&nbsp;*</td>
      </tr>
      <tr>
        <td height="20" align="right" >英文名称:</td>
        <td colspan="2"><input name="ProductNameEn" type="text" class="textfield" id="ProductNameEn" style="WIDTH: 240;" value="" maxlength="100">&nbsp;显示:<input name="ViewFlagEn" type="checkbox" value="1" style='HEIGHT: 13px;WIDTH: 13px;'></td>
      </tr>
      <tr>
        <td height="20" align="right">排&nbsp;序&nbsp;号:</td>
        <td colspan="2"><input name="Sequence" type="text" class="textfield" id="Sequence" size="4" value=""  onKeyDown="if(event.keyCode==13)event.returnValue=false" onChange="if(/\D/.test(this.value)){alert('只能在排序号内输入整数!');this.value='';}"></td>
      </tr>
      <tr>
        <td height="20" align="right">主属类别:</td>
        <td><input name="SortNameCh" type="text" class="textfield" id="SortNameCh" value="" style="WIDTH: 240;background-color:#EBF2F9;" readonly>&nbsp;<a href="javaScript:OpenScript('SelectSort.asp?Result=Products',500,500,'')"><img src="Images/Select.gif" width="30" height="16" border="0" align="absmiddle"></a></td>
        <td>另属类别:
            <input name="SortNameCh2" type="text" class="textfield" id="SortNameCh2" value="" style="WIDTH: 240;background-color:#EBF2F9;" readonly>
&nbsp;<a href="javaScript:OpenScript('SelectSort.asp?Result=Products',500,500,'')"><img src="Images/Select.gif" width="30" height="16" border="0" align="absmiddle"></a>&nbsp;<img src="Images/Cancel.gif" width="30" height="16" border="0" align="absmiddle" style="cursor:pointer;" onClick="document.getElementById('SortNameCh2').value = '';document.getElementById('SortID2').value = '';document.getElementById('SortPath2').value = '';"></td>
      </tr>
      <tr>
        <td height="20" align="right">类别数字:</td>
        <td><input name="SortID" type="text" class="textfield" id="SortID" style="WIDTH: 40;background-color:#EBF2F9;" value="" readonly><input name="SortPath" type="text" class="textfield" id="SortPath" style="WIDTH: 200;background-color:#EBF2F9;" value="" readonly>&nbsp;*</td>
        <td>类别数字:
          <input name="SortID2" type="text" class="textfield" id="SortID2" style="WIDTH: 40;background-color:#EBF2F9;" value="" readonly>
          <input name="SortPath2" type="text" class="textfield" id="SortPath2" style="WIDTH: 200;background-color:#EBF2F9;" value="" readonly></td>
      </tr>
      <tr>
        <td height="20" align="right">编  号:</td>
        <td colspan="2"><input name="ProductNo" type="text" class="textfield" id="ProductNo" style="WIDTH: 240;" value="" maxlength="100">&nbsp;*&nbsp;如果不明确请勿修改</td>
      </tr>
      <tr>
        <td height="20" align="right">型  号:</td>
        <td colspan="2"><input name="ProductModel" type="text" class="textfield" id="ProductModel" style="WIDTH: 240;" value="" maxlength="100"></td>
      </tr>
      <tr>
        <td height="20" align="right">标 准 价:</td>
        <td colspan="2"><input name="N_Price" type="text" class="textfield" id="N_Price" style="WIDTH: 240;" value="" maxlength="100">&nbsp;*&nbsp;</td>
      </tr>	  
      <tr>
        <td height="20" align="right">优 惠 价:</td>
        <td colspan="2"><input name="P_Price" type="text" class="textfield" id="P_Price" style="WIDTH: 240;" value="" maxlength="100">&nbsp;*&nbsp;</td>
      </tr>
      <tr>
        <td height="20" align="right">库存数量:</td>
        <td colspan="2"><input name="Stock" type="text" class="textfield" id="Stock" style="WIDTH: 240;" value="" maxlength="100">&nbsp;*</td>
      </tr>	  
      <tr>
        <td height="20" align="right">计价单位:</td>
        <td colspan="2"><input name="UnitCh" type="text" class="textfield" id="UnitCh" style="WIDTH: 240;" value="" maxlength="100">&nbsp;中文&nbsp;*</td>
      </tr>	 
      <tr>
        <td height="20" align="right"></td>
        <td colspan="2"><input name="UnitEn" type="text" class="textfield" id="UnitEn" style="WIDTH: 240;" value="" maxlength="100">&nbsp;英文</td>
      </tr>	 
	  <tr>
        <td height="20" align="right">出品公司:</td>
        <td colspan="2"><input name="MakerCh" type="text" class="textfield" id="MakerCh" style="WIDTH: 240;" value="" maxlength="100">&nbsp;中文</td>
      </tr>
      <tr>
        <td height="20" align="right">&nbsp;</td>
        <td colspan="2"><input name="MakerEn" type="text" class="textfield" id="MakerEn" style="WIDTH: 240;" value="" maxlength="100">&nbsp;英文</td>
      </tr>
      <tr>
        <td height="20" align="right">状  态:</td>
        <td colspan="2"><input name="CommendFlag" type="checkbox" style="HEIGHT: 13px;WIDTH: 13px;" value="1" >&nbsp;推荐&nbsp;<input name="NewFlag" type="checkbox" value="1" style="HEIGHT: 13px;WIDTH: 13px;" >&nbsp;最新</td>
      </tr>
      <tr>
        <td height="20" align="right">查看权限:</td>
        <td colspan="2"><select name="GroupID" class="textfield">
          </select>
          <input name="Exclusive" type="radio" value="&gt;=" > 隶属<input type="radio"  name="Exclusive" value="=">专属(隶属:权限值≥可查看,专属:权限值=可查看)</td>
      </tr>
      <tr>
        <td height="20" align="right">产品主图:</td>
        <td colspan="2"><input name="BigPic" type="text" class="textfield" style="WIDTH: 240;" value="" maxlength="100">&nbsp;<a href="javaScript:OpenScript('UpFileForm.asp?Result=BigPic',460,180)"><img src="Images/Upload.gif" width="30" height="16" border="0" align="absmiddle"></a></td>
      </tr>
      <tr>
        <td height="20" align="right">缩 略 图:</td>
        <td colspan="2"><input name="SmallPic" type="text" class="textfield" style="WIDTH: 240;" value="" maxlength="100">&nbsp;<a href="javaScript:OpenScript('UpFileForm.asp?Result=SmallPic',460,180)"><img src="Images/Upload.gif" width="30" height="16" border="0" align="absmiddle"></a></td>
      </tr>
      <tr>
        <td height="20" align="right" valign="top">中文介绍:<br>
		  <img title="点击进入可视化查看、编辑环境..." src="Images/Edit.gif" width="51" height="20" style="cursor:hand" onClick="OpenDialog('../Editor/EditorDialog.html?lnk=ContentCh&file=Editor_1.html',800,520);">
        <td colspan="2"><textarea name="ContentCh" rows="8" class="textfield" id="ContentCh" style="WIDTH: 86%;" readonly></textarea></td>
      </tr>
      <tr>
        <td height="20" align="right" valign="top">英文介绍:<br>
          <img title="点击进入可视化查看、编辑环境..." src="Images/Edit.gif" width="51" height="20" style="cursor:hand" onClick="OpenDialog('../Editor/EditorDialog.html?lnk=ContentEn&file=Editor_1.html',800,520);"></td>
        <td colspan="2"><textarea name="ContentEn" rows="8" class="textfield" id="ContentEn" style="WIDTH: 86%;" readonly></textarea></td>
      </tr>

      <tr>
        <td height="30" align="right">&nbsp;</td>
        <td colspan="2" valign="bottom"><input name="submitSaveEdit" type="submit" class="button"  id="submitSaveEdit" value="保存" style="WIDTH: 80;" ></td>
      </tr>
      <tr>
        <td height="20" align="right">&nbsp;</td>
        <td colspan="2" valign="bottom">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  </form>
</table>
</BODY>
</HTML>

⌨️ 快捷键说明

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