<?php $this->load->view('head');?>

<script type="text/javascript">
<!--
$(function(){
	$.formValidator.initConfig({autotip:true,formid:"myform",debug:false,onerror:function(msg){}});
	$("#name").formValidator({onshow:"请输入分类名称",onfocus:"请输入分类名称"}).inputValidator({min:1,max:50,onerror:"请输入分类名称"});
	

	 
	
});
//-->
</script>
<div class="pad-10">
<div class="cate_top">
     <a href="<?=base_url();?>index.php/links/" class="on text"><i></i>内容管理</a>
     <span>|</span><a href="<?=base_url();?>index.php/links/add" class="on add_to"><i></i>添加链接</a> 
	 <span>|</span> <a href="<?=base_url();?>index.php/links/status"  class="a">审核链接</a>
	 
	 <span>|</span> <a href="<?=base_url();?>index.php/links/add_type"  class="cur">添加类别</a>
	  <span>|</span> <a href="<?=base_url();?>index.php/links/list_type"  class="a">分类管理</a>
</div>
<div class="nav10"></div>
<form name="myform" id="myform" action="<?=base_url();?>index.php/links/add_type" method="post" enctype="multipart/form-data" />
	<ul class="tabBut cu-li">
		<li id="tab_setting_1" class="on" onclick="switchmodTag('tab_setting_','div_setting_','1');this.blur();">添加内容</li>
	</ul>
	<div class="pad-10" style="padding-top: 0;">
		<div class="col-tab">
		<div id="div_setting_1" class="contentList pad-10">

		<table width="100%" class="table_form ">         
			<tr>
			<th>分类名称：</th>
			<td>
			<input type="text" name="info[name]" id="name" class="input-text" size="40" value="">
			</td>
			</tr>

			<tr>
			<th>描述：</th>
			<td><textarea name="info[des]" id="des" style="width:50%;height:46px;"></textarea>
			</td>
		</tr>
		</table>

	</div>

	<div class=" col_tab_box" style=" position: relative;background: none;box-shadow: none;">
		<a class="button submit"><i></i><input name="dosubmit" type="submit" value="提交"></a>
	</div>
	</div>
	</div>
</form>
</body>
</html>





