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

<!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 runat="server">
    <title>无标题页</title>
    <link href="../../SYSadmin/css/neiye.css" rel="stylesheet" type="text/css" />
    <link href="../../SYSadmin/css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="tright">
	<li><a href="#">基础广告</a></li>

</div>
     <form id="form1" runat="server">
    <div>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td align="center">
                    <table border="0" cellpadding="0" cellspacing="0" width="98%">
                        <tr>
                            <td align="right" style="height: 30px">
                                <asp:LinkButton ID="LinkButton1" runat="server" CssClass="btn" Visible="False">提交</asp:LinkButton>
                                &nbsp;&nbsp;
                                <asp:LinkButton ID="LinkButton3" runat="server" CssClass="btn" OnClick="LinkButton1_Click">添加</asp:LinkButton>
                                <asp:LinkButton ID="LinkButton4" runat="server" CssClass="btn" PostBackUrl="~/SYSadmin/news/BaseAdvertisement.aspx">返回</asp:LinkButton></td>
                        </tr>
                    </table>
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <caption>
                        </caption>
                        <tr>
                            <td align="right" style="width: 162px">
                                广告位：</td>
                            <td align="left">
                                <asp:TextBox ID="subject" runat="server" CssClass="input1" Width="250px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 162px">
                                提示标题：</td>
                            <td align="left">
                                <asp:TextBox ID="alt" runat="server" CssClass="input1" Width="250px"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                    ID="RequiredFieldValidator22" runat="server" ControlToValidate="alt" Display="Dynamic"
                                    ErrorMessage="* 不能为空"></asp:RequiredFieldValidator>
                                (停留在文字链接时上显示文本)</td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 162px; height: 29px;">
                                图片/Flash：</td>
                            <td align="left" style="height: 29px">
                                <asp:FileUpload ID="img1" runat="server" CssClass="input1" Height="26px" Width="257px" />&nbsp;
                                (链接图片
                                <asp:Label ID="Label1" runat="server" ForeColor="Red" Text="如果不更改当前图片,可保留空." Visible="False"></asp:Label>)</td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 162px; height: 20px">
                                链接指向：</td>
                            <td align="left" style="height: 20px">
                                <asp:TextBox ID="href" runat="server" CssClass="input1" Width="250px">#</asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                    ID="RequiredFieldValidator1" runat="server" ControlToValidate="href" Display="Dynamic"
                                    ErrorMessage="* 不能为空"></asp:RequiredFieldValidator>
                                (链入哪个网站 如:http://www.wto168.com)</td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 162px; height: 20px">
                                说明：</td>
                            <td align="left" style="height: 20px">
                                <asp:TextBox ID="cd" runat="server" CssClass="input1" Height="87px" TextMode="MultiLine"
                                    Width="343px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 162px;" valign="top">
                                <asp:Label ID="Label2" runat="server" Text="现在广告为：" Visible="False"></asp:Label></td>
                            <td align="left" style="height: 20px">
                                <asp:Panel ID="Panel1" runat="server" Visible="False" Height="200px">
                                <asp:Image ID="Image1" runat="server" Visible="False" /></asp:Panel>
                                <asp:Panel ID="Panel2" runat="server" Visible="False" Height="232px">
                                    <div style="z-index: -1">
                                        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" style="width: 585px; height: 126px"
                                            >
                                            <param name="movie" value='<%# adurl%>' />
                                            <param name="quality" value="high" />
                                            <embed  pluginspage="http://www.macromedia.com/go/getflashplayer"
                                                quality="high" src='<%# adurl%>' type="application/x-shockwave-flash" ></embed></object></div>
                                </asp:Panel>
                            </td>
                        </tr>
                    </table>
                    </td>
            </tr>
            <tr>
                <td align="center" style="height: 20px">
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
