<%@ page language="C#" autoeventwireup="true" inherits="admin_data, aoshuosoft" %>

<!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>
    <link href="admin.css" rel="stylesheet" type="text/css" />
</head>
<script language="javascript">
function copy(tdid)
{
          tdid.focus(); 
          document.execCommand("selectAll");   
          document.execCommand("copy");  
          alert('复制成功！');
}
function picopen()
{
tablepic.style.display="";
}
function picclose()
{
tablepic.style.display="none";
}
function waterfont()
{
tablewaterfont.style.display="";
tablewaterpic.style.display="none";
}
function waterpic()
{
tablewaterfont.style.display="none";
tablewaterpic.style.display="";
}
function wateropen()
{
watertypetable.style.display="";
tablewaterfont.style.display="";
tablewaterpic.style.display="";
}
function waterclose()
{
watertypetable.style.display="none";
tablewaterfont.style.display="none";
tablewaterpic.style.display="none";
}
function sz() 
{
if(event.keyCode<45 || event.keyCode>57)
        {
            event.keyCode=0;
        }
}
function scrollzt()
{
scrollfx.style.display="";
scrollsd.style.display="";
}
function picgd()
{
if(gdone.style.display=="none")
{
gdone.style.display="";
gdtwo.style.display="";
gdg.style.display="";
gdk.style.display="";
}
else
{
gdone.style.display="none";
gdtwo.style.display="none";
gdg.style.display="none";
gdk.style.display="none";
}
}
</script>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Panel ID="news" runat="server" Height="50px" Width="100%" Visible="false">
            <table class="adminmaintable" border="0" cellpadding="3" cellspacing="1">
                <tr>
                    <td class="bt" colspan="2" style="text-align: center; height: 35px;">
                        <asp:Literal ID="articlebt" runat="server"></asp:Literal></td>
                </tr>
                <tr>
                    <td>
                        分类选择：</td>
                    <td><asp:DropDownList ID="articlesort" runat="server">                       
                    </asp:DropDownList></td>
                </tr>
                <tr>
                    <td>
                        排序方式：</td>
                    <td>
                       <asp:DropDownList ID="articlelist" runat="server">
                            <asp:ListItem Value="0">(ID)大到小</asp:ListItem>
                            <asp:ListItem Value="1">(ID)小到大</asp:ListItem>
                            <asp:ListItem Value="2">(时间)新到旧</asp:ListItem>
                            <asp:ListItem Value="3">(时间)旧到新</asp:ListItem>
                            <asp:ListItem Value="4">(阅读数)大到小</asp:ListItem>
                            <asp:ListItem Value="5">(阅读数)小到大</asp:ListItem>                                               
                        </asp:DropDownList>
                       </td>
                </tr>
                <tr>
                    <td>
                        文章属性：</td>
                    <td>
                        <asp:CheckBox ID="articlehot" runat="server" Text="热 门" />
                        <asp:CheckBox ID="articlecommend" runat="server" Text="推 荐" />&nbsp;&nbsp;&nbsp;如都不选，则显示所有文章。</td>
                </tr>
                <tr>
                    <td>
                        文章数目：</td>
                    <td>
                        <asp:TextBox onkeypress="sz()" ID="articlerow" runat="server" Width="45px">10</asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                        显示列数：</td>
                    <td >
                        <asp:TextBox onkeypress="sz()" ID="articlecol" runat="server" Width="45px">1</asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                        标题长度： </td>
                    <td>
                        <asp:TextBox onkeypress="sz()" ID="articletitle" runat="server" Width="46px">32</asp:TextBox></td>
                </tr>
                <tr>
                    <td>

                        属性图片：</td>
                    <td>
                        <asp:DropDownList ID="articlepic" runat="server" Width="150px">
                            <asp:ListItem Value="0">不显示</asp:ListItem>
                            <asp:ListItem Value="1">图片(样式一)</asp:ListItem>
                            <asp:ListItem Value="2">图片(样式二)</asp:ListItem>
                            <asp:ListItem Value="3">图片(样式三)</asp:ListItem>
                            <asp:ListItem Value="4">图片(样式四)</asp:ListItem>
                            <asp:ListItem Value="5">图片(样式五)</asp:ListItem>
                            <asp:ListItem Value="6">图片(样式六)</asp:ListItem>
                            <asp:ListItem Value="7">图片(样式七)</asp:ListItem>
                        </asp:DropDownList>
                        <asp:Image ID="Image1" runat="server" ImageUrl="../image/1.gif" />样式一
                        <asp:Image ID="Image2" runat="server" ImageUrl="../image/2.gif" />样式二
                        <asp:Image ID="Image3" runat="server" ImageUrl="../image/3.gif" />样式三
                        <asp:Image ID="Image4" runat="server" ImageUrl="../image/4.gif" />样式四
                        <asp:Image ID="Image5" runat="server" ImageUrl="../image/5.gif" />样式五
                        <asp:Image ID="Image6" runat="server" ImageUrl="../image/6.gif" />样式六
                        <asp:Image ID="Image7" runat="server" ImageUrl="../image/7.gif" />样式七
                        </td>
                </tr>
                <tr>
                    <td >
                        显示内容：
                    </td>
                    <td >
                    <asp:CheckBox ID="articlesortname" runat="server" Text="所属分类" />&nbsp&nbsp&nbsp<asp:CheckBox ID="articleadmin" runat="server" Text="发布人" />&nbsp&nbsp&nbsp<asp:CheckBox ID="articlenumber" runat="server" Text="浏览次数" />&nbsp&nbsp&nbsp时间
                        <asp:DropDownList ID="articlesj" runat="server">
                        <asp:ListItem Value="0">不显示</asp:ListItem>
                        <asp:ListItem Value="1">年月日</asp:ListItem>
                        <asp:ListItem Value="2">月日</asp:ListItem>
                        <asp:ListItem Value="3">详细到分秒</asp:ListItem>
                    </asp:DropDownList></td>
                </tr>
                <tr>
                    <td >
                        打开方式：</td>
                    <td><asp:DropDownList ID="articleopen" runat="server">
                        <asp:ListItem Value="0">原窗体打开</asp:ListItem>
                        <asp:ListItem Value="1">新窗体打开</asp:ListItem>
                    </asp:DropDownList></td>
                </tr>
                <tr>
                    <td>
                        列表样式名称：</td>
                    <td>
                        <asp:TextBox ID="articlestyle" runat="server" Width="150px">class='table'</asp:TextBox>可以自己定义如：id='***'
                        class='***'</td>
                </tr>
                <tr>
                    <td >
                        调用标签：</td>
                    <td>
                        <asp:TextBox ID="articleparameter" runat="server" Width="490px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td colspan="2" style="height: 8px" >
                        <asp:Button ID="makearticle" runat="server" Text="" CssClass="textput"  OnClick="makearticle_Click" />
                        <asp:Button ID="copyarticle" runat="server" Text="" CssClass="textput" OnClientClick="copy(articleparameter)" />
                        <asp:Button ID="cleararticle" runat="server" Text="" CssClass="textput" OnClick="cleararticle_Click" /></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: left">
                        <span style="color: #ff0000"><strong>标签使用说明：<br />
                            1、复制根据你配置的参数生成的标签放置在模板上<br />
                            2、生成的标签你可以放置在任何页面的模板上调用，如生成的新闻调用标签可以放置首页模板可以放置在新闻页面模板，也可以放置产品模板，扩展页模板<br />
                            3、在这里下载视频教程：</strong><a href="http://www.aoshuosoft.com/cnhtml/down/3/downsort-3.html" target="_blank">http://www.aoshuosoft.com/cnhtml/down/3/downsort-3.html</a></span></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: center">
                        <strong>列表样式说明</strong></td>
                </tr>
                <tr>
                    <td colspan="2">
                        以下样式名称如不定义将继承列表样式： 列表中[发布人]样式名称:class="edit"。列表中[浏览次数]样式名称:class="looknumber"。列表中[时间]样式名称:class="datetime"。</td>
                </tr>
            </table>
        </asp:Panel>
        <asp:Panel ID="placard" runat="server" Height="50px" Width="100%" Visible="false"><table class="adminmaintable" border="0" cellpadding="3" cellspacing="1">
            <tr>
                <td class="bt" colspan="2" style="text-align: center; height: 35px;">
                    公告数据调用</td>
            </tr>
            <tr>
                <td>
                        是否启用滚动：</td>
                <td>
                   <asp:CheckBox ID="scrollyes" runat="server" Text="启用" onclick="scrollzt()" /></td>
            </tr>
            <tr id="scrollfx" style="display:none;">
                <td >
                    滚动方向：</td>
                <td>
                    <asp:DropDownList ID="placardscrollfs" runat="server">
                     <asp:ListItem Value="right">横向（由左到右）</asp:ListItem>
                    <asp:ListItem Value="left">横向（由右到左）</asp:ListItem>
                    <asp:ListItem Value="down">竖向（由上到下）</asp:ListItem>
                    <asp:ListItem Value="up">竖向（由下到上）</asp:ListItem>
                        </asp:DropDownList></td>
            </tr>
            <tr id="scrollsd" style="display:none;" >
                <td>
                    滚动速度：</td>
                <td>
                    <asp:TextBox onkeypress="sz()" ID="placardscrollfast" runat="server" Width="51px">1</asp:TextBox>&nbsp; 值越大滚动越快。（不能小于0）</td>
            </tr>
            <tr>
                <td>
                    排序方式：</td>
                <td>
                    <asp:DropDownList ID="placardlist" runat="server">
                        <asp:ListItem Value="0">(ID)大到小</asp:ListItem>
                        <asp:ListItem Value="1">(ID)小到大</asp:ListItem>
                        <asp:ListItem Value="2">(时间)新到旧</asp:ListItem>
                        <asp:ListItem Value="3">(时间)旧到新</asp:ListItem>
                        <asp:ListItem Value="4">(阅读数)大到小</asp:ListItem>
                        <asp:ListItem Value="5">(阅读数)小到大</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td>
                    公告数目：</td>
                <td>
                    <asp:TextBox ID="placardrow" onkeypress="sz()" runat="server" Width="45px">2</asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    标题长度：</td>
                <td>
                    <asp:TextBox ID="placardtitle" onkeypress="sz()" runat="server" Width="46px">10</asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    属性图片：</td>
                <td >
                    <asp:DropDownList ID="placardpic" runat="server" Width="150px">
                        <asp:ListItem Value="0">不显示</asp:ListItem>
                        <asp:ListItem Value="1">图片(样式一)</asp:ListItem>
                        <asp:ListItem Value="2">图片(样式二)</asp:ListItem>
                        <asp:ListItem Value="3">图片(样式三)</asp:ListItem>
                        <asp:ListItem Value="4">图片(样式四)</asp:ListItem>
                        <asp:ListItem Value="5">图片(样式五)</asp:ListItem>
                        <asp:ListItem Value="6">图片(样式六)</asp:ListItem>
                        <asp:ListItem Value="7">图片(样式七)</asp:ListItem>
                    </asp:DropDownList>
                    <asp:Image ID="Image8" runat="server" ImageUrl="../image/1.gif" />样式一
                    <asp:Image ID="Image9" runat="server" ImageUrl="../image/2.gif" />样式二
                    <asp:Image ID="Image10" runat="server" ImageUrl="../image/3.gif" />样式三
                    <asp:Image ID="Image11" runat="server" ImageUrl="../image/4.gif" />样式四
                    <asp:Image ID="Image12" runat="server" ImageUrl="../image/5.gif" />样式五
                    <asp:Image ID="Image13" runat="server" ImageUrl="../image/6.gif" />样式六
                    <asp:Image ID="Image14" runat="server" ImageUrl="../image/7.gif" />样式七
                </td>
            </tr>
            <tr>
                <td >
                    显示内容：
                </td>
                <td >
                    <asp:CheckBox ID="placardadmin" runat="server" Text="发布人" />
                    &nbsp;
                    <asp:CheckBox ID="placardlooknumber" runat="server" Text="浏览次数" />
                    &nbsp; 时间
                    <asp:DropDownList ID="placardsj" runat="server">
                        <asp:ListItem Value="0">不显示</asp:ListItem>
                        <asp:ListItem Value="1">年月日</asp:ListItem>
                        <asp:ListItem Value="2">月日</asp:ListItem>
                        <asp:ListItem Value="3">详细到分秒</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td >
                    打开方式：</td>
                <td>
                    <asp:DropDownList ID="placardopen" runat="server">
                        <asp:ListItem Value="0">原窗体打开</asp:ListItem>
                        <asp:ListItem Value="1">新窗体打开</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td>
                    列表样式名称：</td>
                <td>
                    <asp:TextBox ID="placardstyle" runat="server" Width="150px">class='table'</asp:TextBox>可以自己定义如：id='***'
                    class='***',必须</td>
            </tr>
            <tr>
                <td>
                    调用标签：</td>
                <td>
                    <asp:TextBox ID="placardparameter" runat="server" Width="490px"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="2" style="height: 8px; text-align: left;" >
                <asp:Button ID="makeplacard" CssClass="textput" runat="server" Text="生成公告调用标签" Width="151px" OnClick="makeplacard_Click"  />
                <asp:Button ID="copyplacard" CssClass="textput" runat="server" Text="复制公告调用标签" Width="151px" OnClientClick="copy(placardparameter)" />
                <asp:Button ID="Button3" CssClass="textput" runat="server" Text="清空公告调用标签" Width="151px" OnClick="Button3_Click" /></td>
            </tr>
            <tr>
                <td colspan="2" style="text-align: left">
                    <span style="color: #ff0000"><strong>标签使用说明：<br />
                    </strong></span><span style="color: #ff0000"><strong>1、复制根据你配置的参数生成的标签放置在模板上<br />
                    </strong></span><strong><span style="color: #ff0000">2、生成的标签你可以放置在任何页面的模板上调用，如生成的新闻调用标签可以放置首页模板可以放置在新闻页面模板，也可以放置产品模板，扩展页模板<br />
                    </span><span style="color: #ff0000">3、在这里下载视频教程：</span></strong><a href="http://www.aoshuosoft.com/cnhtml/down/3/downsort-3.html" target="_blank">http://www.aoshuosoft.com/cnhtml/down/3/downsort-3.html</a></td>
            </tr>
            <tr>
                <td colspan="2" style="text-align: center">
                    <strong>列表样式说明</strong></td>
            </tr>
            <tr>
                <td colspan="2">
                    以下样式名称如不定义将继承列表样式：列表中[发布人]样式名称:class="edit"。列表中[浏览次数]样式名称:class="looknumber"。列表中[时间]样式名称:class="datetime"。</td>
            </tr>
        </table>
        </asp:Panel>
        <asp:Panel ID="pic" runat="server" Height="50px" Width="100%" Visible="false">
            <table class="adminmaintable" border="0" cellpadding="3" cellspacing="1">
                <tr>
                    <td class="bt" style="text-align: center; height: 35px;" colspan="2">
                        缩略图及水印设置</td>
                </tr>
                <tr>
                    <td style="width: 89px" >
                        生成缩略图：</td>
                    <td >                        
                        <asp:RadioButton ID="openpic" GroupName="0" runat="server" onclick="picopen()"  Text="开 启" />
                        <asp:RadioButton ID="closepic" GroupName="0" runat="server" onclick="picclose()"  Text="关 闭" /></td>
                </tr>
                <tr id="tablepic">
                    <td style="width: 89px" >
                        缩略图：</td>
                    <td >
                        宽度<asp:TextBox onkeypress="sz()" ID="picwidth"  runat="server" Width="80px"></asp:TextBox>像素<br/>
                        高度<asp:TextBox onkeypress="sz()" ID="picheight" runat="server" Width="80px"></asp:TextBox>像素</td>
                </tr>
                <tr>
                    <td style="width: 89px">
                        加水印：</td>
                    <td>
                        <asp:RadioButton ID="addpicopen" GroupName="1" runat="server"  Text="开 启" onclick="wateropen()" />
                        <asp:RadioButton ID="addpicclose" GroupName="1" runat="server"  Text="关 闭" onclick="waterclose()"  />
                       </td>
                </tr>
                <tr id="watertypetable">
                    <td style="width: 89px" >
                        水印类型：</td>
                    <td >
                     <asp:RadioButton ID="addwaterfont" GroupName="2" runat="server"  Text="文字水印" onclick="waterfont()" />
                     <asp:RadioButton ID="addwaterpic" GroupName="2" runat="server"  Text="图片水印" onclick="waterpic()"  /></td>
                </tr>
                <tr id="tablewaterfont">
                    <td >
                        文字水印设置：</td>
                    <td>
                        <table border="0" cellpadding="3" cellspacing="1" width="100%">
                            <tr>
                                <td style="width: 83px" >
                        水印文字：</td>
                                <td >
                                <asp:TextBox ID="picfont" runat="server" Width="176px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td style="width: 83px">
                        文字字体：</td>
                                <td>
                                <asp:DropDownList ID="picfontstyle" runat="server" Width="100px">
                                    <asp:ListItem Value="宋体">宋体</asp:ListItem>
                                    <asp:ListItem Value="楷体_GB2312">楷体</asp:ListItem>
                                    <asp:ListItem Value="仿宋_GB2312">新宋体</asp:ListItem>
                                    <asp:ListItem Value="黑体">黑体</asp:ListItem>
                                    <asp:ListItem Value="隶书">隶书</asp:ListItem>
                                    <asp:ListItem Value="幼圆">幼圆</asp:ListItem>
                                    <asp:ListItem Value="Andale Mono">Andale Mono</asp:ListItem>
                                    <asp:ListItem Value="Arial">Arial</asp:ListItem>
                                    <asp:ListItem Value="Arial Black">Arial Black</asp:ListItem>
                                    <asp:ListItem Value="Book Antiqua">Book Antiqua</asp:ListItem>
                                    <asp:ListItem Value="Century Gothic">Century Gothic</asp:ListItem>
                                    <asp:ListItem Value="Comic Sans MS">Comic Sans MS</asp:ListItem>
                                    <asp:ListItem Value="Courier New">Courier New</asp:ListItem>
                                    <asp:ListItem Value="Georgia">Georgia</asp:ListItem>
                                    <asp:ListItem Value="Impact">Impact</asp:ListItem>
                                    <asp:ListItem Value="Tahoma">Tahoma</asp:ListItem>
                                    <asp:ListItem Value="Times New Roman">Times New Roman</asp:ListItem>
                                    <asp:ListItem Value="Trebuchet MS">Trebuchet MS</asp:ListItem>
                                    <asp:ListItem Value="Script MT Bold">Script MT Bold</asp:ListItem>
                                    <asp:ListItem Value="Verdana">Verdana</asp:ListItem>
                                    <asp:ListItem Value="Trebuchet MS">Trebuchet MS</asp:ListItem>
                                    <asp:ListItem Value="Lucida Console">Lucida Console</asp:ListItem>
                        </asp:DropDownList></td>
                            </tr>
                            <tr>
                                <td style="width: 83px" >
                        文字大小：</td>
                                <td>
                                <asp:TextBox ID="picfontsize" onkeypress="sz()" runat="server" Width="40px"></asp:TextBox>像素</td>
                            </tr>
                            <tr>
                                <td style="width: 83px" >
                        字体颜色：</td>
                                <td>
                                <asp:DropDownList ID="picfontcolor" runat="server" Width="100px">
                                 <asp:ListItem Value="">颜色</asp:ListItem>
                           <asp:ListItem Value="">默认</asp:ListItem>
                           <asp:ListItem Value="#000000" Text="" style='background-color:#000000' ></asp:ListItem>
                           <asp:ListItem value="#FFFFFF" Text="" style='background-color:#FFFFFF' ></asp:ListItem>
                           <asp:ListItem Value="#008000" Text="" style='background-color:#008000' ></asp:ListItem>
                           <asp:ListItem Value="#800000" Text="" style='background-color:#800000' ></asp:ListItem>
                           <asp:ListItem Value="#808000" Text="" style='background-color:#808000' ></asp:ListItem>
                           <asp:ListItem Value="#000080" Text="" style='background-color:#000080' ></asp:ListItem>
                           <asp:ListItem Value="#800080" Text="" style='background-color:#800080' ></asp:ListItem>
                           <asp:ListItem Value="#808080" Text="" style='background-color:#808080' ></asp:ListItem>
                           <asp:ListItem Value="#FFFF00" Text="" style='background-color:#FFFF00' ></asp:ListItem>
                           <asp:ListItem Value="#00FF00" Text="" style='background-color:#00FF00' ></asp:ListItem>
                           <asp:ListItem Value="#00FFFF" Text="" style='background-color:#00FFFF' ></asp:ListItem>
                           <asp:ListItem Value="#FF00FF" Text="" style='background-color:#FF00FF' ></asp:ListItem>
                           <asp:ListItem Value="#FF0000" Text="" style='background-color:#FF0000' ></asp:ListItem>
                           <asp:ListItem Value="#0000FF" Text="" style='background-color:#0000FF' ></asp:ListItem>
                           <asp:ListItem Value="#008080" Text="" style='background-color:#008080' ></asp:ListItem>
                          </asp:DropDownList></td>
                            </tr>
                            <tr>
                                <td style="width: 83px" >
                        是否粗体：</td>
                                <td>
                                <asp:DropDownList ID="picfontbold" runat="server" Width="100px">
                                <asp:ListItem Value="0">否</asp:ListItem>
                                <asp:ListItem Value="1">是</asp:ListItem>
                        </asp:DropDownList></td>
                            </tr>
                            <tr>
                                <td style="width: 83px">
                        坐标起点：</td>
                                <td>
                                <asp:DropDownList ID="picfontposition" runat="server" Width="100px">
                                <asp:ListItem Value="bottomleft">左下</asp:ListItem>
                                <asp:ListItem Value="topleft">左上</asp:ListItem>                                
                                <asp:ListItem Value="topright">右上</asp:ListItem>
                                <asp:ListItem Value="bottomright">右下</asp:ListItem>
                                <asp:ListItem Value="center">居中</asp:ListItem>
                        </asp:DropDownList></td>
                            </tr>
                            <tr>
                                <td style="width: 83px" >
                                    坐标X位置：</td>
                                <td>
                                <asp:TextBox onkeypress="sz()" ID="picfontpositionx" runat="server" Text="0" Width="40px"></asp:TextBox>像素</td>
                            </tr>
                            <tr>
                                <td style="width: 83px" >
                                    坐标Y位置：</td>
                                <td>
                                <asp:TextBox onkeypress="sz()" ID="picfontpostiony" runat="server" Text="0" Width="40px"></asp:TextBox>像素</td>
                            </tr>
                        </table>
                    </td>
                </tr>               
                <tr id="tablewaterpic">
                    <td >
                        图片水印：</td>
                    <td>
                        <table border="0" cellpadding="3" cellspacing="1"  width="100%">
                            <tr>
                                <td style="width: 95px" >
                        图片文件位置：</td>
                                <td >
                                    <asp:TextBox ID="picpicfile" runat="server" Width="176px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td style="width: 95px" >
                        坐标起点位置：</td>
                                <td >
                                    <asp:DropDownList ID="picpicposition" runat="server" Width="100px">
                                    <asp:ListItem Value="bottomleft">左下</asp:ListItem>
                                <asp:ListItem Value="topleft">左上</asp:ListItem>                                
                                <asp:ListItem Value="topright">右上</asp:ListItem>
                                <asp:ListItem Value="bottomright">右下</asp:ListItem>
                                <asp:ListItem Value="center">居中</asp:ListItem>
                        </asp:DropDownList></td>
                            </tr>
                            <tr>
                                <td style="width: 95px" >
                                    坐标X位置：</td>
                                <td  >
                                    <asp:TextBox onkeypress="sz()" ID="picpicpositionx" runat="server" Text="0" Width="40px"></asp:TextBox>像素</td>
                            </tr>
                            <tr>
                                <td style="width: 95px" >
                                    坐标Y位置：</td>
                                <td>
                                    <asp:TextBox onkeypress="sz()" ID="picpicpositiony" runat="server" Text="0" Width="40px"></asp:TextBox>像素</td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: center">
                        <asp:Button ID="savepic" runat="server" Text="保存参数设置" Width="151px" OnClick="savepic_Click" />
                        <asp:Literal ID="jb"  runat="server"></asp:Literal></td>
                </tr>
                </table>
        </asp:Panel>
        <asp:Panel ID="picarticle" runat="server" Height="50px" Width="100%" Visible="false">
        <table class="adminmaintable" border="0" cellpadding="3" cellspacing="1">
            <tr>
                <td class="bt" colspan="2" style="text-align: center; height: 35px;">
                    <asp:Literal ID="picbt" runat="server"></asp:Literal></td>
            </tr>
            <tr>
                <td style="width: 145px">
                    分类选择：</td>
                <td style="width: 829px">
                    <asp:DropDownList ID="picsort" runat="server">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 145px">
                    排序方式：</td>
                <td style="width: 829px">
                    <asp:DropDownList ID="piclist" runat="server">
                        <asp:ListItem Value="0">(ID)大到小</asp:ListItem>
                        <asp:ListItem Value="1">(ID)小到大</asp:ListItem>
                        <asp:ListItem Value="2">(时间)新到旧</asp:ListItem>
                        <asp:ListItem Value="3">(时间)旧到新</asp:ListItem>
                        <asp:ListItem Value="4">(阅读数)大到小</asp:ListItem>
                        <asp:ListItem Value="5">(阅读数)小到大</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 145px">
                    文章属性：</td>
                <td style="width: 829px">
                    <asp:CheckBox ID="pichot" runat="server" Text="热 门" />
                    <asp:CheckBox ID="piccomend" runat="server" Text="推 荐" />
                    &nbsp; 如都不选，则显示所有文章。</td>
            </tr>
            <tr>
                <td style="width: 145px">
                    图片数目：</td>
                <td style="width: 829px">
                    <asp:TextBox ID="picrow" runat="server" onkeypress="sz()" Width="45px">5</asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 145px">
                    显示列数：</td>
                <td style="width: 829px" >
                    <asp:TextBox ID="piccol" runat="server" onkeypress="sz()" Width="45px">1</asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 145px">
                    标题长度：
                </td>
                <td style="width: 829px">
                    <asp:TextBox ID="pictitle" runat="server" onkeypress="sz()" Width="46px">32</asp:TextBox>
                    &nbsp;标题为0不显示。</td>
            </tr>         
            <tr>
                <td style="width: 145px">
                    图片宽度：</td>
                <td style="width: 829px">
                    <asp:TextBox ID="widthpic" runat="server" onkeypress="sz()" Width="46px">220</asp:TextBox>&nbsp;
                    建议与缩略图设置的宽相等。</td>
            </tr>
            <tr>
                <td style="width: 145px">
                    图片高度：</td>
                <td style="width: 829px">
                    <asp:TextBox ID="heightpic" runat="server" onkeypress="sz()" Width="46px">170</asp:TextBox>&nbsp;
                    建议与缩略图设置的高相等。</td>
            </tr>
             <tr>
                <td style="width: 145px" >
                    打开方式：</td>
                <td style="width: 829px">
                    <asp:DropDownList ID="picopen" runat="server">
                        <asp:ListItem Value="0">原窗体打开</asp:ListItem>
                        <asp:ListItem Value="1">新窗体打开</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 145px">
                    列表样式名称：</td>
                <td style="width: 829px">
                    <asp:TextBox ID="picstyle" runat="server" Width="150px">class='table'</asp:TextBox>可以自己定义如：id='***'
                    class='***'</td>
            </tr>
            <tr>
                <td style="width: 145px">
                    图片样式名称：</td>
                <td style="width: 829px">
                    <asp:TextBox ID="imgstyle" runat="server" Width="150px">class='img'</asp:TextBox>可以自己定义如：id='***'
                    class='***'</td>
            </tr>
            <tr>
                <td style="width: 145px">
                    图片滚动：</td>
                <td style="width: 829px">
                    <asp:CheckBox ID="gd" runat="server" Text="启用滚动" onclick="picgd()" /></td>
            </tr>
            <tr id="gdone" style="display:none;">
                <td style="width: 145px">
                    滚动方向：</td>
                <td style="width: 829px">
                      <asp:DropDownList ID="gdfx" runat="server">
                     <asp:ListItem Value="right">横向（由左到右）</asp:ListItem>
                    <asp:ListItem Value="left">横向（由右到左）</asp:ListItem>
                    <asp:ListItem Value="down">竖向（由上到下）</asp:ListItem>
                    <asp:ListItem Value="up">竖向（由下到上）</asp:ListItem>
                        </asp:DropDownList></td>
            </tr>
            <tr id="gdtwo" style="display:none;">
                <td style="width: 145px">
                    滚动速度：</td>
                <td style="width: 829px">
                    <asp:TextBox ID="gdspeed" runat="server" Width="79px">10</asp:TextBox>
                    数值越大速度越慢。</td>
            </tr>
            <tr id="gdg" style="display: none">
                <td style="width: 145px">
                    滚动区域高：</td>
                <td style="width: 829px">
                    <asp:TextBox ID="gdg" runat="server" Width="79px">150</asp:TextBox></td>
            </tr>
            <tr id="gdk" style="display: none">
                <td style="width: 145px">
                    滚动区域宽：</td>
                <td style="width: 829px">
                    <asp:TextBox ID="gdk" runat="server" Width="79px">500</asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 145px" >
                    调用标签：</td>
                <td style="width: 829px">
                    <asp:TextBox ID="picparament" runat="server" Width="490px"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="2" style="height: 8px" >
                    <asp:Button ID="makepic" CssClass="textput" runat="server" Text="" OnClick="makepic_Click"   />
                    <asp:Button ID="copypic" CssClass="textput" runat="server" Text=""  OnClientClick="copy(picparament)" />
                    <asp:Button ID="clearpic" CssClass="textput" runat="server" Text="" OnClick="clearpic_Click"  /></td>
            </tr>
            <tr>
                <td colspan="2" style="text-align: left">
                    <span style="color: #ff0000"><strong>标签使用说明：<br />
                    </strong></span><span style="color: #ff0000"><strong>1、复制根据你配置的参数生成的标签放置在模板上<br />
                    </strong></span><strong><span style="color: #ff0000">2、生成的标签你可以放置在任何页面的模板上调用，如生成的新闻调用标签可以放置首页模板可以放置在新闻页面模板，也可以放置产品模板，扩展页模板<br />
                    </span><span style="color: #ff0000">3、在这里下载视频教程：</span></strong><a href="http://www.aoshuosoft.com/cnhtml/down/3/downsort-3.html" target="_blank">http://www.aoshuosoft.com/cnhtml/down/3/downsort-3.html</a></td>
            </tr>
            <tr>
                <td colspan="2" style="text-align: center">
                    <strong>列表样式说明</strong></td>
            </tr>
            <tr>
                <td colspan="2">
                    以下样式名称如不定义将继承列表样式： 列表中[发布人]样式名称:class="edit"。列表中[浏览次数]样式名称:class="looknumber"。列表中[时间]样式名称:class="datetime"。</td>
            </tr>
        </table>
        </asp:Panel><asp:Panel ID="flash" runat="server" Height="50px" Width="100%" Visible="false">
            <table class="adminmaintable" border="0" cellpadding="3" cellspacing="1">
                <tr>
                    <td class="bt" colspan="2" style="text-align: center; height: 35px;">
                        <asp:Literal ID="flashbt" runat="server"></asp:Literal></td>
                </tr>
                <tr>
                    <td>
                        分类选择：</td>
                    <td>
                        <asp:DropDownList ID="flashsort" runat="server">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td>
                        排序方式：</td>
                    <td>
                        <asp:DropDownList ID="flashlist" runat="server">
                            <asp:ListItem Value="0">(ID)大到小</asp:ListItem>
                            <asp:ListItem Value="1">(ID)小到大</asp:ListItem>
                            <asp:ListItem Value="2">(时间)新到旧</asp:ListItem>
                            <asp:ListItem Value="3">(时间)旧到新</asp:ListItem>
                            <asp:ListItem Value="4">(阅读数)大到小</asp:ListItem>
                            <asp:ListItem Value="5">(阅读数)小到大</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td>
                        文章属性：</td>
                    <td>
                        <asp:CheckBox ID="flashhot" runat="server" Text="热 门" />
                        <asp:CheckBox ID="flashcommend" runat="server" Text="推 荐" />
                        &nbsp; 如都不选，则显示所有文章。</td>
                </tr>
                <tr>
                    <td>
                        图片数目：</td>
                    <td>
                        <asp:TextBox ID="flashrow" runat="server" onkeypress="sz()" Width="45px">5</asp:TextBox></td>
                </tr>                            
                <tr>
                    <td>
                        图片宽度：</td>
                    <td>
                        <asp:TextBox ID="flashwidth" runat="server" onkeypress="sz()" Width="46px">220</asp:TextBox>
                        &nbsp;&nbsp; 最好与缩略图设置的宽相等。</td>
                </tr>
                <tr>
                    <td>
                        图片高度：</td>
                    <td>
                        <asp:TextBox ID="flashheight" runat="server" onkeypress="sz()" Width="46px">170</asp:TextBox>
                        &nbsp;&nbsp; 最好与缩略图设置的高相等。</td>
                </tr>
                <tr>
                    <td>
                        标题长度：</td>
                    <td>
                        <asp:TextBox ID="titlelong" runat="server" onkeypress="sz()" Width="46px">0</asp:TextBox>
                        &nbsp; 0不显示标题</td>
                </tr>
                <tr>
                    <td >
                        调用标签：</td>
                    <td>
                        <asp:TextBox ID="flashparament" runat="server" Width="490px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td colspan="2" style="height: 8px" >
                        <asp:Button ID="makeflash" runat="server" CssClass="textput" Text="" OnClick="makeflash_Click"  />
                        <asp:Button ID="copyflash" runat="server" CssClass="textput" Text="" OnClientClick="copy(flashparament)" />
                        <asp:Button ID="clearflash" runat="server" CssClass="textput" Text="" OnClick="clearflash_Click" /></td>
                </tr>
                <tr>
                    <td colspan="2" style="height: 8px">
                        <span style="color: #ff0000"><strong>标签使用说明：<br />
                        </strong></span><span style="color: #ff0000"><strong>1、复制根据你配置的参数生成的标签放置在模板上<br />
                        </strong></span><strong><span style="color: #ff0000">2、生成的标签你可以放置在任何页面的模板上调用，如生成的新闻调用标签可以放置首页模板可以放置在新闻页面模板，也可以放置产品模板，扩展页模板<br />
                        </span><span style="color: #ff0000">3、在这里下载视频教程：</span></strong><a href="http://www.aoshuosoft.com/cnhtml/down/3/downsort-3.html" target="_blank">http://www.aoshuosoft.com/cnhtml/down/3/downsort-3.html</a></td>
                </tr>
            </table>
        </asp:Panel>
        </div>
        </form>
</body>
</html>
