sqlite's db moced to /tmp
php deprecated functions corrected, some minor html fixes