<table width=100% align=center cellpadding=3 cellspacing=1 class=tableborder>
  <tr>
    <td width=16% height=25 bgcolor=ffffff>商品名称(*)</td>
    <td bgcolor=ffffff><table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
          <tr> 
            <td bgcolor="#FFFFFF"> <input type=text name=title value="<?=htmlspecialchars(stripSlashes($r[title]))?>" size=60> 
              <input type="button" name="button" value="图文" onclick="document.add.title.value=document.add.title.value+'(图文)';"> 
            </td>
          </tr>
          <tr> 
            <td bgcolor="#FFFFFF"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr> 
                  <td width="45%">属性： 
                    <input name="titlefont[b]" type="checkbox" id="titlefont[b]" value="b"<?=$titlefontb?>>
                    粗体 
                    <input name="titlefont[i]" type="checkbox" id="titlefont[i]" value="i"<?=$titlefonti?>>
                    斜体 
                    <input name="titlefont[s]" type="checkbox" id="titlefont[s]" value="s"<?=$titlefonts?>>
                    删除线</td>
                  <td width="55%">颜色： 
                    <input name="titlecolor" type="text" id="titlecolor" value="<?=stripSlashes($r[titlecolor])?>" size="10"> 
                    <a onclick="foreColor();"><img src="../data/images/color.gif" width="21" height="21" align="absbottom"></a></td>
                </tr>
              </table></td>
          </tr>
        </table></td>
  </tr>
  <tr>
    <td width=16% height=25 bgcolor=ffffff>发布时间</td>
    <td bgcolor=ffffff><input name="newstime" type="text" id="newstime" value="<?=$r[newstime]?>"><input type=button name=button value="设为当前时间" onclick="document.add.newstime.value='<?=$todaytime?>'"></td>
  </tr>
  <tr>
    <td width=16% height=25 bgcolor=ffffff>商品编号</td>
    <td bgcolor=ffffff>
<input name="productno" type="text" id="productno" value="<?=htmlspecialchars(stripSlashes($r[productno]))?>">
</td>
  </tr>
  <tr>
    <td width=16% height=25 bgcolor=ffffff>品牌</td>
    <td bgcolor=ffffff>
<input name="pbrand" type="text" id="pbrand" value="<?=htmlspecialchars(stripSlashes($r[pbrand]))?>">
</td>
  </tr>
  <tr>
    <td width=16% height=25 bgcolor=ffffff>简单描述</td>
    <td bgcolor=ffffff><textarea name="intro" cols="80" rows="10" id="intro"><?=htmlspecialchars(stripSlashes($r[intro]))?></textarea>
</td>
  </tr>
  <tr>
    <td width=16% height=25 bgcolor=ffffff>计量单位</td>
    <td bgcolor=ffffff>
<input name="unit" type="text" id="unit" value="<?=htmlspecialchars(stripSlashes($r[unit]))?>">
</td>
  </tr>
  <tr>
    <td width=16% height=25 bgcolor=ffffff>单位重量</td>
    <td bgcolor=ffffff>
<input name="weight" type="text" id="weight" value="<?=htmlspecialchars(stripSlashes($r[weight]))?>">
</td>
  </tr>
  <tr>
    <td width=16% height=25 bgcolor=ffffff>市场价格</td>
    <td bgcolor=ffffff>
<input name="tprice" type="text" id="tprice" value="<?=htmlspecialchars(stripSlashes($r[tprice]))?>">
元</td>
  </tr>
  <tr>
    <td width=16% height=25 bgcolor=ffffff>购买价格</td>
    <td bgcolor=ffffff>
<input name="price" type="text" id="price" value="<?=htmlspecialchars(stripSlashes($r[price]))?>">
元</td>
  </tr>
  <tr>
    <td width=16% height=25 bgcolor=ffffff>积分购买</td>
    <td bgcolor=ffffff>
<input name="buyfen" type="text" id="buyfen" value="<?=htmlspecialchars(stripSlashes($r[buyfen]))?>">
点</td>
  </tr>
  <tr>
    <td width=16% height=25 bgcolor=ffffff>库存</td>
    <td bgcolor=ffffff>
<input name="pmaxnum" type="text" id="pmaxnum" value="<?=htmlspecialchars(stripSlashes($r[pmaxnum]))?>">
</td>
  </tr>
  <tr>
    <td width=16% height=25 bgcolor=ffffff>商品缩略片</td>
    <td bgcolor=ffffff><input name="titlepic" type="text" id="titlepic" value="<?=stripSlashes($r[titlepic])?>" size="56"> 
        <a onclick="window.open('editor/file.php?userid=<?=$logininid?>&username=<?=$loginin?>&rnd=<?=$loginrnd?>&type=1&classid=<?=$classid?>&filepass=<?=$filepass?>&doing=1&field=titlepic','','width=700,height=550,scrollbars=yes');" title="选择已上传的图片"><img src="../data/images/changeimg.gif" width="22" height="22" border="0" align="absbottom"></a>(用于图片调用信息) </td>
  </tr>
  <tr>
    <td width=16% height=25 bgcolor=ffffff>商品大图</td>
    <td bgcolor=ffffff><input name="productpic" type="text" size=56 id="productpic" value="<?=htmlspecialchars(stripSlashes($r[productpic]))?>" size="45">
<a onclick="window.open('editor/file.php?userid=<?=$logininid?>&username=<?=$loginin?>&rnd=<?=$loginrnd?>&type=1&classid=<?=$classid?>&filepass=<?=$filepass?>&doing=1&field=productpic','','width=700,height=550,scrollbars=yes');" title="选择已上传的图片"><img src="../data/images/changeimg.gif" border="0" align="absbottom"></a> 
</td>
  </tr>
  <tr>
    <td height=25 colspan=2 bgcolor=ffffff><div align=left>商品介绍(*)</div></td>
  </tr>
</table>

<textarea id="newstext" name="newstext" style="height: 30em; width: 100%;"><?=stripSlashes($newstext)?></textarea>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
          <tr> 
            <td bgcolor="#FFFFFF"> <input name="dokey" type="checkbox" id="dokey2" value="1"<?=$dokey?>>
              关键字替换&nbsp;&nbsp; <input name="copyimg" type="checkbox" id="copyimg" value="1">
      <font color="#FF0000">远程保存图片(
      <input name="mark" type="checkbox" id="mark" value="1">
      <a href="SetEnews.php" target="_blank">加水印</a>)</font>&nbsp;&nbsp; 
      <input name="copyflash" type="checkbox" id="copyflash" value="1"> 
              <font color="#FF0000">远程保存FLASH</font>(地址前缀： 
              <input name="qz_url" type="text" id="qz_url" size="">
              )</td>
          </tr>
          <tr>
            <td bgcolor="#FFFFFF">内容自动分页 
              <input name="autopage" type="checkbox" id="autopage" value="1">
              ，每 
              <input name="autosize" type="text" id="autosize" value="5000" size="8">
              个字节为一页&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=checkbox name=getfirsttitlepic value=1>取第一张上传图作为标题图片</td>
          </tr>
        </table>

<table width=100% align=center cellpadding=3 cellspacing=1 class="tableborder">
  <tr>
    <td class=header>特殊属性</td>
  </tr>
  <tr>
    <td bgcolor=ffffff> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
  <tr> 
    <td height="25" bgcolor="#FFFFFF"> <input name="isgood" type="checkbox" id="isgood2" value="1"<?=$isgood?>>
      推荐&nbsp;&nbsp; <input name="checked" type="checkbox" id="checked4" value="1"<?=$checked?>>
      审核&nbsp;&nbsp; <input name="firsttitle" type="checkbox" id="firsttitle2" value="1"<?=$firsttitle?>>
      头条&nbsp;&nbsp;&nbsp;<strong>&nbsp;置顶级别：</strong> <select name="istop" id="select3">
        <option value="0"<?=$istop0?>>0级置顶</option>
        <option value="1"<?=$istop1?>>1级置顶</option>
        <option value="2"<?=$istop2?>>2级置顶</option>
        <option value="3"<?=$istop3?>>3级置顶</option>
        <option value="4"<?=$istop4?>>4级置顶</option>
        <option value="5"<?=$istop5?>>5级置顶</option>
        <option value="6"<?=$istop6?>>6级置顶</option>
      </select> <strong>所用内容模板:</strong> <select name="newstempid" id="select4">
        <?=$newstemp?>
      </select> </td>
  </tr>
  <tr> 
    <td height="25" bgcolor="#FFFFFF"><strong>权限设置:</strong> <select name="fh" id="select5">
        <option value="0"<?=$fh0?>>&gt;=</option>
        <option value="1"<?=$fh1?>>=</option>
      </select> <select name="groupid" id="select6">
        <option value="0">游客</option>
        <?=$group?>
      </select>
      查看扣除点数: 
      <input name="userfen" type="text" id="userfen" value="<?=$r[userfen]?>" size="6">
      (&quot;=&quot;：本级别的用户才能查看[对游客无效])</td>
  </tr>
  <tr> 
    <td height="25" bgcolor="#FFFFFF">文件名前缀: <input name="filenameqz" type="text" id="filenameqz" value="<?=stripSlashes($r[filenameqz])?>">
      (如photeshop_),<input type=checkbox name=closepl value=1<?=$r[closepl]==1?" checked":""?>>关闭评论</td>
  </tr>
</table>
        <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
          <tr> 
            <td height="25">签发(多个签发人员，请用&quot;,&quot;格开．不想使用签发，请留空) </td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"> <input name="checkuser" type="text" id="checkuser" value="<?=stripSlashes($r[checkuser])?>" size="66"<?=$checkuserreadonly?>> 
              <?=$changeuser?> 
            </td>
          </tr>
          <tr>
            <td height="25" bgcolor="#FFFFFF"><input name="recheckuser" type="checkbox" id="recheckuser" value="1">
              重新签发（稿件被退下来后重新提交给未签发的人员的操作，如修改签发人员，所有人员需重新签发）</td>
          </tr>
        </table>
        <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
          <tr> 
            <td height="25">所属专题:</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"> 
              <?=$z_class?>
            </td>
          </tr>
        </table> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><strong>关键字:</strong> <input name="keyboard" type="text" id="keyboard" size="43" value="<?=stripSlashes($r[keyboard])?>">
              (多个请用&quot;,&quot;格开)</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF">外部链接: 
              <input name="titleurl" type="text" id="titleurl2" value="<?=stripSlashes($r[titleurl])?>" size="42">
              (填写后标题的连接地址将是此链接)</td>
          </tr>
        </table></td>
  </tr>
</table>