<%@ page language="C#" autoeventwireup="true" inherits="Admin_AdvManage_EditAdv, App_Web_flgh_k7x" enableEventValidation="false" theme="theme1" stylesheettheme="theme1" %>

<!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 id="Head1" runat="server">
    <title>PassionCMS2</title>

    <script language="javascript" src="../PageType/JScript.js" type="text/javascript"></script>

</head>
<body bgcolor="#DBEAF5">
    <form id="form1" runat="server">
        <div align="center">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td background="../images/Top_line_3.gif" height="2">
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%" id="Table4" style="background-color: #3390C6;">
                            <tr>
                                <td height="27" width="20">
                                </td>
                                <td width="80" align="center">
                                    <a href="AdvList.aspx" class='menu_title'>广告列表</a>
                                </td>
                                <td width="80" align="center" background='../images/Menu_selected_bg.gif'>
                                    <a href="addAdv.aspx">修改广告</a>
                                </td>
                                <td>
                                    &nbsp;</td>
                                <td width="10">
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td background="../images/Sub_menu_bg.gif" height="24">
                        <table class="O" cellspacing="0" cellpadding="0" width="100%" border="0" id="Table6">
                            <tbody>
                                <tr>
                                    <td width="20">
                                        &nbsp;</td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td height="10">
                    </td>
                </tr>
            </table>
            <table cellspacing="1" cellpadding="0" width="90%" bgcolor="#3a6ea5" border="0" align="center"
                id="Table8">
                <tbody>
                    <tr>
                        <td bgcolor="#ffffff">
                            <table cellspacing="0" cellpadding="0" width="90%" align="center" border="0" id="Table10">
                                <tbody>
                                    <tr>
                                        <td>
                                            <table cellspacing="0" cellpadding="0" width="180" align="left" border="0" id="Table11">
                                                <tr height="10">
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <img height="0" src="" width="6" /></td>
                                                    <td width="5">
                                                        <img height="26" src="../images/t_01.gif" width="5" /></td>
                                                    <td align="center" bgcolor="#3a6ea5">
                                                        <span class="menu_02"><strong>广告管理</strong></span></td>
                                                    <td width="5">
                                                        <img height="26" src="../images/t_02.gif" width="5" /></td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="1" bgcolor="#3a6ea5">
                                            <img src="" height="1" /></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <table cellspacing="1" cellpadding="0" height="100%" width="100%" bgcolor="#3a6ea5"
                                                border="0" id="Table12">
                                                <tbody>
                                                    <tr>
                                                        <td valign="top" align="center" bgcolor="#ffffff" style="height: 100%">
                                                            <table height="3" cellspacing="0" cellpadding="0" width="100%" align="center" border="0"
                                                                id="Table13">
                                                                <tr>
                                                                    <td bgcolor="#c4d3e4">
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <table height="70" cellspacing="0" cellpadding="0" width="100%" align="center" border="0"
                                                                id="Table14">
                                                                <tbody>
                                                                    <tr>
                                                                        <td align="center" width="50">
                                                                            <p>
                                                                                <img height="21" src="../images/ico_002.gif" width="17" /></p>
                                                                        </td>
                                                                        <td align="left">
                                                                            您可以在这里修改图片以及其相关内容。<br>
                                                                            [小提示] 图片尺寸不要过大，以免页面变形！
                                                                        </td>
                                                                    </tr>
                                                                </tbody>
                                                            </table>
                                                            <table height="3" cellspacing="0" cellpadding="0" width="100%" bgcolor="#f0f4f8"
                                                                border="0" id="Table15">
                                                                <tbody>
                                                                    <tr>
                                                                        <td>
                                                                        </td>
                                                                    </tr>
                                                                </tbody>
                                                            </table>
                                                            <table border="0" cellpadding="0" cellspacing="0" width="98%" id="Table20" align="center"
                                                                bgcolor="#f7f8fc">
                                                                <tr>
                                                                    <td align="right" style="width: 69px">
                                                                        广告标题：
                                                                    </td>
                                                                    <td align="left">
                                                                        <asp:TextBox ID="txtTitle" runat="server" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator
                                                                            ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtTitle" ErrorMessage="请填写广告标题" />
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="right" style="width: 69px">
                                                                        广告图片：
                                                                    </td>
                                                                    <td align="left">
                                                                        <asp:TextBox ID="txtPic" runat="server"></asp:TextBox>
                                                                        &nbsp;
                                                                        <input type="button" value="选择" onclick="GetPath('form1','txtPic','1','pic');" />
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="right" style="width: 69px">
                                                                        预览：
                                                                    </td>
                                                                    <td align="left" style="height: 220px;">
                                                                        <div id="pic">
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="right" style="width: 69px">
                                                                        广告地址：
                                                                    </td>
                                                                    <td align="left">
                                                                        <asp:TextBox ID="txtUrl" runat="server" MaxLength="50"></asp:TextBox>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="right" style="width: 69px">
                                                                        广告参数：
                                                                    </td>
                                                                    <td align="left">
                                                                        <asp:CheckBox ID="chkIsHidden" runat="server" Text="隐藏" />
                                                                        &nbsp;
                                                                        <asp:CheckBox ID="chkIsTop" runat="server" Text="顶部广告" />
                                                                        &nbsp;
                                                                        <asp:CheckBox ID="chkIsLeft" runat="Server" Text="左边广告" />
                                                                        &nbsp;
                                                                        <asp:CheckBox ID="chkIsRight" runat="server" Text="右边广告" />
                                                                        &nbsp;
                                                                        <asp:CheckBox ID="chkIsFloat" runat="server" Text="浮动广告" />
                                                                        &nbsp;
                                                                        <asp:CheckBox ID="chkIsPop" runat="server" Text="弹出广告" />
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td style="height: 100%;">
                                                                        &nbsp;
                                                                    </td>
                                                                    <td>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr height="3">
                                    </tr>
                                    <tr>
                                        <td colspan="5" align="right">
                                            <asp:Button ID="Button1" runat="server" Text="提交" OnClick="Button1_Click" />
                                            <input type="reset" name="b2" value="重填" />
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </form>
</body>
</html>
