37 lines
1.1 KiB
PHP
37 lines
1.1 KiB
PHP
|
|
<?php
|
||
|
|
include_once './_common.php';
|
||
|
|
|
||
|
|
check_demo();
|
||
|
|
auth_check($auth[$sub_menu], 'w');
|
||
|
|
|
||
|
|
if ($is_admin != 'super')
|
||
|
|
alert('최고관리자만 접근 가능합니다.');
|
||
|
|
|
||
|
|
check_admin_token();
|
||
|
|
|
||
|
|
$sql = "UPDATE {$g5['config_table']} SET
|
||
|
|
cf_2 = '{$_POST['cf_2']}',
|
||
|
|
cf_3 = '{$_POST['cf_3']}',
|
||
|
|
cf_4 = '{$_POST['cf_4']}',
|
||
|
|
cf_5 = '{$_POST['cf_5']}',
|
||
|
|
cf_6 = '{$_POST['cf_6']}',
|
||
|
|
|
||
|
|
cf_character_count = '{$_POST['cf_character_count']}',
|
||
|
|
cf_status_point = '{$_POST['cf_status_point']}',
|
||
|
|
cf_search_count = '{$_POST['cf_search_count']}',
|
||
|
|
cf_money = '{$_POST['cf_money']}',
|
||
|
|
cf_money_pice = '{$_POST['cf_money_pice']}',
|
||
|
|
cf_exp_name = '{$_POST['cf_exp_name']}',
|
||
|
|
cf_exp_pice = '{$_POST['cf_exp_pice']}',
|
||
|
|
cf_rank_name = '{$_POST['cf_rank_name']}',
|
||
|
|
cf_side_title = '{$_POST['cf_side_title']}',
|
||
|
|
cf_class_title = '{$_POST['cf_class_title']}',
|
||
|
|
cf_shop_category = '{$_POST['cf_shop_category']}',
|
||
|
|
cf_item_category = '{$_POST['cf_item_category']}'";
|
||
|
|
|
||
|
|
EventHandler::triggerEvent("amber.admin.community_form_update");
|
||
|
|
|
||
|
|
sql_query($sql);
|
||
|
|
|
||
|
|
goto_url('./community_form.php');
|