<%@ page language="C#" autoeventwireup="true" inherits="admin_field_setfieldimage, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<!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 id="CssName" rel="stylesheet" type="text/css" runat="server" />

    <script src="../../js/Common.js" type="text/javascript"></script>

    <script src="../../js/Color.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <table class="dh" cellpadding="0" cellspacing="0" border="0" align="center">
        <tr>
            <td>
                <asp:Image ID="P_Go" runat="server" ImageAlign="AbsMiddle" />
                您现在的位置：<a href="../info.aspx">后台管理</a> >> <a href="fieldimagelist.aspx">字段输出图片方案列表</a>
                >> 设置字段输出图片方案
            </td>
        </tr>
    </table>
    <table class="border" cellspacing="1" cellpadding="0" width="99%" border="0" align="center">
        <tr>
            <td class="bqleft">
                方案名称：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtName" runat="server" Columns="40" CssClass="in1"></asp:TextBox>
                如：电话号码图片
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                单个字符宽度：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtWidth" runat="server" Columns="20" CssClass="in1" Text="16"></asp:TextBox>
                如：16
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                单个字符高度：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtHeight" runat="server" Columns="20" CssClass="in1" Text="22"></asp:TextBox>
                如：22
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                画布背景颜色：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtBgColor" runat="server" Width="80px"
                    onclick="rcolor(this,true)" title="选取颜色!" CssClass="in1" Text="#ffffff"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                字符字体：
            </td>
            <td class="bqright">
                <asp:DropDownList ID="dropFontName" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                字符颜色：
            </td>
            <td class="bqright"><asp:RadioButtonList ID="radioRandomColor" runat="server" RepeatDirection="Horizontal" onclick="RadioShow('radioRandomColor','divFontColor')">
                    <asp:ListItem Value="True" Selected="True">随机颜色</asp:ListItem>
                    <asp:ListItem Value="False">指定颜色</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr style="display:none" id="divFontColor" runat="server">
            <td class="bqleft">
                指定颜色：
            </td>
            <td class="bqright"><asp:TextBox ID="txtFontColor" runat="server" Width="80px"
                    onclick="rcolor(this,true)" title="选取颜色!" CssClass="in1" Text="#990000"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                加粗字符：
            </td>
            <td class="bqright">
                <asp:RadioButtonList ID="IsBold" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="True" Selected="True">加粗</asp:ListItem>
                    <asp:ListItem Value="False">常规</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                字体大小：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtFontSize" runat="server" Columns="10" CssClass="in1" Text="12"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                字符位置：
            </td>
            <td class="bqright">
                <asp:RadioButtonList ID="radioFontXY" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="0" Selected="True">随机</asp:ListItem>
                    <asp:ListItem Value="1">靠上</asp:ListItem>
                    <asp:ListItem Value="2">居中</asp:ListItem>
                    <asp:ListItem Value="3">靠下</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                是否需要噪音线：
            </td>
            <td class="bqright"><asp:RadioButtonList ID="RadioPen" runat="server" RepeatDirection="Horizontal" onclick="RadioShow('RadioPen','divPenNum')">
                    <asp:ListItem Value="False" Selected="True">不需要</asp:ListItem>
                    <asp:ListItem Value="True">需要</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr style="display:none" id="divPenNum" runat="server">
            <td class="bqleft">
                噪音线条数：
            </td>
            <td class="bqright">
                <asp:DropDownList ID="dropPenNum" runat="server">
                </asp:DropDownList> 条
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                是否需要边框线：
            </td>
            <td class="bqright"><asp:RadioButtonList ID="radioBorder" runat="server" RepeatDirection="Horizontal" onclick="RadioShow('radioBorder','divBorder')">
                    <asp:ListItem Value="False" Selected="True">不需要</asp:ListItem>
                    <asp:ListItem Value="True">需要</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr style="display:none" id="divBorder" runat="server">
            <td class="bqleft">
                边框线颜色：
            </td>
            <td class="bqright">
               <asp:TextBox ID="txtBorderColor" runat="server" Width="80px"
                    onclick="rcolor(this,true)" title="选取颜色!" CssClass="in1" Text="#990000"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
            </td>
            <td class="bqright" height="40">
                <asp:Button ID="Button1" runat="server" Text=" 确认 " CssClass="btn radius30 pad_0_30" OnClick="Button1_Click" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
