first commit 2

This commit is contained in:
hmw1001
2026-06-11 18:47:38 +09:00
parent c768729ce6
commit 6f534e33a6
11095 changed files with 1595758 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
<?php
$sub_menu = "800300";
include_once("./_common.php");
auth_check_menu($auth, $sub_menu, "w");
if ($_POST) {
$configs = [
'timer_enabled',
'timer_message_active',
'timer_message_inactive',
'contract_deposit_rate',
'middle_payment_rate',
'expert_visit_fee',
'expert_account_info'
];
foreach ($configs as $key) {
if (isset($_POST[$key])) {
$value = sql_real_escape_string($_POST[$key]);
$sql = "UPDATE order_config SET config_value = '{$value}', updated_at = NOW() WHERE config_key = '{$key}'";
sql_query($sql);
}
}
alert('설정이 저장되었습니다.', './config_manager.php');
} else {
alert('잘못된 접근입니다.', './config_manager.php');
}
?>