getVar("files") && $livechat['status'] == 1 && $livechat['ended'] == 0) { ?>