Temporarily halting a sensor? (help)

If I understand you correctly once the sensor that detects you standing up has triggered you want to stop it triggering again for a period. Is that correct ? If so, which one and how long should it be ignored ?

Some comments on your code.

Give the sensor pins meaningful names.
Give the values read meaningful names.
Give the LEDs meaningful names.
Get rid of the unnecessary blank lines.