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

<!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">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>添加系统标签</title>
<link rel="stylesheet" href="../../skin/Style.css" type="text/css" />
 <script type="text/javascript">    
//** iframe自动适应页面 **//    
   
//输入你希望根据页面高度自动调整高度的iframe的名称的列表    
//用逗号把每个iframe的ID分隔. 例如: ["myframe1", "myframe2"]，可以只有一个窗体，则不用逗号。    
   
//定义iframe的ID    
var iframeids=["MzMain"]    
   
//如果用户的浏览器不支持iframe是否将iframe隐藏 yes 表示隐藏，no表示不隐藏    
var iframehide="yes"   
   
function dyniframesize()     
{    
var dyniframe=new Array()    
for (i=0; i<iframeids.length; i++)    
{    
if (document.getElementById)    
{    
//自动调整iframe高度    
dyniframe[dyniframe.length] = document.getElementById(iframeids[i]);    
if (dyniframe[i] && !window.opera)    
{    
dyniframe[i].style.display="block"   
if (dyniframe[i].contentDocument && dyniframe[i].contentDocument.body.offsetHeight) //如果用户的浏览器是NetScape    
dyniframe[i].height = dyniframe[i].contentDocument.body.offsetHeight;     
else if (dyniframe[i].Document && dyniframe[i].Document.body.scrollHeight) //如果用户的浏览器是IE    
dyniframe[i].height = dyniframe[i].Document.body.scrollHeight;    
}    
}    
//根据设定的参数来处理不支持iframe的浏览器的显示问题    
if ((document.all  document.getElementById) && iframehide=="no")    
{    
var tempobj=document.all? document.all[iframeids[i]] : document.getElementById(iframeids[i])    
tempobj.style.display="block"   
}    
}    
}    
   
if (window.addEventListener)    
window.addEventListener("load", dyniframesize, false)    
else if (window.attachEvent)    
window.attachEvent("onload", dyniframesize)    
else   
window.onload=dyniframesize    
</script>  

</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table border="0" cellpadding="0" cellspacing="0" class="talbe_list">
                <tr>
                    <td width="12%" class="left4">
                        标签名称：</td>
                    <td class="left2">
                        {SY_<asp:TextBox ID="txtEngLishName" runat="server"></asp:TextBox>}</td>
                </tr>
                <tr>
                    <td width="12%" class="left4">
                        标签中文名称：</td>
                    <td class="left2">
                        <asp:TextBox ID="txtChineseName" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td width="12%" class="left4">
                        所属栏目：</td>
                    <td class="left2">
                        &nbsp;<asp:DropDownList ID="dropLableType" runat="server">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td width="12%" class="left4">
                        显示条数：</td>
                    <td class="left2">
                        <asp:TextBox ID="txtNum" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td width="12%" class="left4">
                        每行的条数：</td>
                    <td class="left2">
                        <asp:TextBox ID="txtRowsNum" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td width="12%" class="left4">
                        信息类型：</td>
                    <td class="left2"><asp:DropDownList ID="dropWhichType" runat="server" Width="74px">
                        <asp:ListItem Value="0">供应</asp:ListItem>
                        <asp:ListItem Value="1">求购</asp:ListItem>
                    </asp:DropDownList></td>
                </tr>
                <tr>
                    <td width="12%" class="left4" style="height: 21px">
                        图片宽度：</td>
                    <td class="left2" style="height: 21px">
                        <asp:TextBox ID="txtPicWidth" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td width="12%" class="left4">
                        图片高度：</td>
                    <td class="left2">
                        <asp:TextBox ID="txtPicHeight" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td width="12%" class="left4">
                        图片样式：</td>
                    <td class="left2">
                        <asp:TextBox ID="txtPicClass" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td width="12%" class="left4">
                        标题字数：</td>
                    <td class="left2">
                        <asp:TextBox ID="txtTitleSize" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td width="12%" class="left4" style="height: 26px">
                        标题样式：</td>
                    <td class="left2" style="height: 26px">
                        <asp:TextBox ID="txtTitleClass" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td width="12%" class="left4">
                        打开方式：</td>
                    <td class="left2">
                        <asp:DropDownList ID="dropTarget" runat="server" Width="74px">
                            <asp:ListItem>_blank</asp:ListItem>
                            <asp:ListItem>_parent</asp:ListItem>
                            <asp:ListItem>_self</asp:ListItem>
                            <asp:ListItem>_top</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td width="12%" class="left4">
                        属性：</td>
                    <td class="left2">
                        <asp:RadioButtonList ID="radlStrAttribute" runat="server" RepeatColumns="2" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Selected="True" Value="1">全部</asp:ListItem>
                            <asp:ListItem Value="0">当前频道</asp:ListItem>
                        </asp:RadioButtonList></td>
                </tr>
                <tr>
                    <td width="12%" class="left4">
                        <span style="font-size: 9pt; color: green; font-family: 宋体; mso-bidi-font-size: 10.0pt;
                            mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';
                            mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: #0400;
                            mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"></span>是否推荐：</td>
                    <td class="left2"><asp:RadioButtonList ID="radlRecommend" runat="server" RepeatColumns="2" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                        <asp:ListItem Selected="True" Value="1">是</asp:ListItem>
                        <asp:ListItem Value="0">否</asp:ListItem>
                    </asp:RadioButtonList></td>
                </tr>
                <tr>
                    <td bgcolor="#F0F7FD" colspan="3">
                        <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="确定" CssClass="i_button" />
                        <asp:Button ID="btnCancel" runat="server" Text="取消" OnClick="btnCancel_Click" CssClass="i_button" />
					</td>
                </tr>
            </table>
        </div>
    </form>

</body>
</html>
<script>parent.dyniframesize();</script>