echo formatFromSQLDatetime($attachmentrecord["creationdate"]); ?> </td> <td> <button class="graphicButtons buttonEdit" type="button" onclick="document.location='<?php echo APP_PATH . $attachmentrecord["editfile"] . "?id=" . $attachmentrecord["recordid"]; ?> '"><span>edit</span></button> </td> </tr> <?php } ?> </table></div></div><?php } } ?> <?php $theform->showCustomFields($db, $thetable->customFieldsQueryResult); ?> </div> <?php $theform->showGeneralInfo($phpbms, $therecord); $theform->endForm(); ?> </div> <?php include "footer.php";