createlabel_routine.aspx

来自「这也是关于论坛的一个源代码」· ASPX 代码 · 共 1,007 行 · 第 1/5 页

ASPX
1,007
字号
          <tr class="TR_BG_list" id="TrSpecialTitleNumber" style="display:none;">
            <td align="right" class="navi_link" style="width: 28%">专题名称显示字数</td>
            <td width="79%" align="left" class="navi_link"><asp:TextBox ID="SpecialTitleNumber" runat="server" CssClass="form" Width="200px"></asp:TextBox><span id="spanSpecialTitleNumber"></span></td>
          </tr>           
          <tr class="TR_BG_list" id="TrSpecialNaviTitleNumber" style="display:none;">
            <td align="right" class="navi_link" style="width: 28%">专题导读字数</td>
            <td width="79%" align="left" class="navi_link"><asp:TextBox ID="SpecialNaviTitleNumber" runat="server" CssClass="form" Width="200px"></asp:TextBox><span id="spanSpecialNaviTitleNumber"></span></td>
          </tr>            
         <tr class="TR_BG_list" id="TrTopNewsTyper" style="display:none;">
            <td align="right" class="navi_link" style="width: 28%">排行类型</td>
            <td width="79%" align="left" class="navi_link"><asp:DropDownList ID="TopNewsType" runat="server" CssClass="form" Width="200px">
                <asp:ListItem Value="">请选择排行类型</asp:ListItem>
                <asp:ListItem Value="Hour">24小时排行</asp:ListItem>
                <asp:ListItem Value="YesDay">昨日排行</asp:ListItem>
                <asp:ListItem Value="Week">周排行</asp:ListItem>
                <asp:ListItem Value="Month">月排行</asp:ListItem>
                <asp:ListItem Value="Comm">评论排行</asp:ListItem>
                <asp:ListItem Value="disc">讨论组</asp:ListItem>
             </asp:DropDownList></td>
        </tr> 
        <tr class="TR_BG_list" id="TrTopCommType" style="display:none;">
            <td align="right" class="navi_link" style="width: 28%">排行类型</td>
            <td width="79%" align="left" class="navi_link"><asp:DropDownList ID="TopCommType" runat="server" CssClass="form" Width="200px">
                <asp:ListItem Value="">请选择排行类型</asp:ListItem>
                <asp:ListItem Value="Hour">24小时排行</asp:ListItem>
                <asp:ListItem Value="YesDay">昨日排行</asp:ListItem>
                <asp:ListItem Value="Week">周排行</asp:ListItem>
                <asp:ListItem Value="Month">月排行</asp:ListItem>
                <asp:ListItem Value="Comm">评论排行</asp:ListItem>
                <asp:ListItem Value="disc">讨论组</asp:ListItem>
             </asp:DropDownList></td>
        </tr> 
        <tr class="TR_BG_list" id="TrTodayPicID" style="display:none;">
            <td align="right" class="navi_link" style="width: 28%">选择图片头条</td>
            <td width="79%" align="left" class="navi_link">
            <asp:DropDownList ID="TodayPicID" runat="server" CssClass="form" Width="200px">
             </asp:DropDownList><span id="spanTodayPicID"></span>
             <br />
             <asp:CheckBox ID="TCHECK" Text="选择图片头条的副新闻(条件,头条、推荐新闻)" runat="server" />
             <div id="todayIDdiv">
             调用数量<asp:TextBox ID="TNUM" runat="server" CssClass="form" Width="50px"></asp:TextBox> <br />
             
             </div>
          </td>
        </tr>
          
          <tr class="TR_BG_list" id="TrChar" style="display:none;">
            <td align="right" class="navi_link" style="width: 28%">每条新闻的开始字符</td>
            <td width="79%" align="left" class="navi_link">
                <asp:TextBox ID="TSCHAR" runat="server" CssClass="form" Width="50px"></asp:TextBox>结束字符:<asp:TextBox ID="TECHAR" runat="server" CssClass="form" Width="50px"></asp:TextBox>
            </td>
          </tr>            

          <tr class="TR_BG_list" id="Trprefix" style="display:none;">
            <td align="right" class="navi_link" style="width: 28%">选择前后缀类型</td>
            <td width="79%" align="left" class="navi_link">
                <asp:DropDownList ID="prefix" runat="server">
                <asp:ListItem Value="0">前缀</asp:ListItem>
                <asp:ListItem Value="1">后缀</asp:ListItem>
                </asp:DropDownList>
                前后缀字符<asp:TextBox ID="prefixchar" runat="server" CssClass="form" Width="100px"></asp:TextBox>
            </td>
          </tr>    
                  
          <tr class="TR_BG_list" id="TrDynChar" style="display:none;">
            <td align="right" class="navi_link" style="width: 28%">动态调用分割号</td>
            <td width="79%" align="left" class="navi_link">
            <asp:TextBox ID="DynChar" runat="server" CssClass="form" Width="100px" Text=""></asp:TextBox> 如果是静态调用,此项不起作用
            </td>
          </tr>   
          
          <tr class="TR_BG_list">
            <td align="right" class="navi_link" style="width: 28%"></td>
            <td width="79%" align="left" class="navi_link">&nbsp;<input class="form" type="button" value=" 确 定 "  onclick="javascript:ReturnDivValue();" />&nbsp;<input class="form" type="button" value=" 关 闭 "  onclick="javascript:CloseDiv();" /></td>
          </tr>
      </table>
        <div id="showType"></div>
    </form>
</body>
</html>
<script language="javascript" type="text/javascript">
function CloseDiv()
{
    parent.document.getElementById("LabelDivid").style.display="none";
}
function selectisDiv(type)
{
    if(type=="true")
    {
        document.getElementById("TrulID").style.display="none";
        document.getElementById("TrulClass").style.display="none";
    }
    else
    {
        document.getElementById("TrulID").style.display="none";
        document.getElementById("TrulClass").style.display="none";
    }
}
function selectShowNavi(type)
{
    if(type=="4")
    {
        document.getElementById("TrShowNaviPic").style.display="";
    }
    else
    {
        document.getElementById("TrShowNaviPic").style.display="none";
    }
}
function selectRoot(type)
{
    if(type=="true")
    {
        document.getElementById("TrStyleID").style.display="";
        document.getElementById("TrUserDefined").style.display="none";
    }
    else
    {
        document.getElementById("TrStyleID").style.display="none";
        document.getElementById("TrUserDefined").style.display="";
    }
}
function selectShowTitle(type)
{
    if(type=="true")
    {
        document.getElementById("TrTXTheight").style.display="";
    }
    else
    {
        document.getElementById("TrTXTheight").style.display="none";
    }
}
function selectMapsubNavi(type)
{
    document.getElementById("TrMapsubNaviText").style.display="none";
    document.getElementById("TrMapsubNaviPic").style.display="none";
    switch (type)
    {
        case "true":
            document.getElementById("TrMapsubNaviText").style.display="";
            break;
        case "false":
            document.getElementById("TrMapsubNaviPic").style.display="";
            break;
        case "":
            break;
    }
}
function selectMapNavi(type)
{
    document.getElementById("TrMapNaviText").style.display="none";
    document.getElementById("TrNaviPic").style.display="none";
    switch (type)
    {
        case "true":
            document.getElementById("TrMapNaviText").style.display="";
            break;
        case "false":
            document.getElementById("TrNaviPic").style.display="";
            break;
        case "":
            break;
    }
}
function showdateclass(type)
{
    switch(type)
    {
        case "true":
            document.getElementById("TrShowDate").style.display="";
            document.getElementById("TrShowClass").style.display="";
            break;
        case "false":
            document.getElementById("TrShowDate").style.display="none";
            document.getElementById("TrShowClass").style.display="none";
            break;
        case "":
            document.getElementById("TrShowDate").style.display="none";
            document.getElementById("TrShowClass").style.display="none";
            break;
    }
}
function IndexOrDate(type)
{
    if(type=="true")
        document.ListLabel.HistoryShowDate.value="false";
    else
        document.ListLabel.HistoryShowDate.value="true";
}
function IndexOrDate1(type)
{
    if(type=="true")
        document.ListLabel.IsDate.value="false";
    else
        document.ListLabel.IsDate.value="true";
}

function ReturnDivValue()
{
    spanClear();
    var CheckStr=true;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?