PNG  IHDR* pHYs+ IDATx]n#; cdLb Ǚ[at¤_:uP}>!Usă cag޿ ֵNu`ݼTâabO7uL&y^wFٝA"l[|ŲHLN밪4*sG3|Dv}?+y߉{OuOAt4Jj.u]Gz*҉sP'VQKbA1u\`& Af;HWj hsO;ogTu uj7S3/QzUr&wS`M$X_L7r2;aE+ώ%vikDA:dR+%KzƉo>eOth$z%: :{WwaQ:wz%4foɹE[9<]#ERINƻv溂E%P1i01 |Jvҗ&{b?9g=^wζXn/lK::90KwrюO\!ջ3uzuGv^;騢wq<Iatv09:tt~hEG`v;3@MNZD.1]L:{ծI3`L(÷ba")Y.iljCɄae#I"1 `3*Bdz>j<fU40⨬%O$3cGt]j%Fߠ_twJ;ABU8vP3uEԑwQ V:h%))LfraqX-ۿX]v-\9I gl8tzX ]ecm)-cgʒ#Uw=Wlێn(0hPP/ӨtQ“&J35 $=]r1{tLuǮ*i0_;NƝ8;-vݏr8+U-kruȕYr0RnC]*ެ(M:]gE;{]tg(#ZJ9y>utRDRMdr9㪩̞zֹb<ģ&wzJM"iI( .ꮅX)Qw:9,i좜\Ԛi7&N0:asϓc];=ΗOӣ APqz93 y $)A*kVHZwBƺnWNaby>XMN*45~ղM6Nvm;A=jֲ.~1}(9`KJ/V F9[=`~[;sRuk]rєT!)iQO)Y$V ی ۤmzWz5IM Zb )ˆC`6 rRa}qNmUfDsWuˤV{ Pݝ'=Kֳbg,UҘVz2ﴻnjNgBb{? ߮tcsͻQuxVCIY۠:(V뺕 ٥2;t`@Fo{Z9`;]wMzU~%UA蛚dI vGq\r82iu +St`cR.6U/M9IENDB` REDROOM
PHP 5.6.40
Preview: layout.php Size: 8.11 KB
/home/ankaservis/public_html/app/views/admin/layout.php

<!DOCTYPE html>
<html lang="tr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo isset($page_title) ? $page_title . ' - ' : ''; ?>Admin Panel</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        'anka-orange': '#ff6b35',
                        'anka-gray': '#2c3e50',
                        'anka-gray-light': '#34495e',
                    }
                }
            }
        }
    </script>
    <!-- Summernote CSS -->
    <link href="https://cdn.jsdelivr.net/npm/summernote@0.8.20/dist/summernote-lite.min.css" rel="stylesheet">
    <!-- jQuery (Summernote için gerekli) -->
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <!-- Summernote JS -->
    <script src="https://cdn.jsdelivr.net/npm/summernote@0.8.20/dist/summernote-lite.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/summernote@0.8.20/dist/lang/summernote-tr-TR.min.js"></script>
</head>
<body class="bg-gray-100">
    <nav class="bg-anka-gray text-white shadow-lg">
        <div class="container mx-auto px-4">
            <div class="flex justify-between items-center py-4">
                <div>
                    <h1 class="text-xl font-bold">Admin Panel</h1>
                    <p class="text-xs text-anka-orange"><?php echo defined('COMPANY_NAME') ? COMPANY_NAME : ''; ?></p>
                </div>
                <div class="flex items-center space-x-4">
                    <span class="text-sm">Hoş geldiniz, <?php echo $_SESSION['admin_username'] ?? 'Admin'; ?></span>
                    <a href="<?php echo Helper::url('/admin/logout'); ?>" class="bg-anka-orange hover:bg-orange-600 px-4 py-2 rounded transition">
                        Çıkış
                    </a>
                </div>
            </div>
        </div>
    </nav>

    <div class="container mx-auto px-4 py-8">
        <div class="flex flex-col md:flex-row gap-6">
            <!-- Sidebar -->
            <aside class="w-full md:w-64 bg-white rounded-lg shadow p-4 h-fit">
                <nav class="space-y-2">
                    <a href="<?php echo Helper::url('/admin'); ?>" class="flex items-center space-x-2 px-4 py-2 rounded hover:bg-gray-100 transition <?php echo $_SERVER['REQUEST_URI'] === '/admin' ? 'bg-gray-100 text-anka-orange' : ''; ?>">
                        <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"></path>
                        </svg>
                        <span>Dashboard</span>
                    </a>
                    <a href="<?php echo Helper::url('/admin/services'); ?>" class="flex items-center space-x-2 px-4 py-2 rounded hover:bg-gray-100 transition <?php echo strpos($_SERVER['REQUEST_URI'], '/admin/services') !== false ? 'bg-gray-100 text-anka-orange' : ''; ?>">
                        <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z"></path>
                        </svg>
                        <span>Hizmetler</span>
                    </a>
                    <a href="<?php echo Helper::url('/admin/posts'); ?>" class="flex items-center space-x-2 px-4 py-2 rounded hover:bg-gray-100 transition <?php echo strpos($_SERVER['REQUEST_URI'], '/admin/posts') !== false ? 'bg-gray-100 text-anka-orange' : ''; ?>">
                        <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path>
                        </svg>
                        <span>Çözüm Merkezi</span>
                    </a>
                    <a href="<?php echo Helper::url('/admin/messages'); ?>" class="flex items-center space-x-2 px-4 py-2 rounded hover:bg-gray-100 transition <?php echo strpos($_SERVER['REQUEST_URI'], '/admin/messages') !== false ? 'bg-gray-100 text-anka-orange' : ''; ?>">
                        <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path>
                        </svg>
                        <span>Mesajlar</span>
                    </a>
                    <a href="<?php echo Helper::url('/admin/service-requests'); ?>" class="flex items-center space-x-2 px-4 py-2 rounded hover:bg-gray-100 transition <?php echo strpos($_SERVER['REQUEST_URI'], '/admin/service-requests') !== false ? 'bg-gray-100 text-anka-orange' : ''; ?>">
                        <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path>
                        </svg>
                        <span>Servis Talepleri</span>
                    </a>
                    <a href="<?php echo Helper::url('/admin/price-quotes'); ?>" class="flex items-center space-x-2 px-4 py-2 rounded hover:bg-gray-100 transition <?php echo strpos($_SERVER['REQUEST_URI'], '/admin/price-quotes') !== false ? 'bg-gray-100 text-anka-orange' : ''; ?>">
                        <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                        </svg>
                        <span>Fiyat Teklifi Talepleri</span>
                    </a>
                    <a href="<?php echo Helper::url('/admin/price-list'); ?>" class="flex items-center space-x-2 px-4 py-2 rounded hover:bg-gray-100 transition <?php echo strpos($_SERVER['REQUEST_URI'], '/admin/price-list') !== false ? 'bg-gray-100 text-anka-orange' : ''; ?>">
                        <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 7h6m0 10v-3m-3 3h.01M9 17h.01M9 14h.01M12 14h.01M15 11h.01M12 11h.01M9 11h.01M7 21h10a2 2 0 002-2V5a2 2 0 00-2-2H7a2 2 0 00-2 2v14a2 2 0 002 2z"></path>
                        </svg>
                        <span>Fiyat Listesi</span>
                    </a>
                </nav>
            </aside>

            <!-- Main Content -->
            <main class="flex-1">
                <?php if (isset($_SESSION['success'])): ?>
                    <div class="bg-green-100 border border-green-400 text-green-700 px-4 py-3 rounded mb-4">
                        <?php echo $_SESSION['success']; unset($_SESSION['success']); ?>
                    </div>
                <?php endif; ?>

                <?php if (isset($_SESSION['error'])): ?>
                    <div class="bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded mb-4">
                        <?php echo $_SESSION['error']; unset($_SESSION['error']); ?>
                    </div>
                <?php endif; ?>

                <?php echo $content ?? ''; ?>
            </main>
        </div>
    </div>
</body>
</html>

Directory Contents

Dirs: 6 × Files: 3

Name Size Perms Modified Actions
messages DIR
- drwxr-xr-x 2025-11-17 04:56:57
Edit Download
posts DIR
- drwxr-xr-x 2025-11-17 04:57:00
Edit Download
- drwxr-xr-x 2025-11-17 04:57:01
Edit Download
- drwxr-xr-x 2025-11-17 04:57:02
Edit Download
- drwxr-xr-x 2025-11-17 04:57:04
Edit Download
services DIR
- drwxr-xr-x 2025-11-17 04:57:05
Edit Download
7.12 KB lrw-r--r-- 2025-11-17 19:50:43
Edit Download
8.11 KB lrw-r--r-- 2025-11-17 19:50:43
Edit Download
1.88 KB lrw-r--r-- 2025-11-17 19:50:43
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).
© 2026 REDROOM — Secure File Manager. All rights reserved. Built with ❤️ & Red Dark UI