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
+24
View File
@@ -0,0 +1,24 @@
<?php
defined('IN_TS') or die('Access Denied.');
//相册
function photo(){
$arrAlbum = aac('photo')->findAll('photo_album',array(
'isrecommend'=>1,
),'addtime desc',null,12);
foreach($arrAlbum as $key=>$item){
$arrAlbum[$key]['albumname']=tsTitle($item['albumname']);
}
include template('photo','photo');
}
function photo_css(){
echo '<link href="'.SITE_URL.'plugins/home/photo/style.css" rel="stylesheet" type="text/css" />';
}
addAction('home_index_footer','photo');
addAction('pub_header_top','photo_css');