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
+30
View File
@@ -0,0 +1,30 @@
<?php
defined ( 'IN_TS' ) or die ( 'Access Denied.' );
//加入的小组
$arrGroupsList = $new['group']->findAll('group_user',array(
'userid'=>$strUser['userid'],
),null,'groupid');
foreach($arrGroupsList as $key=>$item){
$arrGroup[] = aac('group')->getOneGroup($item['groupid']);
}
//创建的小组
$arrCreateGroup = $new['group']->findAll('group',array(
'userid'=>$strUser['userid'],
));
foreach($arrCreateGroup as $key=>$item){
$arrCreateGroup[$key]['groupname'] = tsTitle($item['groupname']);
if($item['photo']){
$arrCreateGroup[$key]['photo'] = tsXimg($item['photo'],'group',120,120,$item['path'],1);
}else{
$arrCreateGroup[$key]['photo'] = SITE_URL.'public/images/group.jpg';
}
}
$title = '我加入的小组';
include template('my/index');