www
/
wwwroot
/
magazinmiorita.be
/
admin
➕ New
📤 Upload
✎ Editing:
settings.php
← Back
<?php ob_start(); include('../includes/inc.config.php'); include('check_session.php'); if(isset($_POST['edit'])){ $database->execute("update settings set `value` = '".$_POST['website_title']."' where label = 'website_title'"); $database->execute("update settings set `value` = '".$_POST['company_name']."' where label = 'company_name'"); $database->execute("update settings set `value` = '".$_POST['company_details']."' where label = 'company_details'"); $database->execute("update settings set `value` = '".$_POST['admin_email']."' where label = 'admin_email'"); $database->execute("update settings set `value` = '".$_POST['paypal_email']."' where label = 'paypal_email'"); $database->execute("update settings set `value` = '".$_POST['paypal_test']."' where label = 'paypal_test'"); $database->execute("update settings set `value` = '".$_POST['paypal_instructions']."' where label = 'paypal_instructions'"); $database->execute("update settings set `value` = '".$_POST['bank_instructions']."' where label = 'bank_instructions'"); $database->execute("update settings set `value` = '".$_POST['records']."' where label = 'records'"); $database->execute("update settings set `value` = '".$_POST['tax']."' where label = 'tax'"); $smarty->assign("type", 'succ'); $smarty->assign("message", 'Settings updated successfully!'); } $smarty->display(END_PATH.'settings.tpl'); ?>
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel