<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit.aspx.cs" Inherits="CuzcmsCcwl.admin.picture.edit" %>

<!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>编辑类别信息</title>
    <script type="text/javascript" src="../../scripts/jquery/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../../scripts/jquery/jquery.form.js"></script>
    <link href="/admin/images/style.css" rel="stylesheet" type="text/css" />
    <script src="/admin/js/function.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div class="navigation">
            <a href="javascript:history.go(-1);" class="back">后退</a>
            <h3>
                【网站首页图片列表修改】</h3>
        </div>
        <div id="contentTab">
            <div class="tab_con" style="display: block;">
                <table class="form_table">
                    <col width="180px" />
                    <tbody>
                        <tr>
                            <th>
                                标题文字说明：
                            </th>
                            <td>
                                <asp:TextBox ID="txtTitle" runat="server" CssClass="txtInput required" MaxLength="100"
                                    Style="width: 350px;" />
                            </td>
                        </tr>
                        <asp:TextBox ID="txtUrl" runat="server" Visible="false" Text="#" CssClass="txtInput"
                            MaxLength="100" Style="width: 350px;" />
                        <%-- <tr>
                            <th>
                                图片连接地址：
                            </th>
                            <td>
                              
                            </td>
                        </tr>--%>
                        <tr>
                            <th>
                                图片预览：
                            </th>
                            <td>
                                <asp:Image ID="previewImg" runat="server" Width="180px" Height="200px" ImageUrl="" />
                            </td>
                        </tr>
                        <tr>
                            <th>
                                显示图片：
                            </th>
                            <td>
                                <asp:TextBox ID="txtImgUrl" runat="server" CssClass="txtInput normal left" MaxLength="255"></asp:TextBox>
                                <a href="javascript:;" class="files">
                                    <input type="file" id="FileUpload1" name="FileUpload" onchange="Upload('SingleFile', 'txtImgUrl', 'FileUpload', 'previewImg', 0, '../../../');" /></a>
                                <span class="uploading">正在上传，请稍候...</span>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <asp:HiddenField ID="Hid" runat="server" />
            <div class="foot_btn_box">
                <asp:Button ID="btnSubmit" runat="server" Text="提交保存" CssClass="btnSubmit" OnClick="btnSubmit_Click" />
                &nbsp;<input name="重置" type="reset" class="btnSubmit" value="重 置" />
            </div>
        </div>
    </div>
    </form>
</body>
</html>
