Yeni Bir İstatistik.

Asi Ruh

Kayıtlı Üye
jkhjkhjkds8.png



Boardindex.template.php de bulun.

Kod:
// Show the "Board name      Topics  Posts    Last Post" header.
Altına
Kod:
// 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 (document.layers)
document.countupnsmain.visibility="show"
else if (document.all||document.getElementById)
crosscount=document.getElementById&&!document.all?document.getElementById("countupie") : countupie
countup()
}
if (document.all||document.getElementById)
document.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>
';

gerekli yerleri kendinize göre düzenleyin
 
takipçi satın al
Uwell Elektronik Sigara
instagram takipçi hilesi
takipçi satın al
tiktok takipçi hilesi
Geri
Üst