</script> <div class="content"> <div class="welcome"><h3>Welcome <?php echo $_SESSION['username']; ?> !</h3></div> <div> <form action="send_mail.php" method="post"> <table> <tr><td>Application Number:</td><td><input type="text" name="appno" id="appno"></td></tr> <tr><td>Letter type:</td><td><select name="lettertype" id="lettertype"> <?php $obj->docket(); $obj->letter_subject(); ?> </select></td></tr> <?php /*if($_POST) { $appno=$_POST['appno']; $lettertype=$_POST['lettertype']; $obj->show_letter($appno,$lettertype); echo'<tr><td>Subject</td><td><input type="text" name="subject" size="80px" value="'. $obj->sub.'"/></td></tr>'; echo '<tr><td valign="top">Letter Body</td><td><textarea name="letterbody" rows="30" cols="60">'. $obj->letterbody .'</textarea></td></tr>'; echo '<tr><td colspan="2" align="center"><input type="submit" value="Send Mail" id="submit"></td></tr>'; }*/ ?> <tr><td colspan="2" align="center"><input type="submit" value="submit" id="submit"></td></tr>