MMCT TEAM
Server IP : 2a02:4780:2b:1556:0:9c6:43c4:d  /  Your IP : 216.73.217.162
Web Server : LiteSpeed
System : Linux us-bos-web1456.main-hosting.eu 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User : u163988420 ( 163988420)
PHP Version : 8.5.4
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail, proc_open
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u163988420/domains/awskotra.in/../dnnindia.news/public_html/AACSITE/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u163988420/domains/awskotra.in/../dnnindia.news/public_html/AACSITE/video.php
<?php
$pageTitle = 'वीडियो';
include 'includes/header.php';
?>

<style>
    /* ============================================================
   VIDEO PAGE
============================================================ */
    .vid-hero {
        background: linear-gradient(135deg, var(--dark) 0%, #0e1f3f 60%, #1a0a2e 100%);
        padding: 70px 0 60px;
        position: relative;
        overflow: hidden;
    }

    .vid-hero::before {
        content: '';
        position: absolute;
        top: -100px;
        right: -100px;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(225, 29, 72, .15) 0%, transparent 70%);
        pointer-events: none;
    }

    .vid-breadcrumb {
        color: #64748b;
        font-size: 13px;
        margin-bottom: 20px;
    }

    .vid-breadcrumb a {
        color: #94a3b8;
        transition: .2s;
    }

    .vid-breadcrumb a:hover {
        color: #fff;
    }

    .vid-breadcrumb span {
        margin: 0 8px;
        color: #334155;
    }

    .vid-hero-icon {
        width: 68px;
        height: 68px;
        border-radius: 18px;
        background: linear-gradient(135deg, #e11d48, #9f1239);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        font-size: 28px;
        color: #fff;
        box-shadow: 0 12px 30px rgba(225, 29, 72, .4);
    }

    .vid-hero h1 {
        font-size: 48px;
        font-weight: 900;
        color: #fff;
        margin-bottom: 10px;
    }

    .vid-hero p {
        color: #64748b;
        font-size: 15px;
        margin-bottom: 24px;
    }

    .vid-count {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 9px 18px;
        border-radius: 40px;
        background: rgba(255, 255, 255, .07);
        color: #cbd5e1;
        font-size: 13px;
        font-weight: 700;
        border: 1px solid rgba(255, 255, 255, .1);
    }

    /* Category Filter */
    .vid-filter-section {
        background: #fff;
        padding: 18px 0;
        border-bottom: 1px solid #e2e8f0;
        position: sticky;
        top: 70px;
        z-index: 100;
        box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    }

    .vid-filter-wrap {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .vf-btn {
        border: 1.5px solid #e2e8f0;
        background: #fff;
        padding: 8px 18px;
        border-radius: 40px;
        font-size: 13.5px;
        font-weight: 700;
        color: #334155;
        font-family: 'Noto Sans Devanagari', sans-serif;
        cursor: pointer;
        transition: .25s;
    }

    .vf-btn:hover,
    .vf-btn.active {
        background: #e11d48;
        color: #fff;
        border-color: #e11d48;
    }

    /* Featured Video */
    .vid-featured-section {
        padding: 60px 0 20px;
        background: #f1f5f9;
    }

    .section-label {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 30px;
    }

    .section-label .bar {
        width: 5px;
        height: 32px;
        border-radius: 3px;
        background: linear-gradient(180deg, #e11d48, #9f1239);
    }

    .section-label h2 {
        font-size: 24px;
        font-weight: 900;
        color: #0f172a;
        margin: 0;
    }

    .featured-vid-card {
        background: #fff;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 8px 40px rgba(0, 0, 0, .10);
    }

    .featured-vid-embed {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
    }

    .featured-vid-embed iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

    .featured-vid-info {
        padding: 28px 32px;
    }

    .vid-cat-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(225, 29, 72, .1);
        color: #e11d48;
        padding: 5px 14px;
        border-radius: 30px;
        font-size: 12px;
        font-weight: 800;
        margin-bottom: 14px;
    }

    .featured-vid-title {
        font-size: 26px;
        font-weight: 800;
        color: #0f172a;
        line-height: 1.4;
        margin-bottom: 16px;
    }

    /* All Videos Grid */
    .vid-grid-section {
        padding: 40px 0 80px;
        background: #f1f5f9;
    }

    .vid-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .vid-card {
        background: #fff;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, .07);
        transition: .3s;
        cursor: pointer;
    }

    .vid-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
    }

    .vid-thumb {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        background: #0f172a;
    }

    .vid-thumb iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

    .vid-card-body {
        padding: 18px 20px;
    }

    .vid-card-cat {
        display: inline-block;
        background: rgba(225, 29, 72, .09);
        color: #e11d48;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 11.5px;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .vid-card-title {
        font-size: 15.5px;
        font-weight: 700;
        color: #0f172a;
        line-height: 1.55;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .vid-card-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #94a3b8;
        font-size: 12.5px;
    }

    .vid-card-meta span {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .vid-card-meta i {
        color: #e11d48;
    }

    /* No results */
    .no-results {
        grid-column: 1/-1;
        text-align: center;
        padding: 60px 20px;
        color: #94a3b8;
    }

    .no-results i {
        font-size: 48px;
        color: #e2e8f0;
        margin-bottom: 16px;
        display: block;
    }

    /* Responsive */
    @media(max-width:991px) {
        .vid-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media(max-width:768px) {
        .vid-hero h1 {
            font-size: 34px;
        }

        .vid-hero {
            padding: 50px 0 40px;
        }

        .featured-vid-info {
            padding: 20px;
        }

        .featured-vid-title {
            font-size: 20px;
        }
    }

    @media(max-width:576px) {
        .vid-grid {
            grid-template-columns: 1fr;
        }

        .vid-filter-section {
            top: 60px;
        }
    }
</style>

<!-- HERO -->
<section class="vid-hero text-center">
    <div class="container">
        <div class="vid-breadcrumb">
            <a href="index.php">होम</a><span>/</span><span style="color:#94a3b8">वीडियो</span>
        </div>
        <div class="vid-hero-icon"><i class="bi bi-play-circle-fill"></i></div>
        <h1>वीडियो</h1>
        <p>अजमेर, राजस्थान और देश-दुनिया की खास वीडियो रिपोर्ट्स</p>
        <div class="vid-count"><i class="bi bi-camera-video-fill"></i> कुल <?php echo count($videos); ?> वीडियो</div>
    </div>
</section>

<!-- FILTER -->
<section class="vid-filter-section">
    <div class="container">
        <div class="vid-filter-wrap">
            <button class="vf-btn active" data-filter="all">सभी</button>
            <?php foreach ($categories as $category): ?>
                <button
                    class="vf-btn"
                    data-filter="<?php echo $category['slug']; ?>">

                    <?php echo $category['name']; ?>

                </button>
            <?php endforeach; ?>
        </div>
    </div>
</section>

<!-- FEATURED VIDEO -->
<?php if ($featuredVideo): ?>
    <section class="vid-featured-section">
        <div class="container">
            <div class="section-label">
                <div class="bar"></div>
                <h2>फीचर्ड वीडियो</h2>
            </div>
            <div class="featured-vid-card" data-category="<?php echo $featuredVideo['category_slug']; ?>">
                <div class="featured-vid-embed">
                    <iframe
                        src="https://www.youtube.com/embed/<?php echo $featuredVideo['youtube_video_id']; ?>?rel=0"
                        title="<?php echo htmlspecialchars($featuredVideo['title']); ?>"
                        allowfullscreen
                        loading="lazy">
                    </iframe>
                </div>
                <div class="featured-vid-info">
                    <div class="vid-cat-badge"><?php echo $featuredVideo['category_name']; ?></div>
                    <div class="featured-vid-title"><?php echo $featuredVideo['title']; ?></div>
                </div>
            </div>
        </div>
    </section>
<?php endif; ?>

<!-- VIDEO GRID -->
<section class="vid-grid-section">
    <div class="container">
        <div class="section-label">
            <div class="bar"></div>
            <h2>सभी वीडियो</h2>
        </div>
        <div class="vid-grid" id="vidGrid">
            <?php foreach ($otherVideos as $v): ?>
                <div class="vid-card" data-category="<?php echo $v['category_slug']; ?>">
                    <div class="vid-thumb">
                        <iframe
                            src="https://www.youtube.com/embed/<?php echo $v['youtube_video_id']; ?>?rel=0"
                            title="<?php echo htmlspecialchars($v['title']); ?>"
                            allowfullscreen
                            loading="lazy">
                        </iframe>
                    </div>
                    <div class="vid-card-body">
                        <div class="vid-card-cat"><?php echo $v['category_name']; ?></div>
                        <div class="vid-card-title"><?php echo $v['title']; ?></div>
                    </div>
                </div>
            <?php endforeach; ?>
        </div>
    </div>
</section>

<script>
    // Video filter
    const vfBtns = document.querySelectorAll('.vf-btn');
    const vidCards = document.querySelectorAll('[data-category]');

    vfBtns.forEach(btn => {
        btn.addEventListener('click', () => {
            vfBtns.forEach(b => b.classList.remove('active'));
            btn.classList.add('active');
            const f = btn.dataset.filter;
            vidCards.forEach(card => {
                card.style.display = (f === 'all' || card.dataset.category === f) ? '' : 'none';
            });
        });
    });
</script>

<?php include 'includes/footer.php'; ?>

MMCT - 2023