


<div class="container" style="padding-top:42px;">
	<div class="row">
		<div class="span12">
			<div class="page-header">
				<h1><i class="icon-cogs"></i>常规设置</h1>
			</div>
			<div class="row">
				<div class="span3">
					<ul class="nav nav-tabs nav-stacked">
						<li class="active">
							<a href="<?php echo base_url('index.php/emailsystem/settingGen'); ?>"><i class="icon-wrench"></i> 常规</a>
						</li>
						<!--
						<li><a href="/"><i class="icon-th-large"></i> 分组</a></li>
						<li><a href="/"><i class="icon-user"></i> 用户</a></li>-->
						<li><a href="<?php echo base_url('index.php/emailsystem/settingTemp'); ?>"><i class="icon-file"></i> 模板</a></li>
					</ul>
				</div>
				<div class="span9 settings">
					<form class="form-horizontal" enctype="multipart/form-data" method="post" action="<?php echo base_url('index.php/emailsystem/settingGen_pro') ?>">
						<div class="well general" style="margin-top:0">
							<div class="control-group">
								<label for="email" class="control-label">发件人</label>
									<div class="controls">
									<input type="text" value="<?php echo $usetting[0]->email; ?>" name="email" id="email">
								</div>
							</div>
							<div class="control-group">
								<label for="sendname" class="control-label">发件人姓名</label>
									<div class="controls">
									<input type="text" value="<?php echo $usetting[0]->sendname; ?>" name="sendname" id="sendname">
								</div>
							</div>
							<div class="control-group">
								<label for="pass" class="control-label">密码</label>
									<div class="controls">
									<input type="password" value="<?php echo $usetting[0]->pass; ?>" name="pass" id="pass">
								</div>
							</div>
							
							<div class="control-group">
								<label for="smtp" class="control-label">SMTP服务器</label>
									<div class="controls">
									<input type="text" value="<?php echo $usetting[0]->smtp; ?>" name="smtp" id="smtp">
								</div>
							</div>
							
							<div class="control-group">
								<label for="smtp_port" class="control-label">SMTP端口(25)</label>
									<div class="controls">
									<input type="text" value="<?php echo $usetting[0]->smtp_port; ?>" name="smtp_port" id="smtp_port">
								</div>
							</div>
							
						</div>
						<div class="form-actions">
							<button class="btn btn-primary " type="submit">保存</button>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>

</body>
</html>

