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
+24
View File
@@ -0,0 +1,24 @@
<?php
defined('IN_TS') or die('Access Denied.');
include 'userinfo.php';
$page = isset($_GET['page']) ? intval($_GET['page']) : '1';
$url = tsUrl('user','collect',array('id'=>$strUser['userid'],'page'=>''));
$lstart = $page*30-30;
$arrTopicLists = $new['user']->findAll('group_topic_collect',array(
'userid'=>$strUser['userid'],
),'addtime desc',null,$lstart.',30');
foreach($arrTopicLists as $key=>$item){
$arrTopicList[] = aac('group')->getOneTopic($item['topicid']);
}
$topicNum = $new['user']->findCount('group_topic_collect',array(
'userid'=>$strUser['userid'],
));
$pageUrl = pagination($topicNum, 30, $page, $url);
$title = $strUser['username'].'的喜欢';
include template('collect');