- BaRaN
-
Mesaj Sayısı : 873
Doğum tarihi : 02/12/89
Yaş : 34
Nerden : güneşin doğduğu yer(DOĞUBEYAZIT)
İş/Hobi : cep telefonu
Bilgi : <center><font color="blue"><marquee direction="left" style="background:white">Muradiye Forum Bilgi Paylaşım Platformu</marquee></font></center
Rep Gücü : 0
Rep Puan : 8
Kayıt tarihi : 20/12/08
Günün Saatine Göre Karşılama Mesajı...
Cuma Şub. 06, 2009 8:53 pm
Düzenlemeler
index.template.php
Bul:
Kod:
// display user name
if($context['user']['is_logged'])
echo '
', $txt['hello_member_ndt'], '
',
$context['user']['name'] ,
'
';
Değiştir:
Kod:
// Zamane karşılama by BuRaK
$saat = date("H");
if ($context['user']['is_logged'])
{
if ( $saat>=06 && $saat<12 )
echo'
Hayırlı Sabahlar ', $context['user']['name'], '
';
else if ( $saat>=12 && $saat<18 )
echo'
Hayırlı Günler ', $context['user']['name'], '
';
else if ( $saat>=18 && $saat<24 )
echo'
Hayırlı Akşamlar ', $context['user']['name'], '
';
if ( $saat>=00 && $saat<06 )
echo'
Hayırlı Geceler ', $context['user']['name'], '
';
}
Bu forumun müsaadesi var:
Bu forumdaki mesajlara cevap veremezsiniz