extract($aRow); $birthDate = ""; if ($birthYear != "") { $birthDate = $birthDay . "/" . $birthMonth . "/" . $birthYear; } if ($dadEmail != "") { array_push($ParentsEmails, "<" . $dadFirstName . " " . $dadLastName . "> " . $dadEmail); } if ($momEmail != "") { array_push($ParentsEmails, "<" . $momFirstName . " " . $momLastName . "> " . $momEmail); } if ($kidEmail != "") { array_push($KidsEmails, "<" . $firstName . " " . $LastName . "> " . $kidEmail); } echo "<tr>"; echo "<td><img src='" . getPersonPhoto($kidId, $kidGender, 'Child') . "' class=\"img-circle profile-avatar\" hight='30' width='30' > <a href='PersonView.php?PersonID=" . $kidId . "'>" . $firstName . ", " . $LastName . "</a></td>"; echo "<td>" . $birthDate . "</td>"; echo "<td>" . FormatAge($birthMonth, $birthDay, $birthYear, "") . "</td>"; echo "<td>" . $kidEmail . "</td>"; echo "<td>" . $mobilePhone . "</td>"; echo "<td>" . $homePhone . "</td>"; echo "<td>" . $Address1 . " " . $Address2 . " " . $city . " " . $state . " " . $zip . "</td>"; echo "<td><a href='PersonView.php?PersonID=" . $dadId . "'>" . $dadFirstName . " " . $dadLastName . "</a></td>"; echo "<td>" . $dadCellPhone . "</td>"; echo "<td>" . $dadEmail . "</td>"; echo "<td><a href='PersonView.php?PersonID=" . $momId . "'>" . $momFirstName . " " . $momLastName . "</td>"; echo "<td>" . $momCellPhone . "</td>"; echo "<td>" . $momEmail . "</td>"; echo "</tr>"; } ?>
?> "><span class="fa fa-plus" aria-hidden="true"></span> Add Note</a> </div> </div> <br></p> </div> <div class="box-body chat" id="chat-box"> <?php //Loop through all the notes while ($aRow = mysql_fetch_array($rsNotes)) { extract($aRow); ?> <!-- chat item --> <div class="item"> <img src="<?php echo getPersonPhoto($EnteredId, "", ""); ?> "/> <p class="message"> <a href="#" class="name"> <small class="text-muted pull-right"><i class="fa fa-clock-o"></i> <?php if (!strlen($nte_DateLastEdited)) { echo FormatDate($nte_DateEntered, True); } else { echo FormatDate($nte_DateLastEdited, True); } ?> </small> <?php if (!strlen($nte_DateLastEdited)) { echo $EnteredFirstName . " " . $EnteredLastName;