<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PageSet.aspx.cs" Inherits="Admin_PageSet" %>

<%@ Import Namespace="Spaces" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title><%=Globals.Text["PageSet_Title"]%></title>
    <link href="Admin.css" rel="stylesheet" type="text/css">
　

    <script src="<%=Globals.ApplicationPath %>/Include/js/dialog.js" type="text/javascript"></script>

    <script src="<%=Globals.ApplicationPath %>/Include/js/base.js" type="text/javascript"></script>

</head>
<body>
    <form id="formbill" runat="server" method="post"  enctype="multipart/form-data">
        <table width="640" border="0" align="center" cellpadding="0" cellspacing="0" class="black333333_red_noline">
            <tr>
                <td>&nbsp;
                    
                </td>
            </tr>
            <tr>
                <td>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="3" height="3">
                                <img src="img/O_angle_up_left.gif" width="3" height="3"></td>
                            <td bgcolor="#ACD373" width="100%">
                            </td>
                            <td width="3">
                                <img src="img/O_angle_up_right.gif" width="3" height="3"></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td bgcolor="#acd373" height="30">
                    &nbsp;&nbsp;&nbsp;&nbsp;<font color="#ffffff"><b><%=Globals.Text["PageSet_SetProfile"]%> </b></font>
                </td>
            </tr>
            <tr>
                <td class="form_border">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="20">&nbsp;
                                </td>
                            <td>&nbsp;
                                </td>
                            <td width="20">&nbsp;
                                </td>
                        </tr>
                        <tr>
                            <td>&nbsp;
                                </td>
                            <td>
                                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="black333333_red_noline">
                                    <tr>
                                        <td align="right">
                                            <font color="#FF6600"><a href="editPost.aspx"><%=Globals.Text["PageSet_PublishArtical"]%></a></font>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <fieldset>
                                                <legend>&nbsp;<%=Globals.Text["PageSet_SetProfile"]%>&nbsp;</legend>
                                                <div align="right">
                                                   <%=Globals.Text["PageSet_HomeInterface"]%><br>
                                                    <%=Globals.Text["PageSet_HomeManage"]%><br>
                                                    <br>
                                                </div>
                                            </fieldset>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="5">
                                        </td>
                                    </tr>
                                        <tr>
                                            <td>
                                                <!-- 功能列表 -->
                                                <!-- /功能列表 -->
                                                <!-- 分类列表 -->
                                                <!-- /分类列表 -->
                                            </td>
                                        </tr>
                                </table>
                            </td>
                            <td>&nbsp;
                                </td>
                        </tr>
                        <tr>
                            <td>&nbsp;
                          </td>
                          <td>
                                <table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF"
                                    class="black333333_red_noline">
                                    <tbody>
                                  <tr>
                <td colspan="3" align="center" bgcolor="#669900">&nbsp;</td>
            </tr>
                                        <tr bgcolor="#EEF5E2">
                                            <td align="right">
                                                <%=Globals.Text["PageSet_userTitle"]%>                                            </td>
                                            <td align="left">
                                                <asp:TextBox CssClass="input" ID="txtTitle" runat="server" Width="230px"></asp:TextBox></td>
                                            <td>
                                                <%=Globals.Text["PageSet_HomeTitle"]%></td>
                                        </tr>
                                        <tr bgcolor="#EEF5E2" id="trPic">
                                            <td align="right">
                                                <%=Globals.Text["PageSet_ProfilePicture"]%></td>
                                            <td align="left">
                                              <table>
                                <tr>
                                    <td align="center" style='padding: 1px; border-top: 1px solid #DCDCDC; border-left: 1px solid #DCDCDC; border-right: 2px solid #ACACAC; border-bottom: 2px solid #ACACAC'>
                                        <asp:Image ID="Picture" runat="server" AlternateText="首页形像照片" ImageAlign="Middle" Width="150"  /></td>
                                </tr>
                            </table>                                          </td>
                                            <td>
                                                150*150 </td>
                                        </tr>
                                        <tr bgcolor="#EEF5E2">
                                            <td align="right">                                            </td>
                                          <td align="left">
                                                <asp:CheckBox ID="chkUpdatePicture" runat="server" Text="更改上传形像照片" onclick="chkUpload();" /></td>

                                            <script>
                     function chkUpload()
                     {
                         var divUP=document.getElementById('divUpFile');
                     　　if(document.getElementById('<%=chkUpdatePicture.ClientID %>').checked)
                     　　{
                  
                     　　 divUP.style.display="";
               
                     　　}else
                     　　{
                     　　divUP.style.display="none";
                      
                     　　}
                     }
                                            </script>

                                            <td>
                                                <%=Globals.Text["PageSet_UploadPicture"]%></td>
                                        </tr>
                                        <tr bgcolor="#EEF5E2" id="divUpFile" style="display: none">
                                            <td align="right">
                                                <%=Globals.Text["PageSet_UploadPicture"]%></td>
                                            <td align="left">
                                                <input name="file1" type="file" class="input" id="File1" /></td>
                                            <td align="left">
                                                <%=Globals.Text["PageSet_UploadTitle"]%>                                            
                                                </td>
                                        </tr>
                                        <tr bgcolor="#eef5e2"  >
                                            <td align="right"><%=Globals.Text["PageSet_OptionsLanguage"]%>                                            </td>
                                            <td align="left">
                                                <asp:DropDownList CssClass="input" ID="dropLanguages" runat="server">                                                </asp:DropDownList></td>
                                            <td>                                            </td>
                                        </tr>
                                        <tr bgcolor="#EEF5E2">
                                            <td align="right">
                                               <%=Globals.Text["PageSet_BLOGDiscribe"]%></td>
                                            <td align="left">
                                                <asp:TextBox Columns="45" CssClass="input" ID="Description" MaxLength="1000"
                                                    Rows="4" runat="server" TextMode="MultiLine" EnableTheming="False"></asp:TextBox></td>
                                            <td>
                                                <%=Globals.Text["PageSet_BLOGDiscribe"]%></td>
                                        </tr>
                                        <tr bgcolor="#EEF5E2">
                                            <td align="right">&nbsp;                                          </td>
                                            <td>
                                                <asp:Button ID="buttonUpdate" runat="server" Text="修改设置" OnClick="buttonUpdate_Click"
                                                    CssClass="input" /></td>
                                            <td>                                            </td>
                                        </tr>
                                        <tr >
                                          <td align="right">&nbsp;</td>
                                          <td >&nbsp;</td>
                                          <td ></td>
                                        </tr>
                                    </tbody>
                            </table>
                          </td>
                            <td><br />
                              <br />                                </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td height="30" bgcolor="#E3F0D0" align="center">
                </td>
            </tr>
        
        </table>
    </form>
</body>
</html>
<asp:literal runat="server" ID="Message"></asp:literal>
