⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 style.aspx

📁 最好用的站点内容管理系统 全部源代码都有
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" Inherits="manage_label_style" ResponseEncoding="utf-8" Codebehind="style.aspx.cs" %>
<%@ Import NameSpace="System.Data"%>
<%@ Register Src="../../controls/PageNavigator.ascx" TagName="PageNavigator" TagPrefix="uc1" %>

<!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>
    <title></title>
    <link href="../../sysImages/<% Response.Write(NetCMS.Config.UIConfig.CssPath()); %>/css/css.css" rel="stylesheet" type="text/css" />
    <script language="JavaScript" type="text/javascript" src="../../configuration/js/Prototype.js"></script>
    <script language="JavaScript" type="text/javascript" src="../../configuration/js/Public.js"></script></head>
<body>
    <form id="form1" runat="server">
      <table width="100%" border="0" cellpadding="0" cellspacing="0"  class="toptable">
        <tr>
          <td width="57%" class="sysmain_navi"  style="PADDING-LEFT: 14px" height="30">样式管理</td>
          <td width="43%"  class="topnavichar"  style="PADDING-LEFT: 14px" ><div align="left">位置导航:<a href="../main.aspx" target="sys_main" class="list_link">首页</a><img alt="" src="../../sysImages/folder/navidot.gif" border="0" />样式管理</div></td>
        </tr>
      </table>
     
    <table width="100%" border="0" cellpadding="3" cellspacing="1" class="Navitable" align="center">
      <tr>
        <td style="padding-left:15px;"><a href="style_add.aspx?ClassID=<%Response.Write(Request.QueryString["ClassID"]); %>" class="topnavichar">添加样式</a>&nbsp;┊&nbsp;<a href="styleclass_add.aspx" class="topnavichar">添加分类</a>&nbsp;┊&nbsp; <a class="reshow" href="syslable_add.aspx">新建标签</a>&nbsp;&nbsp;┊&nbsp; <a class="list_link" href="syslabel_list.aspx">返回标签管理</a>&nbsp; <span id="Back" runat="server"></span></td>
       </tr>
    </table>
      <asp:Repeater ID="DataList1" runat="server">
       <HeaderTemplate>
           <table width="98%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#FFFFFF" class="table">
          <tr class="TR_BG">
            <td align="left" valign="middle" class="sys_topBg"><% Response.Write(Cname); %></td>
            <td align="left" valign="middle" class="sys_topBg">创建日期</td>
            <td align="left" valign="middle" class="sys_topBg">操作</td>
          </tr>   
        </HeaderTemplate>
          <ItemTemplate>
            <tr class="TR_BG_list" onmouseover="javascript:overColor(this);" onmouseout="javascript:outColor(this);">
            <td align="left" valign="middle"><%#((DataRowView)Container.DataItem)[6]%></a></td>
            <td align="left" valign="middle" ><%#((DataRowView)Container.DataItem)[3]%></td>
            <td align="left" valign="middle" ><%#((DataRowView)Container.DataItem)[5]%></td>
            </tr>
            <tr style="display:none;background-color:#FFF;" id="<%#((DataRowView)Container.DataItem)[0]%>"><td colspan="4"><div style="padding-top:10px;padding-left:10px;padding-bottom:10px;"><%#((DataRowView)Container.DataItem)["contents"]%></div></td></tr>
          </ItemTemplate>
          <FooterTemplate>
          </table>
         </FooterTemplate>
    </asp:Repeater>
    <div style="width:98%;" align="right"><span style="float:left;">&nbsp;&nbsp;搜索:<input type="text" id="keywords" title="搜索样式名称和描述" value="" /> <input type="button" value="搜索样式" onclick="getKeywords(this);return false;" /> </span><span style="float:right;"><uc1:PageNavigator ID="PageNavigator1" runat="server" /></span></div>
      <br />
      <table width="100%" border="0" cellpadding="8" cellspacing="0" class="copyright_bg" style="height: 76px" align="center">
        <tr>
          <td align="center"><label id="copyright" runat="server" /></td>
        </tr>
      </table>
    </form>
</body>
</html>
<script language="javascript" type="text/javascript">
function Update(type,id)
{
    switch (type)
    {
        case "style":
            self.location="style_edit.aspx?styleID="+id;
            break;
        case "styleclass":
            self.location="styleclass_edit.aspx?ClassID="+id;
           break;
    }
}

function getReview(id)
{
    if(document.getElementById(id).style.display=="")
    {
       document.getElementById(id).style.display="none";
    }   
    else
    {
       document.getElementById(id).style.display="";
    }
}

function Del(type,id)
{
    switch (type)
    {
        case "style":
            if(confirm('你确认将此样式放入回收站吗?'))
            {
                self.location="?Op=Del&type=style&ID="+id;
            }
            break;
        case "styleclass":
            if(confirm('你确认将此栏目放入回收站吗?\r此操作将会将此栏目以及属于此栏目的样式放入回收站.'))
            {
                self.location="?Op=Del&type=styleclass&ID="+id;
            }
           break;
    }
}

function Dels(type,id)
{
    switch (type)
    {
        case "style":
            if(confirm('你将彻底删除此样式'))
            {
                self.location="?Op=Dels&type=style&ID="+id;
            }
            break;
        case "styleclass":
            if(confirm('你将彻底删除此栏目\r此操作将会彻底删除此栏目以及属于此栏目的样式'))
            {
                self.location="?Op=Dels&type=styleclass&ID="+id;
            }    
           break;
    }
}
function getKeywords(obj)
{
    var getValue = document.getElementById("keywords");
    if(getValue.value=="")
    {
        alert('请输入关键字!');
        return false;
    }
    else
    {
       window.location.href="style.aspx?s=1&keyword="+getValue.value+""; 
    }
}
</script>

⌨️ 快捷键说明

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