according to your schematic the output of the voltage divider is connected to AN1 (Pin6) but you are reading on AN0 (Pin7) "ADCIN 0"
Change your Code to:
CMCON=0
ADCON=0
ADCIN 1, ADVAL
You should put some current limiting resistors in series with the LEDs (470R - 1k)
Does the 10k resistor in the divider match the range of the LDR ?
rgds
Bookmarks