<!DOCTYPE html>
<html>
	<?php echo $this->fetch('head.html'); ?>
	<body>
		<div class="tabs-border">
			<a class="item active" href="/moduleadmin.php?m=fenlei_config">分类设置</a>
			 
		</div>
		<div class="main-body">
			<form method="post" action="/moduleadmin.php?m=fenlei_config&a=save">
				<input type="hidden" name="id" style="display:none;" value="<?php echo $this->_var['data']['id']; ?>">
				<table class="table-add">
					<tr>
						<td>置顶首页费用：</td>
						<td><input class="w150" type="text" name="dingmoney" id="dingmoney" value="<?php echo $this->_var['data']['dingmoney']; ?>">
							元
						</td>
					</tr>
					<tr>
						<td>更新费用：</td>
						<td><input class="w150" type="text" name="update_money"  value="<?php echo $this->_var['data']['update_money']; ?>">
							元
						</td>
					</tr>
					<tr>
						<td>开启红包：</td>
						<td>
							<input <?php if ($this->_var['data']['hb_on']): ?>checked<?php endif; ?>  type="radio" name="hb_on" value="1">开启
							<input <?php if ($this->_var['data']['hb_on'] == 0): ?>checked<?php endif; ?> type="radio" name="hb_on" value="0">关闭
							 
						</td>
					</tr>
					<tr>
						<td>红包条件：</td>
						<td>
							<input <?php if ($this->_var['data']['hb_wx_follow'] == 1): ?>checked<?php endif; ?> name="hb_wx_follow" type="radio" value="1" /> 关注公众号
							<input <?php if ($this->_var['data']['hb_wx_follow'] == 0): ?>checked<?php endif; ?>  name="hb_wx_follow" type="radio" value="0" /> 无条件 
						</td>
					</tr>
				</table>
				<div class="btn-row-submit js-submit">保存</div>
			</form>
		</div>
		<?php echo $this->fetch('footer.html'); ?>
	</body>
</html>
