And have you deleted all non-vb files from your site? Have you looked at those three templates you have posted? Are they all reverted in your style? And actually, if they got into the database, perhaps they got into the MASTER STYLE and changed them so they can't be reverted.
spacer_open:
HTML Code:
<!-- open content container -->
<if condition="$show['old_explorer']">
<table cellpadding="0" cellspacing="0" border="0" width="$stylevar[outertablewidth]" align="center"><tr><td class="page" style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
<else />
<div align="center">
<div class="page" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">
<div style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px" align="$stylevar[left]">
</if>
space_close:
HTML Code:
<if condition="$show['old_explorer']">
</td></tr></table>
<else />
</div>
</div>
</div>
</if>
<!-- / close content container -->
go_button:
HTML Code:
<input type="submit" class="button" value="$vbphrase[go]" />
If you really think it's the database, then restore one of your backups. But, you need to worry about how they got into there or they'll just do it again.