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
+27
View File
@@ -0,0 +1,27 @@
<?php
defined('IN_TS') or die('Access Denied.');
include 'userinfo.php';
$page = tsIntval($_GET['page'],1);
$url = tsUrl('user','followed',array('id'=>$strUser['userid'],'page'=>''));
$lstart = $page*80-80;
//跟随他的用户
$arrUsers = $new['user']->findAll('user_follow',array(
'touserid'=>$strUser['userid'],
),'addtime desc',null,$lstart.',80');
$userNum = $new['user']->findCount('user_follow',array(
'touserid'=>$strUser['userid'],
));
$pageUrl = pagination($userNum, 80, $page, $url);
if(is_array($arrUsers)){
foreach($arrUsers as $item){
$arrUser[$key] = $new['user']->getSimpleUser($item['userid']);
}
}
$title = $strUser['username'].'的粉丝';
include template('followed');