Ara 01
indextemplate.php’de
BUL
if (!empty($context['user']['avatar'])) echo ' <td class="windowbg" valign="middle">', $context['user']['avatar']['image'], '</td>'; echo ' <td colspan="2" width="100%" valign="top" class="windowbg2">
indextemplate.php’de
BUL
if (!empty($context['user']['avatar'])) echo ' <td class="windowbg" valign="middle">', $context['user']['avatar']['image'], '</td>'; echo ' <td colspan="2" width="100%" valign="top" class="windowbg2">
Doğumgünü Listesindeki üyelere farklı renk kullanmak
BoardIndex.template.php de Bu kodu
BUL
<a href="', $scripturl, '?action=profile;u=', $member['id'], '">', (!empty($member['color']) ? '<font color="'.$member['color'].'">' : ''), $member['name'], isset($member['age']) ? ' (' . $member['age'] . ')' : '', (!empty($member['color']) ? '</font>' : ''), '</a>', $member['is_last'] ? '' : ', ';
}
Kategorilerin üstündeki tablo olan duyurulardaki yazıyı ortalamak için Yapmamız gerekenler…
Boardİndex.template.php Dosyasını açın
BUL
// Show the news fader? (assuming there are things to show...)
if ($settings['show_newsfader'] && !empty($context['fader_news_lines']))
{
echo '
<table border="0" width="100%" class="tborder" cellspacing="' , ($context['browser']['is_ie'] || $context['browser']['is_opera6']) ? '1' : '0' , '" cellpadding="4" style="margin-bottom: 2ex;">
<tr>
<td class="catbg"> ', $txt[102], '</td>
</tr>
Avatarın altındaki Duyuru Yazısını Ortalamak için yapmamız gerekenler:
index.template.php’de
BUL
// Show a random news item? (or you could pick one from news_lines...) if (!empty($settings['enable_news'])) echo ' <td width="90%" class="titlebg2"> <span class="smalltext"><b>', $txt[102], '</b>: ', $context['random_news_line'], '</span> </td>'; echo '
DEĞİŞTİR
// Show a random news item? (or you could pick one from news_lines...) if (!empty($settings['enable_news'])) echo ' <td width="90%" class="titlebg2"> <span class="smalltext"><center><b>', $txt[102], '</b></center>: ', $context['random_news_line'], '</span> </td>'; echo '
Recent Comments