{x2;if:!$userhash}
{x2;include:header}
<body>
{x2;include:nav}
<div class="container-fluid">
	<div class="row-fluid">
		<div class="span2">
			{x2;include:menu}
		</div>
		<div class="span10" id="datacontent">
{x2;endif}
			<ul class="breadcrumb">
				<li><a href="index.php?{x2;$_app}-teach">{x2;$apps[$_app]['appname']}</a> <span class="divider">/</span></li>
				<li><a href="index.php?{x2;$_app}-teach-basic-subject">科目管理</a> <span class="divider">/</span></li>
				<li class="active">添加科目</li>
			</ul>
			<ul class="nav nav-tabs">
				<li class="active">
					<a href="#">添加科目</a>
				</li>
				<li class="dropdown pull-right">
					<a href="index.php?exam-teach-basic-subject">科目管理</a>
				</li>
			</ul>
	        <form action="index.php?exam-teach-basic-addsubject" method="post" class="form-horizontal">
				<fieldset>
					<div class="control-group">
						<label for="subject" class="control-label">科目名称：</label>
						<div class="controls">
							<input name="subject" id="subject" type="text" size="30" value="" needle="needle" msg="您必须输入一个科目名称" />
						</div>
					</div>
					<div class="control-group">
					  	<div class="controls">
						  	<button class="btn btn-primary" type="submit">提交</button>
							<input type="hidden" name="insertsubject" value="1"/>
							<input type="hidden" name="page" value="{x2;$page}"/>
						</div>
					</div>
				</fieldset>
			</form>
{x2;if:!$userhash}
		</div>
	</div>
</div>
</body>
</html>
{x2;endif}