boardindex.template de
bunu bul
foreach ($board['children'] as $child)
{
$child['link'] = '
<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>';
//interaktif altbolum logosu by rallyproco
$children[] = $child['new'] ? '<img align="absmiddle" src="http://img218.imageshack.us/img218/3355/alton7ab.gif"/>' . $child['link'] . '' : '<img align="absmiddle" src="http://img218.imageshack.us/img218/3105/altoff1ad.gif"/>' .$child['link'];
}
echo '
<div style="padding-top: 1px;" class="smalltext"><b>', $txt['parent_boards'], ': </b>', implode(' , ', $children), '</div>';
}
echo '
</td>
bununla değiştir
$sayac=0;
foreach ($board['children'] as $child)
{
$child['link'] = '
<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>';
//interaktif altbolum logosu by rallyproco
$children[] = $child['new'] ? '<img align="absmiddle" src="http://img218.imageshack.us/img218/3355/alton7ab.gif"/>' . $child['link'] . '' : '<img align="absmiddle" src="http://img218.imageshack.us/img218/3105/altoff1ad.gif"/>' .$child['link'];
$sayac++;
}
echo '
<table><tr><td valign="top">
<span class="smalltext"><b>', $txt['parent_boards'], '</b>:<br/>';
for($sayac2 = 0 ; $sayac2 < ceil($sayac/2);$sayac2++)
echo $children[$sayac2], '<br/>';
echo '
</span></td><td width="30"> </td><td valign="top"><span class="smalltext"><br/>';
for(; $sayac2 < $sayac ; $sayac2++)
echo $children[$sayac2], '<br/>';
echo '
</span></td></tr></table>';
}
echo '
</td>