SMF Anasayfada Son mesajları ziyaretçilerden Gizleme
Modifications.turkish.php yi aç bul
Üstüne ekle
Boardindex.template.php de bul
Devamına ekle
bul
Devamına ekle
Recent.template.phpyi aç bul
üstüne ekle
Modifications.turkish.php yi aç bul
PHP:
?>
PHP:
$txt[1234] = 'Son Mesajları Görüntülemek için Lütfen <a href="' . $scripturl . '?action=login"><font color=red><b>giriş yapın</b></font><a href="' . $scripturl . '?action=register"> Yada <font color=red><b>üye olun</b></font></a> ';
PHP:
// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
', $board['posts'], ' ', $txt[21], ' <br />
', $board['topics'],' ', $txt[330], '
</span></td>
PHP:
';
if ($context['user']['is_logged'])
{
echo'
PHP:
/* The board's and children's 'last_post's have:
time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
link, href, subject, start (where they should go for the first unread post.),
and member. (which has id, name, link, href, username in it.) */
if (!empty($board['last_post']['id']))
echo '
<b>', $txt[22], '</b> ', $txt[525], ' ', $board['last_post']['member']['link'] , '<br />
', $txt['smf88'], ' ', $board['last_post']['link'], '<br />
', $txt[30], ' ', $board['last_post']['time'];
echo '
</span>
</td>
PHP:
';
}
else
{
echo'
<td class="windowbg2" valign="middle" width="22%">
<span class="smalltext">', $txt[1234], '</span>
</td>';
}
echo'
PHP:
?>
PHP:
is_not_guest();