1 مرفق
[هاك] الترحيب بالعضو والضيف في الشريط السفلي
السلام عليكم ورحمة الله وبركاته
كيف الحال
اليوم جايب لكم هاك الترحيب في الشريط السفلي سهل مره مره
كل ما عليكم بس
تضعون الكود في اسفل الهيدر
كود PHP:
<if condition="$bbuserinfo[userid] != 0">
<SCRIPT>
<!-- Hide from old browsers
message = " مرحبا بك يا $bbuserinfo[username] في $vboptions[bbtitle] ^" +
" آخر زيارة لك كانت في $pmbox[lastvisitdate] $pmbox[lastvisittime]^" +
" بريدك المسجل لدينا هو $bbuserinfo[email]^" +
" أنت الآن في رتبة $bbuserinfo[usertitle]^" +
<if condition="$bbuserinfo['options'] & $_USEROPTIONS['receivepm']">
" يوجد لديك $bbuserinfo[pmunread] رسالة خاصة غير مقروءة^" +
" مجموع الرسائل الخاصة هو $bbuserinfo[pmtotal]^" +
</if>
"^"
scrollSpeed = 50
lineDelay = 1800
// Do not change the text below //
txt = ""
function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
pauze = scrollSpeed
}
else {
pauze = lineDelay
txt = ""
if (pos == message.length-1) pos = -1
}
pos++
setTimeout("scrollText('"+pos+"')",pauze)
}
// Unhide -->
scrollText(0)
</SCRIPT>
<else />
<SCRIPT>
<!-- Hide from old browsers
message = " مرحبا عزيزي الضيف في $vboptions[bbtitle] ^" +
" أنت غير مسجل لدينا^" +
" يمكنك التسجيل في المنتدى والمشاركة مع $vboptions[bbtitle]^" +
" أو يمكنك تسجيل الدخول إذا كنت قد سجلت مسبقا^" +
"^"
scrollSpeed = 50
lineDelay = 1800
// Do not change the text below //
txt = ""
function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
pauze = scrollSpeed
}
else {
pauze = lineDelay
txt = ""
if (pos == message.length-1) pos = -1
}
pos++
setTimeout("scrollText('"+pos+"')",pauze)
}
// Unhide -->
scrollText(0)
</SCRIPT>