mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Исправления SSL, sitemap и т.д.
Множественные исправления предыдущих коммитов, правки форматирования.
This commit is contained in:
parent
0804706fd7
commit
1c5fb857f2
13 changed files with 71 additions and 77 deletions
10
index.php
10
index.php
|
@ -373,14 +373,13 @@ if ($bb_cfg['birthday_check_day'] && $bb_cfg['birthday_enabled'])
|
|||
if ($stats['birthday_week_list'])
|
||||
{
|
||||
shuffle($stats['birthday_week_list']);
|
||||
foreach($stats['birthday_week_list'] as $i => $week)
|
||||
foreach ($stats['birthday_week_list'] as $i => $week)
|
||||
{
|
||||
if($i >= 5)
|
||||
if ($i >= 5)
|
||||
{
|
||||
$week_all = true;
|
||||
continue;
|
||||
}
|
||||
|
||||
$week_list[] = profile_url($week) .' <span class="small">('. birthday_age($week['user_birthday']-1) .')</span>';
|
||||
}
|
||||
$week_all = ($week_all) ? ' <a class="txtb" href="#" onclick="ajax.exec({action: \'index_data\', mode: \'birthday_week\'}); return false;" title="'. $lang['ALL'] .'">...</a>' : '';
|
||||
|
@ -391,14 +390,13 @@ if ($bb_cfg['birthday_check_day'] && $bb_cfg['birthday_enabled'])
|
|||
if ($stats['birthday_today_list'])
|
||||
{
|
||||
shuffle($stats['birthday_today_list']);
|
||||
foreach($stats['birthday_today_list'] as $i => $today)
|
||||
foreach ($stats['birthday_today_list'] as $i => $today)
|
||||
{
|
||||
if($i >= 5)
|
||||
if ($i >= 5)
|
||||
{
|
||||
$today_all = true;
|
||||
continue;
|
||||
}
|
||||
|
||||
$today_list[] = profile_url($today) .' <span class="small">('. birthday_age($today['user_birthday']) .')</span>';
|
||||
}
|
||||
$today_all = ($today_all) ? ' <a class="txtb" href="#" onclick="ajax.exec({action: \'index_data\', mode: \'birthday_today\'}); return false;" title="'. $lang['ALL'] .'">...</a>' : '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue