<!--{template admin/header}--> <script src="js/calenderJS.js"></script> <script type="text/javascript" charset="utf-8" src="js/kind/kindeditor.js"></script> <script type="text/javascript">
KE.show({
id : 'content'
});
KE.show({
id : 'cue'
});
KE.show({
id : 'theysay'
});
KE.show({
id : 'wesay'
});
</script> <form action="{$action}" method="post" enctype="multipart/form-data"> <table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder"> <tr class="header"> <td colspan="2">修改产品</td> </tr> <tr> <td width="23%" bgcolor="#F8F8F8">产品名称：</td> <td width="77%" align="right" bgcolor="#FFFFFF"> <input name="name" type="text" id="name" size="80" value="{$product['name']}"></td> </tr> <tr> <td bgcolor="#F8F8F8">团购城市：</td> <td align="right" bgcolor="#FFFFFF"><label> <select name="city" id="city">
{loop $city $i $value}
<option value="{$value['cityid']}" {if $product['city']==$value['cityid']}selected{/if}>{$value['cityname']}</option>
{/loop}
</select> </label></td> </tr> <tr> <td bgcolor="#F8F8F8">合作商家：</td> <td align="right" bgcolor="#FFFFFF"> <select name="sellerid" id="sellerid">
{loop $seller $i $value}
<option value="{$value['id']}" {if $product['sellerid']==$value['id']}selected{/if}>{$value['sellername']}</option>
{/loop}
</select> </td></tr> <tr> <td bgcolor="#F8F8F8">原价：</td> <td align="right" bgcolor="#FFFFFF"><input name="price" type="text" id="price" size="6" value="{$product['price']}"/>元</td> </tr> <tr> <td bgcolor="#F8F8F8">现价：</td> <td align="right" bgcolor="#FFFFFF"><input name="nowprice" type="text" id="nowprice" size="6" value="{$product['nowprice']}" />元</td> </tr><tr> <td bgcolor="#F8F8F8">产品图片：</td> <td align="right" bgcolor="#FFFFFF"><input name="img" type="file" id="img" /></td> </tr><tr> <td bgcolor="#F8F8F8">简介：</td> <td align="right" bgcolor="#FFFFFF"><textarea name="intro" cols="40" rows="5" id="intro">{$product['intro']}</textarea></td> </tr><tr> <td bgcolor="#F8F8F8">产品数量上限：</td> <td align="right" bgcolor="#FFFFFF"><input name="maxnum" type="text" id="maxnum" value="{$product['maxnum']}" /><span style="color:red;">*0表示不限制</span></td> </tr><tr> <td bgcolor="#F8F8F8">团购开始时间：</td> <td align="right" bgcolor="#FFFFFF"><input name="begintime" type="text" id="begintime" onfocus="HS_setDate(this)" size="10" value="{$product['begintime']}" />（从设定日期0点开始）</td> </tr><tr> <td bgcolor="#F8F8F8">团购结束时间：</td> <td align="right" bgcolor="#FFFFFF"><input name="overtime" type="text" id="overtime" onfocus="HS_setDate(this)" size="10" value="{$product['overtime']}" />（到设定日期0点结束）</td> </tr><tr> <td bgcolor="#F8F8F8">消费券有效期的截止日期：</td> <td align="right" bgcolor="#FFFFFF"><input name="perioddate" type="text" id="perioddate" onfocus="HS_setDate(this)" size="10" value="{$product['perioddate']}" /></td> </tr><tr> <td bgcolor="#F8F8F8">最少需要多少人购买才算团购成功：</td> <td align="right" bgcolor="#FFFFFF"><input name="successnum" type="text" id="successnum" value="{$product['successnum']}" /></td> </tr><tr> <td bgcolor="#F8F8F8">一次最多买多少产品：</td> <td align="right" bgcolor="#FFFFFF"><input name="oncemax" type="text" id="oncemax" value="{$product['oncemax']}" /><span style="color:red;">*0表示不限制</span></td> </tr><tr> <td bgcolor="#F8F8F8">是否显示：</td> <td align="right" bgcolor="#FFFFFF"><input name="display" type="checkbox" id="display" value="1" <!--{if $product['display']==1}--> checked <!--{/if}--> /></td> </tr><tr> <td bgcolor="#F8F8F8">详细信息：</td> <td align="right" bgcolor="#FFFFFF"> <div style="clear:both;"> <textarea name="content" style="width:540px; height:200px;" id="content">{$product['content']}</textarea> </div> </td> </tr> <tr> <td bgcolor="#F8F8F8">特别提示：</td> <td align="right" bgcolor="#FFFFFF"> <div style="clear:both;"> <textarea name="cue" style="width:540px; height:200px;" id="content">{$product['cue']}</textarea> </div> </td> </tr> <tr> <td bgcolor="#F8F8F8">他们说：</td> <td align="right" bgcolor="#FFFFFF"> <div style="clear:both;"> <textarea name="theysay" style="width:540px; height:200px;" id="content">{$product['theysay']}</textarea> </div> </td> </tr> <tr> <td bgcolor="#F8F8F8">天天团购说：</td> <td align="right" bgcolor="#FFFFFF"> <div style="clear:both;"> <textarea name="wesay" style="width:540px; height:200px;" id="content">{$product['wesay']}</textarea> </div> </td> </tr> </table> <br> <center><input type="hidden" name="id" value="{$product['id']}"><input type="submit" class="button" name="addsubmit" value="提 交"></center> </form>
{template admin/footer}