South Bay Association of REALTORS® | Calendar
Switch to month at a Glance  
'JAN', 2 => 'FEB', 3 => 'MAR', 4 => 'APR', 5 => 'MAY', 6 => 'JUN', 7 => 'JUL', 8 => 'AUG', 9 => 'SEP', 10 => 'OCT', 11 => 'NOV', 12 => 'DEC'); $month = $monthname[$monthcode]; $nowdate = strtotime('now'); if ($datecode >= $nowdate){ echo ""; echo ""; echo ""; } } ?>
"; echo $weekday; echo "
"; echo $month; echo "
"; echo $daycode; echo "
"; echo $row["title"]; if ($row["description"]){ echo "
"; $d=$row['description']; $text = str_replace('®', '®', $d); $text = str_replace('“', '"', $text); $text = str_replace('”', '"', $text); $text = str_replace('…', '...', $text); $text = str_replace("’", "'", $text); $text = str_replace("–", "-", $text); $text = str_replace("•", "-", $text); $text = str_replace("ג", "", $text); $text = str_replace("€", "", $text); $text = str_replace("¢", "", $text); $text = str_replace("", "", $text); $text = str_replace("™", "", $text); $text = str_replace("¼", "1/4", $text); $text = str_replace("½", "1/2", $text); $text = str_replace("¾", "3/4", $text); $text = str_replace("", "", $text); $text = str_replace("œ", "", $text); $text = str_replace("¦", "", $text); echo nl2br($text); } echo "
"; $location = $row["location"]; if ($location){ echo "Location: "; if ($row["location"]=="Other"){ $location = $row["locationother"]; } echo $location; echo "
"; } $starttime = $row["starttime"]; $endtime = $row["endtime"]; $ampmstart = $row["ampmstart"]; $ampmend = $row["ampmend"]; if ($ampmend=="pm"){ $endtime = $endtime - 21600; } $starthour = date('H', $starttime); $startminute = date('i', $starttime); $endhour = date('H', $endtime); $endminute = date('i', $endtime); if(($ampmend=="am") ANd ($ampmstart=="am")){ $endhour = $endhour + 6; } if ($starthour > 12){ $starthour = $starthour - 12; } if ($starthour == 0){ $starthour = 12; } $endhour=$endhour-6; if ($endhour<10){ $endhour = $endhour * 1; } if ($endhour > 12){ $endhour = $endhour - 12; } if ($endhour == 0){ $endhour = 12; } if ($starthour<10){ $starthour = $starthour * 1; } if ($starttime){ echo "Time: "; echo $starthour; echo ":"; echo $startminute; echo $ampmstart; echo "-"; echo $endhour; echo ":"; echo $endminute; echo $ampmend; echo "
"; } if ($row["instructor"]){ echo "Instructor: "; $instr1=$row["instructor"]; echo htmlentities($instr1); if ($row["instructordetails"]){ echo " - "; echo $row["instructordetails"]; } echo "
"; } if ($row["cost"]){ echo "Cost: "; echo $row["cost"]; echo "
"; } if ($row["infolink"]){ echo "Click to Register"; echo "
"; } if ($row["regtext"]){ echo $row["regtext"]; echo "
"; } if ($row["flyerlink"]){ echo ""; echo $row["linktext"]; echo "
"; } $sponsor = $row["sponsor"]; $sponsor2 = $row["sponsor2"]; $sponsor3 = $row["sponsor3"]; $sponsor4 = $row["sponsor4"]; if (($row["sponsor"])>1){ $sql2 = "SELECT * FROM affiliates WHERE serialnumber=$sponsor"; $query2 = mysqli_query($con, $sql2); $row2 = mysqli_fetch_array( $query2 ); $firstname = $row2["firstname"]; $lastname = $row2["lastname"]; $company = $row2["company"]; echo "Sponsor: "; echo ""; echo $firstname; echo " "; echo $lastname; echo " - "; echo $company; echo "
"; } if (($row["sponsor2"])>1){ $sql2 = "SELECT * FROM affiliates WHERE serialnumber=$sponsor2"; $query2 = mysqli_query($con, $sql2); $row2 = mysqli_fetch_array( $query2 ); $firstname = $row2["firstname"]; $lastname = $row2["lastname"]; $company = $row2["company"]; echo "Sponsor: "; echo ""; echo $firstname; echo " "; echo $lastname; echo " - "; echo $company; echo "
"; } if (($row["sponsor3"])>1){ $sql2 = "SELECT * FROM affiliates WHERE serialnumber=$sponsor3"; $query2 = mysqli_query($con, $sql2); $row2 = mysqli_fetch_array( $query2 ); $firstname = $row2["firstname"]; $lastname = $row2["lastname"]; $company = $row2["company"]; echo "Sponsor: "; echo ""; echo $firstname; echo " "; echo $lastname; echo " - "; echo $company; echo "
"; } if (($row["sponsor4"])>1){ $sql2 = "SELECT * FROM affiliates WHERE serialnumber=$sponsor4"; $query2 = mysqli_query($con, $sql2); $row2 = mysqli_fetch_array( $query2 ); $firstname = $row2["firstname"]; $lastname = $row2["lastname"]; $company = $row2["company"]; echo "Sponsor: "; echo ""; echo $firstname; echo " "; echo $lastname; echo " - "; echo $company; echo "
"; } echo "
"; echo "