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,27 @@
<?php
if(!defined('__KIMS__')) exit;
$p_module = $_POST['p_module'];
$uid = $_POST['uid'];
$mod = $_POST['mod'];
$theme_file = $_POST['theme_file'];
$theme = $theme_file;
$R = getUidData($table[$p_module.'data'],$uid);
$result=array();
$result['error']=false;
include_once $g['path_module'].'mediaset/themes/'.$theme_file.'/main.func.php';
if($R['upload']) {
$result['file'] = getAttachFileList($R,$mod,'file',$p_module);
$result['photo'] = getAttachFileList($R,$mod,'photo',$p_module);
$result['photo_full'] = getAttachPhotoSwipeFull($R);
$result['video'] = getAttachFileList($R,$mod,'video',$p_module);
$result['audio'] = getAttachFileList($R,$mod,'audio',$p_module);
}
echo json_encode($result);
exit;
?>