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
+29
View File
@@ -0,0 +1,29 @@
<?php
defined ( 'IN_TS' ) or die ( 'Access Denied.' );
$page = tsIntval($_GET['page'],1);
$url = tsUrl('photo','my',array('my'=>'index','page'=>''));
$lstart = $page*6-6;
$arrAlbum = $new['photo']->findAll('photo_album',array(
'userid'=>$strUser['userid'],
),'albumid desc',null,$lstart.',6');
foreach($arrAlbum as $key=>$item){
$arrAlbum[$key]['albumname'] = tsTitle($item['albumname']);
$arrAlbum[$key]['albumdesc'] = tsTitle($item['albumdesc']);
}
$albumNum = $new['photo']->findCount('photo_album',array(
'userid'=>$strUser['userid'],
));
$pageUrl = pagination($albumNum, 6, $page, $url);
$title = '我的相册';
include template('my/index');