begin of thinksaas 3.68

Signed-off-by: kevin <kevin@lmve.net>
This commit is contained in:
2023-06-22 13:33:25 +08:00
commit 963ec1b2ea
2746 changed files with 331806 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
<?php
defined('IN_TS') or die('Access Denied.');
/*
* 谁收藏了这篇帖子
*/
$topicid = intval($_GET['topicid']);
switch($ts){
case "ajax":
$arrCollectUser = $db->fetch_all_assoc("select * from ".dbprefix."group_topic_collect where topicid='$topicid'");
if(is_array($arrCollectUser)){
foreach($arrCollectUser as $item){
$strUser = aac('user')->getSimpleUser($item['userid']);
$arrUser[] = $strUser;
}
}
if($arrUser == ''){
echo '<div style="color: #999999;margin-bottom: 10px;padding: 20px 0">还没有人喜欢,赶快来做第一个喜欢者吧^_^</div>';
}else{
include template("topic_collect");
}
break;
}