Dj PcKopat Forum BB Admini
Mesaj Sayısı : 1138 Yaş : 26 Yer : im yur: dum yok İş/Hobiler : Admin Lakap : PcKoPaT Karakter Haliniz : Rep Gücü : 860783093 Rep Puanı : 637 Kayıt tarihi : 21/01/09
Karakter Sayfası Ödülleri: Yok
| Konu: Sabit ve Normal Konuları Ayırma Salı 19 Mayıs 2009 - 10:15 | |
| MessageIndex.template.php'de Bulalım : - Kod:
-
foreach($context['topics'] as $topic) { Bununla Degıstır : - Kod:
-
$stickybar = false; $normalbar = false; foreach($context['topics'] as $topic) { if($topic['is_sticky'] && !$stickybar) { echo'<tr class="titlebg"><td colspan="', empty($options['display_quick_mod']) ? '7' : '8', '"><b>Önemli Konular</b></td></tr>'; $stickybar = true; } else if(!$topic['is_sticky'] && $stickybar && !$normalbar) { echo'<tr class="titlebg"><td colspan="', empty($options['display_quick_mod']) ? '7' : '8', '"><b>Normal Konular</b></td></tr>'; $normalbar = true; } | |
|