كود PHP:
</if>
<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 = "هلا بــك يالضيـف اقلط "
" أنت مانت مسجل عندنا"
" تقدر تسجل بالمنتدى وتشارك وهذا شرف لنا"
" وتقدر تسجل الدخول اذا كنت عضو عندنا"
""
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>
</if>