<!--#include file="conn.asp" -->
<% adm_power_page=3 %>
<!--#include file="admin_dn.asp" -->

<% 
 if Trim(Request.QueryString("w"))="save" then
  if  Trim(Request.Form("bh"))="" or Trim(Request.Form("title"))="" then 
  msg="对不起,提交失败,其中产品编号和产品名称是必须的...."
  else
  rs.open "other",conn,2,3
    rs.addnew
  rs("bh")=Trim(Request.Form("bh"))
  rs("title")=Trim(Request.Form("title"))
  rs("bak")=replace(Trim(Request.Form("bak")),VbCrLf,"<br>")
  rs("cje")=Trim(Request.Form("cje"))
  rs("img")=Trim(Request.Form("img"))
  rs("lp")=Trim(Request.Form("lp"))
	rs.update
  rs.close
   msg="产品新增成功....."
  end if
 end if

 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>:::管理页面:::</title>
<link href="css.css" rel="stylesheet" type="text/css">
</head>

<body leftmargin="4" topmargin="4">
<p><strong><font color="#990000">其它产品新增</font></strong></p>
<form name="form1" method="post" action="adm_other.asp?w=save">
  <table width="80%" border="0" align="center" cellpadding="0" cellspacing="2">
    <tr bgcolor="#000066"> 
      <td height="18" colspan="2"><font color="#FFFFFF">主机托管/租用/系统集成/其他产品统一新增</font></td>
    </tr>
    <tr> 
      <td width="15%"><div align="center">产品编号:</div></td>
      <td width="85%"><input name="bh" type="text" id="bh" size="10"> <font color="#FF0000">*</font></td>
    </tr>
    <tr> 
      <td><div align="center">产品名称:</div></td>
      <td><input name="title" type="text" id="title"> <font color="#FF0000">*</font></td>
    </tr>
    <tr>
      <td><div align="center">产品图片:</div></td>
      <td><input name="img" type="text" id="img">
        123*96</td>
    </tr>
    <tr>
      <td><div align="center">产品类别:</div></td>
      <td><select name="lp" id="lp">
          <option value="1" selected>托管/租用</option>
          <option value="2">系统集成</option>
          <option value="3">其他项目</option>
        </select></td>
    </tr>
    <tr> 
      <td><div align="center">简单介绍:</div></td>
      <td><textarea name="bak" cols="30" rows="4" id="bak"></textarea></td>
    </tr>
    <tr> 
      <td><div align="center">参考价格:</div></td>
      <td><input name="cje" type="text" id="cje" value="0" size="10">
        不会计入客户实际金额中<font color="#FF0000">(0表示面议)</font></td>
    </tr>
    <tr bgcolor="#000066"> 
      <td>&nbsp;</td>
      <td> 
        <input type="submit" name="Submit" value="-新加产品-"></td>
    </tr>
  </table>
</form>
<p align="center"><font color="#FF0000"><%= msg %></font></p>
<p align="center">&nbsp;</p>
<p><font color="#FF0000">注: </font>这里新增的产品主要是一些金额大或是必须面谈才能定价和产品.比如: 主机租用,主机托管,网站开发.....一些项目,托管和系统集成会在相应的页显示,“其他项目”将不显示在前台,你必须先把展示的页面做好.再调用相应的参数提交就行.</p>
</body>
</html>
