DS18B20 - temperature sensor code Help Request

Snipping a bunch of code, you have this:

  if  (t  > 29) //sensor0
  {
  }
  if  (t1  > 25) //sensor 1
  {
  }
  else 
  {
  }

You should have an else block for the first condition, and the t and t1 blocks should be independent, in terms of control of the two LEDs.

I hate t and t1 as names. t1 and t2 would, in my opinion, be better, but tempIn and tempOut would be even better. If you are going to number things, number ALL of them; don't start numbering with the 2nd one.