Revert "Update vg.sql"

This reverts commit b0cc080b84b195d6c21e02e6d21430fe4abb2892.
Revert "Update _index.php"

This reverts commit 484ef5a5756856266cbd600acf78dcb757343bd1.
Revert "Update functions.inc.php"

This reverts commit 7b90e994cc2c12cc46ff2d402ae60ad209ba46ed.