<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<table cellspacing="0" border="0">
    <tr>
        <td></td>
    </tr>
</table>
<p>
    <table class="tableBorder" cellspacing="1" cellpadding="3" width="100%">
        <tr>
            <td class="column" align="left" height="25">
                <asp:Label id="PostTitle" runat="server" />
            </td>
        </tr>
        <span id="Preview" runat="server" visible="false">
            <tr>
                <td class="f">
                    <table cellspacing="1" cellpadding="3" width="100%" border="0">
                        <tr>
                            <td class="fh" valign="top" align="left">
                                <asp:label id="PreviewSubject" runat="server"></asp:label>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" align="left">
                                <asp:label id="PreviewBody" runat="server"></asp:label>
                            </td>
                        </tr>
                        <tr>
                            <td>&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" align="left">
                                <asp:button id="BackButton" Runat="server" Text=" < Edit "></asp:button>&nbsp;
                                <asp:button id="PreviewPostButton" Runat="server" Text=" Post "></asp:button></td>
                        </tr>
                        <tr>
                            <td>&nbsp;
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </span>
        <span id="Post" runat="server" visible="true">
            <tr>
                <td class="f">
                    <table cellspacing="1" cellpadding="3">
                        <tr>
                            <td valign="top" nowrap="true" align="right" class="txt3">To:</td>
                            <td valign="top" align="left" colspan="2" class="txt3"><asp:Label id="To" runat="server" /></td>
                        </tr>
                        <tr>
                            <td nowrap="true" valign="center" align="right" class="txt3">Subject: </td>
                            <td valign="top" align="left" class="txt2"><asp:textbox autocomplete="off" id="PostSubject" runat="server" columns="75"></asp:textbox></td>
                            <td><asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" Cssclass="validationWarningSmall" ErrorMessage="RequiredFieldValidator" ControlToValidate="PostSubject">Subject required.</asp:requiredfieldvalidator></td>
                        </tr>
                        <tr>
                            <td valign="top" nowrap="true" align="right" class="txt3">Message: </td>
                            <td valign="top" align="left"><CS:Editor id="PostBody" runat="server" /></td>
                            <td valign="top"><asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" Cssclass="validationWarningSmall" ErrorMessage="RequiredFieldValidator" ControlToValidate="PostBody" EnableClientScript="False">You must supply a message.</asp:requiredfieldvalidator></td>
                        </tr>
 
                        <tr>
                            <td valign="top" align="right" colspan="2"><asp:button CausesValidation="false" id="Cancel" Runat="server" Text=" Cancel "></asp:button>&nbsp;
                                <asp:button id="PreviewButton" Runat="server" Text=" Preview > "></asp:button></td>
                        </tr>
                        <tr>
                            <td valign="top" align="right" colspan="2">
                                <asp:button id="PostButton" Runat="server" Text=" Post "></asp:button></td>
                        </tr>
                    </table>
                </td>
            </tr>
        </span>
    </table>
</p>
<p>
    <table cellspacing="0" border="0">
        <tr>
            <td></td>
        </tr>
    </table>
