<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib  uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="${pageContext.request.contextPath}/lib/html5shiv.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/lib/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/journalism/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/journalism/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/journalism/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/journalism/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/journalism/h-ui.admin/css/page.css" />
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/admin/index/js/jquery.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/admin/js/layer.js"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <title>简介/文化/信息</title>

    </head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>关于我们 <span class="c-gray en">&gt;</span> 简介/文化/信息 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
    <form class="form form-horizontal" id="form-article-add" action="admin/article-sort.html" method="post" enctype="multipart/form-data">
        <div class="text-c">
           <%-- <button onclick="removeIframe()" class="btn btn-primary radius">关闭选项卡</button>--%>

        </div>
    </form>
    <div class="mt-20">
        <table class="table table-border table-bordered table-bg table-hover table-sort table-responsive">
            <thead>
            <tr class="text-c">
                <th width="25">id</th>
              <%--  <th width="80">ID</th>--%>
                <th  width="80">标题</th>
                <c:if test="${cultures.cfpid!=4}">
                <th width="100">图片</th>
                </c:if>
              <%--  <th  width="100">描述</th>--%>
                <th  width="80">操作</th>

            </tr>
            </thead>
            <tbody>
                <tr class="text-c">
                    <td>${cultures.cid}</td>
                    <td>${cultures.ctitle}</td>
                    <c:if test="${cultures.cfpid!=4}">
                    <td>
                        <img style="width: 130px;height: 90px " src="${cultures.cimg}">
                    </td>
                    </c:if>
                <%--    <td>${cultures.cdetails}</td>--%>
                    <td class="f-14 td-manage">
                        <a style="text-decoration:none" class="ml-5" href="getCultureId.html?id=${cultures.cid}"  title="编辑"><i class="Hui-iconfont">&#xe6df; </i>编辑</a>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>

</div>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="${pageContext.request.contextPath}/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/journalism/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/journalism/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="${pageContext.request.contextPath}/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript">



    /*资讯-编辑*/
    function article_edit(url,id){
        var index = layer.open({
            type: 2,
            title: title,
            content: url,
            id: id
        });
        layer.full(index);

    }
    /*资讯-删除*/
    function article_del(obj,id){
        layer.confirm('确认要删除吗？',function(index){
            $.post("deleteAoutusById.html", {"id": id}, function () {
                console.log(111);
                $(obj).parents("tr").remove();
                layer.msg('已删除!', {icon: 1, time: 1000});
            });
        });
    }

</script>
</body>
</html>
