![]() |
|
![]() |
Yeni Bir İstatislik...Forum Ve Portal Sistemleri forumlarındaki Yeni Bir İstatislik... konusunu görüntülemektesiniz. Boardindex.template.php de bulun. Code: // Show the "Board name Topics Posts Last Post" header. Altına. Code: // Forum istatistikleri global $db_prefix,$modSettings; $today = strtotime("24 hours ago"); date('j') == 1 ? ... |
![]() |
![]() |
|
LinkBack | Konu Seçenekleri | Modları Göster | ![]() |
|
|
#1 (permalink) |
|
Sağlam Üye
![]() Durum:Offline
Üyelik Tarihi: Apr 2007
Nerden: єν∂єи :)
Mesajlar: 3.279
Sevdiği Bölüm: ωєвмαѕтєя
Burcunuz: Başak
Arkadaşları:5
Ettiği Teşekkür: 12
Aldığı Teşekkür 189
Xsir Gücü: 14
Xsir Puanı: 107 Xsir Grafiği:
![]() ![]() |
![]() Boardindex.template.php de bulun. Code:
// Show the "Board name Topics Posts Last Post" header. Code:
// Forum istatistikleri
global $db_prefix,$modSettings;
$today = strtotime("24 hours ago");
date('j') == 1 ? $thismonth = $today : $thismonth = strtotime(date('F') . ' 1');
date('l') == 'Sunday' ? $thisweek = $today : $thisweek = strtotime('last Sunday');
date('M') == 'January' ? $thisyear = $thismonth : $thisyear = strtotime('January 1');
$query = db_query("SELECT
COUNT(dateRegistered > $thisyear OR NULL) as year,
COUNT(dateRegistered > $thismonth OR NULL) as month,
COUNT(dateRegistered > $thisweek OR NULL) as week,
COUNT(dateRegistered > $today OR NULL) as today
FROM {$db_prefix}members
WHERE is_activated = 1", __FILE__, __LINE__);
$row = mysql_fetch_assoc($query);
settype($row['today'], "integer");
settype($row['week'], "integer");
settype($row['month'], "integer");
// Istatistik bilgiler online üyelere by KardesTurk.
if ($context['user']['is_logged'])
echo'
<table border="1" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" background="', $settings['images_url'], '/catbg.jpg" align="center">
<table style="filter:glow (color=#ff3333 strength=2)">
<td align="center">
<p align="center"><img border="0" src="http://img106.imageshack.us/img106/5030/star34qs3.gif" width="11" height="10">
<font face="Comic Sans MS"> <b><font color="#ff0066"> Sayfa İstatiklerimiz !</font> <img border="0" src="http://img106.imageshack.us/img106/5030/star34qs3.gif" width="11" height="10"></table></td>
</tr>
</table>
<table border="1" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="30%"> <font size="2"><b>
<font color="#000033">
Tarih</font> </b> : ' , $context['current_time'], '
<br>
<b><font color="#000033">
Bu Ay</font> </b>: ' , $row['month'] , ' üye kayıt olmuş<br>
<b><font color="#000033">
Bu Hafta</font> </b>: ' , $row['week'], ' üye kayıt olmuş</font><br>
</td>
<td width="40%">
<p align="center">
<font size="2">
<b><font color="#800000">Son Üye</font></b> : ' , $context['common_stats']['latest_member']['link'], '
aramiza hosgeldiniz !<br>
<b>
Zumruduankayoldasligi.Com</b> Size İyi Vakit Geçirmenizi Diliyor !</font></td>
<td width="30%">
<p align="right"><font size="2"><font color="#000033"><b>Paylaşımcı üye sayımız</b></font> : ', $context['common_stats']['total_members'],'<br>
<font color="#000033"><b>
Konu Sayısı</b></font> : ', $context['common_stats']['total_topics'], '<br>
<font color="#000033"><b>
Cevap Sayısı</b></font> : ' ,$context['common_stats']['total_posts'], '</font></td>
</tr>
</table>
<table border="1" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">
<table border="0" width="100%" background="', $settings['images_url'], '/catbg.jpg">
<tr>
<td width="77%"><script language="JavaScript">
function setcountup(theyear,themonth,theday){
yr=theyear;mo=themonth;da=theday
}
//////////CONFIGURE THE countup SCRIPT HERE//////////////////
//STEP 1: Configure the date to count up from, in the format year, month, day:
//This date should be less than today
setcountup(2007,03,30)
//STEP 2: Configure text to be attached to count up
var displaymessage=" [Her saniye büyümekteyiz] "
//STEP 3: Configure the below 5 variables to set the width, height, background color, and text style of the countup area
var countupwidth=\'95%\'
var countupheight=\'20px\' //applicable only in NS4
var countupbgcolor=\'alt1\'
var opentags=\'<span class="smallfont">\'
var closetags=\'</span>\'
//////////DO NOT EDIT PASS THIS LINE//////////////////
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
var crosscount=\'\'
function start_countup(){
if (********.layers)
********.countupnsmain.visibility="show"
else if (********.all||********.getElementById)
crosscount=********.getElementById&&!********.all?********.getElementById("countupie") : countupie
countup()
}
if (********.all||********.getElementById)
********.write(\'<span id="countupie" style="width:\'+countupwidth+\'; background-color:\'+countupbgcolor+\'"></span>\')
window.onload=start_countup
</script></td>
<td width="23%">
<p align="right"><a href="index.php?action=pm;sa=send;u=1"><i>Kontakt/Ihtibat</i></a></td>
</tr>
</table>
</td>
</tr>
</table>
<br>
';
|
|
|
|
#2 (permalink) |
|
Yeni Üye
![]() Durum:Offline
Üyelik Tarihi: Nov 2007
Nerden: TRABZON
Mesajlar: 1
Takım: TRABZONSPOR
KanGrubu: 0+
Eğitim: ÜNİVERSİTE
Sevdiği Bölüm: WEB MASTER
Burcunuz: Aslan
Arkadaşları:0
Ettiği Teşekkür: 0
Aldığı Teşekkür 0
Xsir Gücü: 0
Xsir Puanı: 1 Xsir Grafiği:
![]() |
güzel paylaşımın için teşekkürler
|
|
|
|
#3 (permalink) |
|
Sağlam Üye
![]() Durum:Offline
Üyelik Tarihi: Apr 2007
Nerden: єν∂єи :)
Mesajlar: 3.279
Sevdiği Bölüm: ωєвмαѕтєя
Burcunuz: Başak
Arkadaşları:5
Ettiği Teşekkür: 12
Aldığı Teşekkür 189
Xsir Gücü: 14
Xsir Puanı: 107 Xsir Grafiği:
![]() ![]() |
rica ewdeirm güle güle kullan
|
|
![]() |
| Bookmarks |
| Konu Seçenekleri | |
| Modları Göster | |
|
|
Okuduğunuz Konuya Benzer Konular
|
||||
| Konu | Konuyu Açan | Forum | Cevaplar | Son Mesaj |
| Yeni Server | emrah_06 | Ultima Online | 2 | 12-09-2008 01:19 |
| bilgisayar ile ilgili 180 soru cevap kaçırmayın | neohacked | Bilgisayar Güvenliği | 4 | 06-08-2008 18:14 |
| ben yeniyim yeni | Mikropçuk_11 | Tanışma | 7 | 30-12-2007 00:24 |
| selam arkadaşlar yeni serevr http://Mu-memorial.no-ip.biz | Leonadis | Mu Online | 0 | 07-12-2007 20:07 |
| yeni yıl espirileri | _cansu_ | Yazılar | 2 | 06-12-2007 17:08 |
Forum saati Türkiye saatine göredir. GMT +2. Şuan saat: 04:30 .
(Türkiye için GMT +2 seçilmelidir.)