<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%@ Import Namespace="Mvcmode"%>
<%E_eachedition eachban = ViewData["edition"] as E_eachedition;
E_eachqi eachqi2 = ViewData["eachqi"] as E_eachqi;%>
<%
//以下获取logo
    string templogo = "";
    if (ViewData["Logo"] != null)
        templogo = ViewData["Logo"].ToString();
    else
        templogo = Data.Defautlogo;
    templogo = Fun.Webdirectory + templogo;
    if (ViewData["Logotype"].ToString() == "1")
        ViewData["Site_logo"] = "<script type=\"text/javascript\">mEmbed('src=" + templogo + "','width=270','height=60');</script>";
    else
        ViewData["Site_logo"] = "<img src=\"" + templogo + "\" alt=\"" + ViewData["Sitename"] + "\" />";
 %>
<script type="text/javascript" src="<%=ViewData["webd"]%>Content/themes/lightblue/js/showblue.js"></script>
<%if (1 == 0)
  { %>
<script type="text/javascript" src="../../../Content/themes/lightblue/js/showblue.js"></script>
<%} %>
<script type="text/javascript">
        $(document).ready(function(){ 
			var typeid=<%=ViewData["E_type"]%>;
			var qiid=<%=eachqi2.Id%>;
			var editionid=<%=eachban.Id%>;
			var issuedate="<%=ViewData["issuedate"]%>";
			var editionurl="<%=ViewData["webd"]%>jquery/editionlist";
			var titleurl="<%=ViewData["webd"]%>jquery/titlelist";
			var type=1;
            $(".titlenav").showtitle(typeid,editionid,issuedate,type,titleurl);
            type=2;
			$(".editionnav").showedition(typeid,qiid,issuedate,type,editionurl);   
        });
</script>
<div class="header">
    <div class="logo"><a href="<%=ViewData["webd"]%>"><img src="<%=ViewData["webd"].ToString()%>Content/themes/lightblue/images/logo.gif" width="263" height="82" alt=" " /></a></div>
    <div class="txt">
    <span><a href="/">首 页</a></span>
    <span class="editionnav"><a href="javascript:void(0);" rel="nofollow" >版面导航</a>
       <span id="editionnav"></span>
    </span>
    <span class="titlenav ll"><a href="javascript:void(0);" rel="nofollow">标题导航</a>
      <span id="titlenav"></span>
    </span>    
    </div>
</div><%--header完--%>
<div class="pathmenu">    
    <div class="txt">
       <% if (ViewData["preqihref"].ToString() != "")
         {%>
       <span class="pre"><a href="<%=ViewData["preqihref"]%>">上一期</a></span>
      <%}
         else {%>
       <span class="preno">上一期</span>
            <%} %>
      <% if (ViewData["nextqihref"].ToString() != "")
         {%>
      <span class="next"><a href="<%=ViewData["nextqihref"] %>">下一期</a></span>
       <%}
       else {%>
       <span class="nextno">下一期</span>
      <%} %>
    </div>
    <div class="today"><%=ViewData["issuedate_cn"]%> <%--=ViewData["today"]--%></div>
</div><%--pathmenu完--%>
