<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>永兴吴氏宗谱蕲州狮子口道靖支</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body {
            font-family: 'Microsoft YaHei', sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f8f9fa;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .container {
            max-width: 1400px;
            margin: 0 auto;
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 15px rgba(0,0,0,0.1);
            flex: 1;
        }
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid #e9ecef;
            flex-wrap: wrap;
        }
        .header-left {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            flex: 1;
        }
        .header-right {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        h1, h2, h3, h4 {
            color: #2c3e50;
            margin-bottom: 15px;
            font-weight: 600;
        }
        h1 {
            color: #2c3e50;
            font-size: 28px;
            margin-right: 20px;
        }
        .btn {
            display: inline-block;
            padding: 8px 16px;
            background: #3498db;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            border: none;
            cursor: pointer;
            font-size: 14px;
            margin: 5px 5px 5px 0;
            transition: all 0.3s ease;
        }
        .btn:hover {
            background: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        .btn-danger {
            background: #e74c3c;
        }
        .btn-danger:hover {
            background: #c0392b;
        }
        .btn-secondary {
            background: #7f8c8d;
        }
        .btn-secondary:hover {
            background: #636e72;
        }
        .btn-info {
            background: #2ecc71;
        }
        .btn-info:hover {
            background: #27ae60;
        }
        .btn-warning {
            background: #f39c12;
        }
        .btn-warning:hover {
            background: #d35400;
        }
        .form-group {
            margin-bottom: 20px;
        }
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #2c3e50;
        }
        input[type="text"],
        input[type="date"],
        input[type="password"],
        input[type="search"],
        textarea,
        select {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
            transition: border 0.3s ease;
        }
        input:focus, textarea:focus, select:focus {
            border-color: #3498db;
            outline: none;
            box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
        }
        textarea {
            min-height: 120px;
            resize: vertical;
        }
        .actions {
            margin-top: 15px;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .tree-node {
            margin: 15px 0;
            position: relative;
        }
        .person-card {
            border: 1px solid #e9ecef;
            border-radius: 8px;
            padding: 20px;
            background: white;
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
            position: relative;
            z-index: 2;
            transition: all 0.3s ease;
        }
        .person-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .children-container {
            position: relative;
            margin-left: 50px;
            padding-left: 25px;
        }
        .children-line {
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background-color: #3498db;
            z-index: 1;
            border-radius: 3px;
        }
        .children-nodes {
            display: flex;
            flex-direction: column;
            position: relative;
        }
        .children-nodes::before {
            content: '';
            position: absolute;
            left: -25px;
            top: -15px;
            height: 25px;
            width: 25px;
            border-left: 3px solid #3498db;
            border-bottom: 3px solid #3498db;
            border-bottom-left-radius: 10px;
        }
        .alert {
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 6px;
            font-weight: 500;
        }
        .alert-error {
            background: #ffebee;
            color: #c62828;
            border: 1px solid #ef9a9a;
        }
        .alert-success {
            background: #e8f5e9;
            color: #2e7d32;
            border: 1px solid #a5d6a7;
        }
        .login-form {
            max-width: 450px;
            margin: 50px auto;
            padding: 30px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        .login-form h2 {
            text-align: center;
            margin-bottom: 25px;
            color: #2c3e50;
        }
        .person-details {
            background: white;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
        }
        .person-details h2 {
            border-bottom: 3px solid #3498db;
            padding-bottom: 15px;
            margin-bottom: 25px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .detail-row {
            margin-bottom: 18px;
            display: flex;
            flex-wrap: wrap;
            padding: 12px 0;
            border-bottom: 1px solid #f1f1f1;
        }
        .detail-label {
            font-weight: bold;
            width: 120px;
            flex-shrink: 0;
            color: #2c3e50;
        }
        .detail-value {
            flex-grow: 1;
            color: #555;
        }
        .login-note {
            text-align: center;
            margin-top: 20px;
            padding: 15px;
            background: #e3f2fd;
            border-radius: 6px;
            font-weight: 500;
        }
        .search-form {
            display: flex;
            margin: 15px 0;
            max-width: 500px;
        }
        .search-form input[type="search"] {
            flex: 1;
            margin-right: 10px;
            width: auto;
        }
        .search-results {
            margin-top: 20px;
        }
        .search-result-item {
            border: 1px solid #e9ecef;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 15px;
            background: white;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }
        .search-result-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .announcement {
            background: #fff8e1;
            border-left: 5px solid #ffc107;
            padding: 20px;
            margin: 25px 0;
            border-radius: 8px;
            position: relative;
        }
        .announcement h3 {
            color: #ff9800;
            margin-top: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .news-container {
            margin: 25px 0;
        }
        .news-item {
            border: 1px solid #e9ecef;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
            background: white;
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
        }
        .news-item h3 {
            color: #2c3e50;
            border-bottom: 2px solid #f1f1f1;
            padding-bottom: 10px;
            margin-bottom: 15px;
        }
        .news-meta {
            color: #7f8c8d;
            font-size: 14px;
            margin-bottom: 15px;
        }
        .footer {
            text-align: center;
            margin-top: 40px;
            padding: 25px;
            color: #7f8c8d;
            border-top: 1px solid #e9ecef;
            background: #f8f9fa;
            border-radius: 0 0 8px 8px;
        }
        .nav-tabs {
            display: flex;
            border-bottom: 2px solid #e9ecef;
            margin-bottom: 20px;
        }
        .nav-tab {
            padding: 12px 20px;
            cursor: pointer;
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-bottom: none;
            margin-right: 5px;
            border-radius: 5px 5px 0 0;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        .nav-tab.active {
            background: #3498db;
            color: white;
            border-color: #3498db;
        }
        .tab-content {
            display: none;
        }
        .tab-content.active {
            display: block;
        }
        .editor-toolbar {
            background: #f8f9fa;
            padding: 10px;
            border: 1px solid #ddd;
            border-bottom: none;
            border-radius: 4px 4px 0 0;
        }
        .editor-toolbar button {
            background: white;
            border: 1px solid #ddd;
            padding: 5px 10px;
            margin-right: 5px;
            border-radius: 3px;
            cursor: pointer;
        }
        .editor-toolbar button:hover {
            background: #f1f1f1;
        }
        .html-editor {
            min-height: 200px;
            border: 1px solid #ddd;
            border-radius: 0 0 4px 4px;
            padding: 12px;
        }
        .action-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            margin-top: 20px;
        }
        .breadcrumb {
            padding: 10px 15px;
            margin-bottom: 20px;
            background: #f8f9fa;
            border-radius: 4px;
            font-size: 14px;
        }
        .breadcrumb a {
            color: #3498db;
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .empty-value {
            color: #999;
            font-style: italic;
        }
        @media (max-width: 992px) {
            .container {
                padding: 15px;
            }
            header {
                flex-direction: column;
                text-align: center;
            }
            header h1 {
                margin-bottom: 15px;
                margin-right: 0;
            }
            .header-left, .header-right {
                flex-direction: column;
                width: 100%;
                align-items: center;
            }
            .header-right {
                margin-top: 15px;
            }
            .children-container {
                margin-left: 30px;
            }
        }
        @media (max-width: 768px) {
            .detail-row {
                flex-direction: column;
            }
            .detail-label {
                width: 100%;
                margin-bottom: 5px;
            }
            .children-container {
                margin-left: 20px;
            }
            .btn {
                display: block;
                width: 100%;
                text-align: center;
                margin: 5px 0;
            }
            .search-form {
                flex-direction: column;
                max-width: 100%;
            }
            .search-form input[type="search"] {
                margin-right: 0;
                margin-bottom: 10px;
                width: 100%;
            }
            .nav-tabs {
                flex-wrap: wrap;
            }
            .nav-tab {
                margin-bottom: 5px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
                <header>
            <div class="header-left">
                <h1>永兴吴氏宗谱蕲州狮子口道靖支</h1>
                <form method="GET" action="" class="search-form">
                    <input type="hidden" name="action" value="search">
                    <input type="search" name="q" placeholder="搜索人物..." value="">
                    <button type="submit" class="btn btn-info">搜索</button>
                </form>
            </div>
            <div class="header-right">
                <a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dnews" class="btn btn-info"><i class="fas fa-newspaper"></i> 新闻</a>
                <a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dlogin" class="btn"><i class="fas fa-sign-in-alt"></i> 登录</a>
            </div>
        </header>
        
                
        
        <!-- 网站公告板 -->
        <div class="announcement">
            <h3>
                <span><i class="fas fa-bullhorn"></i> 网站公告</span>
                            </h3>
            <p>本家谱为永兴吴氏始祖良材公第十六世传至朝宗(泰伯八十一世孙),字仲文生于南宋高宗绍兴十二年(公元1142年)的后代家谱系统。</p>
        </div>

                        <h2><i class="fas fa-tree"></i> 家谱树</h2>
                
                                
                <div class="tree-container">
                    <div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D1">朝宗</a></h3><p>字号: 仲文</p><p>出生: 1142-12-01 @ 阳新</p></div><div class="children-container"><div class="children-line"></div><div class="children-nodes"><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D2">彦恭</a></h3></div><div class="children-container"><div class="children-line"></div><div class="children-nodes"><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D4">秀二</a></h3></div><div class="children-container"><div class="children-line"></div><div class="children-nodes"><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D5">子和</a></h3></div><div class="children-container"><div class="children-line"></div><div class="children-nodes"><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D6">文仲</a></h3></div></div><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D9">文信</a></h3></div><div class="children-container"><div class="children-line"></div><div class="children-nodes"><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D13">元俊</a></h3></div></div><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D12">元敬</a></h3></div></div><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D10">元斌</a></h3></div><div class="children-container"><div class="children-line"></div><div class="children-nodes"><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D14">道清</a></h3></div></div><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D17">道益</a></h3></div></div><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D16">道缘</a></h3></div></div><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D15">道静</a></h3></div><div class="children-container"><div class="children-line"></div><div class="children-nodes"><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D20">琏</a></h3></div></div><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D22">琳</a></h3></div></div><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D19">瑀</a></h3></div></div><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D18">瑞</a></h3></div></div><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D21">璋</a></h3></div></div></div></div></div></div></div></div><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D11">元海</a></h3></div></div></div></div></div><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D7">文明</a></h3></div></div><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D8">文韬</a></h3></div></div></div></div></div></div></div></div></div></div></div><div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D3">彦才</a></h3></div></div></div></div></div>                </div>
                        
        <div class="footer">
            <p>永兴吴氏宗谱蕲州狮子口道靖支 &copy; 2026</p>
            <p>本系统用于家族谱系管理与展示</p>
        </div>
    </div>
</body>
</html>