<div class="modal-header">
	<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	<h4 class="modal-title">修改<?php echo $config['config']['title'];?></h4>
</div>
<div class="modal-body">
	<form method="post" id="editModule">
		<div class="marauto">
				<input type="hidden" name="module" value="<?php echo $config['module'];?>">
				<input type="hidden" name="config[viewType]" value="<?php echo $config['config']['viewType'];?>">
				<div class="txt_row">
					<div class="txt_main">
						<label class="txt_title">显示条数</label>
						<select class="form-control" name="config[count]">
							<option value="1" <?php if($config['config']['count']==1){echo 'selected';}?>>1</option>
							<option value="3" <?php if($config['config']['count']==3){echo 'selected';}?>>3</option>
							<option value="4" <?php if($config['config']['count']==4){echo 'selected';}?>>4</option>
							<option value="6" <?php if($config['config']['count']==6){echo 'selected';}?>>6</option>
							<option value="8" <?php if($config['config']['count']==8){echo 'selected';}?>>8</option>
							<option value="10" <?php if($config['config']['count']==10){echo 'selected';}?>>10</option>
							<option value="12" <?php if($config['config']['count']==12){echo 'selected';}?>>12</option>
							<option value="16" <?php if($config['config']['count']==16){echo 'selected';}?>>16</option>
						</select>
					</div>
				</div>
				<div class="txt_row">
					<div class="txt_main">
						<label class="txt_title">显示销量</label>
						<label>
							<input type="radio" name="config[showSale]" <?php if($config['config']['showSale']>0){echo 'checked';}?> value="1"/>
							<b>是</b>
						</label>
						<label>
							<input type="radio" name="config[showSale]" <?php if($config['config']['showSale']==0){echo 'checked';}?> value="0"/>
							<b>否</b>
						</label>
					</div>
				</div>
				<div class="txt_row">
					<div class="txt_main">
						<label class="txt_title">显示评价</label>
						<label>
							<input type="radio" name="config[showEval]" <?php if($config['config']['showEval']>0){echo 'checked';}?> value="1"/>
							<b>是</b>
						</label>
						<label>
							<input type="radio" name="config[showEval]" <?php if($config['config']['showEval']==0){echo 'checked';}?> value="0"/>
							<b>否</b>
						</label>
					</div>
				</div>
				<div class="txt_row">
					<div class="txt_main">
						<label class="txt_title">显示促销价</label>
						<label>
							<input type="radio" name="config[showPremote]" <?php if($config['config']['showPremote']>0){echo 'checked';}?> value="1"/>
							<b>是</b>
						</label>
						<label>
							<input type="radio" name="config[showPremote]" <?php if($config['config']['showPremote']==0){echo 'checked';}?> value="0"/>
							<b>否</b>
						</label>
					</div>
				</div>
				<!-- <div class="txt_row">
					<div class="txt_main">
						<label class="txt_title">显示收藏数</label>
						<label>
							<input type="radio" name="config[showColl]" <?php if($config['config']['showColl']>0){echo 'checked';}?> value="1"/>
							<b>是</b>
						</label>
						<label>
							<input type="radio" name="config[showColl]" <?php if($config['config']['showColl']==0){echo 'checked';}?> value="0"/>
							<b>否</b>
						</label>
					</div>
				</div> -->
				<div class="sub_btns">
					<div class="login_error" id="error"><?php echo $error;?></div>
				</div>
		</div>
	</form>
</div>
<div class="modal-footer center">
	<button type="button" class="btn btn-primary" onclick="DESIGN.editFinish();">提交</button>
	<button type="button" class="btn btn-default" data-dismiss="modal" aria-label="Close">关闭</button>
</div>