diff --git a/src/app/controller/module/profile.php b/src/app/controller/module/profile.php new file mode 100644 index 0000000..60226c0 --- /dev/null +++ b/src/app/controller/module/profile.php @@ -0,0 +1,23 @@ +_user = $user; + } + + public function render() + { + $route = isset($_GET['_route_']) ? (string) $_GET['_route_'] : ''; + + $stars = $this->_user->getUserPageStarsTotal(); + $views = $this->_user->getUserPageViewsTotal(); + $downloads = $this->_user->getUserPageDownloadsTotal(); + $comments = $this->_user->getUserPageCommentsTotal(); + + include __DIR__ . '../../../view/theme/default/module/profile.phtml'; + } +} \ No newline at end of file diff --git a/src/app/view/theme/default/module/profile.phtml b/src/app/view/theme/default/module/profile.phtml new file mode 100644 index 0000000..7dfcfc5 --- /dev/null +++ b/src/app/view/theme/default/module/profile.phtml @@ -0,0 +1,140 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file