$online) { $longdate = longDate($online['t'] + $exbb['usertime']*3600); $bot = isset($online['b']) ? ' '.$online['b'].' bot гуляет' : ''; include($style); } } else { $ip = ''; foreach ($onlinedata as $id=>$online) { $longdate = longDate($online['t'] + $exbb['usertime']*3600); $bot = isset($online['b']) ? $online['b'].' bot гуляет' : ''; include($style); } } $title_page = $exbb['boardname'].' :: '.$lang['Whosonline']; include('./templates/'.$exbb['default_style'].'all_header.tpl'); include('./templates/'.$exbb['default_style'].'logos.tpl'); include('./templates/'.$exbb['default_style'].'whoisonline.tpl'); include('./templates/'.$exbb['default_style'].'footer.tpl'); include('page_tail.php'); ?>