bug 893: Fix whitespace
bug 893: Fix some syntax errors causing blank pages
bug 893: Fixed typo in includes/temp_functions.php dres ->$res