Update index.php

add the categories pie graph on product too (and correct some bug)