ghost
3 years ago
11 changed files with 87 additions and 25 deletions
@ -1,3 +1,14 @@
@@ -1,3 +1,14 @@
|
||||
<?php |
||||
|
||||
$userName = false; |
||||
|
||||
if (isset($_GET['_route_'])) { |
||||
|
||||
$route = explode('/', $_GET['_route_']); |
||||
|
||||
if (isset($route[1])) { |
||||
$userName = filter::userName($route[1]); |
||||
} |
||||
} |
||||
|
||||
require(PROJECT_DIR . '/application/view/common/module/feed.phtml'); |
@ -1,3 +1,14 @@
@@ -1,3 +1,14 @@
|
||||
<?php |
||||
|
||||
$userName = false; |
||||
|
||||
if (isset($_GET['_route_'])) { |
||||
|
||||
$route = explode('/', $_GET['_route_']); |
||||
|
||||
if (isset($route[1])) { |
||||
$userName = filter::userName($route[1]); |
||||
} |
||||
} |
||||
|
||||
require(PROJECT_DIR . '/application/view/common/module/following.phtml'); |
@ -1 +1 @@
@@ -1 +1 @@
|
||||
<div class="moduleFeed" id="moduleFeed"></div> |
||||
<div class="moduleFeed" id="moduleFeed" data-username="<?php echo $userName ?>"></div> |
@ -1,3 +1 @@
@@ -1,3 +1 @@
|
||||
<div class="moduleFollowing" id="moduleFollowing"> |
||||
|
||||
</div> |
||||
<div class="moduleFollowing" id="moduleFollowing" data-username="<?php echo $userName ?>"></div> |
Loading…
Reference in new issue