<!--#include file="../Include/Const.Asp" -->
<!--#include file="../Include/ConnSiteData.Asp" -->
<!--#include file="../Include/System_Language.asp" -->
<!--#include file="../Include/Version.Asp" -->
<!--#include file="CheckAdmin.Asp"-->
<!--#include file="Ky_TagsFun.asp" -->
<%
'*******************************************************
'软件名称：科蚁企业网站内容管理系统（KEYICMS）
'软件开发：成都神笔天成网络科技有限公司
'网   址：http://www.keyicms.com
'本信息不会影响您网站的正常使用，无论免费用户或是收费用户请保留这里的信息.
'神笔(26)天成网络享有软件著作权，如果您擅自删除这里的版权信息,我们将追究法律责任.
'未经公司同意禁止更改以下代码.
'*******************************************************
%>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="<%=Keyicms_Lang_Copyright(13)%>">
<meta name="author" content="<%=Keyicms_Lang_Copyright(3)%>">
<title><%=Keyicms_Lang_Copyright(1)%> <%=Str_Soft_Version%></title>
<!--#Include file="Keyicms_css.Asp"-->
<script>
function checkAll(checkbox,name){
	var checkboxs = document.getElementsByName(name);
	for(var i=0;i<checkboxs.length;i++)checkboxs[i].checked = checkbox.checked;		
}
function silbingCheck(checkbox){
	checkbox.nextSibling.checked = checkbox.checked;
}
</script>
</head>

<body>
<!--#Include file="Keyicms_Top.Asp"-->
<div id="wrap">
	<!--#Include file="Keyicms_Meun.Asp"-->
	<%
	If InStr(CompanyAdminPurview, "|10,") = 0 Then
		response.Write ("<br /><br /><div style='height:100%; text-align:center' class='main'><font style=""color:red; font-size:14px;"")>"&Keyicms_Lang_System(26)&"</font></div>")
		response.End
	End If
	%>
    <div class="main">
        <div class="row ">
            <ol class="breadcrumb">
                <li><i class="fa fa-home"></i><%=Keyicms_Lang_Copyright(14)%></li>
             <li class="active"><a href="">企业应用</a></li>
                <li class="active">自定义标签</li>
            </ol>	
        </div>	
        <div class="row">
            <div class="col-lg-12 hideInIE8">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h2><i class="fa fa-edit"></i><span class="break"></span><strong>自定义标签管理</strong></h2> 
                    </div>
                    <div class="panel-body">
                        <a class="ShortCut1" href="Ky_TagsAdd.Asp?Result=Add">  
                            <i class="fa fa-plus-square-o"></i>
                            <div class="title">标签添加</div>
                        </a>					
                        <a class="ShortCut2" href="Ky_Tags.Asp">  
                            <i class="fa fa-tasks"></i>
                            <div class="title">标签列表</div>
                        </a>										
                    </div>
                </div>
            </div>
        </div>


        <div class="row">
            <div class="col-lg-12">
                <div class="panel panel-default">
                    <div data-original-title="" class="panel-heading">
                        <h2><i class="fa fa-user"></i><span class="break"></span>自定义标签列表</h2>
                        
                    </div>
                    <form name="" action="" method="post">
                    <div class="panel-body">
                        <div id="DataTables_Table_0_wrapper" class="dataTables_wrapper form-inline no-footer">
                        	<input type="hidden" name="Result" value="FriendLink">
                            <table id="datatable" class="table table-striped table-bordered bootstrap-datatable" cellspacing="0" width="100%">
                            <thead>
                            <tr role="row">
                                <th>选择</th>
                                <th>编号</th>
                                <th>参数名</th>
                                <th>字段名称</th>
                                <th>排序</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
							<%TagsList%>
                            </tbody>
                            </table>
                          <div class="row">
                          <div class="col-xs-7">
                          <div class="dataTables_paginate paging_simple_numbers">
                          
                          <input class="btn btn-default" onClick="checkAll(this,'id'),checkAll(this,'TagsField')" type="checkbox" value="1" name="SELALL"> 全选&nbsp;
                          <input class="btn btn-default" type="submit" value="删除" onClick="if(confirm('确定要删除吗')){form.action='?action=del';}else{return false};"/> 
                          <input class="btn btn-default" type="submit" value="更新排序" onClick="form.action='?action=order';"/>
                          </div>
                          </div>
                          </div>     

                        </div>            
                    </div>
                    </form>
                </div>
            </div>
        </div>


    </div>
    <!--#Include file="Keyicms_End.Asp"-->
</div>
<script>
$(document).ready(function(){
	var oTable = $('#datatable').dataTable();
	oTable.fnSort( [ [0,'desc'] ] );
});
</script>
<!--#Include file="Keyicms_js.Asp"-->
</body>
</html>
