<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin_Banner.aspx.cs" Inherits="TW.UI.Admin.Admin_Banner" %>
<!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">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="css/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="../js/public.js"></script>
<script type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="../js/kindeditor/kindeditor-min.js"></script>
<script type="text/javascript" src="../js/artDialog/artDialog.js?skin=default"></script>
<script type="text/javascript" src="../js/artDialog/plugins/iframeTools.js"></script>
<script type="text/javascript">
    $(function () {
        var hidThumb = $("#hidThumb").val();
        if (hidThumb != "") {
            UpReturn(hidThumb, "hidThumb");
        }
    });
</script>
</head>
<body>

<form id="form1" runat="server">
<div class="nav"><h1>首页滚动图管理</h1></div>
<div class="cont">
    <table class="table2">
        <tr>
            <th>
                滚动图：
            </th>
            <td>
                建议尺寸：像素-720x320
                <br />
		        <asp:HiddenField ID="hidThumb" runat="server" />
		        <iframe src="/inc/upload.aspx?dir=image&input=hidThumb" id="Iframe1" width="96%" height="25" scrolling="no" frameborder="0" allowtransparency="true"></iframe>
		        <span id="hidThumb_Preview"></span>
            </td>
        </tr>
        <tr>
            <th>标题：</th>
            <td>
                <asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>
            </td>
        </tr>
        
        <tr>
            <th>链接地址：</th>
            <td>
                <asp:TextBox ID="txtUrl" runat="server" TextMode="MultiLine" Height="100" Width="200"></asp:TextBox>
            </td>
        </tr>

        <tr>
            <th></th>
            <td class="abtn"><asp:Button ID="btnAdd" runat="server" Text="提交" 
                    onclick="btnAdd_Click" /></td>
        </tr>
    </table>
</div>
</form>
</body>
</html>
