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_footer', //钩子
'name' => '友链',
'version' => '1.0',
'desc' => '友链',
'url' => 'https://lmve.net',
'email' => '1337087466@qq.com',
'author' => '无闻风',
'author_url' => 'https://lmve.net',
'isedit' => '0',
);
+22
View File
@@ -0,0 +1,22 @@
<div class="card">
<div class="card-header">友情链接<a href="{SITE_URL}index.php?app=friendlinks&ac=create" title="">|友链申请|</a></div>
<div class="card-body">
<div class="facelist">
<ul>
{loop $friends $key $item}
<li>
{if $item['face']}
<a href="{$item['path']}"><img class="" src="{$item['face']}" alt="{$item['name']}" width="48" height="48" /></a>
{else}
<a href="{$item['path']}"><img class="" src="{SITE_URL}public/images/user_large.jpg" alt="{$item['name']} " width="48" height="48" /></a>
{/if}
<div class="username">
<a href="{$item['path']}" title="{$item['path']}">{$item['name']}</a>
</div>
</li>
{/loop}
</ul>
</div>
</div>
</div>
+6
View File
@@ -0,0 +1,6 @@
<?php defined('IN_TS') or die('Access Denied.');
function friendlinks(){
$friends=aac('friendlinks')->getfriends(20);
include template('friendlinks','friendlinks');
}
addAction('home_index_footer','friendlinks');