<div class="infodiv"><br>
        	<center> <font size="+1">发布产品信息</font>
        	</center><br />
            <p class="shuoming">说明:1、请用英语填写产品信息<br />
				&nbsp; &nbsp; &nbsp;2、发布的产品信息将直接显示在网站的"贸易政策"栏目中<br />
<br /></p>
        </div>
<form action="trade/dotrade.php?act=addpro" method="post" enctype="multipart/form-data" onSubmit="return goaddproduct();">
		<div class="infodiv" id="webdiv">
        	<div class="infoleft"><span class="red">*</span> 选择发布站体:</div>
            <div class="inforight"><select  name="webiste[]" id="website" multiple="multiple"><?php  getWeblist($userid);?></select><br><span id="err_p"></span> </div>
        </div>
     	<div class="infodiv">
        	<div class="infoleft"><span class="red">*</span> 产品名(英文):</div>
            <div class="inforight"><input type="text" id="proname" name="proname" value="" class="input" size="50" /><br><span id="err_p"></span> </div>
        </div>
        <div class="infodiv">
        	<div class="infoleft"><span class="red">*</span> 相关产品名:</div>
          <div class="inforight">
 <span class="huise">英文产品名	<input type="text" id="key1" name="key1" value="" class="input" />
 			<input type="text" name="key2" id="key2" value="" class="input" />
            <input type="text" name="key3" id="key3" value="" class="input" /> </span><br />
<span class="huise">对应的中文  <input type="text" name="cn1" value="" class="input" />
 			<input type="text" name="cn2" value="" class="input" />
            <input type="text" name="cn3" value="" class="input" /> </span><br />
	<span class="huise" id="err_k">最少必须一个</span></div>
        </div>
        
        <div class="infodiv">
        	<div class="infoleft">产品图片:</div>
            <div class="inforight"><table id="pictures"><tr><td><input type="file" name="picture[]" value="" class="input" /> <span class="huise">请上传jpg、gif格式的图片(300*200)</span></td></tr></table> <a href="#" onclick="addmorepic(); return false;">更多图片</a></div>
        </div>
        <div class="infodiv">
        	<div class="infoleft"><span class="red">*</span> 简要描述:<br />
<span class="huise">在此输入你的产品优势</span></div>
            <div class="inforight"><textarea name="description" id="description" style="border:solid 1px #ccc; width:80%; height:80px;"></textarea><br><span id="err_des"></span>		</div>
        </div>
        <div class="infodiv">
        	<div class="infoleft">详细介绍:<br />
<span class="huise">产品详细描述<br />
(最多100个单词)</span></div>
            <div class="inforight"> <textarea name="details" id="details" style="border:solid 1px #ccc; width:85%; height:120px;" onkeyup="wordnum(this)" ></textarea><br />
<span class="huise" id="wordnums">你可以输入100个单词</span></div>
        </div>
        
        <div class="infodiv">
        	<div class="infoleft">产品特性参数:</div>
			<div class="inforight"><?php productparam();?></div>
        </div>
		<div class="infodiv">
        	<div class="infoleft">自定义属性:<br /><span class="huise">不允许超过10个</span></div>
			<div class="inforight"><table border="0" id="myparam"><tr><td><input type="text"  name="param[]" value="" class="input1" />: <input type="text" name="value[]" value="" class="input" /></td></tr></table>
            <a href="#" onclick="admore(10); return false;" class="abtn">添加更多</a></div>
        </div>
        <div class="infodiv">
        	<div class="infoleft">选择贸易条件:</div>
			<div class="inforight" style="line-height:28px;"><span>FOB价格：<input type="text" name="fob_small" class="input" size="10" /> ~ <input type="text" name="fob_big" size="10" class="input" /> <select name="fob_moneystyle" style="font-size:12px;"><?php fob_moneystyle()?></select> 港口 <input type="text" name="port" value="" class="input" size="15" /></span><br />
<span>付款方式： <?php paymentmethod(0);?></span><br />
<span>最小起订量： <input type="text" name="minordernum" value="" class="input" size="10" /> <select name="order_unit"><?php unit(); ?></select> 其他<input type="text" name="order_other" value="" size="25" class="input" /></span><br />
<span>供货能力：<input type="text" name="supply" class="input" size="10" /> <select name="supply_unit"><?php unit();?></select> per <select name="everytime" ><?php supply_times();?></select></span> <br />
<span>发货期限：<input type="text" class="input" name="deliverytime" value="" size="65" /></span><br />
<span style="float:left">常规包装：</span><span ><textarea name="package" style="border:solid 1px #ccc; width:80%; height:80px;"></textarea></span></div>
        </div>
        <div class="infodiv" style="text-align:center; line-height:30px;">
<br />
提交前，请认真核对您填写的信息。<br />
<input type="submit" name="submit" value="提交" /><br />
<br />
        </div>
        </form>
<script type="text/javascript">
	url=document.getElementById("website")
	opt=url.getElementsByTagName("option")
	fat=document.getElementById("webdiv")
	if(opt.length<2){ fat.style.cssText="display:none"; url.options[0].selected=true}
</script> 