A couple options here... If these are photos you took before (and know that they came out alright) then there is probably a software error causing all your photos to appear black. You can try transferring the photos to your computer and then resetting the phone to factory conditions. NOTE: this will wipe all the files on your phone so make sure you do a backup through android before you hit reset. If you mean that the camera has only been able to take black photo's (so there are no original photos - just blank files), it is most probably a hardware issue such as the camera's shutter being stuck. When this is the case, it's actually very easy to replace the camera! Follow the replacement guide found on the main device page here: Huawei P6-U06 Troubleshoot your camera problem here: Huawei Ascend P6-U06 Troubleshooting
One simple possibility is that your charger is broken - try a different charging cable, just to check. There also could be dirt or debris stuck in the charging port on the phone itself. Be VERY careful if you try to poke into the port and remove the buildup yourself - you could potentially damage the metal connector pins on the charging port. A better option is to try blowing into the port or using compressed air like dust-off to clean the port. If the problem persists it is possible that the charging port itself (or those metal connector pins I mentioned earlier) is broken. If this is the case, you can follow one of the help guides to replace it yourself here: Huawei P6-U06 Troubleshoot your charging problem here: Huawei Ascend P6-U06 Troubleshooting