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_left', //钩子
'name' => '最新签到用户',
'version' => '1.0',
'desc' => '看看哪些用户来了哦',
'url' => 'http://www.thinksaas.cn',
'email' => 'thinksaas@qq.com',
'author' => '邱君',
'author_url' => 'http://www.thinksaas.cn',
'isedit' => '0',
);
+17
View File
@@ -0,0 +1,17 @@
<div class="card">
<div class="card-header">最新签到用户</div>
<div class="card-body">
<div class="facelist">
<ul>
{loop $arrUser $key $item}
<li>
<a href="{tsUrl('user','space',array('id'=>$item['userid']))}"><img class="rounded-circle" src="{$item['face']}" alt="{$item['username']}" width="48" height="48" /></a>
<div class="username">
<a href="{tsUrl('user','space',array('id'=>$item['userid']))}" title="{$item['username']}">{$item['username']}</a>
</div>
</li>
{/loop}
</ul>
</div>
</div>
</div>
+9
View File
@@ -0,0 +1,9 @@
<?php
defined('IN_TS') or die('Access Denied.');
function signuser(){
$arrUser = aac('user')->getHotUser(20);
include template('signuser','signuser');
}
addAction('home_index_left','signuser');