} echo "</select></td></tr>\n<tr><td class=\"fieldlabel\">Status</td><td class=\"fieldarea\">"; echo "<s"; echo "elect name=\"status\">"; foreach ($status_options as $row => $value) { echo "<option value=\"" . $value . "\""; if ($value == $status) { echo " selected"; } echo ">" . $value . "</option>"; } echo "</select></td></tr>\n<tr><td class=\"fieldlabel\">Start Date</td><td class=\"fieldarea\"><input type=\"text\" id=\"startdate\" name=\"startdate\" value=\""; echo $startdate; echo "\" style=\"width:120px;\" /></td></tr>\n<tr><td class=\"fieldlabel\">End Date</td><td class=\"fieldarea\"><input type=\"text\" id=\"enddate\" name=\"enddate\" value=\""; echo $enddate; echo "\" style=\"width:120px;\" /></td></tr>\n</table>\n\n<p>"; echo "<s"; echo "trong>"; echo $aInt->lang("fields", "description"); echo "</strong></p>\n\n<textarea name=\"description\" id=\"message\" rows=20 style=\"width:100%\" class=\"tinymce\">"; echo $description; echo "</textarea>\n\n<p align=\"center\"><input type=\"submit\" name=\"submit\" value=\"Save Changes\" class=\"button\" /></p>\n\n</form>\n\n"; $aInt->richTextEditor(); } } $content = ob_get_contents(); ob_end_clean(); $aInt->content = $content; $aInt->jquerycode = $jquerycode; $aInt->jscode = $jscode; $aInt->display();