editcj6.php 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?php
  2. if(!defined('InEmpireCMS'))
  3. {
  4. exit();
  5. }
  6. ?><tr><td bgcolor=ffffff>商品名称</td><td bgcolor=ffffff><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#DBEAF5">
  7. <tr>
  8. <td height="25" bgcolor="#FFFFFF">
  9. <?=$tts?"<select name='ttid'><option value='0'>标题分类</option>$tts</select>":""?>
  10. <input type=text name=title value="<?=ehtmlspecialchars(stripSlashes($r[title]))?>" size="60">
  11. <input type="button" name="button" value="图文" onclick="document.add.title.value=document.add.title.value+'(图文)';">
  12. </td>
  13. </tr>
  14. <tr>
  15. <td height="25" bgcolor="#FFFFFF">属性:
  16. <input name="titlefont[b]" type="checkbox" value="b"<?=$titlefontb?>>粗体
  17. <input name="titlefont[i]" type="checkbox" value="i"<?=$titlefonti?>>斜体
  18. <input name="titlefont[s]" type="checkbox" value="s"<?=$titlefonts?>>删除线
  19. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;颜色: <input name="titlecolor" type="text" value="<?=stripSlashes($r[titlecolor])?>" size="10" class="color">
  20. </td>
  21. </tr>
  22. </table>
  23. </td></tr><tr><td bgcolor=ffffff>发布时间</td><td bgcolor=ffffff><input name="newstime" type="text" value="<?=$r[newstime]?>" size="28" class="Wdate" onClick="WdatePicker({skin:'default',dateFmt:'yyyy-MM-dd HH:mm:ss'})"><input type=button name=button value="设为当前时间" onclick="document.add.newstime.value='<?=$todaytime?>'">
  24. </td></tr><tr><td bgcolor=ffffff>商品编号</td><td bgcolor=ffffff><input name="productno" type="text" id="productno" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[productno]))?>" size="60">
  25. </td></tr><tr><td bgcolor=ffffff>品牌</td><td bgcolor=ffffff><input name="pbrand" type="text" id="pbrand" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[pbrand]))?>" size="60">
  26. </td></tr><tr><td bgcolor=ffffff>简单描述</td><td bgcolor=ffffff><textarea name="intro" cols="80" rows="10" id="intro"><?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[intro]))?></textarea>
  27. </td></tr><tr><td bgcolor=ffffff>计量单位</td><td bgcolor=ffffff><input name="unit" type="text" id="unit" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[unit]))?>" size="60">
  28. </td></tr><tr><td bgcolor=ffffff>单位重量</td><td bgcolor=ffffff><input name="weight" type="text" id="weight" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[weight]))?>" size="60">
  29. </td></tr><tr><td bgcolor=ffffff>市场价格</td><td bgcolor=ffffff><input name="tprice" type="text" id="tprice" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[tprice]))?>" size="60">
  30. </td></tr><tr><td bgcolor=ffffff>购买价格</td><td bgcolor=ffffff><input name="price" type="text" id="price" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[price]))?>" size="60">
  31. </td></tr><tr><td bgcolor=ffffff>积分购买</td><td bgcolor=ffffff><input name="buyfen" type="text" id="buyfen" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[buyfen]))?>" size="60">
  32. </td></tr><tr><td bgcolor=ffffff>库存</td><td bgcolor=ffffff><input name="pmaxnum" type="text" id="pmaxnum" value="<?=$ecmsfirstpost==1?"100":ehtmlspecialchars(stripSlashes($r[pmaxnum]))?>" size="60">
  33. </td></tr><tr><td bgcolor=ffffff>商品缩略片</td><td bgcolor=ffffff><input name="titlepic" type="text" id="titlepic" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[titlepic]))?>" size="60">
  34. <a onclick="window.open('ecmseditor/FileMain.php?type=1&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=titlepic<?=$ecms_hashur[ehref]?>','','width=700,height=550,scrollbars=yes');" title="选择已上传的图片"><img src="../data/images/changeimg.gif" border="0" align="absbottom"></a>
  35. </td></tr><tr><td bgcolor=ffffff>商品大图</td><td bgcolor=ffffff><input name="productpic" type="text" id="productpic" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[productpic]))?>" size="60">
  36. <a onclick="window.open('ecmseditor/FileMain.php?type=1&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=productpic<?=$ecms_hashur[ehref]?>','','width=700,height=550,scrollbars=yes');" title="选择已上传的图片"><img src="../data/images/changeimg.gif" border="0" align="absbottom"></a>
  37. </td></tr><tr><td bgcolor=ffffff>商品介绍</td><td bgcolor=ffffff><?=ECMS_ShowEditorVar("newstext",$ecmsfirstpost==1?"":stripSlashes($r[newstext]),"Default","","300","100%")?>
  38. <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
  39. <tr>
  40. <td bgcolor="#FFFFFF"> <input name="dokey" type="checkbox" value="1"<?=$r[dokey]==1?' checked':''?>>
  41. 关键字替换&nbsp;&nbsp; <input name="copyimg" type="checkbox" id="copyimg" value="1">
  42. 远程保存图片(
  43. <input name="mark" type="checkbox" id="mark" value="1">
  44. <a href="SetEnews.php<?=$ecms_hashur[whehref]?>" target="_blank">加水印</a>)&nbsp;&nbsp;
  45. <input name="copyflash" type="checkbox" id="copyflash" value="1">
  46. 远程保存FLASH(地址前缀:
  47. <input name="qz_url" type="text" id="qz_url" size="">
  48. )</td>
  49. </tr>
  50. <tr>
  51. <td bgcolor="#FFFFFF"><input name="repimgnexturl" type="checkbox" id="repimgnexturl" value="1"> 图片链接转为下一页&nbsp;&nbsp; <input name="autopage" type="checkbox" id="autopage" value="1"> 自动分页
  52. ,每
  53. <input name="autosize" type="text" id="autosize" value="5000" size="5">
  54. 个字节为一页&nbsp;&nbsp; 取第
  55. <input name="getfirsttitlepic" type="text" id="getfirsttitlepic" value="" size="1">
  56. 张上传图为标题图片(
  57. <input name="getfirsttitlespic" type="checkbox" id="getfirsttitlespic" value="1">
  58. 缩略图: 宽
  59. <input name="getfirsttitlespicw" type="text" id="getfirsttitlespicw" size="3" value="<?=$public_r[spicwidth]?>">
  60. *高
  61. <input name="getfirsttitlespich" type="text" id="getfirsttitlespich" size="3" value="<?=$public_r[spicheight]?>">
  62. )</td>
  63. </tr>
  64. </table>
  65. </td></tr>