if($iSumaCyfr % 97 == 1)
return true; else return false;
zamieniśem na
return ($iSumaCyfr % 97 == 1)
to chyba oczywiste :) pozdrawiam, zohaas