header,footer change; mysql connection change

delete some unnecessary file