بابهت: (پێوهکراو)زیاد کردنی (3 زانیاری له خوارهوهی مهکۆ)
سڵاو .ههر وهک لهم بابهته دا http://www.webchin.org/Meko/viewtopic.php?id=8748 باس له چۆنیهتی دانانی( پهیامهكانی ئهم ههفتهیه ،پهیامهكانی ئهمڕۆ،پهیام له كاتژمێرێكدا) کراوه پێم خۆش بوو له بابهتێکی جیادا به ڕوونی باسی بکهم!
'No of posts' => 'ههموو پهیامهكان',
#---------[ 1. بیکهروه ]----------------------------------------------------------
#
index.php
#
#---------[ 2. بگهڕێ (له هێلی: 170) ]----------------------------------------------
#
<dd><?php echo $lang_index['No of posts'].': <strong>'.$stats['total_posts'] ?></strong></dd>
#
#---------[ 3. له دوای ئهم کۆده زیاد بکه ]-----------------------------------------------------
#
<?php
// Begin: Activity Barometer mod
$result = $db->query("SELECT COUNT(*) FROM ".$db->prefix."posts WHERE posted > ".(time()-7*24*3600)) or error('Unable to fetch online list', __FILE__, __LINE__, $db->error());
$posts_week = $db->result($result);
$result = $db->query("SELECT COUNT(*) FROM ".$db->prefix."posts WHERE posted > ".(time()-24*3600)) or error('Unable to fetch online list', __FILE__, __LINE__, $db->error());
$posts_day = $db->result($result);
$posts_h = $posts_day/24;
?>
<dd>
<?php
if ($posts_h<1)
if ($posts_day<1)
if ($posts_week<1)
echo $lang_index['dormant'];
else
echo $lang_index['number week'].': <strong>'.$posts_week;
else
echo $lang_index['number day'].': <strong>'.$posts_day;
else
echo $lang_index['average h'].': <strong>'.number_format($posts_h,1);
?>
</strong></dd>
<?php // End: Activity Barometer mod ?>
#
#---------[ 4. بیکهرهوه ]----------------------------------------------------------
#
lang/Kurdish/index.php
#
#---------[ 5. بگهڕێ بهدوای ]-----------------------------------------------------------
#
'No of posts' => 'ههموو پهیامهكان',
#
#---------[ 5. لهدوای ئهمه زیاد بکه ]-----------------------------------------------------------
#
// Activity Barometer mod
,
'number week' => 'پهیامهكانی ئهم ههفتهیه',
'number day' => 'پهیامهكانی ئهمڕۆ',
'average h' => 'پهیام له كاتژمێرێكدا',
'dormant' => 'Forum is dormant.'
#---------[ 6. دوای پاشکهوتی بکه سهرکهوتوبن :)]--------------------------------------------------
#هیوادارم سوودی ههبیت.
http://dictio.kurditgroup.org/
