<%@ control language="C#" autoeventwireup="true" inherits="regsiter_RHead, n25175_disk" %>
 <nav class="top-nav" style="position: fixed;">
            <div class="nav-header">
                <!--移动模式右侧按钮-->
                <div id="weixin" class="weixin">
                    <a href="javascript:;" class="weixin_s"><i class="glyphicon glyphicon-qrcode"></i>
                    </a>
                    <div class="weixin_b">
                        <img src="/sadmin/qrcode.jpg">
                    </div>
                </div>
                <!--logo-->
                
                <a href="../Admin/AdminLogin.aspx" class="brand">
                    <img src="css/logo.png" />
                    软件授权
                </a>
            </div>
            <div class="nav-container">
                <ul class="navbar-right">
                    <li>
                        <a href="#" data-toggle="dropdown">
                            <i class="glyphicon glyphicon-link   m-right-xs"></i>
                            相关产品
							
                            <i class="ion-ios7-arrow-down"></i>
                        </a>
                        <ul id="pList1" style="width: 250px;" class="dropdown-menu dropdown-3  pull-right product-link">
                        </ul>
                    </li>
                    <script type="text/javascript">

                        $(function () {
                            var pl = getCookie("plist");
                            if (pl == "") {
                                $.ajax({
                                    type: "POST",
                                    contentType: "application/json", 
                                    url: 'http://reg.25175.com/systype.ashx',
                                    dataType: "JSONP",
                                    jsonp: "callback",
                                    success: function (data) {
                                        var list = data.data;
                                        var p = "";
                                        for (var i = 0; i < list.length; i++) {
                                            var pitem = list[i];
                                            p += "<li><a style='float:left;width:180px' target='_blank' href=\"" + pitem.SysLink + "\">" + pitem.SysTypeName + "</a> <button onclick=\"location.href='http://reg.25175.com/Admin/DownLoad.ashx?SysID=" + pitem.ID + "'\" style='float:left;width:40px;margin-top:8px;' class=' btn btn-info btn-xs'>下载</button></li>";
                                         
                                        }
                                        $("#pList1").html(p);
                                    }
                                })
                            } else {

                            }
                        })
                        function setCookie(c_name, value, expiredays) {
                            var exdate = new Date()
                            exdate.setDate(exdate.getDate() + expiredays)
                            document.cookie = c_name + "=" + escape(value) +
                            ((expiredays == null) ? "" : ";expires=" + exdate.toGMTString())
                        }
                        function getCookie(c_name) {
                            if (document.cookie.length > 0) {
                                c_start = document.cookie.indexOf(c_name + "=")
                                if (c_start != -1) {
                                    c_start = c_start + c_name.length + 1
                                    c_end = document.cookie.indexOf(";", c_start)
                                    if (c_end == -1) c_end = document.cookie.length
                                    return unescape(document.cookie.substring(c_start, c_end))
                                }
                            }
                            return ""
                        }

                    </script>
                    <!--nav 管理设置-->
                </ul>
            </div>
        </nav>