<%@ Page Language="C#" AutoEventWireup="True" Codebehind="ModulePage.aspx.cs" Inherits="LJCMS.Admin.SysSetting.Html.ModulePage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>选择模板</title>
    <link rel="stylesheet" type="text/css" href="../../Style/ModuleCss.css" />
</head>
<body>
<form id="form1" runat ="server">
    <div id="main">
        <div class="left" id="phlist">
            <asp:Repeater ID="rplist" runat="server" OnItemCommand="rplist_ItemCommand" OnItemCreated="rplist_ItemCreated" OnItemDataBound="rplist_ItemDataBound" >
                <ItemTemplate>
                    <div class="tmp">
                        <div class="act">
                            
                            <asp:LinkButton ID="lbuse" runat="server" Text="前台风格默认" CommandArgument='<%# Eval("Title") %>' CommandName="use"></asp:LinkButton>&nbsp;
                            <asp:LinkButton ID ="lbt" runat ="server" Text ="模板选择" CommandArgument='<%# Eval("Title") %>' CommandName="useT"></asp:LinkButton>
                      </div>
                        <%# Eval("Title") %><br><a href="#">
                            <img src="<%# ReturnImgPath((string)Eval("Title")+"/"+(string)Eval("ImgPath"))%>""
                                class="p" width="184" height="137"></a><br>
                        作者：<%# Eval("Autor") %>
                        <br>
                        <nobr>标签：<%# Eval("Tag") %><asp:Literal ID ="liuse" runat ="server"></asp:Literal><asp:Literal ID ="liT" runat ="server"></asp:Literal>

</nobr>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
            <br clear="all">
            <a href="http://www.liangjing.org/zh/Html/List_net_15_1.html" target="_blank">更多风格请见http://www.liangjing.org/zh/Html/List_net_15_1.html</a><br>
            
            <br>
        </div>
</div>
        <script>

function G(id){

	return document.getElementById(id);

}

var phlist = G("phlist").getElementsByTagName("div"); 

var len = phlist.length;

var ph;

for(var n = 0; n < len; n++){

	ph = phlist[n];

	var actlist = ph.getElementsByTagName("div");

	var actlen = actlist.length;

	var act;

	for(var i = 0; i < actlen; i++){

		act = actlist[i];

		if(act.className == "act") act.id = "act" + n;

	}

	ph.name = n;

	if(ph.className == "tmp"){

		ph.onmouseover = function(){			

			G("act" + this.name).style.visibility = "visible";

		}

		ph.onmouseout = function(){

			G("act" + this.name).style.visibility = "hidden";

		}

	}

}
        </script>

        <br clear="all">
        </form>
</body>
</html>
