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

<!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 rel="Stylesheet" href="Admin.css" type="text/css" />
    <script type="text/javascript" src="Admin.js"></script>
    <script type="text/javascript">
        function TuPianLeiXing(S_H)
        {
            if(S_H)
            {
                document.getElementById("TR_TuPianWenJian").style.display='block';
                document.getElementById("TR_TuPianDiZhi").style.display='none';
            }
            else
            {
                document.getElementById("TR_TuPianWenJian").style.display='none';
                document.getElementById("TR_TuPianDiZhi").style.display='block';
            }
        }
    </script>
</head>
<body>
<form method="post" action="XuanZheTuPian.aspx?l=upload&b=<%=标识 %>" enctype="multipart/form-data">
    <table class="tab1" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <table class="tab2" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="tab2_bt">
                            上传/获取图片
                        </td>
                    </tr>
                    <tr>
                        <td>
                <table class="tab3" border="0" cellpadding="0" cellspacing="1" style="width:100%">
                    <tr>
                        <td style="width:200px">
                            <span class="text_bt">&nbsp; &nbsp; 方式：</span></td>
                        <td>
                            &nbsp; &nbsp;&nbsp;
                            <input type="radio" name="FangShi" value="true" onclick="TuPianLeiXing(true)" checked="checked" id="FangShi_T" /><label for="FangShi_T">上传</label>
                            <input type="radio" name="FangShi" value="false" onclick="TuPianLeiXing(false)" id="FangShi_F" /><label for="FangShi_F">远程获取</label>
                            &nbsp;<span class="text_pt">获取图片的方式</span>
                            </td>
                    </tr>
                    <tr id="TR_TuPianWenJian">
                        <td style="width: 200px">
                            &nbsp; &nbsp; 图片文件：</td>
                        <td>
                            &nbsp; &nbsp;&nbsp;<input type="file" name="f1" />
                        </td>
                    </tr>
                    <tr id="TR_TuPianDiZhi" style="display:none">
                        <td style="width: 200px">
                            &nbsp; &nbsp; 图片地址：
                        </td>
                        <td>
                            &nbsp; &nbsp; <input type="text" name="TuPianDiZhi" value="http://" style="width:250px" />
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 200px">
                        </td>
                        <td>
                            <input type="submit" name="submit" value="提交" />&nbsp;&nbsp;<input type="submit" name="submit" value="提交(增加水印)" />
                        </td>
                    </tr>
                </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table></form>&nbsp;
    <form id="form1" runat="server">
    <div>
        <table class="tab1" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <table class="tab2" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="tab2_bt">
                                选择图片
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="TuPianLieBiao" runat="server" Text="Label"></asp:Label></td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <asp:Label ID="CaoZuoDaiMa" runat="server"></asp:Label>
    </div>
    </form>
    <div style="height:5px"></div>
        <form method="get" action="XuanZheTuPian.aspx">
        <asp:Panel ID="Panel1" runat="server" Style="text-align: right" Width="100%">
            <asp:Label ID="FenYeDaiMa" runat="server" Text="Label"></asp:Label></asp:Panel></form>
</body>
</html>
