Topic: Calendar 2.0.7 Screwed up my Profile for all users?
I just recently installed Calendar 2.0.7 on my PunBB forum. When clicking on "profile" it shows:
Parse error: parse error, unexpected T_IF in /home/www/eac.freehostia.com/forum/profile.php on line 969
I checked and this is the code:
965 list($year, $month, $day) = explode('-',$user['birthday']);
966 if($month!=0 && $day!=0){
967 $Nyear = (strlen($year)!=4)? NULL: $year;
968 $datestamp = mktime(0,0,0,$month,$day,0)
969 if ($lang_calendar['Date_format'] == 'US') {
970 $birthday = date("F jS ", $datestamp).$Nyear;
971 } else {
972 $birthday = date("j ", $datestamp).$lang_calendar[(date("F", $datestamp))].$Nyear;
973 }
974 }else
975 $birthday = $lang_profile['Unknown'];
I have noooo clue what to do.