| Author | Message |
hayalet
140 posts |
#5337 2007-08-01 09:33 GMT |
|
arkadaşlar portaldaki son forum konuları ki varya onun üzerindeki son konular yazıyo ben o yazıyı ortalamak istiyorum nereden ortalaya bilitim o yazıyı |
|
Darkworm
158 posts |
#5339 2007-08-01 09:35 GMT |
|
Bkz: index.tpl
|
|
hayalet
140 posts |
#5341 2007-08-01 09:38 GMT |
|
o raya baktım ama yazıyı nsl ortaya alcam onu bilmiyoru |
|
Darkworm
158 posts |
#5342 2007-08-01 09:39 GMT |
|
Code: <center> </center> son forum konuları yazısını bu ikisinin içine al .. bu kodu kullanamayacak kadar oLamazsın sanırım ?
|
|
hayalet
140 posts |
#5344 2007-08-01 09:44 GMT |
|
ama kardeş onu biliyorum ama neden se index.tpl dosyası içinde son forum konuları diye yazı yok ki
|
|
hayalet
140 posts |
#5346 2007-08-01 09:47 GMT |
|
bide kardeş ben o yazıyı da değişcem üstte yazmayı onutmuşum yazan yazıyıda değişmek istiyorum
|
|
Darkworm
158 posts |
#5347 2007-08-01 09:48 GMT |
|
Kullandığın tema ve son forum konuları tagını ver =] Umarım kullanılan tema belagio ve site içeriği hack değildir =]
|
|
hayalet
140 posts |
#5348 2007-08-01 09:51 GMT |
|
Code: <?PHP /* ==================== Land Down Under - Website engine Copyright Kaan http://www.ntka.org [BEGIN_SED] File=plugins/latestposts/latestposts.php Version=2 Updated= Type=Plugin Author=| Kaan | www.ntka.org Yazar bilinmiyor.. Description=Ana Sayfada Son Forum Konulari [END_SED] [BEGIN_SED_EXTPLUGIN] Code=latestposts Part=main File=latestposts Hooks=index.tags Tags=index.tpl:{PLUGIN_latestposts} Minlevel=0 Order=10 [END_SED_EXTPLUGIN] ==================== */ if ( !defined('SED_CODE') ) { die("Hacking attempt."); } $plimit = "20"; // define number of rows you want to see... $sql = sed_sql_query("SELECT t.ft_id, t.ft_sectionid, t.ft_title, t.ft_updated, t.ft_postcount, t.ft_viewcount, t.ft_lastposterid, t.ft_lastpostername, s.fs_id, s.fs_title, s.fs_category FROM $db_forum_topics t,$db_forum_sections s WHERE t.ft_sectionid=s.fs_id AND t.ft_movedto=0 AND t.ft_mode=0 ORDER by t.ft_updated DESC LIMIT $plimit"); $latestposts = "<table border='1' width='100%' cellspacing='0' bordercolor='000000' cellpadding='0' align='center'>"; $latestposts .= "<tr><td>Konu</td><td>Mesajlar</td><td>Okunma</td><td>Son Gönderen</td><td>Tarih</td></tr>"; $ii=0; while ($row = sed_sql_fetcharray($sql)){ if (sed_auth('forums', $row['fs_id'], 'R')){ $ii++; $img = ($usr['id']>0 && $row['ft_updated']>$usr['lastvisit']) ? "<a href=\"forums.php?m=posts&q=".$row['ft_id']."&n=unread#unread\"><img src=\"skins/$skin/img/system/arrow-unread.gif\" alt=\"\" /></a>" : "<a href=\"forums.php?m=posts&q=".$row['ft_id']."\"><img src=\"skins/$skin/img/system/arrow-follow.gif\" alt=\"\" /></a> "; $latestposts .= "<tr><td> "; $latestposts .= $img." <a href=\"forums.php?m=posts&q=".$row['ft_id']."\">".sed_cc(sed_cutstring(stripslashes($row['ft_title']),38))."</a></td>"; $latestposts .="<td> (" .$row["ft_postcount"]. ") </td>"; $latestposts .="<td> (" .$row["ft_viewcount"]. ")</td>"; $latestposts .= "<td> <a href='users.php?m=details&id=".$row["ft_lastposterid"]."'>".$row["ft_lastpostername"]."</a></td>";$latestposts .= "<td> ".date($cfg['formatmonthdayhourmin'], $row['ft_updated'] + $usr['timezone'] * 3600)."</td></tr>"; } } if($ii==0){ $latestposts .= "<tr><td colspan=\"5\"><center><font color='red'>Son Forum Konularini Görmek için Giris Yapiniz</font></center></td></tr>"; } $latestposts .= "</table>"; $t-> assign(array( "PLUGIN_latestposts" => $latestposts, )); al hepsi orda kullandığım tema supermega eklenti ise latespost |
|
Darkworm
158 posts |
#5351 2007-08-01 09:54 GMT |
|
Supermegadaki div classları verebilir misin ona göre kod yazıp veriyim sana ? |
|
Benzer konular (Similar topics) #BETA
| Konular | Mesajlar | Son Yazar | Güncelleme |
| Son Yazdığı Forum Mesajları, Son Açtığı Forum Konuları ve News | 5 | Kaan | 230 Gün |
| forum konuları | 3 | Kaan | 40 Gün |
| Son forum konuları | 2 | Dvdbil | 150 Gün |
| Son Forum Konuları | 2 | TheRaskol | 70 Gün |
| forum konuları | 2 | WebCoder | 163 Gün |



