<?php $zpanelLogo = App\Core\logo_asset('zpanel'); ?>
<div class="panel zpanel"><?php require BASE_PATH . '/app/Views/zpanel/_sidebar.php'; ?><section class="panel-body"><h1><?= App\Core\e(ucwords(str_replace('-', ' ', $section))) ?></h1>
<?php if (!empty($testMode)): ?><div class="dev-alert zpanel-dev-alert"><strong>Test Modu Aktif</strong><span>FEATURE_TEST_MODE local ortamda acik. Production'da bu uyari gorunmez.</span></div><?php endif; ?>
<?php if ($section === 'sayfalar' || str_contains($section, 'sayfa')): ?><div class="toolbar"><button class="pill primary">Yeni Sayfa</button><button data-confirm="Sayfayi taslaga almak istiyor musun?">Taslak Yap</button></div><table><tr><th>Baslik</th><th>Dil</th><th>Durum</th><th>Footer</th></tr><tr><td>Gizlilik Politikasi</td><td>tr</td><td>published</td><td>Evet</td></tr></table>
<?php elseif ($section === 'guvenlik-botu'): ?><div class="stat-grid"><div>Link tarama <strong>Aktif</strong></div><div>Yorum tarama <strong>Aktif</strong></div><div>Riskli kayit <strong>0</strong></div></div><textarea>drive.google.com&#10;sharemods.com&#10;mediafire.com</textarea>
<?php elseif ($section === 'sanal-pos'): ?><form class="studio-form"><label>Provider<select><option>TestPaymentProvider</option><option>PayTRPaymentProvider</option><option>IyzicoPaymentProvider</option></select></label><label>Test modu<input type="checkbox" checked></label><label>Config JSON<textarea>{}</textarea></label><button class="pill primary">Kaydet</button></form>
<?php else: ?><p>Admin yonetim tablosu ve islemleri burada yer alir. Hassas islemler admin_logs tablosuna yazilacak sekilde tasarlandi.</p><div class="stat-grid"><div>Kullanicilar <strong>3</strong></div><div>Odemeler <strong>Test POS</strong></div><div>Bot <strong>Aktif</strong></div></div><?php endif; ?>
</section></div>
