var destoon_userid = {$_userid}; var destoon_username = '{$_username}'; var destoon_message = {$_message}; var destoon_chat = {$_chat}; var destoon_stip = ''; var destoon_member = ''; {if $_userid} destoon_member += '
- 您好，{$_truename} ({if $_online}在线{else}隐身{/if})
- {$DT[credit_name]}({$_credit})
- 退出
'; {else} destoon_member += '
- 您好，欢迎来到{$DT[sitename]}
- 请登录
- 免费注册
'; {/if} try{Dd('destoon_member').innerHTML=destoon_member;}catch(e){} {if $DT[city]} try{Dd('destoon_city').innerHTML='{$city_name}';}catch(e){} {/if} {if $_message} Dd('destoon_message').innerHTML='{$_message}'; {if $_sound}destoon_stip += sound('message_{$_sound}');{/if} {/if} {if $_chat && $DT[im_web]} Dd('destoon_chat').innerHTML='{$_chat}'; destoon_stip += sound('chat_new'); {/if} var destoon_cart = substr_count(get_cookie('cart'), ','); if(destoon_cart > 0) Dd('destoon_cart').innerHTML=''+destoon_cart+''; if(destoon_stip) Dd('tb_c').innerHTML = destoon_stip; {if $push && $DT[pushtime]}window.setInterval('PushNew()',{$DT[pushtime]}*1000);{/if}