<%@ codepage ="936" %>
<!--#include file="conn.asp"-->
<!--#include file="checkUser.asp"-->
<html>
<head>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>

<STYLE type=text/css>
TD {
COLOR: #000; FONT-FAMILY: 宋体; FONT-SIZE: 12px
}
.GR {
COLOR: #666
}
</STYLE>
<script LANGUAGE="JavaScript">
function check()
{
if (document.myform.cpmc.value=="")
{
alert("产品名称不能为空")
document.myform.cpmc.focus()
document.myform.cpmc.select() 
return
}
if (document.myform.sort_id.value=="")
{
alert("请选择产品类别")
return
}
if (document.myform.intro.value=="")
{
alert("详细说明不能为空！")
document.myform.intro.focus()
document.myform.intro.select() 
return
}

document.myform.submit() 
}
</SCRIPT>

<SCRIPT language=javascript src="zyok.JS"></SCRIPT>
<link rel="stylesheet" href="Images/Admin_style.css">
</head>
<BODY text=#000000 leftMargin=0 topMargin=0 marginheight="0" marginwidth="0" bgcolor="#F7FBFF">
<div align="center">
<TABLE cellSpacing=0 cellPadding=0 width="99%" bgColor=#ffffff border=0 style="border-collapse: collapse" bordercolor="#111111">
<TBODY>
<tr>
<TD align=middle>
<CENTER>
<TABLE border=0 cellSpacing=0 width="100%" style="border-collapse: collapse" height="505" cellpadding="0">
<TR><TD width="100%" height="34" bgcolor="#EEF7FF">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
<tr> 
<td>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" height="22">
<tr>
<TD width="770" height="34">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="558" id="AutoNumber1" height="22">
<tr>
<td width="1" valign="bottom">
</td>
<td width="116" background="images/b4.gif" height="22">&nbsp;<img src="IMAGES/cl1.gif" width="13" height="11" border="0">
<b>产品发布</b></td>
<td width="441">
<p align="right"><font color="#FF0000">注：请不要发布重复产品 
</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor=999999></td>
</tr>
</table></TD>
</tr>
</table>
</td>
</tr>
</table></TD>
</TR>
<form method="POST" action="save.asp" name="myform">
<TR><TD width="100%" valign="top" bgcolor="#EEF7FF">
  <table border="1" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF">
                      <tr> 
                        <TD colspan="2" height="20" bgcolor="#EEF7FF" width="772"> 
                          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">
                            <tr> 
                              <TD height="17" bgcolor="#EEF7FF" width="770"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">
                                  <tr> 
                                    <td width="84%"><span style="font-size: 10.5pt"><b>&nbsp;<img src="IMAGES/bul_arrowGrnSm.gif" width="12" height="12" border="0"> 
                                      产品信息</b></span></td>
                                    <td width="16%"> <p align="left"><font color="#FF6600">&nbsp;*</font><font color="#000080">为必填项 
                                        </font> </td>
                                  </tr>
                                </table></TD>
                            </tr>
                          </table></TD>
                      </tr>
                      <tr> 
                        <TD align=right height="27" bgcolor="#CEDBFF">产品名称<SPAN class=word9>：</SPAN></td>
                        <TD height="27" bgcolor="#CEDBFF"> &nbsp;
                          <input class="f11" name="cpmc" size="31" title="输入产品名称，请不要输入空格和特殊特号">
                          &nbsp;<font color="#FF6600">*</font></td>
                      </tr>
                      <tr> 
                        <TD align="right" height="23" bgcolor="#EEF7FF">行业类别：</TD>
                        <TD height="23" bgcolor="#EEF7FF"> &nbsp;
                          <select name="sort_id" id="sort_id" title="请选择产品类别">
                            <option value="" selected>请选择产品类别</option>
                            <% set res=server.createobject("adodb.recordset") 
   sql="select * from class"
   res.open sql,conn,1,1
   do while not res.eof
%>
                            <option value="<%=res("sort_id")%>"><%=res("sort")%></option>
                            <% res.movenext
   loop
   res.close
   set res=nothing
   conn.close
   set conn=nothing
%>
                          </select> </td>
                      </tr>
                      <tr> 
                        <TD align="right" height="25" bgcolor="#CEDBFF">产品缩略图：</td>
                        <TD height="25" bgcolor="#CEDBFF"> &nbsp; 
                          <INPUT name=pic type=text>
                          <iframe style="top:2px" id="UploadFiles" src="../tc711up/tc711upload.asp?uploadtitle=pic" frameborder="0" scrolling="No" width="150" height="25"></iframe>
                          &nbsp;<font color="#FF6600">&nbsp;*(注：图片大小不得超过500KB)</font></td>
                      </tr>
                      <tr>
                        <TD align="right" height="25" bgcolor="#CEDBFF">产品放大图：</td>
                        <TD height="25" bgcolor="#CEDBFF">&nbsp; <INPUT name=pic2 type=text> 
                          <iframe style="top:2px" id="UploadFiles" src="../tc711up/tc711upload.asp?uploadtitle=pic2" frameborder="0" scrolling="No" width="150" height="25"></iframe> 
                          &nbsp;<font color="#FF6600">&nbsp;*(注：图片大小不得超过500KB)</font></td>
                      </tr>
                      <tr> 
                        <TD align="right" height="26" bgcolor="#EEF7FF">产品描述：<br> 
                          &nbsp;(最多500字)</td>
                        <TD bgcolor="#EEF7FF">&nbsp;
                          
		<iframe id="myiframe" src="edit/editor.htm?id=intro&ReadCookie=0" frameborder="0" scrolling="no" width="621" height="460"></iframe> 
		<input type=hidden name=id value="<%=ID%>">
		<textarea name="intro" style="display:none">  </textarea> 
                          &nbsp;<font color="#FF6600">&nbsp;*</font></TD>
                      </tr>
                      <tr bgcolor="#EEF7FF"> 
                        <TD colspan="2" align="right" bgcolor="#EEF7FF">&nbsp;</TD>
                      </tr>
                      <tr> 
                        <TD colspan="2" align="center" height="21" bgcolor="#CEDBFF"> 
                          <INPUT class="f11" type="button" value="确 定" onClick="check()">
                          &nbsp;&nbsp;&nbsp;&nbsp;
                          <INPUT class="f11" type="button" value="返 回">
                        </TD>
                      </tr>
                      <tr> 
                        <TD colspan="2" align="center" height="12" bgcolor="#EEF7FF"></TD>
                      </tr>
                    </table>
</TD></TR>
</FORM>
</TABLE>
</CENTER></TD>
</tr>
</TBODY></TABLE>
</div> 
</body>
</html>

