<%@page contentType="text/html; charset=UTF-8"%>
<%@include file="/inc/init.jsp" %>
<%@include file="/inc/checklogin.jsp" %>
<%@include file="inc/header.jsp" %>
<div id="c">
	<%@include file="inc/left.jsp" %>
	<div id="right">
	<%@include file="inc/position.jsp" %>

<div class="right">
<div id="right_box">
<script type="text/javascript">
function checkform(){
	if(document.modifyForm.name.value==''){
		alert('分类名称不能为空！');
		document.modifyForm.name.focus();
		return false;
	}else if(document.modifyForm.companyname.value==''){
		alert('公司名称名称不能为空！');
		document.modifyForm.companyname.focus();
		return false;
	}else if(document.modifyForm.producturl.value==''){
		alert('产品网址不能为空！');
		document.modifyForm.producturl.focus();
		return false;
	}else{
		return true;
	}
}
</script>
<form method="post" name="modifyForm" action="fun/F_class.jsp"  onSubmit="return checkform();">
<input type="hidden" name="action" value="add" />
<div class="tags">
  <div id="tagstitle"> <a id="one1" onClick="setTab('one',1,20)" class="hover" href="#">添加分类</a> </div>
  <div id="tagscontent" class="right_box">
    <div id="con_one_1"  >
      <table width="100%" border="0" cellspacing="0" cellpadding="0" id="table1">

<tbody>
<tr>
  <td width="22%" align="right">产品名称<font color="#FF0000">*</font></td>
  <td width="2%">&nbsp;</td>
  <td width="76%">
  <input type="text" name="name" id="name"  />
  &nbsp;</td>
</tr>
<tr>
  <td width="22%" align="right">备注信息<font color="#FF0000"></font></td>
  <td width="2%">&nbsp;</td>
  <td width="76%">
  <input type="text" name="retain3" id="retain3"   class="input" />
  &nbsp;区分电脑版或手机版的产品名称附加信息</td>
</tr>
<tr>
  <td width="22%" align="right">前台购买页面显示方式<font color="#FF0000"></font></td>
  <td width="2%">&nbsp;</td>
  <td width="76%"><select class="select" name="retain4" id="retain4">
  	<option value="1">单选按钮</option>
  	<option value="2">下拉选择</option>
  	</select>&nbsp;</td>
</tr>
<tr>
  <td width="22%" align="right">前台购买页面地址<font color="#FF0000"></font></td>
  <td width="2%">&nbsp;</td>
  <td width="76%"><select class="select" name="retain5" id="retain5">
  	<option value="0" selected="selected">需要填写</option>
  	<option value="1">不需要填写</option>
  	</select>
  &nbsp;若选择不填写地址，将不会在前台显示填写地址</td>
</tr>
<tr>
  <td width="22%" align="right">前台购买页面滚动发货<font color="#FF0000"></font></td>
  <td width="2%">&nbsp;</td>
  <td width="76%"><select class="select" name="retain6" id="retain6">
  	<option value="0">显示</option>
  	<option value="1">不显示</option>
	<option value="3">显示地区和只显示X先生</option>
	<option value="4">显示地区和只显示X小姐</option>
	<option value="5">无地区和不分性别</option>
	<option value="6">无地区和只显示X先生</option>
	<option value="7">无地区和只显示X小姐</option>
  	</select>
  &nbsp;</td>
</tr>
<tr>
  <td width="22%" align="right">前台购买页面显示数量<font color="#FF0000"></font></td>
  <td width="2%">&nbsp;</td>
  <td width="76%"><select class="select" name="retain7" id="retain7">
  	<option value="0">不显示</option>
  	<option value="1" selected="selected">显示</option>
  	</select>
  &nbsp;</td>
</tr>
<tr>
  <td width="22%" align="right"><p>前台购买页面显示</p>
  	<p>再次输入手机号码<font color="#FF0000"></font></p></td>
  <td width="2%">&nbsp;</td>
  <td width="76%"><select class="select" name="retain8" id="retain8">
  	<option value="0" selected="selected">不显示</option>
  	<option value="1">显示</option>
  	</select>
  &nbsp;</td>
</tr>
<tr>
  <td width="22%" align="right"><p>前台购买页面显示填写QQ<font color="#FF0000"></font></p></td>
  <td width="2%">&nbsp;</td>
  <td width="76%"><select class="select" name="retain9" id="retain9">
  	<option value="0" selected="selected">不显示</option>
  	<option value="1">显示</option>
  	</select>
  &nbsp;</td>
</tr>
<tr>
  <td colspan="3" align="center"><font style="font-weight:bold">以下内容是用于短信或邮件发送的变量值</font></td>
  </tr>
<tr>
  <td width="22%" align="right">显示某某公司<font color="#FF0000">*</font></td>
  <td width="2%">&nbsp;</td>
  <td width="76%"><input type="text" name="companyname" id="companyname"  class="input" />  	
  	&nbsp;变量值：#coompanyname#</td>
</tr>
<tr>
  <td width="22%" align="right">产品网址<font color="#FF0000">*</font></td>
  <td width="2%">&nbsp;</td>
  <td width="76%">
  <input type="text" name="producturl" id="producturl" class="input"  />
  &nbsp;变量值：#producturl#&nbsp;&nbsp;</td>
</tr>
<tr>
  <td width="22%" align="right">客服电话<font color="#FF0000"></font></td>
  <td width="2%">&nbsp;</td>
  <td width="76%">
  <input type="text" name="retain1" id="retain1" value="" class="input"  />
  &nbsp;变量值：#kfphone#</td>
</tr>
<tr>
  <td width="22%" align="right">QQ<font color="#FF0000"></font></td>
  <td width="2%">&nbsp;</td>
  <td width="76%">
  <input type="text" name="retain2" id="retain2" value="" class="input"  />
  &nbsp;变量值：#QQ#</td>
</tr>
</tbody>
</table>
    </div>
  </div>
</div>
<input type="submit" name="submit" value=" 提交 " class="btn_a" />
</form>

<div class="clear"></div>
</div>
</div>

<div class="right_bottom">
</div>
</div>

<div id="footer">
</div>
</div>
<%@include file="inc/msg.jsp" %>
<%@include file="inc/footer.jsp" %>
