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,16 @@
<?php
if(!defined('__KIMS__')) exit;
$data = array();
$posts=getDbArray($table[$m.'data'],"mbruid=".$my['uid']." and subject like '%".$q."%'",'subject,cid','hit','desc','',1);
$postData = '';
while($R=db_fetch_array($posts)){
$link = '/post/write/'.$R['cid'];
$subject = str_replace(',', '', $R['subject']);
$postData .= $subject.'|'.$link.',';
}
$data['postlist'] = $postData;
echo json_encode($data);
exit;
?>