403Webshell
Server IP : 127.0.0.1  /  Your IP : 192.168.99.1
Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9
System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64
User : Administrator ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /bpkd/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /bpkd//test.php
    <div class="art-section">
        <!-- Header Section dengan Link "Lihat Semua" di kanan -->
        <div class="art-header-wrapper">
            <div class="art-header-left">
                <h2 class="art-section-title">Link Terkait</h2>
                <div class="art-header-underline"></div>
            </div>
        </div>

        <!-- Shortcut Cards Section (Quick Links) -->
        <div class="container">
            
            <div class="row justify-content-center">
                <?php
                // Ambil shortcut dari database
                $shortcut_query = "SELECT * FROM shortcuts WHERE status = 'active' ORDER BY shortcut_order ASC, created_at ASC";
                $shortcut_result = $conn->query($shortcut_query);
                
                if ($shortcut_result && $shortcut_result->num_rows > 0):
                    $delay = 100;
                    while($shortcut = $shortcut_result->fetch_assoc()):
                        // Proses URL
                        if ($shortcut['link_type'] == 'internal') {
                            $link_url = '/' . ltrim($shortcut['link'], '/');
                        } else {
                            $link_url = $shortcut['link'];
                        }
                        $target = $shortcut['target'];
                        $is_external = ($target == '_blank');
                        $image_type = $shortcut['image_type'] ?? 'icon';
                        $image_path = !empty($shortcut['image']) ? $shortcut['image'] : '';
                ?>
                        <div class="col-lg-2 col-md-3 col-sm-4 col-6 mb-3" data-aos="fade-up" data-aos-delay="<?php echo $delay; ?>">
                            <a href="<?php echo $link_url; ?>" class="shortcut-card" target="<?php echo $target; ?>" <?php echo $is_external ? 'rel="noopener noreferrer"' : ''; ?>>
                                <div class="shortcut-icon">
                                    <?php if ($image_type == 'image' && !empty($image_path)): ?>
                                        <img src="uploads/shortcut/<?php echo $image_path; ?>" alt="<?php echo htmlspecialchars($shortcut['title']); ?>" class="shortcut-img">
                                    <?php else: ?>
                                        <i class="<?php echo htmlspecialchars($shortcut['icon']); ?>"></i>
                                    <?php endif; ?>
                                </div>
                                <p class="shortcut-description"><?php echo htmlspecialchars($shortcut['title']); ?></p>
                            </a>
                        </div>
                <?php 
                        $delay += 100;
                    endwhile;
                endif; ?>
            </div>
        </div>
    </div>


    <div class="art-section">
        <!-- Header Section dengan Link "Lihat Semua" di kanan -->
        <div class="art-header-wrapper">
            <div class="art-header-left">
                <h2 class="art-section-title">Kategori Berita</h2>
                <div class="art-header-underline"></div>
            </div>
            <div class="art-header-right">
                <a href="berita.php" class="art-view-all">
                    Lihat Semua
                    <i class="fas fa-arrow-right"></i>
                </a>
            </div>
        </div>
        <!-- Grid Cards Container -->
        <div class="container">

            <div class="row">
                <?php if ($categories && $categories->num_rows > 0): ?>
                    <?php while($category = $categories->fetch_assoc()): 
                        //$category_url = ($category['slug'] ?: createSlug($category['name']));
                    ?>
                    <div class="col-lg-3 col-md-6 mb-4" data-aos="fade-up" data-aos-delay="<?php echo $category['id'] * 50; ?>">
                        <a href="berita.php?slug=<?php echo $category['slug']; ?>" class="category-card text-decoration-none">
                            <div class="category-icon">
                                <i class="fas fa-folder"></i>
                            </div>
                            <h3 class="h5 mt-3"><?php echo $category['name']; ?></h3>
                            <p class="category-count text-muted"><?php echo $category['article_count']; ?> Artikel</p>
                        </a>
                    </div>

                    <?php endwhile; ?>
                <?php else: ?>
                    <div class="col-12 text-center py-5">
                        <i class="fas fa-folder-open fa-4x text-muted mb-3"></i>
                        <p class="text-muted">Belum ada kategori.</p>
                    </div>
                <?php endif; ?>
            </div>
            
        </div>
    </div>



    <!-- FAQ Section -->
    <?php if ($faqs && $faqs->num_rows > 0): ?>
    <section class="faq-section py-5">
        <div class="container">
            <div class="section-header text-center mb-5" data-aos="fade-up">
                <h2 class="section-title">Pertanyaan Umum</h2>
                <p class="section-subtitle">Informasi yang sering ditanyakan masyarakat</p>
            </div>
            
            <div class="row justify-content-center">
                <div class="col-lg-8" data-aos="fade-up">
                    <div class="accordion" id="faqAccordion">
                        <?php $no = 1; while($faq = $faqs->fetch_assoc()): ?>
                        <div class="accordion-item mb-3 border-0">
                            <h2 class="accordion-header">
                                <button class="accordion-button <?php echo $no > 1 ? 'collapsed' : ''; ?>" 
                                        type="button" data-bs-toggle="collapse" 
                                        data-bs-target="#faq<?php echo $faq['id']; ?>"
                                        aria-expanded="<?php echo $no == 1 ? 'true' : 'false'; ?>">
                                    <?php echo $no++ . '. ' . htmlspecialchars($faq['question']); ?>
                                </button>
                            </h2>
                            <div id="faq<?php echo $faq['id']; ?>" 
                                 class="accordion-collapse collapse <?php echo $no == 2 ? 'collapsed' : ''; ?>" 
                                 data-bs-parent="#faqAccordion">
                                <div class="accordion-body">
                                    <?php echo nl2br(htmlspecialchars($faq['answer'])); ?>
                                </div>
                            </div>
                        </div>
                        <?php endwhile; ?>
                    </div>
                    
                    <div class="text-center mt-4">
                        <a href="faq.php" class="btn btn-outline-primary">
                            Lihat Semua FAQ <i class="fas fa-arrow-right ms-2"></i>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <?php endif; ?>

Youez - 2016 - github.com/yon3zu
LinuXploit