<extend name="Public/base" />

<block name="body">
  
    
    <div class="cf main-place top_nav_list navtab_list">
        <h3 class="page_title">批量导入 [{$data.title|default='顶级菜单'}]</h3>
        <p class="description_text"></p>
    </div>
    
	<!-- 标签页导航 -->
<div class="tab-wrap">
	<div class="tab-content tabcon1711 tabcon17112">
	<!-- 表单 -->
	<form id="form" action="{:U('import')}" method="post" class="form-horizontal">
		<!-- 基础文档模型 -->
        
		<div id="tab1" class="tab-pane in tab1">
    <table border="0" cellspacing="0" cellpadding="0" style="width:100%;">
          <tbody>
            <tr><td>
			<div class="form-item cf">
				<label class="item-label">导入的内容<span class="check-tips">(请按照导入格式输入)</span></label>
				<div class="controls table_textarea">
						<textarea name="tree"></textarea>
				</div>
				<span class="check-tips">导入格式:标题|url(回车键)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;标题|url</span>
			</div></td>
       </tr>
       </tbody>
       </table>
      
		</div>
		<div class="form-item cf">
			<button class=" submit_btn ajax-post " id="submit" type="submit" target-form="form-horizontal">确 定</button>
			<button class="submit_btn" type="button" onclick="window.location.href=&#39;{:U('index?pid='.$pid)}&#39;">返 回</button>
			<input type="hidden" name="pid" value="{$pid}"/>
			<input type="hidden" name="cate_id" value="{$cate_id|default=0}">
		</div>
	</form>
	</div>
</div>


<div class="common_settings">
			<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
			<form class="addShortcutIcon">
				<input type="hidden" name="title" value="{$m_title}">
				<input type="hidden" name="url" value="{$m_url}">
			</form>
			<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
		</div>


</block>

<block name="script">
<script type="text/javascript">

$('#submit').click(function(){
	$('#form').submit();
});


$(function(){
	//导航高亮
	highlight_subnav('{:U('index')}');
});
</script>
</block>