lostyazilim
tr.link

Yeni Top10 Smf 2.0

11 Mesajlar 4.702 Okunma
lstbozum
tr.link

bonafide bonafide WM Aracı Kullanıcı
  • Üyelik 08.03.2011
  • Yaş/Cinsiyet 34 / E
  • Meslek Editör
  • Konum Tekirdağ
  • Ad Soyad S** B**
  • Mesajlar 604
  • Beğeniler 8 / 116
  • Ticaret 22, (%100)
Demo: wmsitesi.com
Yapımcı: Chakkal
Uyumluluk: Smf 2.0 Rc3, Rc4,Rc5, Smf 2.0

Temanız/Boardindex.template.php De Bul:


echo '

';



Üstüne Ekle:

//Wm Top10
echo '








',$txt['forum_stats'],'














Rasgele Konular






';
global $db_prefix;
$wm=0;
$rand=mysql_query("select id_topic from {$db_prefix}topics order by rand() limit 10");
while($rrow=mysql_fetch_array($rand)){
$row=mysql_fetch_array(mysql_query("select id_topic,subject from {$db_prefix}messages where id_topic = '".$rrow['id_topic']."'"));
$wm++;
$row['subject']=str_replace("Ynt:","",$row['subject']);
$krow=substr($row['subject'],0,30);
$ksay=strlen($row['subject']);
echo '


';
if($ksay>30){
echo $krow.'..';
}else{
echo $row['subject'];
}
echo '
';

}
echo '



';
if($_GET['wm']=="esy"){
echo '
';
if($_GET['wm']=="ecc"){
echo '
';
if($_GET['wm']=="ecg"){
echo '

';
}else{
echo '
';
}
echo 'En Son Yazılan
';
}else{
echo '
';
}
echo 'En Çok Cevaplanan
';
}else{
echo '
';
}
echo 'En Çok Görüntülenen





';
global $db_prefix;
if($_GET['wm']=="esy" or !$_GET['wm']=="ecc" or !$_GET['wm']=="ecg"){
$wm=0;
$esy=mysql_query("select id_topic,id_msg,id_member,subject from {$db_prefix}messages order by id_msg desc limit 10");
while($row=mysql_fetch_array($esy)){
$wm++;
$row['subject']=str_replace("Ynt:","",$row['subject']);
$krow=substr($row['subject'],0,45);
$ksay=strlen($row['subject']);
$mname=mysql_fetch_array(mysql_query("select id_member,real_name from {$db_prefix}members where id_member = '".$row['id_member']."'"));
$grup=mysql_fetch_array(mysql_query("Select * from {$db_prefix}members where id_member = '".$row['id_member']."'"));
if($grup['id_group']==0){
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_post_group']."'"));
}else{
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_group']."'"));
}
echo '




';
if($ksay>45){
echo $krow.'..';
}else{
echo $row['subject'];
}
echo '
'.(!$mname['id_member']?'':'').''.(!$mname['real_name']?'Ziyaretçi':''.$mname['real_name'].'').''.(!$mname['id_member']?'':'').'
';}
}elseif($_GET['wm']=="ecc"){
$wm=0;
$ecc=mysql_query("select id_topic,num_replies,num_views from {$db_prefix}topics order by num_replies desc limit 10");
while($erow=mysql_fetch_array($ecc)){
$row=mysql_fetch_array(mysql_query("select id_topic,subject from {$db_prefix}messages where id_topic = '".$erow['id_topic']."'"));
$wm++;
$row['subject']=str_replace("Ynt:","",$row['subject']);
$krow=substr($row['subject'],0,45);
$ksay=strlen($row['subject']);
echo '



';
if($ksay>45){
echo $krow.'..';
}else{
echo $row['subject'];
}
echo '
'.$erow['num_replies'].'
';}
}elseif($_GET['wm']=="ecg"){
$wm=0;
$ecg=mysql_query("select id_topic,num_replies,num_views from {$db_prefix}topics order by num_views desc limit 10");
while($erow=mysql_fetch_array($ecg)){
$row=mysql_fetch_array(mysql_query("select id_topic,subject from {$db_prefix}messages where id_topic = '".$erow['id_topic']."'"));
$wm++;
$row['subject']=str_replace("Ynt:","",$row['subject']);
$krow=substr($row['subject'],0,45);
$ksay=strlen($row['subject']);
echo '



';
if($ksay>45){
echo $krow.'..';
}else{
echo $row['subject'];
}
echo '
'.$erow['num_views'].'
';}
}else{
$wm=0;
$esy=mysql_query("select id_topic,id_msg,id_member,subject from {$db_prefix}messages order by id_msg desc limit 10");
while($row=mysql_fetch_array($esy)){
$wm++;
$row['subject']=str_replace("Ynt:","",$row['subject']);
$krow=substr($row['subject'],0,45);
$ksay=strlen($row['subject']);
$mname=mysql_fetch_array(mysql_query("select id_member,real_name from {$db_prefix}members where id_member = '".$row['id_member']."'"));
$grup=mysql_fetch_array(mysql_query("Select * from {$db_prefix}members where id_member = '".$row['id_member']."'"));
if($grup['id_group']==0){
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_post_group']."'"));
}else{
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_group']."'"));
}
echo '




';
if($ksay>45){
echo $krow.'..';
}else{
echo $row['subject'];
}
echo '
'.(!$mname['id_member']?'':'').''.(!$mname['real_name']?'Ziyaretçi':''.$mname['real_name'].'').''.(!$mname['id_member']?'':'').'
';}
}
echo '













';
$wm=0;
if($_GET['wm']=="ecy"){
$ecy=mysql_query("select id_member,real_name,posts from {$db_prefix}members order by posts desc limit 10");
while($row=mysql_fetch_array($ecy)){
$wm++;
$grup=mysql_fetch_array(mysql_query("Select * from {$db_prefix}members where id_member = '".$row['id_member']."'"));
if($grup['id_group']==0){
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_post_group']."'"));
}else{
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_group']."'"));
}
echo '



'.(!$row['id_member']?'':'').''.(!$row['real_name']?'Ziyaretçi':''.$row['real_name'].'').''.(!$row['id_member']?'':'').''.$row['posts'].'
';
}
}elseif($_GET['wm']!="ecy" and $_GET['wm']=="eck" and $_GET['wm']!="eyu"){
$wm=0;
$uyeler=mysql_query("select id_member from smf_members limit 1");
while($row=mysql_fetch_array($uyeler)){
$id_member=$row['id_member'];
$say=mysql_query("select count(id_member_started) as count, id_member_started from smf_topics group by id_member_started order by count desc limit 10");
while($rsay=mysql_fetch_array($say)){
$wm++;
$grup=mysql_fetch_array(mysql_query("Select * from smf_members where id_member = '".$rsay['id_member_started']."'"));
if($grup['id_group']==0){
$renk=mysql_fetch_array(mysql_query("Select * from smf_membergroups where id_group = '".$grup['id_post_group']."'"));
}else{
$renk=mysql_fetch_array(mysql_query("Select * from smf_membergroups where id_group = '".$grup['id_group']."'"));
}
$isim=mysql_fetch_array(mysql_query("select id_member,real_name from smf_members where id_member = '".$rsay['id_member_started']."'"));
echo '


'.(!$isim['real_name']?'':'').''.(!$isim['real_name']?'Ziyaretçi':''.$isim['real_name'].'').''.(!$isim['real_name']?'':'').''.$rsay[0].'
';
}
}
}elseif($_GET['wm']!="ecy" and $_GET['wm']!="eck" and $_GET['wm']=="eyu"){
$eyu=mysql_query("select id_member,real_name,posts from {$db_prefix}members order by id_member desc limit 10");
while($row=mysql_fetch_array($eyu)){
$wm++;
$grup=mysql_fetch_array(mysql_query("Select * from {$db_prefix}members where id_member = '".$row['id_member']."'"));
if($grup['id_group']==0){
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_post_group']."'"));
}else{
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_group']."'"));
}
echo '



'.(!$row['real_name']?'':'').''.(!$row['real_name']?'Ziyaretçi':''.$row['real_name'].'').''.$row['posts'].'
';
}
}else{
$ecy=mysql_query("select id_member,real_name,posts from {$db_prefix}members order by posts desc limit 10");
while($row=mysql_fetch_array($ecy)){
$wm++;
$grup=mysql_fetch_array(mysql_query("Select * from {$db_prefix}members where id_member = '".$row['id_member']."'"));
if($grup['id_group']==0){
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_post_group']."'"));
}else{
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_group']."'"));
}
echo '



'.$row['real_name'].''.$row['posts'].'
';
}
}
echo '



';
//Wm Top10


İndex.Css de En Sona Ekle:

#wmtop10{
font-family:Verdana;
font-size:11px;
font-weight:bold;
color:#666;
padding-bottom:1px;
border-bottom:1px dashed #999;
padding-top:2px;
}
#wmtop10 a{
text-decoration:none;
color:#666;
}
#wmtop10 a:hover{
text-decoration:underline;
}
.top1{
background:url(../images/top1.gif) left no-repeat;
padding-left:18px;
margin-top:3px;
}
.top2{
background:url(../images/top2.gif) left no-repeat;
padding-left:18px;
margin-top:3px;
}
.top3{
background:url(../images/top3.gif) left no-repeat;
padding-left:18px;
margin-top:3px;
}
.top4{
background:url(../images/top4.gif) left no-repeat;
padding-left:18px;
margin-top:3px;
}
.top5{
background:url(../images/top5.gif) left no-repeat;
padding-left:18px;
margin-top:3px;
}
.top6{
background:url(../images/top6.gif) left no-repeat;
padding-left:18px;
margin-top:3px;
}
.top7{
background:url(../images/top7.gif) left no-repeat;
padding-left:18px;
margin-top:3px;
}
.top8{
background:url(../images/top8.gif) left no-repeat;
padding-left:18px;
margin-top:3px;
}
.top9{
background:url(../images/top9.gif) left no-repeat;
padding-left:18px;
margin-top:3px;
}
.top10{
background:url(../images/top10.gif) left no-repeat;
padding-left:18px;
margin-top:3px;
}


Bunları Temanın İmages Klasörüne Atınız.
CyberLORD

kişi bu mesajı beğendi.

wmaraci
reklam

CyberLORD CyberLORD Biraz mesafe! Kullanıcı
  • Üyelik 31.05.2011
  • Yaş/Cinsiyet 36 / E
  • Meslek Reklam
  • Konum Adana
  • Ad Soyad ** **
  • Mesajlar 479
  • Beğeniler 80 / 67
  • Ticaret 1, (%100)
@bonafide Mod işin teşekkürler. Fakat ufak birkaç sorunum var.
......
 

 

temsan temsan WM Aracı Kullanıcı
  • Üyelik 19.11.2011
  • Yaş/Cinsiyet - / E
  • Meslek webmaster
  • Konum
  • Ad Soyad ** **
  • Mesajlar 7
  • Beğeniler 0 / 0
  • Ticaret 0, (%0)
Teşekkürler.
 

 

CyberLORD CyberLORD Biraz mesafe! Kullanıcı
  • Üyelik 31.05.2011
  • Yaş/Cinsiyet 36 / E
  • Meslek Reklam
  • Konum Adana
  • Ad Soyad ** **
  • Mesajlar 479
  • Beğeniler 80 / 67
  • Ticaret 1, (%100)
aha site kapanmış gifleri almadık (:
 

 

wmaraci
wmaraci

bonafide bonafide WM Aracı Kullanıcı
  • Üyelik 08.03.2011
  • Yaş/Cinsiyet 34 / E
  • Meslek Editör
  • Konum Tekirdağ
  • Ad Soyad S** B**
  • Mesajlar 604
  • Beğeniler 8 / 116
  • Ticaret 22, (%100)
linki yeniledim indirebilirsiniz.
 

 

CyberLORD CyberLORD Biraz mesafe! Kullanıcı
  • Üyelik 31.05.2011
  • Yaş/Cinsiyet 36 / E
  • Meslek Reklam
  • Konum Adana
  • Ad Soyad ** **
  • Mesajlar 479
  • Beğeniler 80 / 67
  • Ticaret 1, (%100)

bonafide adlı üyeden alıntı

linki yeniledim indirebilirsiniz.


Eyvallah bonafide. 588 second kalmış indirelim (:

Satır aralarındaki çizgiyi nasıl kaldırabilirim ?
 

 

bonafide bonafide WM Aracı Kullanıcı
  • Üyelik 08.03.2011
  • Yaş/Cinsiyet 34 / E
  • Meslek Editör
  • Konum Tekirdağ
  • Ad Soyad S** B**
  • Mesajlar 604
  • Beğeniler 8 / 116
  • Ticaret 22, (%100)
Yapımcıyla konuşayım onu yönlendiririm.
 

 

Birbeyinoglu Birbeyinoglu Üyeliği Durdurulmuş Banlı Kullanıcı
  • Üyelik 06.02.2012
  • Yaş/Cinsiyet - / E
  • Meslek
  • Konum
  • Ad Soyad ** **
  • Mesajlar 2
  • Beğeniler 0 / 0
  • Ticaret 0, (%0)
bende çalışmadı giflerde hatalı açmıyor hata veriyor
 

 

kerimptk kerimptk Youtuber Kullanıcı
  • Üyelik 19.06.2012
  • Yaş/Cinsiyet 34 / E
  • Meslek Yazılım Geliştirici / Youtuber
  • Konum Ankara
  • Ad Soyad K** P**
  • Mesajlar 1440
  • Beğeniler 194 / 234
  • Ticaret 46, (%100)

bonafide adlı üyeden alıntı

linki yeniledim indirebilirsiniz.


linkler yine ölü hocam tekrardan yenileyebilirseniz çok sevinirim :)

Ek Olarak: birde kullanmak istediğim başka bir temada boardindex.templae.php yok hocam onun yerine hangi sayfayı kullanabilirim :p
 

 

Abone Ol : www.youtube.com/@kerimpotuk

Bykimlik Bykimlik WM Aracı Kullanıcı
  • Üyelik 21.04.2012
  • Yaş/Cinsiyet - / E
  • Meslek bilgisisayar teknik servis
  • Konum
  • Ad Soyad ** **
  • Mesajlar 84
  • Beğeniler 2 / 10
  • Ticaret 1, (%100)
bu modu çok iyi tanırım :)

xhtml ve css hataları mevcuttu her konu da bu hatalar yenileniyor. pek bir işlevi yok yanıt verilen konular peş peşe geliyor üzerinde bayağı bir incelemeler yapmıştım ama ne yaparsan yap olmuyordu.

Yine de kullanmak isteyen sorun yaşayan olursa yardımcı olamaya çalışırım.

Ek Olarak: Temanız/Boardindex.template.php De Bul:

echo '

';




Üstüne Ekle

//Wm Top10
echo '


',$txt['forum_stats'],'














Rasgele Konular






';
global $db_prefix;
$wm=0;
$rand=mysql_query("select id_topic from {$db_prefix}topics order by rand() limit 5");
while($rrow=mysql_fetch_array($rand)){
$row=mysql_fetch_array(mysql_query("select id_topic,subject from {$db_prefix}messages where id_topic = '".$rrow['id_topic']."'"));
$wm++;
$row['subject']=str_replace("Ynt:","",$row['subject']);
$krow=substr($row['subject'],0,30);
$ksay=strlen($row['subject']);
echo '


';
if($ksay>30){
echo $krow.'..';
}else{
echo $row['subject'];
}
echo '
';


}
echo '



';
if($_GET['wm']=="esy"){
echo '
';
if($_GET['wm']=="ecc"){
echo '
';
if($_GET['wm']=="ecg"){
echo '

';
}else{
echo '
';
}
echo 'En Son Yazylan
';
}else{
echo '
';
}
echo 'En Çok Cevaplanan
';
}else{
echo '
';
}
echo 'En Çok Görüntülenen





';
global $db_prefix;
if($_GET['wm']=="esy" or !$_GET['wm']=="ecc" or !$_GET['wm']=="ecg"){
$wm=0;
$esy=mysql_query("select id_topic,id_msg,id_member,subject from {$db_prefix}messages order by id_msg desc limit 5");
while($row=mysql_fetch_array($esy)){
$wm++;
$row['subject']=str_replace("Ynt:","",$row['subject']);
$krow=substr($row['subject'],0,45);
$ksay=strlen($row['subject']);
$mname=mysql_fetch_array(mysql_query("select id_member,real_name from {$db_prefix}members where id_member = '".$row['id_member']."'"));
$grup=mysql_fetch_array(mysql_query("Select * from {$db_prefix}members where id_member = '".$row['id_member']."'"));
if($grup['id_group']==0){
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_post_group']."'"));
}else{
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_group']."'"));
}
echo '




';
if($ksay>45){
echo $krow.'..';
}else{
echo $row['subject'];
}
echo '
'.(!$mname['id_member']?'':'').''.(!$mname['real_name']?'Ziyaretçi':''.$mname['real_name'].'').''.(!$mname['id_member']?'':'').'
';}
}elseif($_GET['wm']=="ecc"){
$wm=0;
$ecc=mysql_query("select id_topic,num_replies,num_views from {$db_prefix}topics order by num_replies desc limit 5");
while($erow=mysql_fetch_array($ecc)){
$row=mysql_fetch_array(mysql_query("select id_topic,subject from {$db_prefix}messages where id_topic = '".$erow['id_topic']."'"));
$wm++;
$row['subject']=str_replace("Ynt:","",$row['subject']);
$krow=substr($row['subject'],0,45);
$ksay=strlen($row['subject']);
echo '



';
if($ksay>45){
echo $krow.'..';
}else{
echo $row['subject'];
}
echo '
'.$erow['num_replies'].'
';}
}elseif($_GET['wm']=="ecg"){
$wm=0;
$ecg=mysql_query("select id_topic,num_replies,num_views from {$db_prefix}topics order by num_views desc limit 5");
while($erow=mysql_fetch_array($ecg)){
$row=mysql_fetch_array(mysql_query("select id_topic,subject from {$db_prefix}messages where id_topic = '".$erow['id_topic']."'"));
$wm++;
$row['subject']=str_replace("Ynt:","",$row['subject']);
$krow=substr($row['subject'],0,45);
$ksay=strlen($row['subject']);
echo '



';
if($ksay>45){
echo $krow.'..';
}else{
echo $row['subject'];
}
echo '
'.$erow['num_views'].'
';}
}else{
$wm=0;
$esy=mysql_query("select id_topic,id_msg,id_member,subject from {$db_prefix}messages order by id_msg desc limit 5");
while($row=mysql_fetch_array($esy)){
$wm++;
$row['subject']=str_replace("Ynt:","",$row['subject']);
$krow=substr($row['subject'],0,45);
$ksay=strlen($row['subject']);
$mname=mysql_fetch_array(mysql_query("select id_member,real_name from {$db_prefix}members where id_member = '".$row['id_member']."'"));
$grup=mysql_fetch_array(mysql_query("Select * from {$db_prefix}members where id_member = '".$row['id_member']."'"));
if($grup['id_group']==0){
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_post_group']."'"));
}else{
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_group']."'"));
}
echo '




';
if($ksay>45){
echo $krow.'..';
}else{
echo $row['subject'];
}
echo '
'.(!$mname['id_member']?'':'').''.(!$mname['real_name']?'Ziyaretçi':''.$mname['real_name'].'').''.(!$mname['id_member']?'':'').'
';}
}
echo '















';
$wm=0;
if($_GET['wm']=="ecy"){
$ecy=mysql_query("select id_member,real_name,posts from {$db_prefix}members order by posts desc limit 5");
while($row=mysql_fetch_array($ecy)){
$wm++;
$grup=mysql_fetch_array(mysql_query("Select * from {$db_prefix}members where id_member = '".$row['id_member']."'"));
if($grup['id_group']==0){
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_post_group']."'"));
}else{
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_group']."'"));
}
echo '



'.(!$row['id_member']?'':'').''.(!$row['real_name']?'Ziyaretçi':''.$row['real_name'].'').''.(!$row['id_member']?'':'').' '.$row['posts'].'
';
}
}elseif($_GET['wm']!="ecy" and $_GET['wm']=="eck" and $_GET['wm']!="eyu"){
$wm=0;
$uyeler=mysql_query("select id_member from smf_members limit 1");
while($row=mysql_fetch_array($uyeler)){
$id_member=$row['id_member'];
$say=mysql_query("select count(id_member_started) as count, id_member_started from smf_topics group by id_member_started order by count desc limit 5");
while($rsay=mysql_fetch_array($say)){
$wm++;
$grup=mysql_fetch_array(mysql_query("Select * from smf_members where id_member = '".$rsay['id_member_started']."'"));
if($grup['id_group']==0){
$renk=mysql_fetch_array(mysql_query("Select * from smf_membergroups where id_group = '".$grup['id_post_group']."'"));
}else{
$renk=mysql_fetch_array(mysql_query("Select * from smf_membergroups where id_group = '".$grup['id_group']."'"));
}
$isim=mysql_fetch_array(mysql_query("select id_member,real_name from smf_members where id_member = '".$rsay['id_member_started']."'"));
echo '


'.(!$isim['real_name']?'':'').''.(!$isim['real_name']?'Ziyaretçi':''.$isim['real_name'].'').''.(!$isim['real_name']?'':'').' '.$rsay[0].'
';
}
}
}elseif($_GET['wm']!="ecy" and $_GET['wm']!="eck" and $_GET['wm']=="eyu"){
$eyu=mysql_query("select id_member,real_name,posts from {$db_prefix}members order by id_member desc limit 5");
while($row=mysql_fetch_array($eyu)){
$wm++;
$grup=mysql_fetch_array(mysql_query("Select * from {$db_prefix}members where id_member = '".$row['id_member']."'"));
if($grup['id_group']==0){
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_post_group']."'"));
}else{
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_group']."'"));
}
echo '



'.(!$row['real_name']?'':'').''.(!$row['real_name']?'Ziyaretçi':''.$row['real_name'].'').' '.$row['posts'].'
';
}
}else{
$ecy=mysql_query("select id_member,real_name,posts from {$db_prefix}members order by posts desc limit 5");
while($row=mysql_fetch_array($ecy)){
$wm++;
$grup=mysql_fetch_array(mysql_query("Select * from {$db_prefix}members where id_member = '".$row['id_member']."'"));
if($grup['id_group']==0){
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_post_group']."'"));
}else{
$renk=mysql_fetch_array(mysql_query("Select * from {$db_prefix}membergroups where id_group = '".$grup['id_group']."'"));
}
echo '



'.$row['real_name'].' '.$row['posts'].'
';
}
}
echo '


';
//Wm Top10



Resimleri kullandığınız temanın içerisine atın.

Resimleri İndir


Bu sürümde xhtml ve css hataları düzeltilmiş durumda.