Help regarding multiple conditions

Hi All,

I am new to shell scripting.

Can any one say what is wrong in this if statement, that uses multiple conditions

if [ ***** ]
then
 ***************
else
        if  ( -z $pcs && "$night_time_calc" > "$night_time" )
        then
               ********************************
         else
              *********************************
          fi
fi....

Is the above mentioned statement correct ???

And my doubt is, do i need to make any more modification in multiple conditions in if part??

waiting....

Bourne shell syntax:

[ condition1 -a condition2 ]

Korn shell syntax:

[[ condition1 && condition2 ]]
if - then
elif - then
elif - then
else
fi

Sorry that i forgot to mention my shell.

Its Bash shell

bash condition

 
if [ condition ]; then
  do_something
elif [ condition ]; then
  do_something
else
  do_something
fi