<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CAPicAdd.aspx.cs" Inherits="WstWeb.Admin.Basic.CAPicAdd" %>

<!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=utf-8" />
   <link rel="stylesheet" type="text/css" href="../css/style.css" />
   <script src="../Js/jquery-1.6.min.js" type="text/javascript"></script>
   <script src="../Js/easyui/jquery.easyui.min.js" type="text/javascript"></script>
   <script src="../Js/easyui/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script src="../Js/PublicComm.js" type="text/javascript"></script>
    <script src="../Js/WinFuns.js" type="text/javascript"></script>
    <script src="../Js/pageloader.js" type="text/javascript"></script>
    <script type="text/javascript">
        var AddBackAction = function(v_IsContinue) {
            var _from='<%=Request["from"]%>';
            if (v_IsContinue) {
                    location.href = 'ArticleAdd.aspx?timespan='+new Date().getTime();
                }
            else
            {
                 if(_from=='main')
                {
                    top.RunIFrameFuns("RefreshPage", false);
			        top.IndexCloseNewWindow();
                }
                else
                {
                   location.href = 'List.aspx';
                }
            }
        }
        var EditBackAction = function() {
			top.RunIFrameFuns("RefreshPage", false);
			top.IndexCloseNewWindow(); 
        }
        </script>
</head>
<body>
    <form id="form1" runat="server">
  <div class="ctright">
  <div class="formclum"></div>
  <div class="form">
<table class="table1" width="100%" border="1" cellspacing="0" cellpadding="0">
  <tbody>
<tr>
<td width="100" bgcolor="f1f7fc" ><span class="mag">
    位置名称<font color='red'>*</font>：</span>
</td>
<td>
<asp:TextBox ID="txtAdvName" Enabled="false" CssClass="inp1" runat="server" 
        MaxLength="200" Width="333px"></asp:TextBox>
</td>
</tr>
<tr>
<td bgcolor="f1f7fc"><span class="mag">
    广告名称<font color='red'>*</font>：</span>
</td>
<td>
<asp:TextBox ID="txtTitle" CssClass="inp1" runat="server" MaxLength="100" 
        Width="332px" Height="19px"></asp:TextBox>
</td>
</tr>
<tr>
<td bgcolor="f1f7fc"><span class="mag">
    图片地址<font color='red'>*</font>：</span>
</td>
<td>
<img src="../images/nopic.gif" id="imgPicurl" width="120"  height="100" runat="server" />
<br />
<asp:FileUpload ID="FileLoUrl" Width="290px" runat="server" />
    <asp:Button ID="Button1"
    runat="server" Text="点击上传" onclick="Button1_Click" />
</td>
</tr>
<tr>
<td bgcolor="f1f7fc"><span class="mag">
    链接地址<font color='red'>*</font>：</span>
</td>
<td>
<asp:TextBox ID="txtLinkurl" CssClass="inp1" runat="server" MaxLength="400" 
        Width="329px"></asp:TextBox>
</td>
</tr>
<tr>
<td bgcolor="f1f7fc"><span class="mag">
    宽度：</span>
</td>
<td>
<asp:TextBox ID="txtWidth" CssClass="inp1" runat="server" MaxLength="4" 
        Width="55px"></asp:TextBox>
</td>
</tr>
<tr>
<td bgcolor="f1f7fc"><span class="mag">
    高度：</span>
</td>
<td>
<asp:TextBox ID="txtHeight" CssClass="inp1" runat="server" MaxLength="4" 
        Width="56px"></asp:TextBox>
</td>
</tr>
<tr>
<td bgcolor="f1f7fc"><span class="mag">
    点击量：</span>
</td>
<td>
<asp:Label ID="txtHits" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td width="100" bgcolor="f1f7fc" ><span class="mag">
是否显示<font color='red'>*</font>：</span>
</td>
<td>
<asp:DropDownList ID="ddlIsShow"  CssClass="inp1" runat="server" Width="120">
<asp:ListItem Value="1" Text="显示"></asp:ListItem>
<asp:ListItem Value="0" Text="隐藏"></asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
  <td>&nbsp;</td>
  <td>
  
  <asp:Button ID="btnSave" runat="server" Text="" CssClass="button3" onclick="btnSave_Click"/>
  <asp:CheckBox ID="chkIsAddContiue" Text="是否继续" runat="server" /></td>
</tr>
</tbody>
</table>
  </div>
  </div>
<input type="hidden" id="hdnId" runat="server" />
<input type="hidden" id="hdnTypeId" runat="server" />
</form>
</body>
</html>
