{#include file="sys/admin_header.htm"#}
<script  charset="utf-8" src="kindeditor/kindeditor.js"></script>
<div class="admin_main_nr_dbox">
<div class="pagetit">
	<div class="ptit"> {#$pageheader#}</div>
	{#include file="explain/admin_explain_nav.htm"#}
  <div class="clear"></div>
</div>
<div class="toptit">添加说明页</div>
  <form action="?act=addsave" method="post" enctype="multipart/form-data" name="FormData" id="FormData" >
  {#$inputtoken#}
    <table width="100%" border="0" cellpadding="3" cellspacing="0" class="admin_table">
      <tr>
        <td width="67" align="right" style="border:0px" >页面名称：</td>
        <td width="400" style="border:0px">
		<input name="title" type="text"  class="input_text_400" maxlength="45"/>		</td>
        <td style="border:0px">
		<div class="color_layer">
		<input type="text" name="tit_color" id="tit_color"  style=" display:none">
		<div id="color_box" onclick="color_box_display()" ></div>
		{#include file="sys/admin_select_color.htm"#}
		</div>
		</td>
      </tr>
      <tr>
        <td align="right" >所属分类：</td>
        <td colspan="2" ><select name="type_id" id="type_id"  >
          <option value="">请选择所属分类：</option>
		  {#foreach from=$get_explain_category item=list#}
          <option value="{#$list.id#}"  {#if $list.id==$smarty.get.type_id#} selected="selected" {#/if#}>{#$list.categoryname#}</option>
{#/foreach#}        
        </select> </td>
      </tr>
    </table>
    <table width="700" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="100" ><textarea id="content" name="content" style="width:700px;height:300px;visibility:hidden;"></textarea>
         <script>
			KE.show({
				id : 'content',
				shadowMode : false,
				autoSetDataMode: false,
				allowPreviewEmoticons : false,
				//skinType : 'tinymce',
				urlType : 'absolute',
				//allowFileManager : true,
				afterCreate : function(id) {
					KE.event.add(KE.$('FormData'), 'submit', function() {
						KE.util.setData(id);
					});
				}
			});
		</script></td>
      </tr>
      <tr>
        <td height="50" align="center" ><input type="submit" name="Submit" value="确定提交" class="admin_submit"   />
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <input type="reset" name="Submit2" value="重置表单" class="admin_submit"   /></td>
      </tr>
    </table>
    <table width="100%" border="0" cellpadding="3" cellspacing="0"  class="admin_table">
      <tr>
        <td width="120" height="30" align="right" >是否显示：</td>
        <td width="180" >
		
		<label><input name="is_display" type="radio" value="1" checked="checked" />

显示</label>
<label><input type="radio" name="is_display" value="0" /> 
不显示</label></td>
        <td width="120" align="right" >显示排序：</td>
        <td ><input name="show_order" type="text"  class="input_text_150" id="show_order" style="width:50px;" maxlength="8" onkeyup="if(event.keyCode !=37 && event.keyCode != 39) value=value.replace(/\D/g,'');"onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/>
        <span>&nbsp;&nbsp;&nbsp;&nbsp;数字越大越靠前</span></td>
      </tr>
      <tr>
        <td height="30" align="right" >外部链接：</td>
        <td ><input name="is_url" type="text" class="input_text_150" id="is_url" value="" maxlength="100"/></td>
        <td align="right" >标题加粗：</td>
        <td ><input name="tit_b" type="checkbox" id="tit_b" value="1" />
        加粗</td>
      </tr>
	  
	  
	  
	  
      <tr>
        <td height="30" align="right" >keywords：</td>
        <td colspan="3" ><input name="seo_keywords" type="text" class="input_text_400" id="keywords" value="" maxlength="30"  /></td>
      </tr>
      <tr>
        <td height="30" align="right" valign="top" >description：</td>
        <td colspan="3" ><textarea name="seo_description" class="input_textarea_400" id="description"></textarea></td>
      </tr>
    </table>
  </form>
</div>
{#include file="sys/admin_footer.htm"#}
</body>
</html>