get_one("SELECT online FROM {$DT_PRE}online WHERE username='$username'"); if($o && $o['online']) $online = 1; } else if($userid) { $o = $db->get_one("SELECT online FROM {$DT_PRE}online WHERE userid=$userid"); if($o && $o['online']) $online = 1; } $ico = DT_STATIC.'file/image/web'.($style ? $style : '').($online ? '' : '-off').'.gif'; dheader($ico); ?>