<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="pg_NewsDetailsEdit.aspx.cs" Inherits="rl_admins_pg_NewsDetailsEdit" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" Runat="Server">
    <div class="contentDiv">
        <table border="0" cellpadding="0" cellspacing="0" >
            <tr id="Tr1">
                <td id="rightTableData" valign="top">
                    <div id="linksPanel" style="margin-right:15px; margin-top : 10px;">
                        <table id="tblpanel" border="0" cellpadding="0" cellspacing="0" style="width:200px;">
                            <tr>
                                <td id="panelheadright" class="panelheadright">
                                </td>
                                <td id="panelheadrepeat" class="panelheadrepeat" align="center" style="width:160px;">
                                    <asp:Label ID="lblpanelHead" runat="server" Text="منوی سایت" style="color:White; font-weight:bold; "></asp:Label>
                                </td>
                                <td id="panelheadleft" class="panelheadleft">
                                </td>
                            </tr>
                            <tr>
                                <td id="panelmarginright" class="panelmarginright">
                                </td>
                                <td valign="top" class="panelcontentback" style="background-image:none; background-color : White; "> <!-- ************ Content Place !-->
                                    <div class="panelcontent" style="margin-top:17px;">
                                        <asp:Panel ID="panelMenues" runat="server">
                                        </asp:Panel>
                                    </div>
                                </td>
                                <td id="panelmarginleft" class="panelmarginleft" align="left">
                                </td>
                            </tr>
                            <tr>
                                <td id="panelbottomright" class="panelbottomright" align="right" >
                                </td>
                                <td id="panelbottomrepeat" class="panelbottomrepeat" style="width:160px;">
                                </td>
                                <td id="panelbottomleft" class="panelbottomleft" align="left";>
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
                <td id="contentTableData" style="width:100%; text-align:right; padding-right : 10px;" align="right"; valign="top";>
                    <div class="contentDiv" style="text-align : right;">
                        <table id="Table1" border="0" cellpadding="0" cellspacing="0" style="margin-right:15px; margin-top : 10px; width:600px;  text-align:center;">
                            <tr>
                                <td id="Td2" class="panelheadright">
                                </td>
                                <td id="Td3" class="panelheadrepeat" align="center" style="width:560px;">
                                    <asp:Label ID="Label1" runat="server" Text="محتوای خبر" style="color:White; font-weight:bold; "></asp:Label>
                                </td>
                                <td id="Td4" class="panelheadleft">
                                </td>
                            </tr>
                            <tr>
                                <td id="Td5" class="panelmarginright">
                                </td>
                                <td valign="top" class="panelcontentback" > <!-- ************ Content Place !-->
                                    <div class="panelcontent" style="margin-top:17px;"> <!-- CONTENT COMES HERE : !-->
                                        <table border="0" cellpadding="0" cellspacing="5px">
                                            <tr style="height : 20px;">
                                                <td rowspan="7" align="right" valign="top">
                                                    <asp:Image ID="imgNewsPic" runat="server" Width="125px" Height="125px"/>
                                                </td>
                                                <td align="left" valign="top">
                                                    <asp:Label ID="label2" runat="server" Text="کد خبر :"></asp:Label>
                                                </td>
                                                <td align="right" valign="top">    
                                                    <asp:Label ID="lblNewsId" runat="server" Text=""></asp:Label>
                                                </td>
                                            </tr>
                                            <tr  style="height : 20px;">
                                                <td align="left" valign="top">
                                                    <asp:Label ID="label6" runat="server" Text="تعداد بازدید ها :"></asp:Label>
                                                </td>
                                                <td align="right" valign="top">
                                                    <asp:Label ID="lblNumOfVisits" runat="server" Text=""></asp:Label>
                                                </td>
                                            </tr>
                                            <tr  style="height : 20px;">
                                                <td align="left" valign="top">
                                                    <asp:Label ID="label4" runat="server" Text="آخرین ویرایش :"></asp:Label>
                                                </td>
                                                <td align="right" valign="top">
                                                    <asp:Label ID="lblLastEdit" runat="server" Text=""></asp:Label>
                                                </td>
                                            </tr>
                                            <tr  style="height : 20px;">
                                                <td align="left" valign="top">
                                                    <asp:Label ID="label3" runat="server" Text="تاریخ خبر :"></asp:Label>    
                                                </td>
                                                <td align="right" valign="top">
                                                    <asp:TextBox ID="tbNewsDate" runat="server" Font-Names="Tahoma" Font-Size="9pt" Width="200px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr  style="height : 20px;">
                                                <td align="left" valign="top">
                                                    <asp:Label ID="label5" runat="server" Text="عنوان خبر :"></asp:Label>    
                                                </td>
                                                <td align="right" valign="top">
                                                    <asp:TextBox ID="tbSubject" runat="server" Font-Names="Tahoma" Font-Size="9pt" Width="200px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr  style="height : 20px;">
                                                <td align="left" valign="top">
                                                    <asp:Label ID="label7" runat="server" Text="تصویر خبر : "></asp:Label>    
                                                </td>
                                                <td align="right" valign="top">
                                                    <asp:FileUpload ID="FileUpload1" runat="server" Width="200px"/>
                                                </td>
                                            </tr>
                                            <tr  style="height : 20px;">
                                                <td align="left" valign="top">
                                                    <asp:Label ID="label8" runat="server" Text="متن خبر :"></asp:Label>    
                                                </td>
                                                <td align="right" valign="top">
                                                    <asp:TextBox ID="tbContext" runat="server" Font-Names="Tahoma" Font-Size="9pt" Width="200px" TextMode="MultiLine" Height="200px" style="text-align:justify;"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr  style="height : 20px;">
                                                <td align="left" valign="top" colspan="3">
                                                    <asp:CheckBox ID="chShowInList" runat="server" Text="نمایش در لیست اخبار" Checked="true" />    
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </td>
                                <td id="Td6" class="panelmarginleft" align="left">
                                </td>
                            </tr>
                            <tr>
                                <td id="Td7" class="panelbottomright" align="right" >
                                </td>
                                <td id="Td8" class="panelbottomrepeat" style="width:560px;">
                                </td>
                                <td id="Td9" class="panelbottomleft" align="left";>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" colspan="3">
                                    <div id="footButtonAndLabel" style="text-align:center; margin-top : 10px;">
                                        <asp:LinkButton ID="btnOk" runat="server" Height="25px" 
                                                Width="100px" CssClass="buttons" onclick="btnOk_Click" >تأیید</asp:LinkButton>
                                                <asp:LinkButton ID="btnBack" runat="server"  Height="35px" style="position:relative; right:200px;"
                                                    Width="70px" CssClass="backbutton" onclick="btnBack_Click" ></asp:LinkButton><br />
                                        <asp:Label ID="lblMessage" runat="server" Text=""></asp:Label>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>

