diff --git a/themes/tajian/controller/SiteController.php b/themes/tajian/controller/SiteController.php index 495b646..9c93fa7 100644 --- a/themes/tajian/controller/SiteController.php +++ b/themes/tajian/controller/SiteController.php @@ -29,6 +29,8 @@ Class SiteController extends Controller { //显示当前用户收藏的视频 protected function renderFavVideos() { + $loginedUser = Common::getUserFromSession(); + //获取数据 $menus = array(); //菜单,一级目录 $htmlReadme = ''; //Readme.md 内容,底部网站详细介绍 @@ -84,7 +86,7 @@ Class SiteController extends Controller { $viewName = 'myindex'; $params = compact( 'cateId', 'dirTree', 'scanResults', 'menus', 'htmlReadme', 'tags', - 'nickname' + 'nickname', 'loginedUser' ); return $this->render($viewName, $params, $pageTitle); } diff --git a/themes/tajian/views/site/login.php b/themes/tajian/views/site/login.php index 66d15b4..87cb16e 100644 --- a/themes/tajian/views/site/login.php +++ b/themes/tajian/views/site/login.php @@ -2,11 +2,11 @@
- +
- +
diff --git a/themes/tajian/views/site/myindex.php b/themes/tajian/views/site/myindex.php index a811d84..ddb1ff2 100644 --- a/themes/tajian/views/site/myindex.php +++ b/themes/tajian/views/site/myindex.php @@ -34,6 +34,14 @@ eof; ?>
+欢迎回来,把当前网址发给朋友,跟TA分享你的收藏吧。

+eof; +} +?>
- +

Ta荐客服微信二维码 @@ -10,11 +10,11 @@

- +
- +