mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 19:26:08 +05:30
Update main.html.php
This commit is contained in:
parent
1e641b6043
commit
0e6789758c
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
||||||
if (isset($_SESSION[site_url()]['user'])) {
|
if (isset($_SESSION[site_url()]['user'])) {
|
||||||
$posts = get_profile_posts($_SESSION[site_url()]['user'], 1, 10);
|
$posts = get_profile_posts($_SESSION[site_url()]['user'], 1, 10);
|
||||||
if (!empty($posts)) {
|
if (!empty($posts)) {
|
||||||
|
$posts = $posts[0];
|
||||||
echo '<table class="table post-list">';
|
echo '<table class="table post-list">';
|
||||||
echo '<tr class="head"><th>' . i18n('Title') . '</th><th>' . i18n('Published') . '</th>';
|
echo '<tr class="head"><th>' . i18n('Title') . '</th><th>' . i18n('Published') . '</th>';
|
||||||
if (config("views.counter") == "true")
|
if (config("views.counter") == "true")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue