byartist Administrator
Mesaj Sayısı : 1316 Yaş : 29 Nerden : Kocaeli İş/Hobiler : Bilgisayar / İnternet / Öğrenci Takımınız : !.. GaLaTaSaRaY ..! Uğurlu Sayınız : Kayıt tarihi : 23/01/09
| Konu: Aktiflik, Deneyim, Seviye Paz Şub. 01, 2009 3:35 pm | |
| Display.template.php Dosyasını Açın bu kodu bulun
PHP- Kodu:
// Show their personal text? if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '') echo ' ', $message['member']['blurb'], '<br /> <br />';
Altına Bu kodu Ekleyin...
PHP- Kodu:
$sira = ($message['member']['id'])-1 ; $sorgu = mysql_query("select * from smf_members"); $sonuc = mysql_result($sorgu, $sira, 'totalTimeLoggedIn'); $aktiflik=($sonuc)/5000; if ($aktiflik<1) { $aktiflik=1; } if ($aktiflik>101){ $aktiflik=101; } $seviyesi=($message['member']['karma']['good'] - $message['member']['karma']['bad'])/15; if ($seviyesi<1) { $seviyesi=1; } if ($seviyesi>101) { $seviyesi=101; } $deneyimi=($message['member']['posts'])/30; if ($deneyimi<1){ $deneyimi=4; } if ($deneyimi>101) { $deneyimi=101; } echo ' <TABLE cellSpacing=0 cellPadding=0 width="114" border=0> <TABLE cellSpacing=0 cellPadding=0 width="114" border=0> Aktiflik <br> <tr> <TD class=nopad width=3 height=13> <IMG height=13 alt="" src="', $settings['images_url'], '/img_left.gif" width=3> </TD> <td colspan="2" style="BACKGROUND: url(', $settings['images_url'], '/img_backing.gif) repeat-x left top; LINE-HEIGHT: 13px" width=114 height=13> <IMG height="11" src="', $settings['images_url'], '/bhg.gif" width="', $aktiflik, '"><IMG height="9" src="', $settings['images_url'], '/exp.gif" width="2"> </td> <TD class=nopad width=3 height=13> <IMG height=13 alt="" src="', $settings['images_url'], '/img_right.gif" width=3> </TD> </tr> </table> <TABLE cellSpacing=0 cellPadding=0 width="114" border=0> Deneyim<br> <tr> <TD class=nopad width=3 height=13> <IMG height=13 alt="" src="', $settings['images_url'], '/img_left.gif" width=3> </TD> <td colspan="2" style="BACKGROUND: url(', $settings['images_url'], '/img_backing.gif) repeat-x left top; LINE-HEIGHT: 13px" width=114 height=13> <IMG height="11" src="', $settings['images_url'], '/bmg.gif" width="', $deneyimi, '"> <IMG height="9" src="', $settings['images_url'], '/exp.gif" width="2"> </td> <TD class=nopad width=3 height=13> <IMG height=13 alt="" src="', $settings['images_url'], '/img_right.gif" width=3> </TD> </tr> </table> <TABLE cellSpacing=0 cellPadding=0 width="114" border=0> Seviye<br> <tr> <TD class=nopad width=3 height=13> <IMG height=13 alt="" src="', $settings['images_url'], '/img_left.gif" width=3> </TD> <td colspan="2" style="BACKGROUND: url(', $settings['images_url'], '/img_backing.gif) repeat-x left top; LINE-HEIGHT: 13px" width=114 height=13> <IMG height="11" src="', $settings['images_url'], '/bxg.gif" width="', $seviyesi, '"> <IMG height="9" src="', $settings['images_url'], '/hp.gif" width="2"> </td> <TD class=nopad width=3 height=13> <IMG height=13 alt="" src="', $settings['images_url'], '/img_right.gif" width=3> </TD> </tr> </table> ';
Gerekli resimler için;
http://rapidshare.com/files/43046117/img_Wtfrm.zip.html
| |
|