Problem using ADT7310 SPI temperature sensor with arduino ethernetshield

You are right.

pinMode(10,OUTPUT);
  pinMode(9,OUTPUT);
  pinMode(4,OUTPUT);

I've added that to the code but it didn't have any effect.(Or barely noticeable). Still receiving unaccurate values.
But I'm using the ethernetshield because I'm still waiting for an adafruit CC3000 breakoutboard which will be arriving in a few days. I hope that I won't have the same problems there. But it would've been nice to get the ethernet connection going.