퍼스트가든에서 사용하는 사용자 함수 및 관련파일 추가

This commit is contained in:
2025-07-02 14:14:02 +09:00
parent 68797db562
commit ec949b682d
265 changed files with 27086 additions and 0 deletions

18
manager/adm/gr.signup.php Normal file
View File

@ -0,0 +1,18 @@
<?php
include_once ('./_common.php');
if(!$_SESSION['user_id']) exit();
// 변수 선언
$gr_name = trim($_POST['gr_name']);
$gr_date = trim($_POST['gr_date']);
// 쿼리 만든다
$query = "INSERT INTO {$fg['group_table']} (gr_name, gr_date, gr_used, gr_lv)";
$query .= "VALUES('{$gr_name}', '{$gr_date}', '1', '1') ";
$result = sql_query($query);
$data = array("isSuccess" => $result);
header("Content-Type: application/json");
echo json_encode($data);