Please help Etherneth Shield not working ???

    while (client.connected()) {
      if (client.available()) {

        if (SensorRead()>iSenseMax)

You're only reading the sensor when there's a client connecting to your Arduino.

Is that really what you want?

If not you should explain what exactly this is supposed to do.