server_binlog.php refactor, render HTML at once

server_binlog.php refactor, render HTML at once