![]() |
|
|
#1 |
|
Webmaster
Üyelik tarihi: May 2008
Bulunduğu yer: WD
Mesajlar: 368
Tecrübe Puanı: 5 ![]() |
modules/Forums/viewtopic.php dosyasını açın
1-Aşağıda ki kodu bulun! Kod: for($i = 0; $i < $total_posts; $i++) Yukarıda ki kodun öncesine aşağıda ki kodu ekleyin Kod: $num_post = 0; 2-Aşağıda ki kodu bulun! Kod: $row_color = ( !($i % 2) ) ? $theme[`td_color1`] : $theme[`td_color2`]; $row_class = ( !($i % 2) ) ? $theme[`td_class1`] : $theme[`td_class2`]; Aşağıda ki kod ile Değiştirin! Kod: $row_color = ( !($num_post % 2) ) ? $theme[`td_color1`] : $theme[`td_color2`]; $row_class = ( !($num_post % 2) ) ? $theme[`td_class1`] : $theme[`td_class2`]; $num_post ++; 3-Aşağıda ki kodu bulun! Kod: } $template->pparse(`body`); Yukarıda ki kodun öncesine aşağıda ki kodu ekleyin Kod: if($i == 0) { $row_color = ( !($num_post % 2) ) ? $theme[`td_color1`] : $theme[`td_color2`]; $row_class = ( !($num_post % 2) ) ? $theme[`td_class1`] : $theme[`td_class2`]; $num_post ++; $message = `Buraya HTML Kodlarını Giriniz`; $template->assign_block_vars(`postrow`, array( `ROW_COLOR` => `#` . $row_color, `ROW_CLASS` => $row_class, `POSTER_NAME` => `Mesajı gönderenin ismini Giriniz. Biz Sponsor Link Koyduk`, `POST_DATE` => `Mesajı Gönderme Tarihi`, `POST_SUBJECT` => `Mesajın Konusunu Yazınız`, `MESSAGE` => $message, `MINI_POST_IMG` => $mini_post_img, `U_POST_ID` => `0`) ); } |
|
|
|
![]() |
| Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir) | |
| Seçenekler | |
| Stil | |
|
|