ExaLTeD_Gs Administratör
Mesaj Sayısı : 2513 Yaş : 32 Nerden : Alemden İş/Hobiler : Bilişim <FONT color=orange><B><center>Ka : Kayıt tarihi : 19/05/08
| Konu: Her kategoriye Ayrı Resim Çarş. Kas. 19, 2008 11:01 pm | |
| - Kod:
-
// If the board is new, show a strong indicator. if ($board['new']) echo '<img src="', $settings['images_url'], '/on.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />'; // This board doesn't have new posts, but its children do. elseif ($board['children_new']) echo '<img src="', $settings['images_url'], '/on2.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />'; // No new posts at all! The agony!! else echo '<img src="', $settings['images_url'], '/off.gif" alt="', $txt[334], '" title="', $txt[334], '" border="0" />'; Değiştir - Kod:
-
// If the board is new, show a strong indicator. if ($board['new']) echo '<img src="', $settings['images_url'], '/on_' . $board['id'] . '.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />'; // This board doesn't have new posts, but its children do. elseif ($board['children_new']) echo '<img src="', $settings['images_url'], '/on2_' . $board['id'] . '.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />'; // No new posts at all! The agony!! else echo '<img src="', $settings['images_url'], '/off_' . $board['id'] . '.gif" alt="', $txt[334], '" title="', $txt[334], '" border="0" />'; Şimdi images klasorune her kategori icin resimler koy. ornegin 15 nolu kategori icin, on_15.gif on2_15.gif ve off_15.gif seklinda on.gif, yeni mesaj varsa; on_2.gif alt bolumlerde yeni mesaj varsa; off.gif yeni mesaj yoksa gosterilir. | |
|