<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>添加内容</title>
        <link rel="stylesheet" type="text/css" href="<?php echo ADMIN_PUC ?>css/common.css"/>
        <script type="text/javascript" charset="utf-8" src="/chuangyi/Public/ueditor/ueditor.config.js"></script>
        <script type="text/javascript" charset="utf-8" src="/chuangyi/Public/ueditor/lang/zh-cn/zh-cn.js"></script>
        <script type="text/javascript" charset="utf-8" src="/chuangyi/Public/ueditor/ueditor.all.min.js"></script>
		  <style type="text/css">
			table{
			width: 100%;
			text-align: center;
			border: solid #bdccd2;
			border-width: 1px 0px 0px 1px;
		         }	
		   	td{
			border: solid #bdccd2;
			border-width:0px 1px 1px 0px;
			padding: 5px;
			height: 30px;
			text-align: right;
		     }
		    .lanmu-title{
		     	width: 20%;
		     	background:#def6ff;
		     	color: #272727;
		     }
		     .lanmu-luru input{
		     	float: left;
		     	width: 300px;
		     	height: 30px;
				outline: none;
		     }
		     .lanmu-luru select{
		     	float: left;
		     	width: 300px;
		     	height: 30px;
				outline: none;
		     }
			  .column-name{
			    width: 100%;
			    height: 30px;
			    background: #00455D;
			    line-height: 30px;
			    color: #ffffff;
			    padding-left: 20px;
			    font-size: 14px;
		      }
			   .lanmu-content textarea{
             	float: left;
             	width: 800px;
             	height: 500px;
             	outline: none;
           }

		</style>
	</head>
	<body>
		<div class="content">
			<div class="column-name">
				<div class="lmlb">栏目列表</div>
				<div class="caozuo-title">
					<div class="quanxuan caozuo-lanmu"><input type="checkbox" name="" id="" value="" />全选</div>
				    <div class="caozuo-lanmu"><a href="/chuangyi/index.php/Admin/Category/add" target="right" style="color:#ffffff;text-decoration:none;" >添加</a></div>
				    <div class="caozuo-lanmu"><a href="__CONTORLLER__/del">删除</a></div>
				    <div class="caozuo-lanmu"><a href="/chuangyi/index.php/Admin/Category/edt" target="right">编辑</a></div>
			    </div>				
		</div>
	  <form method="post" action="" enctype="multipart/form-data" >
		<table border="0" cellspacing="0" cellpadding="0" style="padding-bottom:100px;">
			<tr>
				<td class="lanmu-title">栏目名称</td>
				<td class="lanmu-luru"><input type="text" name="cate_name" id="" value="" /></td>
			</tr>
			<tr>
				<td class="lanmu-title">英文名称</td>
				<td class="lanmu-luru"><input type="text" name="cat_ename" id="" value="" /></td>
			</tr>
			<tr>
				<td class="lanmu-title">关键字</td>
				<td class="lanmu-luru"><input type="text" name="cate_keywords" id="" value="" /></td>
			</tr>
			<tr>
				<td class="lanmu-title">栏目描述</td>
				<td class="lanmu-luru"><textarea style="float:left;" name="cate_desc" cols="30" rows="5"></textarea></td>
			</tr>
			<tr>
				<td class="lanmu-title">缩略图</td>
				<td class="lanmu-luru"><input type="file" name="cate_pic" id="" value="0" /></td>
			</tr>
			<tr>
				<td class="lanmu-title">栏目类型</td>
				<td class="lanmu-checks"  style="text-align:left;">
					列表栏目<input type="radio" checked="checked" name="cate_type" value="1"/>
					封面栏目<input type="radio"  name="cate_type" name="cate_type" value="0"/>
					产品栏目<input type="radio" name="cate_type"  name="cate_type" value="2"/>
				</td>
			</tr>
			<tr>
				<td class="lanmu-title">上级栏目</td>
				<td class="lanmu-luru">
				  <select name="parentid" >
                       <option value ="0">顶级栏目</option>
                       <?php if(is_array($cateres)): $i = 0; $__LIST__ = $cateres;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value ="<?php echo ($vo["cate_id"]); ?>"><?php echo str_repeat('-',$vo[level]*8); echo ($vo["cate_name"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
                  </select>
				</td>
			</tr>
            <tr>
				<td class="lanmu-title">栏目内容</td>
				<td class="lanmu-content">
					<textarea name="cate_content" id="content" style="width:1000px;height:900px;">
                     
                    </textarea>
				</td>
			</tr>
             <tr>
				<td colspan="2" rowspan="1" class="tijiao" style="text-align:center;">
                  <input id="inp_name" class="input_out" type="submit" value="确定添加"  onmousemove="this.className='input_move'" 
onmouseout="this.className='input_out'"></input>
                </td>

			</tr>
		</table>
       </form>
	</body>
</html>
 <script type="text/javascript">
  UE.getEditor('content',{initialFrameWidth:1200,initialFrameHeight:400,});
 </script>