Remove php ending tag and remove old sql dependency in manage_panel.php