<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="FrameTop.aspx.vb" Inherits="Dingtai.Website.FrameTop" %>

<!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 id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>鼎太播客后台管理系统</title>

<%--<script language="javascript" type="text/javascript" src="../JS/jquery-1.4.1.min.js">
</script>
<script language="javascript" type="text/javascript" src="../JS/encoding.js"></script>
<script language="javascript" type="text/javascript" >
    var page = 0;
    function test(type) {
        var tp = type
        if (tp == "redata") {

            var url = "/Phone/PhoneGap/PhoneGapHandle.ashx?type=getMediaByChannelId&channelid=ABF08634-40E8-4AE3-AEEF-04B4B88C25FB&pageindex=0";
            $.ajax({ type: "GET", url: url, dataType: "JSON/XML", contentType: "application/json",
                success: function(result, status, msg) { var obj = eval(result); if (obj != null && obj != "") { for (var i = 0; i < obj.length; i++) alert(" id是:" + strdecode(obj[i].id) + "--用户名是--:" + strdecode(obj[i].title) + "--标题是--:" + strdecode(obj[i].detail)); } else { alert("no"); } },
                error: function(result, msg, status) { alert("Error!message:" + status); }
            });
        }
        if (tp == "redataa") {
            alert("redataa");
            var url = "/Phone/PhoneGap/PhoneGapHandle.ashx?type=TotMedias&pageindex=0";
            $.ajax({ type: "GET", url: url, dataType: "JSON/XML", contentType: "application/json",
                success: function(result, status, msg) { var obj = eval(result); if (obj != null && obj != "") { for (var i = 0; i < obj.length; i++) alert(" id是:" + strdecode(obj[i].id) + "--用户名是--:" + strdecode(obj[i].title) + "--标题是--:" + strdecode(obj[i].detail)); } else { alert("OK! else" + status + msg + "result::::" + result.toString() + "   ::::"); } },
                error: function(result, msg, status) { alert("Error!message:" + status); }
            });
        }
        if (tp == "log") {
            var url = "/Phone/PhoneGap/PhoneGapHandle.ashx?type=log&name=haowin&pwd=haowin";
            $.ajax({ type: "get", url: url, dataType: "JSON/XML", contentType: "application/json",
                success: function(result) { alert(result.toString()); },
                error: function(result, msg, status) { alert("log Error!message:" + status); }
            });
        }
        if (tp == "reg") {
            var url = "/Phone/PhoneGap/PhoneGapHandle.ashx?type=reg&name=haowin168&pwd=haowin&email=haowin168@163.com";
            $.ajax({ type: "post", url: url, dataType: "JSON/XML", contentType: "application/json",
                success: function(result) { alert(result.toString()); },
                error: function(result, msg, status) { alert("Reg Error!message:" + status); }
            });
        }
        if (tp == "channel") {
            var url = "/Phone/PhoneGap/PhoneGapHandle.ashx?type=getallchannel";
            $.ajax({ type: "post", url: url, dataType: "JSON/XML", contentType: "application/json",
            success: function(result) { var obj = eval(result); for (var i = 0; i < obj.length; i++) { alert("ID是：" + strdecode(obj[i].id) + "name是:" + strdecode(obj[i].name)); } },
                error: function(result, msg, status) { alert("Reg Error!message:" + status); }
            });
        }

        
    }
  
</script>--%>
</head>

<body>
<form id="form1" runat="server">
<div id="top">
<div id="logo">
<img src="/Skins/default/images/logo3.gif" width="137" height="48" alt="鼎太播客后台管理系统" />
</div>
<div id="exit">
  <p>
      <asp:LinkButton ID="LinkButton1" runat="server" OnClientClick="return confirm('是否确认退出?');">退出</asp:LinkButton></p>
  <%= Mybase.Page.User.Identity.Name %> 您好！欢迎使用鼎太播客后台管理系统</div>
<div id="menu">
    <ul>
      <li><a href="javascript:SetNav(0);" style="background:url(/Skins/default/images/menu_bg1.gif) no-repeat;color:#FFF;">全局设置</a></li>
      <li><a href="javascript:SetNav(1);" >播客管理</a></li>
      <li style="display:none;"><a href="javascript:SetNav(2);">高清管理</a></li>
      <li><a href="javascript:SetNav(3);">模板管理</a></li>
      <li><a href="javascript:SetNav(4);">标签管理</a></li>
      <li><a href="javascript:SetNav(5);">用户管理</a></li> 
    </ul>
</div>

<div id="submenu">
<span><%=DateTime.Now.ToString("yyyy'年'MM'月'dd'日' dddd ")%></span>
<a href="<%= Dingtai.Analysis.DataBind.Items.PathCollection.Index %>" style="background:url(/Skins/default/images/top_bottom_an1.gif) no-repeat;" target="_blank">播客首页</a>
<a href="javascript:SetNav2();" style="background:url(/Skins/default/images/top_bottom_an2.gif) no-repeat;" >添加标签</a>
<a href="javascript:SetNav3();" style="background:url(/Skins/default/images/top_bottom_an3.gif) no-repeat;" >生成缓存</a>
<%--<a href="javascript:test('byid');">PhoneGap数据测试返回</a>
<a href="javascript:test('redataa');">redata</a>
<a href="javascript:test('log');">页码</a>--%>

</div>
</div>
</form>
</body>
</html>
