Kayan kategori resimleri



boardindex.templateyi aç

bu kodu bul
Kod: [Seç]
// Show the "Board name Topics Posts Last Post" header.
üst satırına bunu ekle (ziyaretçilere gözükmez)
Kod: [Seç]
// kayan hizli menü...by rallyproco
if ($context['user']['is_logged'])
{
echo '
<br><div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>
<table border="0" width="100%" cellspacing="0" cellpadding="2" class="bordercolor"> <tr>
<td width="100%" align="center" class="catbg" height="24">Hizli Menü</td></tr><tr><td width="100%" align="center" class="windowbg"><marquee direction="left" scrollAmount="2" onmouseover="javascript:this.scrollAmount=0"
onmouseout="javascript:this.scrollAmount=2"> ';
foreach ($context['categories'] as $category)
{

foreach ($category['boards'] as $board)
{
echo '
<a href="', $board['href'], '">';
// If the board is new, show a strong indicator.
if ($board['new'])
echo '<img src="', $settings['images_url'], '/katicon/on_' . $board['id'] . '.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" alt="', $board['name'], '" /></a>
';
// This board doesn't have new posts, but its children do.
elseif ($board['children_new'])
echo '<img src="', $settings['images_url'], '/katicon/on_' . $board['id'] . '.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" alt="', $board['name'], '"/></a>
';
// No new posts at all! The agony!!
else
echo '<img src="', $settings['images_url'], '/katicon/off_' . $board['id'] . '.gif" alt="', $txt[334], '" title="', $txt[334], '" border="0" alt="', $board['name'], '" /></a>
';


}
}

echo' </marquee></td>
</tr>
</table></div>

';

}
menü ziyaretçilerede gözüksün isteyenler yukardaki yerine bunu eklesin
üst satırına bunu ekle (ziyaretçilere gözükür)
Kod: [Seç]
// kayan hizli menü...by rallyproco

echo '
<br><div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>
<table border="0" width="100%" cellspacing="0" cellpadding="2" class="bordercolor"> <tr>
<td width="100%" align="center" class="catbg" height="24">Hizli Menü</td></tr><tr><td width="100%" align="center" class="windowbg"><marquee direction="left" scrollAmount="2" onmouseover="javascript:this.scrollAmount=0"
onmouseout="javascript:this.scrollAmount=2"> ';
foreach ($context['categories'] as $category)
{

foreach ($category['boards'] as $board)
{
echo '
<a href="', $board['href'], '">';
// If the board is new, show a strong indicator.
if ($board['new'])
echo '<img src="', $settings['images_url'], '/katicon/on_' . $board['id'] . '.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" alt="', $board['name'], '" /></a>
';
// This board doesn't have new posts, but its children do.
elseif ($board['children_new'])
echo '<img src="', $settings['images_url'], '/katicon/on_' . $board['id'] . '.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" alt="', $board['name'], '"/></a>
';
// No new posts at all! The agony!!
else
echo '<img src="', $settings['images_url'], '/katicon/off_' . $board['id'] . '.gif" alt="', $txt[334], '" title="', $txt[334], '" border="0" alt="', $board['name'], '" /></a>
';


}
}

echo' </marquee></td>
</tr>
</table></div>

';