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
+14
View File
@@ -0,0 +1,14 @@
<?php
defined('IN_TS') or die('Access Denied.');
//最新创建小组
return array(
'hook'=>'home_index_right', //钩子
'name' => '最新创建小组',
'version' => '1.0',
'desc' => '最新创建小组',
'url' => 'http://www.thinksaas.cn',
'email' => 'thinksaas@qq.com',
'author' => '邱君',
'author_url' => 'http://www.thinksaas.cn',
'isedit' => '0',
);
+20
View File
@@ -0,0 +1,20 @@
<div class="card">
<div class="card-header">最新创建小组</div>
<div class="card-body">
{if $arrNewGroup}
<div class="commlist">
<ul>
{loop $arrNewGroup $key $item}
<li><a href="{tsUrl('group','show',array('id'=>$item['groupid']))}">{tsTitle($item['groupname'])}</a></li>
{/loop}
</ul>
</div>
{else}
<div class="c9">暂无小组</div>
{/if}
</div>
</div>
+13
View File
@@ -0,0 +1,13 @@
<?php
defined('IN_TS') or die('Access Denied.');
function newgroup(){
$arrNewGroup = aac('group')->findAll('group',array(
'isaudit'=>0,
),'addtime desc','groupid,groupname',10);
include template('newgroup','newgroup');
}
addAction('home_index_right','newgroup');