<%@ 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>控制面板 - 页面设置</title>
    <link href="General2.css" rel="stylesheet" type="text/css">
    <style type="text/css">
<!--
form{padding:0;margin:0}
fieldset{border:1px solid #669900}
legend{font-weight:bold;color:#000}
input{padding-top:2px;}
.sec_nav {color:#438b47;}
.sec_nav a{text-decoration:none;color:#438b47}
.sec_nav a:hover{text-decoration:underline;}
.form_border{border-left:1px solid #ACD373;border-right:1px solid #ACD373;background:#fff;}
.form_in{line-height:120%;}
.form_in th{background:#c5d7e2}
img {border:0px  }
-->
</style>

    <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>个人页面配置 </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">发表文章</a></font>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <fieldset>
                                                <legend>&nbsp;个人页面配置&nbsp;</legend>
                                                <div align="right">
                                                    您现在使用的是个人页面配置管理界面。<br>
                                                    在此页面，您可以对您发表首页公告和上传形像照片，以及首页标题。<br>
                                                    <br>
                                                </div>
                                            </fieldset>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="5">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                        </td>
                                        <tr>
                                            <td>
                                                <!-- 功能列表 -->
                                                <!-- /功能列表 -->
                                                <!-- 分类列表 -->
                                                <!-- /分类列表 -->
                                            </td>
                                        </tr>
                                </table>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                <table width="100%" border="0" cellpadding="3" cellspacing="2" bgcolor="#FFFFFF"
                                    class="black333333_red_noline">
                                    <tbody>
                                 
                                        <tr bgcolor="#EEF5E2">
                                            <td align="right">
                                                用户标题：
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtTitle" runat="server" Width="230px"></asp:TextBox></td>
                                            <td>
                                                显示在首页的标题</td>
                                        </tr>
                                        <tr bgcolor="#EEF5E2" id="trPic">
                                            <td align="right">
                                                形像照片：</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()
                     {
                     　　if(document.all['<%=chkUpdatePicture.ClientID %>'].checked)
                     　　{
                     　　// alert('选中');
                     　　 divUpFile.style.display="block";
                     　　// trPic.style.display="none";
                     　　}else
                     　　{
                     　　divUpFile.style.display="none";
                     　　//trPic.style.display="block";
                     　　 //alert('没选中');
                     　　}
                     }
                                            </script>

                                            <td>
                                                更改形像照片</td>
                                        </tr>
                                        <tr bgcolor="#EEF5E2" id="divUpFile" style="display: none">
                                            <td align="right">
                                                上传照片：</td>
                                            <td align="left">
                                                <input id="File1" name="file1" type="file" /></td>
                                            <td>
                                                上传形像照片
                                            </td>
                                        </tr>
                                        <tr bgcolor="#eef5e2" style="display: none">
                                            <td align="right">
                                                语言：</td>
                                            <td align="left">
                                                <asp:DropDownList ID="dropLanguages" runat="server">
                                                </asp:DropDownList></td>
                                            <td>
                                            </td>
                                        </tr>
                                        <tr bgcolor="#EEF5E2">
                                            <td align="right">
                                                博客说明：</td>
                                            <td align="left">
                                                <asp:TextBox ID="Description" runat="server" Columns="30" MaxLength="1000" EnableTheming="False"
                                                    Rows="4" TextMode="MultiLine"></asp:TextBox></td>
                                            <td>
                                                博客首页的简短说明</td>
                                        </tr>
                                        <tr bgcolor="#EEF5E2">
                                            <td align="right">
                                                &nbsp;</td>
                                            <td>
                                                <asp:Button ID="buttonUpdate" runat="server" Text="修改设置" OnClick="buttonUpdate_Click"
                                                    CssClass="smb_btn" />
                                                </td>
                                            <td>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td height="30" bgcolor="#E3F0D0" align="center">
                </td>
            </tr>
            <tr>
                <td>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="3">
                                <img src="images/O_angle_down_left.gif" width="3" height="3"></td>
                            <td height="3" background="images/O_angle_bottom.gif" width="100%">
                            </td>
                            <td width="3">
                                <img src="images/O_angle_down_right.gif" width="3" height="3"></td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
<asp:literal runat="server" ID="Message"></asp:literal>
