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[money_name]}({$_money}) | {$DT[credit_name]}({$_credit}) | 退出'; {else} destoon_member += '客人 | 免费注册 | 会员登录 | 忘记密码?'; {/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 $DT[pushtime]}window.setInterval('PushNew()',{$DT[pushtime]}*1000);{/if}