new.php

added conditions to show fields