This commit is contained in:
shim
2023-04-17 11:06:08 +09:00
parent d0b393aa97
commit 76264e09ad
4686 changed files with 552713 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?php
if(!defined('__KIMS__')) exit;
$R = getUidData($table[$m.'data'],$uid);
$result=array();
$result['error']=false;
if (!$R['uid']) {
$result['error']=true;
}
$mbruid = $my['uid'];
$module = $m;
$category ='포스트';
$entry = $R['uid'];
$subject = addslashes($R['subject']);
$d_regis = $date['totime'];
$check_saved_qry = "mbruid='".$mbruid."' and module='".$module."' and entry='".$entry."'";
$is_saved = getDbRows($table['s_saved'],$check_saved_qry);
if (!$is_saved){ // 이미 저장했던 경우
$_QKEY = 'mbruid,module,category,entry,subject,url,d_regis';
$_QVAL = "'$mbruid','$module','$category','$entry','$subject','$url','$d_regis'";
getDbInsert($table['s_saved'],$_QKEY,$_QVAL);
}
echo json_encode($result);
exit;
?>