<style type="text/css">
<!--
#left{width: 660px;float:left;margin-right:8px;overflow:hidden;}
#right{width: 190px;float:left;}
#right label{width: 60px;}
#right p{width: 189px;overflow:hidden;height: 20px;}
.sm1{border:1px solid #ccc;overflow:hidden;padding:3px 0;line-height:22px;}
.sm{border:1px solid #ccc;overflow:hidden;margin-top:8px;padding:5px;line-height:22px;}
.sm h3{height: 22px;line-height:22px;}
.m5{margin-bottom:5px;}
-->
</style>
<div class="page" >
	<div class="pageContent" >
		<form  action="?action=config&do=sysupdata" method="post" onsubmit="return validateCallback(this, dialogAjaxDone);" class="pageForm required-validate">	
		<input type="hidden" name="id" value="<?php echo $this->_var['row']['id']; ?>" />
		<input type="hidden" name="varname" value="<?php echo $this->_var['row']['varname']; ?>" />
		<input type="hidden" name="dy" value="printsell" />
			<div class="pageFormContent" layoutH="56" style="overflow:hidden;">
				<div id="left">
				<div class="m5">打印内容设置：
				<span>可以先在DW里设计好，在使用源码模式<>复制过来,不要html头部分</span>
				</div>
					<textarea class="xheditor" name="value2" class="required" style="width:660px;height:500px;" ><?php echo $this->_var['row']['value2']; ?></textarea>
				</div>
				<div id="right" >
				<div class="m5">打印参数设置：</div>
					<div class="sm1">
					<p>
						<label>上边距：</label>
						<input name="mar_u" class="" type="text" size="3" value="<?php echo $this->_var['row']['mar_u']; ?>"/><span class="inputInfo">毫米</span> 
					</p>
					<p>
						<label>下边距：</label>
						<input name="mar_d" class="" type="text" size="3" value="<?php echo $this->_var['row']['mar_d']; ?>"/>
					</p>
					<p>
						<label>左边距：</label>
						<input name="mar_l" class="" type="text" size="3" value="<?php echo $this->_var['row']['mar_l']; ?>"/>
					</p>
					<p>
						<label>右边距：</label>
						<input name="mar_r" class="" type="text" size="3" value="<?php echo $this->_var['row']['mar_r']; ?>"/>
					</p>
					<p>
						<input type="radio" name="p_m"  value="0" <?php echo $this->_var['row']['checked0']; ?>/>纵向
						<input type="radio" name="p_m"  value="1" <?php echo $this->_var['row']['checked1']; ?>/>横向
					</p>
					<p>
						<label>页眉：</label>
						<input name="p_u" class="" type="text" size="15" value="<?php echo $this->_var['row']['p_u']; ?>"/>
					</p>
					<p>
						<label>页脚：</label>
						<input name="p_d" class="" type="text" size="15" value="<?php echo $this->_var['row']['p_d']; ?>"/>
					</p>
					
					</div>
					<div class="sm">
						<?php echo empty($this->_var['row']['intro']) ? '无' : $this->_var['row']['intro']; ?>
					</div>
				</div>
				
			</div>
			<div class="formBar">
			
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div>
					
				</ul>
			</div>
		</form>
	</div>
</div>