i decided to risk uploading and replacing the blog/wp-admin/includes/template.php file and it worked. i was able to log in just fine.
the odd thing is, i have no idea how that file could have gotten tampered with. i really know nothing about code and such, and wouldn’t have risks messing with those files.
oh well, remains a mystery, but it is fixed now.