Create functions.inc.php

All functions.