That S.M.A.R.T. message indicates your hard drive is in danger of crashing. While it could last for several more days, it could also fail immediately! The more you use the drive, the less likely you'll be able to recover anything on it.
So, there are four issues to address here: 1) Data Recovery 2) Drive replacement 3) Recovery Media 4) System restoration
---------- Drive Replacement ---------- The drive will need to be replaced. When you remove it, you will see that it is a 3 1/5 inch desktop SATA drive.
You can replace this with any similar desktop drive of the same capacity or larger. ---------- Recovery Media ----------
Once you have the replacement drive, you will need to use something known as HP Recovery Media to restore your PC to working condition. This is a set of DVDs and a CD, or USB stick, that will erase the hard drive (removing all data, settings, and applications, reinstall the original OS, drivers, and some HP Utilities. In some cases, you may be able to order a USB stick instead of disks. You have to order these from HP; they can not be downloaded.
Once there, input your Product name or number. On your Software and Drivers Download page, select your Operating System and and Version. Click "Update". If HP Recovery Media is available for your machine, down near the bottom of the page, you will see an entry for Order Recovery Media-CD/DVD/USB. Click the "+" symbol to expand that entry and click on Order Media for details.
Or, if you prefer, you can do the same by contacting HP Customer Service: