Can anyone help me fine the error please?

I'm getting the following error:
[sinfo@triton2 init.d]$ ./apache status
./apache: line 25: syntax error near unexpected token `fi'
./apache: line 25: ` fi '
[sinfo@triton2 init.d]$


Script
#!/bin/sh
# hidd: Apache HTTP server 2.2.9
#
# chkconfig: 2345 92 40
# description: Apache HTTP server

export APACHE_HOME=/usr/local/apache2

case $1 in

start)
cd $APACHE_HOME/bin
./apachectl start
;;

stop)
cd $APACHE_HOME/bin
./apachectl stop

APACHE_PID=`pgrep -fo apache`
if [ ! -z $APACHE_PID ] then
kill -INT $APACHE_PID
if [! -z $APACHE_PID ] then
kill -9 $APACHE_PID
fi
fi
;;

status)
APACHE_PID=`pgrep -fo apache`
if [ ! -z $APACHE_PID ] then
echo "Apache httpd server is running with PID $APACHE_PID"
else
echo "Apache httpd server is not running"
fi
;;

?)
echo "Usage: ./apache start|stop|status"
exit 1
esac
exit 0