|
»Forumlar »SE ? Core Labs
»Benzer Konular Eklentisi
https://seditio.com.tr/eski1/forums.php?m=posts&q=701 |
| Author: saldirinet, Posted: 2010-06-29 00:29 GMT. |
|
system/core/forums/forums.posts.inc.php acin Kod: $t->parse("MAIN"); $t->out("MAIN"); bulun ve altina sunlari ekleyin Kod: $lim="5"; // benzer konulardaki en?ok baslik sayisi $kelime=" ".$ft_title."";$stra = $kelime;$stra = str_replace(" ","&kel[]=",$stra); parse_str($stra, $benzer);$kel0 = $benzer['kel'][0]; $sorgu=sed_sql_query("SELECT * FROM `sed_forum_topics` WHERE `ft_title` LIKE '%".$kel0."%'".$kel1."".$kel2."".$kel3."".$kel4."".$kel5."".$kel6."".$kel7." limit 0,".$lim.""); $krip=mysql_num_rows($sorgu); if(1 < $krip){ echo "<table width=\"100%\" border=0 class=cells><tr><td class=coltop height=10 colspan=3 align=center><span>BENZER KONULAR</span></td></tr><tr><td class=fbar height=10 align=center><span>Konu</span></td><td align=center><span>Konuyu Baslatan</span></td></tr>"; while ($krip3 = mysql_fetch_object($sorgu)) { $krip1 = mysql_fetch_object(mysql_query("SELECT * FROM `sed_users` WHERE `user_id` like '".$krip3->ft_firstposterid."' limit 1")); echo "<tr><td bgcolor=#fbfbfb><span class=gensmall><a href=\"forums.php?m=posts&q=$krip3->ft_id\">$krip3->ft_title</a></span></td><td align=center><a href=\"users.php?m=details&id=$krip1->user_id\">$krip1->user_name</td></tr>";} echo "</table>";} |
| Author: M4ster, Posted: 2010-07-17 13:18 GMT. |
| bu sadece seditio da ?al???r cotonti de ?al??m?yor, bunu eklentiye ?evirmek gerek.. |
| Author: Kaan, Posted: 2010-07-17 16:30 GMT. |
| Buras? cotonti sitesi degil zaten cotonti istiyorsan cotonti destek sitesine ba?vur.. |
| Author: MUST!, Posted: 2010-07-17 20:11 GMT. |
|
cotontiye g?re d?zenledim bu ?ekilde deneyebilirsiniz : hp] $lim="5"; // benzer konulardaki en?ok baslik sayisi $kelime=" ".$ft_title."";$stra = $kelime;$stra = str_replace(" ","&kel[]=",$stra); parse_str($stra, $benzer);$kel0 = $benzer['kel'][1]; $sorgu=sed_sql_query("SELECT * FROM `sed_forum_topics` WHERE `ft_title` LIKE '%".$kel0."%'".$kel1."".$kel2."".$kel3."".$kel4."".$kel5."".$kel6."".$kel7." limit 0,".$lim.""); $krip=mysql_num_rows($sorgu); if(1 < $krip){ echo "<table width=\"100%\" border=0 class=cells><tr><td class=coltop height=10 colspan=3 align=center><span>BENZER KONULAR</span></td></tr><tr><td class=fbar height=10 align=center><span>Konu</span></td><td align=center><span>Konuyu Baslatan</span></td></tr>"; while ($krip3 = mysql_fetch_object($sorgu)) { $krip1 = mysql_fetch_object(mysql_query("SELECT * FROM `sed_users` WHERE `user_id` like '".$krip3->ft_firstposterid."' limit 1")); echo "<tr><td bgcolor=#fbfbfb><span class=gensmall><a href=\"forums.php?m=posts&q=$krip3->ft_id\">$krip3->ft_title</a></span></td><td align=center><a href=\"users.php?m=details&id=$krip1->user_id\">$krip1->user_name</td></tr>";} echo "</table>";} Kaynak: https://seditio.com.tr/eski1/foru.....0txd90S5R |
| Powered by Seditio | Print version |