<fb:success><fb:message><strong>Success!</strong> Your changes have been saved. </fb:message></fb:success> <?php } ?> <div class="profile-editor-form"> <form id="form1" name="form1" method="post" action=""> <div id="work_history_1" class="work_position"> <table class="editor" border="0" cellspacing="0"> <?php for ($index = 1; $index < 3; $index++) { $work = $schoolProfile = $app->extractObject($user->userprofilework, $index - 1); $startDateParts = date_parse($work->start_date); $startDayOfMonth = 0; $startMonth = 0; $startYear = 1949; if (array_key_exists('day', $startDateParts)) { $startDayOfMonth = $startDateParts['day']; } if (array_key_exists('month', $startDateParts)) { $startMonth = $startDateParts['month']; } if (array_key_exists('year', $startDateParts)) { $startYear = $startDateParts['year']; } $endDateParts = date_parse($work->end_date); $endDayOfMonth = 0;
if ($updateOccured) { ?> <fb:success><fb:message><strong>Success!</strong> Your changes have been saved. </fb:message></fb:success> <?php } ?> <div class="profile-editor-form"> <form id="form1" name="form1" method="post" action=""> <div id="education_college_1" class="school"> <table class="editor education" border="0" cellspacing="0"> <?php for ($index = 1; $index < 4; $index++) { $schoolProfile = $app->extractObject($user->userprofileschool, $index - 1); if (!is_null($schoolProfile)) { $school = new School(); if (!is_null($schoolProfile->school_id)) { $school = $school->find_first("id=" . $schoolProfile->school_id); } $schoolType = $school->school_type; } else { $schoolType = "College"; } ?> <tr> <td><div align="left">School:</div></td> <td><div style="float: left; width: 215px"> <input name="school_name<?php