<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin_BotPageLink.aspx.cs" Inherits="TW.UI.Admin.Admin_BotPageLink" %>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="css/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="../js/public.js"></script>
<script type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="../js/artDialog/artDialog.js?skin=default"></script>
<script type="text/javascript" src="../js/artDialog/plugins/iframeTools.js"></script>
<script type="text/javascript" src="../js/kindeditor/kindeditor-min.js"></script>
<script type="text/javascript" src="/js/FancyZoom/FancyZoom.js"></script>
<script type="text/javascript" src="/js/FancyZoom/FancyZoomHTML.js"></script>
<script type="text/javascript">
    function addapl(obj) {
        var inhtml = $(obj).parent().prev().attr("id");
        art.dialog.open('/admin/Admin_PerPageList.aspx?act=addpl&inhtml=' + inhtml, {
            id: "e",
            title: "添加单页链接",
            padding: 0,
            resize: false,
            lock: true,
            background: '#6ccff7', // 背景色
            opacity: 0.17	// 透明度
        });
    }
</script>
</head>
<body onload="setupZoom();">
<form id="form1" runat="server">
<div class="nav"><h1>单页链接</h1></div>

<div class="cont">

<div class="opera">
    <table class="seletable">
        
        <tr>
            <td>
            </td>
            <td><font color=red>注：该功能用于页面底部关于我们、新手指南、帮助中心下的单页链接管理：示例图：<a href="/silitu/dyljsl.png"><img src="images/tu1.gif" /></a></font>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <input id="Button3" type="button" value="查看前台页面" onclick="window.open('/');" class="btn1 btn111" />
                <asp:Button ID="btnSave" runat="server" Text="批量保存" CssClass="btn1 btn111" onclick="btnSave_Click" />
            </td>
        </tr>
    </table>
</div>
<table class="table1">
<tr>
    <td>名称</td>
    <td width="60%">商品</td>
    <td>操作</td>
</tr>
<tr>
    <td>关于我们</td>
    <td id="<%=gywm %>">
        <asp:Literal ID="litGYWM" runat="server"></asp:Literal>
    </td>
    <td>
        <a onclick="addapl(this);">添加</a>  
    </td>
</tr>
<tr>
    <td>新手指南</td>
    <td id="<%=xszn%>">
        <asp:Literal ID="litXSZN" runat="server"></asp:Literal>
    </td>
    <td>   
        <a onclick="addapl(this);">添加</a>  
    </td>
</tr>
<tr>
    <td>帮助中心</td>
    <td id="<%=bzzx%>">
        <asp:Literal ID="litBZZX" runat="server"></asp:Literal>
    </td>
    <td>   
        <a onclick="addapl(this);">添加</a>  
    </td>
</tr>
</table>
</div>

</form>

<script type="text/javascript">
    var oTab = $('.table1')[0];
    var oldBgColor = '';
    var i = 0;
    for (i = 0; i < oTab.tBodies[0].rows.length; i++) {
        oTab.tBodies[0].rows[i].style.background = i % 2 ? '#ffffff' : 'url(images/line2.png) repeat-x';
        oTab.tBodies[0].rows[i].onmouseover = function () {
            oldBgColor = this.style.background;
            this.style.background = '#ffffd4 url(images/line.png) repeat-x';
        };
        oTab.tBodies[0].rows[i].onmouseout = function () {
            this.style.background = oldBgColor;
        };
    }
</script>
</body>
</html>
