FlatlyPage
Version 1.0.1 • 59 files • 798.19 KB
Files
.htaccess
.last_check
admin/account.php
admin/dashboard.php
admin/easyedit.js
admin/extensions.php
admin/generate-hash.php
admin/index.php
admin/lang.php
admin/login_tracking.php
admin/logout.php
admin/popups.php
admin/preview.php
admin/scripts.php
admin/theme-edit/index.php
admin/themes.php
api/get-translate-config.php
api/translate.php
assets/fonts/inter/inter.css
assets/fonts/space-grotesk/space-grotesk.css
assets/js/admin-editor.js
assets/js/admin-theme.js
assets/js/translate.js
config.php
contact-handler.php
contact.php
css/admin.css
css/contact.css
css/styles.css
css/theme.css
css/translate.css
data/.htaccess
data/.index.php
data/.settings.php
data/private/.htaccess
data/sitemap-config.php
data/translate-api.xml
engine/index.html
engine/index.php
engine/renderion.php
extensions-loader.php
favicons.txt
functions.php
index.php
newsletter/.htaccess
newsletter/confirm.php
newsletter/manager.php
newsletter/newsletter-form.js
newsletter/newsletter-styles.css
newsletter/newsletter-unavailable.php
newsletter/newsletter.sql
newsletter/settings.php
newsletter/subscribe.php
newsletter/unsubscribe.php
page.php
robots.txt.php
sitemap.php
updater/index.php
version.txt
admin/scripts.php
<script>
const AVAILABLE_PAGES = <?php echo json_encode($all_pages); ?>;
const siteSettings = <?php echo json_encode($site_settings); ?>;
let navLinks = <?php echo json_encode($site_settings['nav_links'] ?? []); ?>;
let navButtons = <?php echo json_encode($site_settings['nav_buttons'] ?? []); ?>;
let footerData = <?php echo json_encode($site_settings['footer'] ?? get_default_site_settings()['footer']); ?>;
let blocks = [];
<?php if ($tab === 'index'): ?>
blocks = <?php echo json_encode($index_data['blocks'] ?? $default_index_blocks); ?>;
<?php elseif ($tab === 'new'): ?>
blocks = <?php echo json_encode($default_product_blocks); ?>;
<?php elseif ($tab === 'edit' && $edit_product): ?>
blocks = <?php echo json_encode($edit_product['blocks'] ?? $default_product_blocks); ?>;
<?php endif; ?>
</script>